• Home
  • Raw
  • Download

Lines Matching refs:uec_regs

59 	uec_t		*uec_regs;  in uec_mac_enable()  local
66 uec_regs = uec->uec_regs; in uec_mac_enable()
68 maccfg1 = in_be32(&uec_regs->maccfg1); in uec_mac_enable()
72 out_be32(&uec_regs->maccfg1, maccfg1); in uec_mac_enable()
78 out_be32(&uec_regs->maccfg1, maccfg1); in uec_mac_enable()
87 uec_t *uec_regs; in uec_mac_disable() local
94 uec_regs = uec->uec_regs; in uec_mac_disable()
96 maccfg1 = in_be32(&uec_regs->maccfg1); in uec_mac_disable()
100 out_be32(&uec_regs->maccfg1, maccfg1); in uec_mac_disable()
106 out_be32(&uec_regs->maccfg1, maccfg1); in uec_mac_disable()
283 uec_t *uec_regs; in uec_set_mac_duplex() local
290 uec_regs = uec->uec_regs; in uec_set_mac_duplex()
293 maccfg2 = in_be32(&uec_regs->maccfg2); in uec_set_mac_duplex()
295 out_be32(&uec_regs->maccfg2, maccfg2); in uec_set_mac_duplex()
299 maccfg2 = in_be32(&uec_regs->maccfg2); in uec_set_mac_duplex()
301 out_be32(&uec_regs->maccfg2, maccfg2); in uec_set_mac_duplex()
311 uec_t *uec_regs; in uec_set_mac_if_mode() local
320 uec_regs = uec->uec_regs; in uec_set_mac_if_mode()
323 maccfg2 = in_be32(&uec_regs->maccfg2); in uec_set_mac_if_mode()
392 out_be32(&uec_regs->maccfg2, maccfg2); in uec_set_mac_if_mode()
666 uec_t *uec_regs; in uec_set_mac_address() local
675 uec_regs = uec->uec_regs; in uec_set_mac_address()
683 out_be32(&uec_regs->macstnaddr1, mac_addr1); in uec_set_mac_address()
686 out_be32(&uec_regs->macstnaddr2, mac_addr2); in uec_set_mac_address()
988 uec_t *uec_regs; in uec_startup() local
1056 uec_regs = (uec_t *)(&uf_regs->ucc_eth); in uec_startup()
1059 uec->uec_regs = uec_regs; in uec_startup()
1065 out_be32(&uec_regs->maccfg1, MACCFG1_INIT_VALUE); in uec_startup()
1068 out_be32(&uec_regs->maccfg2, MACCFG2_INIT_VALUE); in uec_startup()
1075 uec->uec_mii_regs = (uec_mii_t *)(&uec_regs->miimcfg); in uec_startup()
1084 utbipar = in_be32(&uec_regs->utbipar); in uec_startup()
1091 out_be32(&uec_regs->utbipar, utbipar); in uec_startup()
1096 uec_write_phy_reg(uec->dev, uec_regs->utbipar, in uec_startup()
1099 uec_write_phy_reg(uec->dev, uec_regs->utbipar, in uec_startup()
1102 uec_write_phy_reg(uec->dev, uec_regs->utbipar, in uec_startup()