Home
last modified time | relevance | path

Searched refs:in_pm (Results 1 – 6 of 6) sorted by relevance

/drivers/net/usb/
Dasix.h201 u16 size, void *data, int in_pm);
204 u16 size, void *data, int in_pm);
216 int asix_set_sw_mii(struct usbnet *dev, int in_pm);
217 int asix_set_hw_mii(struct usbnet *dev, int in_pm);
222 int asix_sw_reset(struct usbnet *dev, u8 flags, int in_pm);
224 u16 asix_read_rx_ctl(struct usbnet *dev, int in_pm);
225 int asix_write_rx_ctl(struct usbnet *dev, u16 mode, int in_pm);
227 u16 asix_read_medium_status(struct usbnet *dev, int in_pm);
228 int asix_write_medium_mode(struct usbnet *dev, u16 mode, int in_pm);
230 int asix_write_gpio(struct usbnet *dev, u16 value, int sleep, int in_pm);
Dasix_common.c25 u16 size, void *data, int in_pm) in asix_read_cmd() argument
32 if (!in_pm) in asix_read_cmd()
48 u16 size, void *data, int in_pm) in asix_write_cmd() argument
55 if (!in_pm) in asix_write_cmd()
253 int asix_set_sw_mii(struct usbnet *dev, int in_pm) in asix_set_sw_mii() argument
256 ret = asix_write_cmd(dev, AX_CMD_SET_SW_MII, 0x0000, 0, 0, NULL, in_pm); in asix_set_sw_mii()
263 int asix_set_hw_mii(struct usbnet *dev, int in_pm) in asix_set_hw_mii() argument
266 ret = asix_write_cmd(dev, AX_CMD_SET_HW_MII, 0x0000, 0, 0, NULL, in_pm); in asix_set_hw_mii()
299 int asix_sw_reset(struct usbnet *dev, u8 flags, int in_pm) in asix_sw_reset() argument
303 ret = asix_write_cmd(dev, AX_CMD_SW_RESET, flags, 0, 0, NULL, in_pm); in asix_sw_reset()
[all …]
Dasix_devices.c359 static int ax88772_hw_reset(struct usbnet *dev, int in_pm) in ax88772_hw_reset() argument
366 AX_GPIO_GPO2EN, 5, in_pm); in ax88772_hw_reset()
373 0, 0, NULL, in_pm); in ax88772_hw_reset()
380 ret = asix_sw_reset(dev, AX_SWRESET_IPPD, in_pm); in ax88772_hw_reset()
386 ret = asix_sw_reset(dev, AX_SWRESET_CLEAR, in_pm); in ax88772_hw_reset()
393 in_pm); in ax88772_hw_reset()
398 in_pm); in ax88772_hw_reset()
405 if (in_pm && (!asix_mdio_read_nopm(dev->net, dev->mii.phy_id, in ax88772_hw_reset()
411 ret = asix_write_rx_ctl(dev, AX_DEFAULT_RX_CTL, in_pm); in ax88772_hw_reset()
415 ret = asix_write_medium_mode(dev, AX88772_MEDIUM_DEFAULT, in_pm); in ax88772_hw_reset()
[all …]
Dsmsc75xx.c86 u32 *data, int in_pm) in __smsc75xx_read_reg() argument
94 if (!in_pm) in __smsc75xx_read_reg()
115 u32 data, int in_pm) in __smsc75xx_write_reg() argument
123 if (!in_pm) in __smsc75xx_write_reg()
168 int in_pm) in __smsc75xx_phy_wait_not_busy() argument
175 ret = __smsc75xx_read_reg(dev, MII_ACCESS, &val, in_pm); in __smsc75xx_phy_wait_not_busy()
189 int in_pm) in __smsc75xx_mdio_read() argument
198 ret = __smsc75xx_phy_wait_not_busy(dev, in_pm); in __smsc75xx_mdio_read()
210 ret = __smsc75xx_write_reg(dev, MII_ACCESS, addr, in_pm); in __smsc75xx_mdio_read()
216 ret = __smsc75xx_phy_wait_not_busy(dev, in_pm); in __smsc75xx_mdio_read()
[all …]
Dsmsc95xx.c86 u32 *data, int in_pm) in __smsc95xx_read_reg() argument
94 if (!in_pm) in __smsc95xx_read_reg()
115 u32 data, int in_pm) in __smsc95xx_write_reg() argument
123 if (!in_pm) in __smsc95xx_write_reg()
168 int in_pm) in __smsc95xx_phy_wait_not_busy() argument
175 ret = __smsc95xx_read_reg(dev, MII_ADDR, &val, in_pm); in __smsc95xx_phy_wait_not_busy()
189 int in_pm) in __smsc95xx_mdio_read() argument
198 ret = __smsc95xx_phy_wait_not_busy(dev, in_pm); in __smsc95xx_mdio_read()
208 ret = __smsc95xx_write_reg(dev, MII_ADDR, addr, in_pm); in __smsc95xx_mdio_read()
214 ret = __smsc95xx_phy_wait_not_busy(dev, in_pm); in __smsc95xx_mdio_read()
[all …]
Dax88179_178a.c200 u16 size, void *data, int in_pm) in __ax88179_read_cmd() argument
207 if (!in_pm) in __ax88179_read_cmd()
223 u16 size, void *data, int in_pm) in __ax88179_write_cmd() argument
230 if (!in_pm) in __ax88179_write_cmd()
472 static int ax88179_auto_detach(struct usbnet *dev, int in_pm) in ax88179_auto_detach() argument
479 if (!in_pm) { in ax88179_auto_detach()