Home
last modified time | relevance | path

Searched refs:to_usb_device (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/usb/core/
Dsysfs.c32 udev = to_usb_device(dev); \
58 udev = to_usb_device(dev); in bMaxPower_show()
77 udev = to_usb_device(dev); in configuration_show()
96 struct usb_device *udev = to_usb_device(dev); in bConfigurationValue_store()
130 udev = to_usb_device(dev); \
150 udev = to_usb_device(dev); in speed_show()
187 udev = to_usb_device(dev); in rx_lanes_show()
197 udev = to_usb_device(dev); in tx_lanes_show()
207 udev = to_usb_device(dev); in busnum_show()
217 udev = to_usb_device(dev); in devnum_show()
[all …]
Dusb.c381 return arg->fn(to_usb_device(dev), arg->data); in __each_dev()
413 udev = to_usb_device(dev); in usb_release_dev()
430 usb_dev = to_usb_device(dev); in usb_dev_uevent()
513 usb_dev = to_usb_device(dev); in usb_devnode()
974 (void) usb_create_sysfs_dev_files(to_usb_device(dev)); in usb_bus_notify()
981 usb_remove_sysfs_dev_files(to_usb_device(dev)); in usb_bus_notify()
Ddriver.c252 struct usb_device *udev = to_usb_device(dev); in usb_probe_device()
305 struct usb_device *udev = to_usb_device(dev); in usb_unbind_device()
866 udev = to_usb_device(dev); in usb_device_match()
907 usb_dev = to_usb_device(dev); in usb_uevent()
953 udev = to_usb_device(dev); in __usb_bus_reprobe_drivers()
1563 struct usb_device *udev = to_usb_device(dev); in usb_suspend()
1586 struct usb_device *udev = to_usb_device(dev); in usb_resume_complete()
1599 struct usb_device *udev = to_usb_device(dev); in usb_resume()
1942 struct usb_device *udev = to_usb_device(dev); in usb_runtime_suspend()
1971 struct usb_device *udev = to_usb_device(dev); in usb_runtime_resume()
[all …]
Dport.c24 struct usb_device *hdev = to_usb_device(dev->parent->parent); in disable_show()
59 struct usb_device *hdev = to_usb_device(dev->parent->parent); in disable_store()
278 struct usb_device *hdev = to_usb_device(dev->parent->parent); in usb_port_runtime_resume()
337 struct usb_device *hdev = to_usb_device(dev->parent->parent); in usb_port_runtime_suspend()
535 struct usb_device *hdev = to_usb_device(port_dev->dev.parent->parent); in match_location()
Dusb-acpi.c201 udev = to_usb_device(port_dev->dev.parent->parent); in usb_acpi_get_companion_for_port()
308 return usb_acpi_find_companion_for_device(to_usb_device(dev)); in usb_acpi_find_companion()
Dconfig.c259 struct usb_device *udev = to_usb_device(ddev); in usb_parse_endpoint()
Ddevio.c1017 return to_usb_device(dev); in usbdev_lookup_by_devt()
/linux-6.1.9/drivers/hid/usbhid/
Dusbhid.h94 to_usb_device(hid_dev->dev.parent->parent)
/linux-6.1.9/drivers/input/misc/
Dati_remote2.c704 struct usb_device *udev = to_usb_device(dev); in ati_remote2_show_channel_mask()
715 struct usb_device *udev = to_usb_device(dev); in ati_remote2_store_channel_mask()
754 struct usb_device *udev = to_usb_device(dev); in ati_remote2_show_mode_mask()
765 struct usb_device *udev = to_usb_device(dev); in ati_remote2_store_mode_mask()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dusb.c125 struct usb_device *udev = to_usb_device(dev); in _usb_read_sync()
180 _usb_write_async(to_usb_device(dev), addr, val, 1); in _usb_write8_async()
187 _usb_write_async(to_usb_device(dev), addr, val, 2); in _usb_write16_async()
194 _usb_write_async(to_usb_device(dev), addr, val, 4); in _usb_write32_async()
201 struct usb_device *udev = to_usb_device(dev); in _usb_writen_sync()
/linux-6.1.9/include/linux/
Dusb.h712 #define to_usb_device(d) container_of(d, struct usb_device, dev) macro
716 return to_usb_device(intf->dev.parent); in interface_to_usbdev()
/linux-6.1.9/drivers/usb/host/
Dxhci-trace.h91 udev = to_usb_device(xhci_to_hcd(xhci)->self.controller);
/linux-6.1.9/drivers/hid/
Dhid-sony.c3050 usbdev = to_usb_device(sc->hdev->dev.parent->parent); in sony_probe()