Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
184 udev = to_usb_device(dev); in rx_lanes_show()
194 udev = to_usb_device(dev); in tx_lanes_show()
204 udev = to_usb_device(dev); in busnum_show()
214 udev = to_usb_device(dev); in devnum_show()
[all …]
Dusb.c382 return arg->fn(to_usb_device(dev), arg->data); in __each_dev()
414 udev = to_usb_device(dev); in usb_release_dev()
431 usb_dev = to_usb_device(dev); in usb_dev_uevent()
514 usb_dev = to_usb_device(dev); in usb_devnode()
966 (void) usb_create_sysfs_dev_files(to_usb_device(dev)); in usb_bus_notify()
973 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()
869 udev = to_usb_device(dev); in usb_device_match()
910 usb_dev = to_usb_device(dev); in usb_uevent()
956 udev = to_usb_device(dev); in __usb_bus_reprobe_drivers()
1565 struct usb_device *udev = to_usb_device(dev); in usb_suspend()
1588 struct usb_device *udev = to_usb_device(dev); in usb_resume_complete()
1601 struct usb_device *udev = to_usb_device(dev); in usb_resume()
1944 struct usb_device *udev = to_usb_device(dev); in usb_runtime_suspend()
1973 struct usb_device *udev = to_usb_device(dev); in usb_runtime_resume()
[all …]
Dusb-acpi.c152 udev = to_usb_device(port_dev->dev.parent->parent); in usb_acpi_get_companion_for_port()
256 return usb_acpi_find_companion_for_device(to_usb_device(dev)); in usb_acpi_find_companion()
Dport.c194 struct usb_device *hdev = to_usb_device(dev->parent->parent); in usb_port_runtime_resume()
253 struct usb_device *hdev = to_usb_device(dev->parent->parent); in usb_port_runtime_suspend()
451 struct usb_device *hdev = to_usb_device(port_dev->dev.parent->parent); in match_location()
Dconfig.c259 struct usb_device *udev = to_usb_device(ddev); in usb_parse_endpoint()
Ddevio.c1004 return to_usb_device(dev); in usbdev_lookup_by_devt()
/kernel/linux/linux-5.10/drivers/hid/usbhid/
Dusbhid.h94 to_usb_device(hid_dev->dev.parent->parent)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dusb.h713 #define to_usb_device(d) container_of(d, struct usb_device, dev) macro
717 return to_usb_device(intf->dev.parent); in interface_to_usbdev()
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-trace.h91 udev = to_usb_device(xhci_to_hcd(xhci)->self.controller);