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()
204 ____raw_readq(&tx4938_ccfgptr->pcfg)); in tx4938_setup()
246 __u64 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_setup() local
249 if (pcfg & (TX4938_PCFG_ETH0_SEL | TX4938_PCFG_ETH1_SEL)) { in tx4938_setup()
260 if (!(pcfg & TX4938_PCFG_ETH0_SEL)) { in tx4938_setup()
267 if (!(pcfg & TX4938_PCFG_ETH1_SEL)) { in tx4938_setup()
293 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_ETH0_SEL) in tx4938_sio_init()
312 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_ethaddr_init() local
314 if (addr0 && (pcfg & TX4938_PCFG_ETH0_SEL)) in tx4938_ethaddr_init()
316 if (addr1 && (pcfg & TX4938_PCFG_ETH1_SEL)) in tx4938_ethaddr_init()
356 if ((__raw_readq(&tx4938_ccfgptr->pcfg) & in tx4938_ata_init()
393 if ((__raw_readq(&tx4938_ccfgptr->pcfg) & in tx4938_ndfmc_init()
416 u64 pcfg = __raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_aclc_init() local
418 if ((pcfg & TX4938_PCFG_SEL2) && in tx4938_aclc_init()
419 !(pcfg & TX4938_PCFG_ETH0_SEL)) in tx4938_aclc_init()
433 __u64 pcfg, rst = 0, ckd = 0; in tx4938_stop_unused_modules() local
438 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in tx4938_stop_unused_modules()
441 if (!(pcfg & TX4938_PCFG_SEL2)) { in tx4938_stop_unused_modules()
448 if (!(pcfg & TX4938_PCFG_SEL2) || in tx4938_stop_unused_modules()
449 (pcfg & TX4938_PCFG_ETH0_SEL)) { in tx4938_stop_unused_modules()
454 if ((pcfg & in tx4938_stop_unused_modules()
462 if (!(pcfg & TX4938_PCFG_SPI_SEL)) { in tx4938_stop_unused_modules()