Lines Matching refs:pcfg

117 	__u64 pcfg;  in tx4939_setup()  local
212 txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_DMASEL_ALL); in tx4939_setup()
216 txx9_clear64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_PCICLKEN_ALL); in tx4939_setup()
225 (unsigned long long)____raw_readq(&tx4939_ccfgptr->pcfg)); in tx4939_setup()
265 pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_setup()
266 if (pcfg & (TX4939_PCFG_ET0MODE | TX4939_PCFG_ET1MODE)) { in tx4939_setup()
275 if (!(pcfg & TX4939_PCFG_ET0MODE)) { in tx4939_setup()
280 if (!(pcfg & TX4939_PCFG_ET1MODE)) { in tx4939_setup()
302 __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_sio_init() local
305 if ((pcfg & TX4939_PCFG_SIO2MODE_MASK) != TX4939_PCFG_SIO2MODE_SIO0) in tx4939_sio_init()
307 if ((pcfg & TX4939_PCFG_SIO2MODE_MASK) != TX4939_PCFG_SIO2MODE_SIO2) in tx4939_sio_init()
309 if (pcfg & TX4939_PCFG_SIO3MODE) in tx4939_sio_init()
344 txx9_set64(&tx4939_ccfgptr->pcfg, bit); in tx4939_netdev_event()
346 txx9_clear64(&tx4939_ccfgptr->pcfg, bit); in tx4939_netdev_event()
359 u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_ethaddr_init() local
361 if (addr0 && (pcfg & TX4939_PCFG_ET0MODE)) in tx4939_ethaddr_init()
363 if (addr1 && (pcfg & TX4939_PCFG_ET1MODE)) in tx4939_ethaddr_init()
421 __u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_ata_init() local
423 if (pcfg & TX4939_PCFG_ATA0MODE) in tx4939_ata_init()
425 if ((pcfg & (TX4939_PCFG_ATA1MODE | in tx4939_ata_init()
486 u64 pcfg = __raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_aclc_init() local
488 if ((pcfg & TX4939_PCFG_I2SMODE_MASK) == TX4939_PCFG_I2SMODE_ACLC) in tx4939_aclc_init()
518 __u64 pcfg, rst = 0, ckd = 0; in tx4939_stop_unused_modules() local
523 pcfg = ____raw_readq(&tx4939_ccfgptr->pcfg); in tx4939_stop_unused_modules()
524 if ((pcfg & TX4939_PCFG_I2SMODE_MASK) != in tx4939_stop_unused_modules()
530 if ((pcfg & TX4939_PCFG_I2SMODE_MASK) != in tx4939_stop_unused_modules()
532 (pcfg & TX4939_PCFG_I2SMODE_MASK) != in tx4939_stop_unused_modules()
538 if (!(pcfg & TX4939_PCFG_ATA0MODE)) { in tx4939_stop_unused_modules()
543 if (!(pcfg & TX4939_PCFG_ATA1MODE)) { in tx4939_stop_unused_modules()
548 if (pcfg & TX4939_PCFG_SPIMODE) { in tx4939_stop_unused_modules()
553 if (!(pcfg & (TX4939_PCFG_VSSMODE | TX4939_PCFG_VPSMODE))) { in tx4939_stop_unused_modules()
558 if ((pcfg & TX4939_PCFG_SIO2MODE_MASK) != TX4939_PCFG_SIO2MODE_SIO2) { in tx4939_stop_unused_modules()
563 if (pcfg & TX4939_PCFG_SIO3MODE) { in tx4939_stop_unused_modules()