Lines Matching refs:ep8248e_bcsr
34 static u8 __iomem *ep8248e_bcsr; variable
67 setbits8(&ep8248e_bcsr[8], BCSR8_MDIO_CLOCK); in ep8248e_set_mdc()
69 clrbits8(&ep8248e_bcsr[8], BCSR8_MDIO_CLOCK); in ep8248e_set_mdc()
72 in_8(&ep8248e_bcsr[8]); in ep8248e_set_mdc()
78 clrbits8(&ep8248e_bcsr[8], BCSR8_MDIO_READ); in ep8248e_set_mdio_dir()
80 setbits8(&ep8248e_bcsr[8], BCSR8_MDIO_READ); in ep8248e_set_mdio_dir()
83 in_8(&ep8248e_bcsr[8]); in ep8248e_set_mdio_dir()
89 setbits8(&ep8248e_bcsr[8], BCSR8_MDIO_DATA); in ep8248e_set_mdio_data()
91 clrbits8(&ep8248e_bcsr[8], BCSR8_MDIO_DATA); in ep8248e_set_mdio_data()
94 in_8(&ep8248e_bcsr[8]); in ep8248e_set_mdio_data()
99 return in_8(&ep8248e_bcsr[8]) & BCSR8_MDIO_DATA; in ep8248e_get_mdio_data()
274 ep8248e_bcsr = of_iomap(ep8248e_bcsr_node, 0); in ep8248e_setup_arch()
275 if (!ep8248e_bcsr) { in ep8248e_setup_arch()
282 setbits8(&ep8248e_bcsr[7], BCSR7_SCC2_ENABLE); in ep8248e_setup_arch()
283 setbits8(&ep8248e_bcsr[8], BCSR8_PHY1_ENABLE | BCSR8_PHY1_POWER | in ep8248e_setup_arch()