Lines Matching refs:index
71 static int __must_check __smsc95xx_read_reg(struct usbnet *dev, u32 index,
88 0, index, &buf, 4);
93 netdev_warn(dev->net, "Failed to read reg index 0x%08x: %d\n",
94 index, ret);
104 static int __must_check __smsc95xx_write_reg(struct usbnet *dev, u32 index,
124 0, index, &buf, 4);
126 netdev_warn(dev->net, "Failed to write reg index 0x%08x: %d\n",
127 index, ret);
132 static int __must_check smsc95xx_read_reg_nopm(struct usbnet *dev, u32 index,
135 return __smsc95xx_read_reg(dev, index, data, 1);
138 static int __must_check smsc95xx_write_reg_nopm(struct usbnet *dev, u32 index,
141 return __smsc95xx_write_reg(dev, index, data, 1);
144 static int __must_check smsc95xx_read_reg(struct usbnet *dev, u32 index,
147 return __smsc95xx_read_reg(dev, index, data, 0);
150 static int __must_check smsc95xx_write_reg(struct usbnet *dev, u32 index,
153 return __smsc95xx_write_reg(dev, index, data, 0);
202 /* set the address, index & direction (read from PHY) */
258 /* set the address, index & direction (write to PHY) */
447 static int __must_check smsc95xx_write_reg_async(struct usbnet *dev, u16 index,
460 0, index, &buf, size);