Lines Matching refs:mdio_sca

1299 	unsigned int mdio_sca;  in xgbe_create_mdio_sca_c22()  local
1301 mdio_sca = 0; in xgbe_create_mdio_sca_c22()
1302 XGMAC_SET_BITS(mdio_sca, MAC_MDIOSCAR, RA, reg); in xgbe_create_mdio_sca_c22()
1303 XGMAC_SET_BITS(mdio_sca, MAC_MDIOSCAR, PA, port); in xgbe_create_mdio_sca_c22()
1305 return mdio_sca; in xgbe_create_mdio_sca_c22()
1310 unsigned int mdio_sca; in xgbe_create_mdio_sca_c45() local
1312 mdio_sca = 0; in xgbe_create_mdio_sca_c45()
1313 XGMAC_SET_BITS(mdio_sca, MAC_MDIOSCAR, RA, reg); in xgbe_create_mdio_sca_c45()
1314 XGMAC_SET_BITS(mdio_sca, MAC_MDIOSCAR, PA, port); in xgbe_create_mdio_sca_c45()
1315 XGMAC_SET_BITS(mdio_sca, MAC_MDIOSCAR, DA, da); in xgbe_create_mdio_sca_c45()
1317 return mdio_sca; in xgbe_create_mdio_sca_c45()
1321 unsigned int mdio_sca, u16 val) in xgbe_write_ext_mii_regs() argument
1327 XGMAC_IOWRITE(pdata, MAC_MDIOSCAR, mdio_sca); in xgbe_write_ext_mii_regs()
1346 unsigned int mdio_sca; in xgbe_write_ext_mii_regs_c22() local
1348 mdio_sca = xgbe_create_mdio_sca_c22(addr, reg); in xgbe_write_ext_mii_regs_c22()
1350 return xgbe_write_ext_mii_regs(pdata, mdio_sca, val); in xgbe_write_ext_mii_regs_c22()
1356 unsigned int mdio_sca; in xgbe_write_ext_mii_regs_c45() local
1358 mdio_sca = xgbe_create_mdio_sca_c45(addr, devad, reg); in xgbe_write_ext_mii_regs_c45()
1360 return xgbe_write_ext_mii_regs(pdata, mdio_sca, val); in xgbe_write_ext_mii_regs_c45()
1364 unsigned int mdio_sca) in xgbe_read_ext_mii_regs() argument
1370 XGMAC_IOWRITE(pdata, MAC_MDIOSCAR, mdio_sca); in xgbe_read_ext_mii_regs()
1388 unsigned int mdio_sca; in xgbe_read_ext_mii_regs_c22() local
1390 mdio_sca = xgbe_create_mdio_sca_c22(addr, reg); in xgbe_read_ext_mii_regs_c22()
1392 return xgbe_read_ext_mii_regs(pdata, mdio_sca); in xgbe_read_ext_mii_regs_c22()
1398 unsigned int mdio_sca; in xgbe_read_ext_mii_regs_c45() local
1400 mdio_sca = xgbe_create_mdio_sca_c45(addr, devad, reg); in xgbe_read_ext_mii_regs_c45()
1402 return xgbe_read_ext_mii_regs(pdata, mdio_sca); in xgbe_read_ext_mii_regs_c45()