Lines Matching refs:ep8248e_bcsr
29 static u8 __iomem *ep8248e_bcsr; variable
62 setbits8(&ep8248e_bcsr[8], BCSR8_MDIO_CLOCK); in ep8248e_set_mdc()
64 clrbits8(&ep8248e_bcsr[8], BCSR8_MDIO_CLOCK); in ep8248e_set_mdc()
67 in_8(&ep8248e_bcsr[8]); in ep8248e_set_mdc()
73 clrbits8(&ep8248e_bcsr[8], BCSR8_MDIO_READ); in ep8248e_set_mdio_dir()
75 setbits8(&ep8248e_bcsr[8], BCSR8_MDIO_READ); in ep8248e_set_mdio_dir()
78 in_8(&ep8248e_bcsr[8]); in ep8248e_set_mdio_dir()
84 setbits8(&ep8248e_bcsr[8], BCSR8_MDIO_DATA); in ep8248e_set_mdio_data()
86 clrbits8(&ep8248e_bcsr[8], BCSR8_MDIO_DATA); in ep8248e_set_mdio_data()
89 in_8(&ep8248e_bcsr[8]); in ep8248e_set_mdio_data()
94 return in_8(&ep8248e_bcsr[8]) & BCSR8_MDIO_DATA; in ep8248e_get_mdio_data()
263 ep8248e_bcsr = of_iomap(ep8248e_bcsr_node, 0); in ep8248e_setup_arch()
264 if (!ep8248e_bcsr) { in ep8248e_setup_arch()
271 setbits8(&ep8248e_bcsr[7], BCSR7_SCC2_ENABLE); in ep8248e_setup_arch()
272 setbits8(&ep8248e_bcsr[8], BCSR8_PHY1_ENABLE | BCSR8_PHY1_POWER | in ep8248e_setup_arch()