/linux-4.1.27/drivers/net/usb/ |
H A D | huawei_cdc_ncm.c | 36 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 D | cdc_mbim.c | 34 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 D | qmi_wwan.c | 40 * 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 D | usbnet.c | 1858 * Either a subdriver implements manage_power, then it is assumed to always
|
/linux-4.1.27/include/linux/usb/ |
H A D | cdc-wdm.h | 2 * USB CDC Device Management subdriver
|
/linux-4.1.27/drivers/media/usb/gspca/ |
H A D | gspca.h | 57 * 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 D | gspca.c | 337 /* 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 D | benq.c | 2 * Benq DC E300 subdriver
|
H A D | finepix.c | 2 * Fujifilm Finepix subdriver
|
H A D | konica.c | 12 * taken from the benq gspca subdriver which is:
|
H A D | spca1528.c | 2 * spca1528 subdriver
|
H A D | sq905c.c | 2 * SQ905C subdriver
|
H A D | stk014.c | 2 * Syntek DV4000 (STK014) subdriver
|
H A D | vicam.c | 2 * gspca ViCam subdriver
|
H A D | dtcs033.c | 93 /* -- subdriver interface implementation -- */
|
H A D | jeilinj.c | 2 * Jeilinj subdriver
|
H A D | sq905.c | 2 * SQ905 subdriver
|
H A D | stk1135.c | 2 * Syntek STK1135 subdriver
|
H A D | spca561.c | 2 * Sunplus spca561 subdriver
|
H A D | sq930x.c | 2 * SQ930x subdriver
|
H A D | t613.c | 2 * T613 subdriver
|
H A D | spca508.c | 2 * SPCA508 chip based cameras subdriver
|
H A D | nw80x.c | 2 * DivIO nw80x subdriver
|
H A D | sonixj.c | 2 * Sonix sn9c102p sn9c105 sn9c120 (jpeg) subdriver
|
/linux-4.1.27/drivers/usb/c67x00/ |
H A D | c67x00.h | 200 * @private_data: subdriver dependent data 201 * @irq: subdriver dependent irq handler, set NULL when not used
|
H A D | c67x00-drv.c | 34 * the corresponding subdriver is initialized (c67x00_probe_sie).
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 1137 /* 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 D | cdc-wdm.c | 923 * 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 D | usb.h | 154 /* subdriver information */
|
H A D | usb.c | 1095 * If the device isn't standard (is handled by a subdriver storage_probe()
|
H A D | sddr09.c | 1734 * Initialization routine for the sddr09 subdriver
|
/linux-4.1.27/sound/ |
H A D | sound_core.c | 633 * subdriver is there. soundcore_open()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-io.c | 537 * unless the subdriver triggers such a thing in its own PM do_ide_request()
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdchar.c | 146 * alignment requirements are not met in the NAND subdriver.
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
H A D | em28xx-video.c | 1150 * should be checked by the corresponding V4L subdriver. em28xx_ctrl_notify()
|