/kernel/linux/linux-5.10/drivers/usb/core/ |
D | usb.h | 14 extern int usb_create_sysfs_dev_files(struct usb_device *dev); 15 extern void usb_remove_sysfs_dev_files(struct usb_device *dev); 20 struct usb_device *udev); 23 extern void usb_enable_endpoint(struct usb_device *dev, 25 extern void usb_enable_interface(struct usb_device *dev, 27 extern void usb_disable_endpoint(struct usb_device *dev, unsigned int epaddr, 29 extern void usb_disable_interface(struct usb_device *dev, 32 extern void usb_disable_device(struct usb_device *dev, int skip_ep0); 33 extern int usb_deauthorize_device(struct usb_device *); 34 extern int usb_authorize_device(struct usb_device *); [all …]
|
D | sysfs.c | 28 struct usb_device *udev; \ 54 struct usb_device *udev; in bMaxPower_show() 73 struct usb_device *udev; in configuration_show() 96 struct usb_device *udev = to_usb_device(dev); in bConfigurationValue_store() 127 struct usb_device *udev; \ 147 struct usb_device *udev; in speed_show() 182 struct usb_device *udev; in rx_lanes_show() 192 struct usb_device *udev; in tx_lanes_show() 202 struct usb_device *udev; in busnum_show() 212 struct usb_device *udev; in devnum_show() [all …]
|
D | hub.h | 21 struct usb_device *hdev; 94 struct usb_device *child; 117 extern int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, 119 extern struct usb_hub *usb_hub_to_struct_hub(struct usb_device *hdev); 122 extern int usb_clear_port_feature(struct usb_device *hdev, 135 static inline int hub_is_superspeed(struct usb_device *hdev) in hub_is_superspeed() 140 static inline int hub_is_superspeedplus(struct usb_device *hdev) in hub_is_superspeedplus()
|
D | driver.c | 252 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() 322 struct usb_device *udev = interface_to_usbdev(intf); in usb_probe_interface() 433 struct usb_device *udev; in usb_unbind_interface() 642 int usb_match_device(struct usb_device *dev, const struct usb_device_id *id) in usb_match_device() 678 int usb_match_one_id_intf(struct usb_device *dev, in usb_match_one_id_intf() 717 struct usb_device *dev; in usb_match_one_id() 828 const struct usb_device_id *usb_device_match_id(struct usb_device *udev, in usb_device_match_id() 842 bool usb_driver_applicable(struct usb_device *udev, in usb_driver_applicable() 862 struct usb_device *udev; in usb_device_match() [all …]
|
D | hub.c | 119 static int usb_reset_and_verify_device(struct usb_device *udev); 139 struct usb_hub *usb_hub_to_struct_hub(struct usb_device *hdev) in usb_hub_to_struct_hub() 146 int usb_device_supports_lpm(struct usb_device *udev) in usb_device_supports_lpm() 196 static void usb_set_lpm_mel(struct usb_device *udev, in usb_set_lpm_mel() 243 static void usb_set_lpm_pel(struct usb_device *udev, in usb_set_lpm_pel() 297 static void usb_set_lpm_sel(struct usb_device *udev, in usb_set_lpm_sel() 300 struct usb_device *parent; in usb_set_lpm_sel() 320 static void usb_set_lpm_parameters(struct usb_device *udev) in usb_set_lpm_parameters() 392 static int get_hub_descriptor(struct usb_device *hdev, in get_hub_descriptor() 428 static int clear_hub_feature(struct usb_device *hdev, int feature) in clear_hub_feature() [all …]
|
D | generic.c | 56 int usb_choose_configuration(struct usb_device *udev) in usb_choose_configuration() 200 struct usb_device *udev = data; in __check_for_non_generic_match() 211 static bool usb_generic_driver_match(struct usb_device *udev) in usb_generic_driver_match() 226 int usb_generic_driver_probe(struct usb_device *udev) in usb_generic_driver_probe() 253 void usb_generic_driver_disconnect(struct usb_device *udev) in usb_generic_driver_disconnect() 265 int usb_generic_driver_suspend(struct usb_device *udev, pm_message_t msg) in usb_generic_driver_suspend() 293 int usb_generic_driver_resume(struct usb_device *udev, pm_message_t msg) in usb_generic_driver_resume()
|
D | usb.c | 272 struct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, in usb_ifnum_to_if() 371 int (*fn)(struct usb_device *, void *); 394 int usb_for_each_dev(void *data, int (*fn)(struct usb_device *, void *)) in usb_for_each_dev() argument 411 struct usb_device *udev; in usb_release_dev() 429 struct usb_device *usb_dev; in usb_dev_uevent() 512 struct usb_device *usb_dev; in usb_devnode() 537 static bool usb_dev_authorized(struct usb_device *dev, struct usb_hcd *hcd) in usb_dev_authorized() 574 struct usb_device *usb_alloc_dev(struct usb_device *parent, in usb_alloc_dev() 577 struct usb_device *dev; in usb_alloc_dev() 694 struct usb_device *usb_get_dev(struct usb_device *dev) in usb_get_dev() [all …]
|
D | message.c | 27 static void cancel_async_set_config(struct usb_device *udev); 86 static int usb_internal_control_msg(struct usb_device *usb_dev, in usb_internal_control_msg() 136 int usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, in usb_control_msg() 198 int usb_control_msg_send(struct usb_device *dev, __u8 endpoint, __u8 request, in usb_control_msg_send() 267 int usb_control_msg_recv(struct usb_device *dev, __u8 endpoint, __u8 request, in usb_control_msg_recv() 328 int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_interrupt_msg() 367 int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_bulk_msg() 505 int usb_sg_init(struct usb_sg_request *io, struct usb_device *dev, in usb_sg_init() 782 int usb_get_descriptor(struct usb_device *dev, unsigned char type, in usb_get_descriptor() 833 static int usb_get_string(struct usb_device *dev, unsigned short langid, in usb_get_string() [all …]
|
D | ledtrig-usbport.c | 25 struct usb_device *hub; 41 struct usb_device *usb_dev) in usbport_trig_usb_dev_observed() 57 static int usbport_trig_usb_dev_check(struct usb_device *usb_dev, void *data) in usbport_trig_usb_dev_check() 130 struct usb_device *usb_dev, int port1) in usbport_trig_port_observed() 184 struct usb_device *usb_dev, in usbport_trig_add_port() 235 static int usbport_trig_add_usb_dev_ports(struct usb_device *usb_dev, in usbport_trig_add_usb_dev_ports() 261 struct usb_device *usb_dev) in usbport_trig_remove_usb_dev_ports() 281 struct usb_device *usb_dev = data; in usbport_trig_notify()
|
/kernel/linux/linux-5.10/include/linux/ |
D | usb.h | 26 struct usb_device; 449 struct usb_device *root_hub; /* Root hub */ 632 struct usb_device { struct 646 struct usb_device *parent; argument 715 #define to_usb_device(d) container_of(d, struct usb_device, dev) argument 717 static inline struct usb_device *interface_to_usbdev(struct usb_interface *intf) in interface_to_usbdev() 722 extern struct usb_device *usb_get_dev(struct usb_device *dev); 723 extern void usb_put_dev(struct usb_device *dev); 724 extern struct usb_device *usb_hub_find_child(struct usb_device *hdev, 744 extern int usb_lock_device_for_reset(struct usb_device *udev, [all …]
|
/kernel/linux/linux-5.10/include/linux/usb/ |
D | hcd.h | 344 int (*alloc_dev)(struct usb_hcd *, struct usb_device *); 346 void (*free_dev)(struct usb_hcd *, struct usb_device *); 348 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev, 354 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev, 369 int (*add_endpoint)(struct usb_hcd *, struct usb_device *, 372 int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, 379 int (*check_bandwidth)(struct usb_hcd *, struct usb_device *); 387 void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *); 389 int (*address_device)(struct usb_hcd *, struct usb_device *udev); 391 int (*enable_device)(struct usb_hcd *, struct usb_device *udev); [all …]
|
D | of.h | 15 struct usb_device; 22 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1); 23 bool usb_of_has_combined_node(struct usb_device *udev); 24 struct device_node *usb_of_get_interface_node(struct usb_device *udev, 43 usb_of_get_device_node(struct usb_device *hub, int port1) in usb_of_get_device_node() 47 static inline bool usb_of_has_combined_node(struct usb_device *udev) in usb_of_has_combined_node() 52 usb_of_get_interface_node(struct usb_device *udev, u8 config, u8 ifnum) in usb_of_get_interface_node()
|
/kernel/linux/linux-5.10/drivers/most/ |
D | most_usb.c | 67 struct usb_device *usb_device; member 104 struct usb_device *usb_device; member 139 static inline int drci_rd_reg(struct usb_device *dev, u16 reg, u16 *buf) in drci_rd_reg() 170 static inline int drci_wr_reg(struct usb_device *dev, u16 reg, u16 data) in drci_wr_reg() 183 static inline int start_sync_ep(struct usb_device *usb_dev, u16 ep) in start_sync_ep() 243 dev_warn(&mdev->usb_device->dev, "Channel ID out of range.\n"); in hdm_poison_channel() 287 dev_err(&mdev->usb_device->dev, in hdm_add_padding() 360 dev_warn(&mdev->usb_device->dev, in hdm_write_completion() 397 struct device *dev = &mdev->usb_device->dev; in hdm_read_completion() 479 if (!mdev->usb_device) { in hdm_enqueue() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | xhci-mtk.h | 169 int xhci_mtk_add_ep_quirk(struct usb_hcd *hcd, struct usb_device *udev, 171 void xhci_mtk_drop_ep_quirk(struct usb_hcd *hcd, struct usb_device *udev, 173 int xhci_mtk_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev); 174 void xhci_mtk_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev); 178 struct usb_device *udev, struct usb_host_endpoint *ep) in xhci_mtk_add_ep_quirk() 184 struct usb_device *udev, struct usb_host_endpoint *ep) in xhci_mtk_drop_ep_quirk() 189 struct usb_device *udev) in xhci_mtk_check_bandwidth() 195 struct usb_device *udev) in xhci_mtk_reset_bandwidth()
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
D | lvstest.c | 40 static struct usb_device *create_lvs_device(struct usb_interface *intf) in create_lvs_device() 42 struct usb_device *udev, *hdev; in create_lvs_device() 74 static void destroy_lvs_device(struct usb_device *udev) in destroy_lvs_device() 76 struct usb_device *hdev = udev->parent; in destroy_lvs_device() 85 static int lvs_rh_clear_port_feature(struct usb_device *hdev, in lvs_rh_clear_port_feature() 93 static int lvs_rh_set_port_feature(struct usb_device *hdev, in lvs_rh_set_port_feature() 105 struct usb_device *hdev = interface_to_usbdev(intf); in u3_entry_store() 107 struct usb_device *udev; in u3_entry_store() 134 struct usb_device *hdev = interface_to_usbdev(intf); in u3_exit_store() 136 struct usb_device *udev; in u3_exit_store() [all …]
|
D | ezusb.c | 31 static int ezusb_writememory(struct usb_device *dev, int address, in ezusb_writememory() 54 static int ezusb_set_reset(struct usb_device *dev, unsigned short cpucs_reg, in ezusb_set_reset() 64 int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit) in ezusb_fx1_set_reset() 70 static int ezusb_ihex_firmware_download(struct usb_device *dev, in ezusb_ihex_firmware_download() 132 int ezusb_fx1_ihex_firmware_download(struct usb_device *dev, in ezusb_fx1_ihex_firmware_download() 149 int ezusb_fx2_set_reset(struct usb_device *dev, unsigned char reset_bit) 155 int ezusb_fx2_ihex_firmware_download(struct usb_device *dev,
|
D | emi26.c | 29 static int emi26_writememory( struct usb_device *dev, int address, 32 static int emi26_set_reset(struct usb_device *dev, unsigned char reset_bit); 33 static int emi26_load_firmware (struct usb_device *dev); 38 static int emi26_writememory (struct usb_device *dev, int address, in emi26_writememory() 57 static int emi26_set_reset (struct usb_device *dev, unsigned char reset_bit) in emi26_set_reset() 71 static int emi26_load_firmware (struct usb_device *dev) in emi26_load_firmware() 228 struct usb_device *dev = interface_to_usbdev(intf); in emi26_probe()
|
D | emi62.c | 38 static int emi62_writememory(struct usb_device *dev, int address, 41 static int emi62_set_reset(struct usb_device *dev, unsigned char reset_bit); 42 static int emi62_load_firmware (struct usb_device *dev); 47 static int emi62_writememory(struct usb_device *dev, int address, in emi62_writememory() 66 static int emi62_set_reset (struct usb_device *dev, unsigned char reset_bit) in emi62_set_reset() 79 static int emi62_load_firmware (struct usb_device *dev) in emi62_load_firmware() 240 struct usb_device *dev = interface_to_usbdev(intf); in emi62_probe()
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-roccat-common.c | 21 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, in roccat_common2_receive() 43 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, in roccat_common2_send() 72 static int roccat_common2_receive_control_status(struct usb_device *usb_dev) in roccat_common2_receive_control_status() 107 int roccat_common2_send_with_status(struct usb_device *usb_dev, in roccat_common2_send_with_status() 122 int roccat_common2_device_init_struct(struct usb_device *usb_dev, in roccat_common2_device_init_struct() 136 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in roccat_common2_sysfs_read() 159 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in roccat_common2_sysfs_write()
|
D | hid-roccat-kone.c | 53 static int kone_receive(struct usb_device *usb_dev, uint usb_command, in kone_receive() 73 static int kone_send(struct usb_device *usb_dev, uint usb_command, in kone_send() 111 static int kone_check_write(struct usb_device *usb_dev) in kone_check_write() 148 static int kone_get_settings(struct usb_device *usb_dev, in kone_get_settings() 160 static int kone_set_settings(struct usb_device *usb_dev, in kone_set_settings() 178 static int kone_get_profile(struct usb_device *usb_dev, in kone_get_profile() 204 static int kone_set_profile(struct usb_device *usb_dev, in kone_set_profile() 233 static int kone_get_weight(struct usb_device *usb_dev, int *result) in kone_get_weight() 252 static int kone_get_firmware_version(struct usb_device *usb_dev, int *result) in kone_get_firmware_version() 295 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_write_settings() [all …]
|
D | hid-elo.c | 29 struct usb_device *usbdev; 106 static int elo_smartset_send_get(struct usb_device *dev, u8 command, in elo_smartset_send_get() 127 static int elo_flush_smartset_responses(struct usb_device *dev) in elo_flush_smartset_responses() 138 struct usb_device *dev = priv->usbdev; in elo_work() 189 static bool elo_broken_firmware(struct usb_device *dev) in elo_broken_firmware() 191 struct usb_device *hub = dev->parent; in elo_broken_firmware() 192 struct usb_device *child = NULL; in elo_broken_firmware()
|
D | hid-roccat-kovaplus.c | 45 static int kovaplus_send_control(struct usb_device *usb_dev, uint value, in kovaplus_send_control() 66 static int kovaplus_select_profile(struct usb_device *usb_dev, uint number, in kovaplus_select_profile() 72 static int kovaplus_get_profile_settings(struct usb_device *usb_dev, in kovaplus_get_profile_settings() 86 static int kovaplus_get_profile_buttons(struct usb_device *usb_dev, in kovaplus_get_profile_buttons() 101 static int kovaplus_get_actual_profile(struct usb_device *usb_dev) in kovaplus_get_actual_profile() 112 static int kovaplus_set_actual_profile(struct usb_device *usb_dev, in kovaplus_set_actual_profile() 132 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read() 157 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_write() 222 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read_profilex_settings() 240 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read_profilex_buttons() [all …]
|
/kernel/linux/linux-5.10/sound/usb/ |
D | quirks.h | 18 int snd_usb_apply_boot_quirk(struct usb_device *dev, 23 int snd_usb_apply_boot_quirk_once(struct usb_device *dev, 38 void snd_usb_set_interface_quirk(struct usb_device *dev); 39 void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe,
|
/kernel/linux/linux-5.10/include/media/ |
D | media-dev-allocator.h | 20 struct usb_device; 38 struct media_device *media_device_usb_allocate(struct usb_device *udev, 56 struct usb_device *udev, const char *module_name, in media_device_usb_allocate()
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
D | ssu100.c | 66 static inline int ssu100_control_msg(struct usb_device *dev, in ssu100_control_msg() 74 static inline int ssu100_setdevice(struct usb_device *dev, u8 *data) in ssu100_setdevice() 82 static inline int ssu100_getdevice(struct usb_device *dev, u8 *data) in ssu100_getdevice() 97 static inline int ssu100_getregister(struct usb_device *dev, in ssu100_getregister() 116 static inline int ssu100_setregister(struct usb_device *dev, in ssu100_setregister() 133 static inline int update_mctrl(struct usb_device *dev, unsigned int set, in update_mctrl() 158 static int ssu100_initdevice(struct usb_device *dev) in ssu100_initdevice() 220 struct usb_device *dev = port->serial->dev; in ssu100_set_termios() 294 struct usb_device *dev = port->serial->dev; in ssu100_open() 382 struct usb_device *dev = port->serial->dev; in ssu100_tiocmget() [all …]
|