Lines Matching refs:uec_regs
29 uec_t *uec_regs; in uec_mac_enable() local
32 uec_regs = uec->uec_regs; in uec_mac_enable()
33 maccfg1 = in_be32(&uec_regs->maccfg1); in uec_mac_enable()
37 out_be32(&uec_regs->maccfg1, maccfg1); in uec_mac_enable()
43 out_be32(&uec_regs->maccfg1, maccfg1); in uec_mac_enable()
52 uec_t *uec_regs; in uec_mac_disable() local
55 uec_regs = uec->uec_regs; in uec_mac_disable()
56 maccfg1 = in_be32(&uec_regs->maccfg1); in uec_mac_disable()
60 out_be32(&uec_regs->maccfg1, maccfg1); in uec_mac_disable()
66 out_be32(&uec_regs->maccfg1, maccfg1); in uec_mac_disable()
133 uec_t *uec_regs; in uec_set_mac_if_mode() local
137 uec_regs = uec->uec_regs; in uec_set_mac_if_mode()
140 maccfg2 = in_be32(&uec_regs->maccfg2); in uec_set_mac_if_mode()
205 out_be32(&uec_regs->maccfg2, maccfg2); in uec_set_mac_if_mode()
422 uec_t *uec_regs = uec->uec_regs; in qe_uec_set_hwaddr() local
435 out_be32(&uec_regs->macstnaddr1, mac_addr1); in qe_uec_set_hwaddr()
438 out_be32(&uec_regs->macstnaddr2, mac_addr2); in qe_uec_set_hwaddr()
764 uec_t *uec_regs; in uec_startup() local
825 uec_regs = (uec_t *)(&uf_regs->ucc_eth); in uec_startup()
828 uec->uec_regs = uec_regs; in uec_startup()
834 out_be32(&uec_regs->maccfg1, MACCFG1_INIT_VALUE); in uec_startup()
837 out_be32(&uec_regs->maccfg2, MACCFG2_INIT_VALUE); in uec_startup()
840 utbipar = in_be32(&uec_regs->utbipar); in uec_startup()
847 out_be32(&uec_regs->utbipar, utbipar); in uec_startup()
1101 uec->uec_regs = (uec_t *)pdata->iobase; in qe_uec_probe()