Home
last modified time | relevance | path

Searched refs:usb_desc (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
H A Dncm.c156 struct usb_descriptor_header *usb_desc; in gncm_bind() local
158 usb_desc = usb_otg_descriptor_alloc(gadget); in gncm_bind()
159 if (!usb_desc) { in gncm_bind()
163 usb_otg_descriptor_init(gadget, usb_desc); in gncm_bind()
164 otg_desc[0] = usb_desc; in gncm_bind()
H A Dmass_storage.c175 struct usb_descriptor_header *usb_desc; in msg_bind() local
177 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in msg_bind()
178 if (!usb_desc) in msg_bind()
180 usb_otg_descriptor_init(cdev->gadget, usb_desc); in msg_bind()
181 otg_desc[0] = usb_desc; in msg_bind()
H A Dacm_ms.c200 struct usb_descriptor_header *usb_desc; in acm_ms_bind() local
202 usb_desc = usb_otg_descriptor_alloc(gadget); in acm_ms_bind()
203 if (!usb_desc) { in acm_ms_bind()
207 usb_otg_descriptor_init(gadget, usb_desc); in acm_ms_bind()
208 otg_desc[0] = usb_desc; in acm_ms_bind()
H A Dcdc2.c179 struct usb_descriptor_header *usb_desc; in cdc_bind() local
181 usb_desc = usb_otg_descriptor_alloc(gadget); in cdc_bind()
182 if (!usb_desc) { in cdc_bind()
186 usb_otg_descriptor_init(gadget, usb_desc); in cdc_bind()
187 otg_desc[0] = usb_desc; in cdc_bind()
H A Dprinter.c174 struct usb_descriptor_header *usb_desc; in printer_bind() local
176 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in printer_bind()
177 if (!usb_desc) { in printer_bind()
181 usb_otg_descriptor_init(cdev->gadget, usb_desc); in printer_bind()
182 otg_desc[0] = usb_desc; in printer_bind()
H A Dhid.c173 struct usb_descriptor_header *usb_desc; in hid_bind() local
175 usb_desc = usb_otg_descriptor_alloc(gadget); in hid_bind()
176 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()
H A Dserial.c208 struct usb_descriptor_header *usb_desc; in gs_bind() local
210 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in gs_bind()
211 if (!usb_desc) { in gs_bind()
215 usb_otg_descriptor_init(cdev->gadget, usb_desc); in gs_bind()
216 otg_desc[0] = usb_desc; in gs_bind()
H A Dether.c403 struct usb_descriptor_header *usb_desc; in eth_bind() local
405 usb_desc = usb_otg_descriptor_alloc(gadget); in eth_bind()
406 if (!usb_desc) { in eth_bind()
410 usb_otg_descriptor_init(gadget, usb_desc); in eth_bind()
411 otg_desc[0] = usb_desc; in eth_bind()
H A Dmulti.c399 struct usb_descriptor_header *usb_desc; in multi_bind() local
401 usb_desc = usb_otg_descriptor_alloc(gadget); in multi_bind()
402 if (!usb_desc) in multi_bind()
404 usb_otg_descriptor_init(gadget, usb_desc); in multi_bind()
405 otg_desc[0] = usb_desc; in multi_bind()
H A Daudio.c300 struct usb_descriptor_header *usb_desc; in audio_bind() local
302 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in audio_bind()
303 if (!usb_desc) { in audio_bind()
307 usb_otg_descriptor_init(cdev->gadget, usb_desc); in audio_bind()
308 otg_desc[0] = usb_desc; in audio_bind()
H A Dzero.c338 struct usb_descriptor_header *usb_desc; in zero_bind() local
340 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in zero_bind()
341 if (!usb_desc) { in zero_bind()
345 usb_otg_descriptor_init(cdev->gadget, usb_desc); in zero_bind()
346 otg_desc[0] = usb_desc; in zero_bind()
H A Dg_ffs.c395 struct usb_descriptor_header *usb_desc; in gfs_bind() local
397 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in gfs_bind()
398 if (!usb_desc) in gfs_bind()
400 usb_otg_descriptor_init(cdev->gadget, usb_desc); in gfs_bind()
401 gfs_otg_desc[0] = usb_desc; in gfs_bind()
/kernel/linux/linux-6.6/drivers/usb/gadget/legacy/
H A Dncm.c156 struct usb_descriptor_header *usb_desc; in gncm_bind() local
158 usb_desc = usb_otg_descriptor_alloc(gadget); in gncm_bind()
159 if (!usb_desc) { in gncm_bind()
163 usb_otg_descriptor_init(gadget, usb_desc); in gncm_bind()
164 otg_desc[0] = usb_desc; in gncm_bind()
H A Dmass_storage.c175 struct usb_descriptor_header *usb_desc; in msg_bind() local
177 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in msg_bind()
178 if (!usb_desc) { in msg_bind()
182 usb_otg_descriptor_init(cdev->gadget, usb_desc); in msg_bind()
183 otg_desc[0] = usb_desc; in msg_bind()
H A Dprinter.c175 struct usb_descriptor_header *usb_desc; in printer_bind() local
177 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in printer_bind()
178 if (!usb_desc) { in printer_bind()
182 usb_otg_descriptor_init(cdev->gadget, usb_desc); in printer_bind()
183 otg_desc[0] = usb_desc; in printer_bind()
H A Dacm_ms.c200 struct usb_descriptor_header *usb_desc; in acm_ms_bind() local
202 usb_desc = usb_otg_descriptor_alloc(gadget); in acm_ms_bind()
203 if (!usb_desc) { in acm_ms_bind()
207 usb_otg_descriptor_init(gadget, usb_desc); in acm_ms_bind()
208 otg_desc[0] = usb_desc; in acm_ms_bind()
H A Dcdc2.c179 struct usb_descriptor_header *usb_desc; in cdc_bind() local
181 usb_desc = usb_otg_descriptor_alloc(gadget); in cdc_bind()
182 if (!usb_desc) { in cdc_bind()
186 usb_otg_descriptor_init(gadget, usb_desc); in cdc_bind()
187 otg_desc[0] = usb_desc; in cdc_bind()
H A Dhid.c171 struct usb_descriptor_header *usb_desc; in hid_bind() local
173 usb_desc = usb_otg_descriptor_alloc(gadget); in hid_bind()
174 if (!usb_desc) { in hid_bind()
178 usb_otg_descriptor_init(gadget, usb_desc); in hid_bind()
179 otg_desc[0] = usb_desc; in hid_bind()
H A Dserial.c209 struct usb_descriptor_header *usb_desc; in gs_bind() local
211 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in gs_bind()
212 if (!usb_desc) { in gs_bind()
216 usb_otg_descriptor_init(cdev->gadget, usb_desc); in gs_bind()
217 otg_desc[0] = usb_desc; in gs_bind()
H A Dmulti.c399 struct usb_descriptor_header *usb_desc; in multi_bind() local
401 usb_desc = usb_otg_descriptor_alloc(gadget); in multi_bind()
402 if (!usb_desc) { in multi_bind()
406 usb_otg_descriptor_init(gadget, usb_desc); in multi_bind()
407 otg_desc[0] = usb_desc; in multi_bind()
H A Dether.c403 struct usb_descriptor_header *usb_desc; in eth_bind() local
405 usb_desc = usb_otg_descriptor_alloc(gadget); in eth_bind()
406 if (!usb_desc) { in eth_bind()
410 usb_otg_descriptor_init(gadget, usb_desc); in eth_bind()
411 otg_desc[0] = usb_desc; in eth_bind()
H A Daudio.c333 struct usb_descriptor_header *usb_desc; in audio_bind() local
335 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in audio_bind()
336 if (!usb_desc) { in audio_bind()
340 usb_otg_descriptor_init(cdev->gadget, usb_desc); in audio_bind()
341 otg_desc[0] = usb_desc; in audio_bind()
H A Dzero.c338 struct usb_descriptor_header *usb_desc; in zero_bind() local
340 usb_desc = usb_otg_descriptor_alloc(cdev->gadget); in zero_bind()
341 if (!usb_desc) { in zero_bind()
345 usb_otg_descriptor_init(cdev->gadget, usb_desc); in zero_bind()
346 otg_desc[0] = usb_desc; in zero_bind()
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dwm831x_power.c26 struct power_supply_desc usb_desc; member
580 power->usb_desc.name = power->usb_name, in wm831x_power_probe()
581 power->usb_desc.type = POWER_SUPPLY_TYPE_USB; in wm831x_power_probe()
582 power->usb_desc.properties = wm831x_usb_props; in wm831x_power_probe()
583 power->usb_desc.num_properties = ARRAY_SIZE(wm831x_usb_props); in wm831x_power_probe()
584 power->usb_desc.get_property = wm831x_usb_get_prop; in wm831x_power_probe()
585 power->usb = power_supply_register(&pdev->dev, &power->usb_desc, NULL); in wm831x_power_probe()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dwm831x_power.c26 struct power_supply_desc usb_desc; member
580 power->usb_desc.name = power->usb_name, in wm831x_power_probe()
581 power->usb_desc.type = POWER_SUPPLY_TYPE_USB; in wm831x_power_probe()
582 power->usb_desc.properties = wm831x_usb_props; in wm831x_power_probe()
583 power->usb_desc.num_properties = ARRAY_SIZE(wm831x_usb_props); in wm831x_power_probe()
584 power->usb_desc.get_property = wm831x_usb_get_prop; in wm831x_power_probe()
585 power->usb = power_supply_register(&pdev->dev, &power->usb_desc, NULL); in wm831x_power_probe()

Completed in 12 milliseconds

12