Linux Kernel
3.7.1
|
#include <atmel_tc.h>
Data Fields | |
struct platform_device * | pdev |
struct resource * | iomem |
void __iomem * | regs |
struct atmel_tcb_config * | tcb_config |
int | irq [3] |
struct clk * | clk [3] |
struct list_head | node |
struct atmel_tc - information about a Timer/Counter Block : physical device : resource associated with the I/O register : mapping through which the I/O registers can be accessed : configuration data from SoC : irq for each of the three channels : internal clock source for each of the three channels : list node, for tclib internal use
On some platforms, each TC channel has its own clocks and IRQs, while on others, all TC channels share the same clock and IRQ. Drivers should clk_enable() all the clocks they need even though all the entries in may point to the same physical clock. Likewise, drivers should request irqs independently for each channel, but they must use IRQF_SHARED in case some of the entries in are actually the same IRQ.
Definition at line 62 of file atmel_tc.h.
Definition at line 68 of file atmel_tc.h.
Definition at line 64 of file atmel_tc.h.
int irq[3] |
Definition at line 67 of file atmel_tc.h.
Definition at line 69 of file atmel_tc.h.
struct platform_device* pdev |
Definition at line 63 of file atmel_tc.h.
Definition at line 65 of file atmel_tc.h.
struct atmel_tcb_config* tcb_config |
Definition at line 66 of file atmel_tc.h.