Lines Matching refs:index
76 static int __must_check __smsc75xx_read_reg(struct usbnet *dev, u32 index,
92 0, index, &buf, 4);
96 netdev_warn(dev->net, "Failed to read reg index 0x%08x: %d\n",
97 index, ret);
107 static int __must_check __smsc75xx_write_reg(struct usbnet *dev, u32 index,
126 0, index, &buf, 4);
128 netdev_warn(dev->net, "Failed to write reg index 0x%08x: %d\n",
129 index, ret);
134 static int __must_check smsc75xx_read_reg_nopm(struct usbnet *dev, u32 index,
137 return __smsc75xx_read_reg(dev, index, data, 1);
140 static int __must_check smsc75xx_write_reg_nopm(struct usbnet *dev, u32 index,
143 return __smsc75xx_write_reg(dev, index, data, 1);
146 static int __must_check smsc75xx_read_reg(struct usbnet *dev, u32 index,
149 return __smsc75xx_read_reg(dev, index, data, 0);
152 static int __must_check smsc75xx_write_reg(struct usbnet *dev, u32 index,
155 return __smsc75xx_write_reg(dev, index, data, 0);
197 /* set the address, index & direction (read from PHY) */
251 /* set the address, index & direction (write to PHY) */