Home
last modified time | relevance | path

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

/drivers/net/usb/
Dhuawei_cdc_ncm.c41 static int huawei_cdc_ncm_manage_power(struct usbnet *usbnet_dev, int on) in huawei_cdc_ncm_manage_power() argument
43 struct huawei_cdc_ncm_state *drvstate = (void *)&usbnet_dev->data; in huawei_cdc_ncm_manage_power()
48 rv = usb_autopm_get_interface(usbnet_dev->intf); in huawei_cdc_ncm_manage_power()
49 usbnet_dev->intf->needs_remote_wakeup = on; in huawei_cdc_ncm_manage_power()
51 usb_autopm_put_interface(usbnet_dev->intf); in huawei_cdc_ncm_manage_power()
59 struct usbnet *usbnet_dev = usb_get_intfdata(intf); in huawei_cdc_ncm_wdm_manage_power() local
62 if (!usbnet_dev) in huawei_cdc_ncm_wdm_manage_power()
65 return huawei_cdc_ncm_manage_power(usbnet_dev, status); in huawei_cdc_ncm_wdm_manage_power()
69 static int huawei_cdc_ncm_bind(struct usbnet *usbnet_dev, in huawei_cdc_ncm_bind() argument
75 struct huawei_cdc_ncm_state *drvstate = (void *)&usbnet_dev->data; in huawei_cdc_ncm_bind()
[all …]