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()
1147 unsigned int mmd_address, index, offset; in xgbe_read_mmd_regs_v2() local1151 mmd_address = mmd_reg & ~MII_ADDR_C45; in xgbe_read_mmd_regs_v2()1164 mmd_address <<= 1; in xgbe_read_mmd_regs_v2()1165 index = mmd_address & ~pdata->xpcs_window_mask; in xgbe_read_mmd_regs_v2()1180 unsigned int mmd_address, index, offset; in xgbe_write_mmd_regs_v2() local1183 mmd_address = mmd_reg & ~MII_ADDR_C45; in xgbe_write_mmd_regs_v2()1196 mmd_address <<= 1; in xgbe_write_mmd_regs_v2()1210 unsigned int mmd_address; in xgbe_read_mmd_regs_v1() local1214 mmd_address = mmd_reg & ~MII_ADDR_C45; in xgbe_read_mmd_regs_v1()1238 unsigned int mmd_address; in xgbe_write_mmd_regs_v1() local[all …]
Completed in 9 milliseconds