Lines Matching refs:pcfg
193 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_DMASEL_ALL); in tx4938_setup()
197 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_PCICLKEN_ALL); in tx4938_setup()
205 (unsigned long long)____raw_readq(&tx4938_ccfgptr->pcfg)); in tx4938_setup()
249 __u64 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_setup() local
252 if (pcfg & (TX4938_PCFG_ETH0_SEL | TX4938_PCFG_ETH1_SEL)) { in tx4938_setup()
263 if (!(pcfg & TX4938_PCFG_ETH0_SEL)) { in tx4938_setup()
270 if (!(pcfg & TX4938_PCFG_ETH1_SEL)) { in tx4938_setup()
296 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_ETH0_SEL) in tx4938_sio_init()
315 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_ethaddr_init() local
317 if (addr0 && (pcfg & TX4938_PCFG_ETH0_SEL)) in tx4938_ethaddr_init()
319 if (addr1 && (pcfg & TX4938_PCFG_ETH1_SEL)) in tx4938_ethaddr_init()
359 if ((__raw_readq(&tx4938_ccfgptr->pcfg) & in tx4938_ata_init()
396 if ((__raw_readq(&tx4938_ccfgptr->pcfg) & in tx4938_ndfmc_init()
419 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_aclc_init() local
421 if ((pcfg & TX4938_PCFG_SEL2) && in tx4938_aclc_init()
422 !(pcfg & TX4938_PCFG_ETH0_SEL)) in tx4938_aclc_init()
436 __u64 pcfg, rst = 0, ckd = 0; in tx4938_stop_unused_modules() local
441 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_stop_unused_modules()
444 if (!(pcfg & TX4938_PCFG_SEL2)) { in tx4938_stop_unused_modules()
451 if (!(pcfg & TX4938_PCFG_SEL2) || in tx4938_stop_unused_modules()
452 (pcfg & TX4938_PCFG_ETH0_SEL)) { in tx4938_stop_unused_modules()
457 if ((pcfg & in tx4938_stop_unused_modules()
465 if (!(pcfg & TX4938_PCFG_SPI_SEL)) { in tx4938_stop_unused_modules()