Lines Matching defs:reg
31 static int i2c_mii_read(struct mii_bus *bus, int phy_id, int reg)
42 if (reg & MII_ADDR_C45) {
43 *p++ = 0x20 | ((reg >> 16) & 31);
44 *p++ = reg >> 8;
46 *p++ = reg;
65 static int i2c_mii_write(struct mii_bus *bus, int phy_id, int reg, u16 val)
76 if (reg & MII_ADDR_C45) {
77 *p++ = (reg >> 16) & 31;
78 *p++ = reg >> 8;
80 *p++ = reg;