/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 | mass_storage.c | 182 struct usb_descriptor_header *usb_desc; in msg_bind() local 184 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in msg_bind() 185 if (!usb_desc) in msg_bind() 187 usb_otg_descriptor_init(cdev->gadget, usb_desc); in msg_bind() 188 otg_desc[0] = usb_desc; in msg_bind()
|
D | printer.c | 179 struct usb_descriptor_header *usb_desc; in printer_bind() local 181 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in printer_bind() 182 if (!usb_desc) { in printer_bind() 186 usb_otg_descriptor_init(cdev->gadget, usb_desc); in printer_bind() 187 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 | 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 | 303 struct usb_descriptor_header *usb_desc; in audio_bind() local 305 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in audio_bind() 306 if (!usb_desc) in audio_bind() 308 usb_otg_descriptor_init(cdev->gadget, usb_desc); in audio_bind() 309 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 | 340 struct usb_descriptor_header *usb_desc; in zero_bind() local 342 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in zero_bind() 343 if (!usb_desc) { in zero_bind() 347 usb_otg_descriptor_init(cdev->gadget, usb_desc); in zero_bind() 348 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 | 399 struct usb_descriptor_header *usb_desc; in gfs_bind() local 401 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in gfs_bind() 402 if (!usb_desc) in gfs_bind() 404 usb_otg_descriptor_init(cdev->gadget, usb_desc); in gfs_bind() 405 gfs_otg_desc[0] = usb_desc; in gfs_bind()
|
/drivers/power/supply/ |
D | wm831x_power.c | 29 struct power_supply_desc usb_desc; member 583 power->usb_desc.name = power->usb_name, in wm831x_power_probe() 584 power->usb_desc.type = POWER_SUPPLY_TYPE_USB; in wm831x_power_probe() 585 power->usb_desc.properties = wm831x_usb_props; in wm831x_power_probe() 586 power->usb_desc.num_properties = ARRAY_SIZE(wm831x_usb_props); in wm831x_power_probe() 587 power->usb_desc.get_property = wm831x_usb_get_prop; in wm831x_power_probe() 588 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()
|
/drivers/usb/gadget/ |
D | configfs.c | 1342 struct usb_descriptor_header *usb_desc; in configfs_composite_bind() local 1344 usb_desc = usb_otg_descriptor_alloc(gadget); in configfs_composite_bind() 1345 if (!usb_desc) { in configfs_composite_bind() 1349 usb_otg_descriptor_init(gadget, usb_desc); in configfs_composite_bind() 1350 otg_desc[0] = usb_desc; in configfs_composite_bind()
|