Lines Matching refs:ch
49 #define TX4927_TMR_REG(ch) (TX4927_REG_BASE + 0xf000 + (ch) * 0x100) argument
51 #define TX4927_SIO_REG(ch) (TX4927_REG_BASE + 0xf300 + (ch) * 0x100) argument
142 #define TX4927_PCFG_SDCLKEN(ch) (0x00800000<<(ch)) argument
144 #define TX4927_PCFG_PCICLKEN(ch) (0x00010000<<(ch)) argument
203 #define TX4927_SDRAMC_CR(ch) __raw_readq(&tx4927_sdramcptr->cr[(ch)]) argument
204 #define TX4927_SDRAMC_BA(ch) ((TX4927_SDRAMC_CR(ch) >> 49) << 21) argument
205 #define TX4927_SDRAMC_SIZE(ch) \ argument
206 ((((TX4927_SDRAMC_CR(ch) >> 33) & 0x7fff) + 1) << 21)
208 #define TX4927_EBUSC_CR(ch) __raw_readq(&tx4927_ebuscptr->cr[(ch)]) argument
209 #define TX4927_EBUSC_BA(ch) ((TX4927_EBUSC_CR(ch) >> 48) << 20) argument
210 #define TX4927_EBUSC_SIZE(ch) \ argument
211 (0x00100000 << ((unsigned long)(TX4927_EBUSC_CR(ch) >> 8) & 0xf))
212 #define TX4927_EBUSC_WIDTH(ch) \ argument
213 (64 >> ((__u32)(TX4927_EBUSC_CR(ch) >> 20) & 0x3))
269 void tx4927_mtd_init(int ch);