Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257885
b: refs/heads/master
c: e1b5596
h: refs/heads/master
i:
  257883: 2a38c26
v: v3
  • Loading branch information
Mike Frysinger committed Jul 23, 2011
1 parent ab41c8a commit 3b4c8c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 353470cc5092400bbb08921016005ce03aa37f33
refs/heads/master: e1b55965337e2c0cd26055ce446c506448c08e6d
10 changes: 10 additions & 0 deletions trunk/arch/blackfin/include/asm/gptimers.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,16 @@ uint16_t get_enabled_gptimers(void);
uint32_t get_gptimer_status(unsigned int group);
void set_gptimer_status(unsigned int group, uint32_t value);

static inline void enable_gptimer(unsigned int timer_id)
{
enable_gptimers(1 << timer_id);
}

static inline void disable_gptimer(unsigned int timer_id)
{
disable_gptimers(1 << timer_id);
}

/*
* All Blackfin system MMRs are padded to 32bits even if the register
* itself is only 16bits. So use a helper macro to streamline this.
Expand Down

0 comments on commit 3b4c8c6

Please sign in to comment.