Searched refs:subdriver (Results 1 - 35 of 35) sorted by relevance

/linux-4.1.27/drivers/net/usb/
H A Dhuawei_cdc_ncm.c36 struct usb_driver *subdriver; member in struct:huawei_cdc_ncm_state
73 struct usb_driver *subdriver = ERR_PTR(-ENODEV); huawei_cdc_ncm_bind() local
91 subdriver = usb_cdc_wdm_register(ctx->control, huawei_cdc_ncm_bind()
95 if (IS_ERR(subdriver)) { huawei_cdc_ncm_bind()
96 ret = PTR_ERR(subdriver); huawei_cdc_ncm_bind()
104 drvstate->subdriver = subdriver; huawei_cdc_ncm_bind()
116 if (drvstate->subdriver && drvstate->subdriver->disconnect) huawei_cdc_ncm_unbind()
117 drvstate->subdriver->disconnect(ctx->control); huawei_cdc_ncm_unbind()
118 drvstate->subdriver = NULL; huawei_cdc_ncm_unbind()
141 drvstate->subdriver && huawei_cdc_ncm_suspend()
142 drvstate->subdriver->suspend) huawei_cdc_ncm_suspend()
143 ret = drvstate->subdriver->suspend(intf, message); huawei_cdc_ncm_suspend()
159 /* should we call subdriver's resume function? */ huawei_cdc_ncm_resume()
162 drvstate->subdriver && huawei_cdc_ncm_resume()
163 drvstate->subdriver->resume); huawei_cdc_ncm_resume()
166 ret = drvstate->subdriver->resume(intf); huawei_cdc_ncm_resume()
171 drvstate->subdriver->suspend(intf, PMSG_SUSPEND); huawei_cdc_ncm_resume()
H A Dcdc_mbim.c34 struct usb_driver *subdriver; member in struct:cdc_mbim_state
44 /* using a counter to merge subdriver requests with our own into a combined state */ cdc_mbim_manage_power()
143 struct usb_driver *subdriver = ERR_PTR(-ENODEV); cdc_mbim_bind() local
169 subdriver = usb_cdc_wdm_register(ctx->control, cdc_mbim_bind()
173 if (IS_ERR(subdriver)) { cdc_mbim_bind()
174 ret = PTR_ERR(subdriver); cdc_mbim_bind()
181 info->subdriver = subdriver; cdc_mbim_bind()
200 /* disconnect subdriver from control interface */ cdc_mbim_unbind()
201 if (info->subdriver && info->subdriver->disconnect) cdc_mbim_unbind()
202 info->subdriver->disconnect(ctx->control); cdc_mbim_unbind()
203 info->subdriver = NULL; cdc_mbim_unbind()
515 * Both usbnet_suspend() and subdriver->suspend() MUST return 0 cdc_mbim_suspend()
523 if (intf == ctx->control && info->subdriver && info->subdriver->suspend) cdc_mbim_suspend()
524 ret = info->subdriver->suspend(intf, message); cdc_mbim_suspend()
538 bool callsub = (intf == ctx->control && info->subdriver && info->subdriver->resume); cdc_mbim_resume()
541 ret = info->subdriver->resume(intf); cdc_mbim_resume()
546 info->subdriver->suspend(intf, PMSG_SUSPEND); cdc_mbim_resume()
H A Dqmi_wwan.c40 * a subdriver, enabling userspace applications ("modem managers") to
49 struct usb_driver *subdriver; member in struct:qmi_wwan_state
148 /* using a counter to merge subdriver requests with our own into a
182 /* collect all three endpoints and register subdriver */ qmi_wwan_register_subdriver()
186 struct usb_driver *subdriver = NULL; qmi_wwan_register_subdriver() local
198 /* require interrupt endpoint for subdriver */ qmi_wwan_register_subdriver()
204 /* for subdriver power management */ qmi_wwan_register_subdriver()
207 /* register subdriver */ qmi_wwan_register_subdriver()
208 subdriver = usb_cdc_wdm_register(info->control, &dev->status->desc, qmi_wwan_register_subdriver()
210 if (IS_ERR(subdriver)) { qmi_wwan_register_subdriver()
211 dev_err(&info->control->dev, "subdriver registration failed\n"); qmi_wwan_register_subdriver()
212 rv = PTR_ERR(subdriver); qmi_wwan_register_subdriver()
219 /* save subdriver struct for suspend/resume wrappers */ qmi_wwan_register_subdriver()
220 info->subdriver = subdriver; qmi_wwan_register_subdriver()
361 if (info->subdriver && info->subdriver->disconnect) qmi_wwan_unbind()
362 info->subdriver->disconnect(info->control); qmi_wwan_unbind()
376 info->subdriver = NULL; qmi_wwan_unbind()
382 * subdriver if present.
393 /* Both usbnet_suspend() and subdriver->suspend() MUST return 0 qmi_wwan_suspend()
401 if (intf == info->control && info->subdriver && qmi_wwan_suspend()
402 info->subdriver->suspend) qmi_wwan_suspend()
403 ret = info->subdriver->suspend(intf, message); qmi_wwan_suspend()
415 bool callsub = (intf == info->control && info->subdriver && qmi_wwan_resume()
416 info->subdriver->resume); qmi_wwan_resume()
419 ret = info->subdriver->resume(intf); qmi_wwan_resume()
424 info->subdriver->suspend(intf, PMSG_SUSPEND); qmi_wwan_resume()
H A Dusbnet.c1858 * Either a subdriver implements manage_power, then it is assumed to always
/linux-4.1.27/include/linux/usb/
H A Dcdc-wdm.h2 * USB CDC Device Management subdriver
/linux-4.1.27/drivers/media/usb/gspca/
H A Dgspca.h57 * 1 URB and submit done by subdriver */
69 /* subdriver operations */
96 /* subdriver description */
147 struct module *module; /* subdriver handling the device */
158 const struct sd_desc *sd_desc; /* subdriver description */
H A Dgspca.c337 /* let the packet be analyzed by the subdriver */ fill_frame()
355 * Analyse each packet and call the subdriver for copy to the frame buffer.
856 /* do the specific subdriver stuff before endpoint selection */ gspca_init_transfer()
867 /* if bulk or the subdriver forced an altsetting, get the endpoint */ gspca_init_transfer()
934 /* some bulk transfers are started by the subdriver */ gspca_init_transfer()
1143 /* pass original resolution to subdriver try_fmt */ try_fmt_vid_cap()
1192 /* subdriver try_fmt can modify format parameters */ vidioc_s_fmt_vid_cap()
1278 /* protect the subdriver against rmmod */ dev_open()
2076 /* configure the subdriver and initialize the USB device */ gspca_dev_probe2()
2193 /* Free subdriver's streaming resources / stop sd workqueue(s) */ gspca_disconnect()
H A Dbenq.c2 * Benq DC E300 subdriver
H A Dfinepix.c2 * Fujifilm Finepix subdriver
H A Dkonica.c12 * taken from the benq gspca subdriver which is:
H A Dspca1528.c2 * spca1528 subdriver
H A Dsq905c.c2 * SQ905C subdriver
H A Dstk014.c2 * Syntek DV4000 (STK014) subdriver
H A Dvicam.c2 * gspca ViCam subdriver
H A Ddtcs033.c93 /* -- subdriver interface implementation -- */
H A Djeilinj.c2 * Jeilinj subdriver
H A Dsq905.c2 * SQ905 subdriver
H A Dstk1135.c2 * Syntek STK1135 subdriver
H A Dspca561.c2 * Sunplus spca561 subdriver
H A Dsq930x.c2 * SQ930x subdriver
H A Dt613.c2 * T613 subdriver
H A Dspca508.c2 * SPCA508 chip based cameras subdriver
H A Dnw80x.c2 * DivIO nw80x subdriver
H A Dsonixj.c2 * Sonix sn9c102p sn9c105 sn9c120 (jpeg) subdriver
/linux-4.1.27/drivers/usb/c67x00/
H A Dc67x00.h200 * @private_data: subdriver dependent data
201 * @irq: subdriver dependent irq handler, set NULL when not used
H A Dc67x00-drv.c34 * the corresponding subdriver is initialized (c67x00_probe_sie).
/linux-4.1.27/drivers/platform/x86/
H A Dthinkpad_acpi.c1137 /* ThinkPad-ACPI rfkill subdriver */
1841 * thinkpad-acpi metadata subdriver
1857 * Hotkey subdriver
1869 * built around the hotkey subdriver. This will need to be refactored
2210 * Can be called even if the hotkey subdriver is inactive
3299 "initializing hotkey subdriver\n"); hotkey_init()
4126 * Bluetooth subdriver
4254 "initializing bluetooth subdriver\n"); bluetooth_init()
4323 * Wan subdriver
4443 "initializing wan subdriver\n"); wan_init()
4511 * UWB subdriver
4583 "initializing uwb subdriver\n"); uwb_init()
4627 * Video subdriver
4674 vdbg_printk(TPACPI_DBG_INIT, "initializing video subdriver\n"); video_init()
4988 * Light (thinklight) subdriver
5065 vdbg_printk(TPACPI_DBG_INIT, "initializing light subdriver\n"); light_init()
5157 * CMOS subdriver
5184 "initializing cmos commands subdriver\n"); cmos_init()
5245 * LED subdriver
5556 vdbg_printk(TPACPI_DBG_INIT, "initializing LED subdriver\n"); led_init()
5676 * Beep subdriver
5692 vdbg_printk(TPACPI_DBG_INIT, "initializing beep subdriver\n"); beep_init()
5754 * Thermal subdriver
5971 vdbg_printk(TPACPI_DBG_INIT, "initializing thermal subdriver\n"); thermal_init()
6103 * Backlight/brightness subdriver
6474 vdbg_printk(TPACPI_DBG_INIT, "initializing brightness subdriver\n"); brightness_init()
6666 * Volume subdriver
7223 vdbg_printk(TPACPI_DBG_INIT, "initializing volume subdriver\n"); volume_init()
7246 * When disabled, don't install the subdriver at all volume_init()
7251 "not loading volume subdriver...\n"); volume_init()
7461 * Fan subdriver
8313 "initializing fan subdriver\n"); fan_init()
8714 * Mute LED subdriver
8953 pr_notice("disabling subdriver %s\n", ibm_init()
9382 dbg_printk(TPACPI_DBG_INIT, "finished subdriver exit path...\n"); thinkpad_acpi_module_exit()
9548 /* Init subdriver dependencies */ thinkpad_acpi_module_init()
/linux-4.1.27/drivers/usb/class/
H A Dcdc-wdm.c923 * usb_cdc_wdm_register - register a WDM subdriver
924 * @intf: usb interface the subdriver will associate with
931 * The subdriver will manage the given interrupt endpoint exclusively
936 * The return value is a pointer to the subdriver's struct usb_driver.
937 * The registering driver is responsible for calling this subdriver's
/linux-4.1.27/drivers/usb/storage/
H A Dusb.h154 /* subdriver information */
H A Dusb.c1095 * If the device isn't standard (is handled by a subdriver storage_probe()
H A Dsddr09.c1734 * Initialization routine for the sddr09 subdriver
/linux-4.1.27/sound/
H A Dsound_core.c633 * subdriver is there. soundcore_open()
/linux-4.1.27/drivers/ide/
H A Dide-io.c537 * unless the subdriver triggers such a thing in its own PM do_ide_request()
/linux-4.1.27/drivers/mtd/
H A Dmtdchar.c146 * alignment requirements are not met in the NAND subdriver.
/linux-4.1.27/drivers/media/usb/em28xx/
H A Dem28xx-video.c1150 * should be checked by the corresponding V4L subdriver. em28xx_ctrl_notify()

Completed in 697 milliseconds