Searched refs:mmd_address (Results 1 – 2 of 2) sorted by relevance
30 unsigned int mmd_address, value; in xmdio_read() local32 mmd_address = (mmd << 16) | ((reg) & 0xffff); in xmdio_read()33 iowrite32(mmd_address >> 8, ioaddr + (PCS_MMD_SELECT << 2)); in xmdio_read()34 value = ioread32(ioaddr + ((mmd_address & 0xff) << 2)); in xmdio_read()41 unsigned int mmd_address; in xmdio_write() local43 mmd_address = (mmd << 16) | ((reg) & 0xffff); in xmdio_write()44 iowrite32(mmd_address >> 8, ioaddr + (PCS_MMD_SELECT << 2)); in xmdio_write()45 iowrite32(value, ioaddr + ((mmd_address & 0xff) << 2)); in xmdio_write()
1154 unsigned int mmd_address, index, offset; in xgbe_read_mmd_regs_v2() local1158 mmd_address = mmd_reg & ~MII_ADDR_C45; in xgbe_read_mmd_regs_v2()1160 mmd_address = (pdata->mdio_mmd << 16) | (mmd_reg & 0xffff); in xgbe_read_mmd_regs_v2()1171 mmd_address <<= 1; in xgbe_read_mmd_regs_v2()1172 index = mmd_address & ~pdata->xpcs_window_mask; in xgbe_read_mmd_regs_v2()1173 offset = pdata->xpcs_window + (mmd_address & pdata->xpcs_window_mask); in xgbe_read_mmd_regs_v2()1187 unsigned int mmd_address, index, offset; in xgbe_write_mmd_regs_v2() local1190 mmd_address = mmd_reg & ~MII_ADDR_C45; in xgbe_write_mmd_regs_v2()1192 mmd_address = (pdata->mdio_mmd << 16) | (mmd_reg & 0xffff); in xgbe_write_mmd_regs_v2()1203 mmd_address <<= 1; in xgbe_write_mmd_regs_v2()[all …]