Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/usb/
Dasix.h189 u16 size, void *data, int in_pm);
192 u16 size, void *data, int in_pm);
205 int asix_set_sw_mii(struct usbnet *dev, int in_pm);
206 int asix_set_hw_mii(struct usbnet *dev, int in_pm);
211 int asix_sw_reset(struct usbnet *dev, u8 flags, int in_pm);
213 u16 asix_read_rx_ctl(struct usbnet *dev, int in_pm);
214 int asix_write_rx_ctl(struct usbnet *dev, u16 mode, int in_pm);
216 u16 asix_read_medium_status(struct usbnet *dev, int in_pm);
217 int asix_write_medium_mode(struct usbnet *dev, u16 mode, int in_pm);
219 int asix_write_gpio(struct usbnet *dev, u16 value, int sleep, int in_pm);
Dasix_common.c13 u16 size, void *data, int in_pm) in asix_read_cmd() argument
20 if (!in_pm) in asix_read_cmd()
36 u16 size, void *data, int in_pm) in asix_write_cmd() argument
43 if (!in_pm) in asix_write_cmd()
272 int asix_set_sw_mii(struct usbnet *dev, int in_pm) in asix_set_sw_mii() argument
275 ret = asix_write_cmd(dev, AX_CMD_SET_SW_MII, 0x0000, 0, 0, NULL, in_pm); in asix_set_sw_mii()
282 int asix_set_hw_mii(struct usbnet *dev, int in_pm) in asix_set_hw_mii() argument
285 ret = asix_write_cmd(dev, AX_CMD_SET_HW_MII, 0x0000, 0, 0, NULL, in_pm); in asix_set_hw_mii()
318 int asix_sw_reset(struct usbnet *dev, u8 flags, int in_pm) in asix_sw_reset() argument
322 ret = asix_write_cmd(dev, AX_CMD_SW_RESET, flags, 0, 0, NULL, in_pm); in asix_sw_reset()
[all …]
Dasix_devices.c348 static int ax88772_hw_reset(struct usbnet *dev, int in_pm) in ax88772_hw_reset() argument
355 AX_GPIO_GPO2EN, 5, in_pm); in ax88772_hw_reset()
362 0, 0, NULL, in_pm); in ax88772_hw_reset()
369 ret = asix_sw_reset(dev, AX_SWRESET_IPPD, in_pm); in ax88772_hw_reset()
375 ret = asix_sw_reset(dev, AX_SWRESET_CLEAR, in_pm); in ax88772_hw_reset()
382 in_pm); in ax88772_hw_reset()
387 in_pm); in ax88772_hw_reset()
394 if (in_pm && (!asix_mdio_read_nopm(dev->net, dev->mii.phy_id, in ax88772_hw_reset()
400 ret = asix_write_rx_ctl(dev, AX_DEFAULT_RX_CTL, in_pm); in ax88772_hw_reset()
404 ret = asix_write_medium_mode(dev, AX88772_MEDIUM_DEFAULT, in_pm); in ax88772_hw_reset()
[all …]
Dsmsc95xx.c72 u32 *data, int in_pm) in __smsc95xx_read_reg() argument
103 u32 data, int in_pm) in __smsc95xx_write_reg() argument
157 int in_pm) in __smsc95xx_phy_wait_not_busy() argument
164 ret = __smsc95xx_read_reg(dev, MII_ADDR, &val, in_pm); in __smsc95xx_phy_wait_not_busy()
186 int in_pm) in __smsc95xx_mdio_read() argument
194 ret = __smsc95xx_phy_wait_not_busy(dev, in_pm); in __smsc95xx_mdio_read()
202 ret = __smsc95xx_write_reg(dev, MII_ADDR, addr, in_pm); in __smsc95xx_mdio_read()
209 ret = __smsc95xx_phy_wait_not_busy(dev, in_pm); in __smsc95xx_mdio_read()
215 ret = __smsc95xx_read_reg(dev, MII_DATA, &val, in_pm); in __smsc95xx_mdio_read()
234 int idx, int regval, int in_pm) in __smsc95xx_mdio_write() argument
[all …]
Dsmsc75xx.c77 u32 *data, int in_pm) in __smsc75xx_read_reg() argument
85 if (!in_pm) in __smsc75xx_read_reg()
106 u32 data, int in_pm) in __smsc75xx_write_reg() argument
114 if (!in_pm) in __smsc75xx_write_reg()
159 int in_pm) in __smsc75xx_phy_wait_not_busy() argument
166 ret = __smsc75xx_read_reg(dev, MII_ACCESS, &val, in_pm); in __smsc75xx_phy_wait_not_busy()
180 int in_pm) in __smsc75xx_mdio_read() argument
189 ret = __smsc75xx_phy_wait_not_busy(dev, in_pm); in __smsc75xx_mdio_read()
201 ret = __smsc75xx_write_reg(dev, MII_ACCESS, addr, in_pm); in __smsc75xx_mdio_read()
207 ret = __smsc75xx_phy_wait_not_busy(dev, in_pm); in __smsc75xx_mdio_read()
[all …]
Dax88179_178a.c189 u16 size, void *data, int in_pm) in __ax88179_read_cmd() argument
196 if (!in_pm) in __ax88179_read_cmd()
212 u16 size, void *data, int in_pm) in __ax88179_write_cmd() argument
219 if (!in_pm) in __ax88179_write_cmd()
461 static int ax88179_auto_detach(struct usbnet *dev, int in_pm) in ax88179_auto_detach() argument
468 if (!in_pm) { in ax88179_auto_detach()
/kernel/linux/linux-5.10/include/sound/
Dhdaudio.h82 atomic_t in_pm; /* suspend/resume being performed */ member
184 atomic_inc(&codec->in_pm); in snd_hdac_enter_pm()
190 atomic_dec(&codec->in_pm); in snd_hdac_leave_pm()
195 return atomic_read(&codec->in_pm); in snd_hdac_is_in_pm()
/kernel/linux/linux-5.10/sound/hda/
Dhdac_device.c63 atomic_set(&codec->in_pm, 0); in snd_hdac_device_init()
601 if (!atomic_inc_not_zero(&codec->in_pm)) in snd_hdac_power_up_pm()
613 if (!atomic_inc_not_zero(&codec->in_pm)) { in snd_hdac_keep_power_up()
634 if (atomic_dec_if_positive(&codec->in_pm) < 0) in snd_hdac_power_down_pm()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dhdac_hdmi.c1722 if (atomic_read(&hdev->in_pm)) in hdac_hdmi_eld_notify_cb()