Lines Matching defs:channel
47 #define APO_IDECONF_EN(channel) (0x00000001 << (1 - (channel))) argument
52 #define APO_IDECONF_WR_BUFF_EN(channel) (0x00001000 << ((1 - (channel)) << 1)) argument
53 #define APO_IDECONF_RD_PREF_EN(channel) (0x00002000 << ((1 - (channel)) << 1)) argument
56 #define APO_IDECONF_IO_NAT(channel) \ argument
58 #define APO_IDECONF_FIFO_TRSH(channel, x) \ argument
70 #define APO_CTLMISC_FIFO_FLSH_RD(channel) (0x00100000 << (1 - (channel))) argument
71 #define APO_CTLMISC_FIFO_FLSH_DMA(channel) (0x00400000 << (1 - (channel))) argument
75 #define APO_DATATIM_MASK(channel) (0xffff << ((1 - (channel)) << 4)) argument
76 #define APO_DATATIM_RECOV(channel, drive, x) (((x) & 0xf) << \ argument
78 #define APO_DATATIM_PULSE(channel, drive, x) (((x) & 0xf) << \ argument
86 #define APO_UDMA_MASK(channel) (0xffff << ((1 - (channel)) << 4)) argument
87 #define APO_UDMA_TIME(channel, drive, x) (((x) & 0xf) << \ argument
89 #define APO_UDMA_PIO_MODE(channel, drive) (0x20 << \ argument
91 #define APO_UDMA_EN(channel, drive) (0x40 << \ argument
93 #define APO_UDMA_EN_MTH(channel, drive) (0x80 << \ argument
95 #define APO_UDMA_CLK66(channel) (0x08 << ((1 - (channel)) << 4)) argument