Lines Matching defs:channel
98 #define APO_IDECONF_EN(channel) (0x00000001 << (1 - (channel))) argument
103 #define APO_IDECONF_WR_BUFF_EN(channel) (0x00001000 << ((1 - (channel)) << 1)) argument
104 #define APO_IDECONF_RD_PREF_EN(channel) (0x00002000 << ((1 - (channel)) << 1)) argument
107 #define APO_IDECONF_IO_NAT(channel) \ argument
109 #define APO_IDECONF_FIFO_TRSH(channel, x) \ argument
121 #define APO_CTLMISC_FIFO_FLSH_RD(channel) (0x00100000 << (1 - (channel))) argument
122 #define APO_CTLMISC_FIFO_FLSH_DMA(channel) (0x00400000 << (1 - (channel))) argument
126 #define APO_DATATIM_MASK(channel) (0xffff << ((1 - (channel)) << 4)) argument
127 #define APO_DATATIM_RECOV(channel, drive, x) (((x) & 0xf) << \ argument
129 #define APO_DATATIM_PULSE(channel, drive, x) (((x) & 0xf) << \ argument
137 #define APO_UDMA_MASK(channel) (0xffff << ((1 - (channel)) << 4)) argument
138 #define APO_UDMA_TIME(channel, drive, x) (((x) & 0xf) << \ argument
140 #define APO_UDMA_PIO_MODE(channel, drive) (0x20 << \ argument
142 #define APO_UDMA_EN(channel, drive) (0x40 << \ argument
144 #define APO_UDMA_EN_MTH(channel, drive) (0x80 << \ argument
146 #define APO_UDMA_CLK66(channel) (0x08 << ((1 - (channel)) << 4)) /* via only */ argument