| /linux-4.4.14/drivers/usb/gadget/legacy/ |
| D | ncm.c | 162 struct usb_descriptor_header *usb_desc; in gncm_bind() local 164 usb_desc = usb_otg_descriptor_alloc(gadget); in gncm_bind() 165 if (!usb_desc) in gncm_bind() 167 usb_otg_descriptor_init(gadget, usb_desc); in gncm_bind() 168 otg_desc[0] = usb_desc; in gncm_bind()
|
| D | printer.c | 173 struct usb_descriptor_header *usb_desc; in printer_bind() local 175 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in printer_bind() 176 if (!usb_desc) { in printer_bind() 180 usb_otg_descriptor_init(cdev->gadget, usb_desc); in printer_bind() 181 otg_desc[0] = usb_desc; in printer_bind()
|
| D | cdc2.c | 183 struct usb_descriptor_header *usb_desc; in cdc_bind() local 185 usb_desc = usb_otg_descriptor_alloc(gadget); in cdc_bind() 186 if (!usb_desc) in cdc_bind() 188 usb_otg_descriptor_init(gadget, usb_desc); in cdc_bind() 189 otg_desc[0] = usb_desc; in cdc_bind()
|
| D | acm_ms.c | 207 struct usb_descriptor_header *usb_desc; in acm_ms_bind() local 209 usb_desc = usb_otg_descriptor_alloc(gadget); in acm_ms_bind() 210 if (!usb_desc) in acm_ms_bind() 212 usb_otg_descriptor_init(gadget, usb_desc); in acm_ms_bind() 213 otg_desc[0] = usb_desc; in acm_ms_bind()
|
| D | mass_storage.c | 196 struct usb_descriptor_header *usb_desc; in msg_bind() local 198 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in msg_bind() 199 if (!usb_desc) in msg_bind() 201 usb_otg_descriptor_init(cdev->gadget, usb_desc); in msg_bind() 202 otg_desc[0] = usb_desc; in msg_bind()
|
| D | serial.c | 181 struct usb_descriptor_header *usb_desc; in gs_bind() local 183 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in gs_bind() 184 if (!usb_desc) { in gs_bind() 188 usb_otg_descriptor_init(cdev->gadget, usb_desc); in gs_bind() 189 otg_desc[0] = usb_desc; in gs_bind()
|
| D | hid.c | 175 struct usb_descriptor_header *usb_desc; in hid_bind() local 177 usb_desc = usb_otg_descriptor_alloc(gadget); in hid_bind() 178 if (!usb_desc) in hid_bind() 180 usb_otg_descriptor_init(gadget, usb_desc); in hid_bind() 181 otg_desc[0] = usb_desc; in hid_bind()
|
| D | audio.c | 249 struct usb_descriptor_header *usb_desc; in audio_bind() local 251 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in audio_bind() 252 if (!usb_desc) in audio_bind() 254 usb_otg_descriptor_init(cdev->gadget, usb_desc); in audio_bind() 255 otg_desc[0] = usb_desc; in audio_bind()
|
| D | ether.c | 407 struct usb_descriptor_header *usb_desc; in eth_bind() local 409 usb_desc = usb_otg_descriptor_alloc(gadget); in eth_bind() 410 if (!usb_desc) in eth_bind() 412 usb_otg_descriptor_init(gadget, usb_desc); in eth_bind() 413 otg_desc[0] = usb_desc; in eth_bind()
|
| D | zero.c | 328 struct usb_descriptor_header *usb_desc; in zero_bind() local 330 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in zero_bind() 331 if (!usb_desc) { in zero_bind() 335 usb_otg_descriptor_init(cdev->gadget, usb_desc); in zero_bind() 336 otg_desc[0] = usb_desc; in zero_bind()
|
| D | multi.c | 403 struct usb_descriptor_header *usb_desc; in multi_bind() local 405 usb_desc = usb_otg_descriptor_alloc(gadget); in multi_bind() 406 if (!usb_desc) in multi_bind() 408 usb_otg_descriptor_init(gadget, usb_desc); in multi_bind() 409 otg_desc[0] = usb_desc; in multi_bind()
|
| D | g_ffs.c | 402 struct usb_descriptor_header *usb_desc; in gfs_bind() local 404 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in gfs_bind() 405 if (!usb_desc) in gfs_bind() 407 usb_otg_descriptor_init(cdev->gadget, usb_desc); in gfs_bind() 408 gfs_otg_desc[0] = usb_desc; in gfs_bind()
|
| /linux-4.4.14/drivers/power/ |
| D | wm831x_power.c | 28 struct power_supply_desc usb_desc; member 543 power->usb_desc.name = power->usb_name, in wm831x_power_probe() 544 power->usb_desc.type = POWER_SUPPLY_TYPE_USB; in wm831x_power_probe() 545 power->usb_desc.properties = wm831x_usb_props; in wm831x_power_probe() 546 power->usb_desc.num_properties = ARRAY_SIZE(wm831x_usb_props); in wm831x_power_probe() 547 power->usb_desc.get_property = wm831x_usb_get_prop; in wm831x_power_probe() 548 power->usb = power_supply_register(&pdev->dev, &power->usb_desc, NULL); in wm831x_power_probe()
|
| D | max8925_power.c | 358 static const struct power_supply_desc usb_desc = { variable 540 info->usb = power_supply_register(&pdev->dev, &usb_desc, &psy_cfg); in max8925_power_probe()
|
| D | da9150-charger.c | 502 static const struct power_supply_desc usb_desc = { variable 560 charger->usb = power_supply_register(dev, &usb_desc, NULL); in da9150_charger_probe()
|
| /linux-4.4.14/drivers/usb/gadget/ |
| D | configfs.c | 1310 struct usb_descriptor_header *usb_desc; in configfs_composite_bind() local 1312 usb_desc = usb_otg_descriptor_alloc(gadget); in configfs_composite_bind() 1313 if (!usb_desc) { in configfs_composite_bind() 1317 usb_otg_descriptor_init(gadget, usb_desc); in configfs_composite_bind() 1318 otg_desc[0] = usb_desc; in configfs_composite_bind()
|