Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/usb/
Dhuawei_cdc_ncm.c37 static int huawei_cdc_ncm_manage_power(struct usbnet *usbnet_dev, int on) in huawei_cdc_ncm_manage_power() argument
39 struct huawei_cdc_ncm_state *drvstate = (void *)&usbnet_dev->data; in huawei_cdc_ncm_manage_power()
44 rv = usb_autopm_get_interface(usbnet_dev->intf); in huawei_cdc_ncm_manage_power()
45 usbnet_dev->intf->needs_remote_wakeup = on; in huawei_cdc_ncm_manage_power()
47 usb_autopm_put_interface(usbnet_dev->intf); in huawei_cdc_ncm_manage_power()
55 struct usbnet *usbnet_dev = usb_get_intfdata(intf); in huawei_cdc_ncm_wdm_manage_power() local
58 if (!usbnet_dev) in huawei_cdc_ncm_wdm_manage_power()
61 return huawei_cdc_ncm_manage_power(usbnet_dev, status); in huawei_cdc_ncm_wdm_manage_power()
65 static int huawei_cdc_ncm_bind(struct usbnet *usbnet_dev, in huawei_cdc_ncm_bind() argument
71 struct huawei_cdc_ncm_state *drvstate = (void *)&usbnet_dev->data; in huawei_cdc_ncm_bind()
[all …]