/drivers/usb/core/ |
D | usb.h | 9 extern int usb_create_sysfs_dev_files(struct usb_device *dev); 10 extern void usb_remove_sysfs_dev_files(struct usb_device *dev); 15 struct usb_device *udev); 18 extern void usb_enable_endpoint(struct usb_device *dev, 20 extern void usb_enable_interface(struct usb_device *dev, 22 extern void usb_disable_endpoint(struct usb_device *dev, unsigned int epaddr, 24 extern void usb_disable_interface(struct usb_device *dev, 27 extern void usb_disable_device(struct usb_device *dev, int skip_ep0); 28 extern int usb_deauthorize_device(struct usb_device *); 29 extern int usb_authorize_device(struct usb_device *); [all …]
|
D | sysfs.c | 24 struct usb_device *udev; \ 48 struct usb_device *udev; in bMaxPower_show() 65 struct usb_device *udev; in configuration_show() 86 struct usb_device *udev = to_usb_device(dev); in bConfigurationValue_store() 104 struct usb_device *udev; \ 122 struct usb_device *udev; in speed_show() 154 struct usb_device *udev; in busnum_show() 164 struct usb_device *udev; in devnum_show() 174 struct usb_device *udev; in devpath_show() 184 struct usb_device *udev; in version_show() [all …]
|
D | driver.c | 248 struct usb_device *udev = to_usb_device(dev); in usb_probe_device() 269 struct usb_device *udev = to_usb_device(dev); in usb_unbind_device() 283 struct usb_device *udev = interface_to_usbdev(intf); in usb_probe_interface() 390 struct usb_device *udev; in usb_unbind_interface() 507 struct usb_device *udev; in usb_driver_claim_interface() 605 int usb_match_device(struct usb_device *dev, const struct usb_device_id *id) in usb_match_device() 641 int usb_match_one_id_intf(struct usb_device *dev, in usb_match_one_id_intf() 680 struct usb_device *dev; in usb_match_one_id() 829 struct usb_device *usb_dev; in usb_uevent() 1027 static void unbind_marked_interfaces(struct usb_device *udev) in unbind_marked_interfaces() [all …]
|
D | hub.c | 103 static int usb_reset_and_verify_device(struct usb_device *udev); 120 struct usb_hub *usb_hub_to_struct_hub(struct usb_device *hdev) in usb_hub_to_struct_hub() 127 static int usb_device_supports_lpm(struct usb_device *udev) in usb_device_supports_lpm() 172 static void usb_set_lpm_mel(struct usb_device *udev, in usb_set_lpm_mel() 217 static void usb_set_lpm_pel(struct usb_device *udev, in usb_set_lpm_pel() 271 static void usb_set_lpm_sel(struct usb_device *udev, in usb_set_lpm_sel() 274 struct usb_device *parent; in usb_set_lpm_sel() 294 static void usb_set_lpm_parameters(struct usb_device *udev) in usb_set_lpm_parameters() 362 static int get_hub_descriptor(struct usb_device *hdev, in get_hub_descriptor() 398 static int clear_hub_feature(struct usb_device *hdev, int feature) in clear_hub_feature() [all …]
|
D | usb.c | 123 struct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, in usb_ifnum_to_if() 222 int (*fn)(struct usb_device *, void *); 233 return arg->fn(container_of(dev, struct usb_device, dev), arg->data); in __each_dev() 245 int usb_for_each_dev(void *data, int (*fn)(struct usb_device *, void *)) in usb_for_each_dev() argument 262 struct usb_device *udev; in usb_release_dev() 279 struct usb_device *usb_dev; in usb_dev_uevent() 364 struct usb_device *usb_dev; in usb_devnode() 405 struct usb_device *usb_alloc_dev(struct usb_device *parent, in usb_alloc_dev() 408 struct usb_device *dev; in usb_alloc_dev() 518 struct usb_device *usb_get_dev(struct usb_device *dev) in usb_get_dev() [all …]
|
D | hub.h | 29 struct usb_device *hdev; 97 struct usb_device *child; 116 extern int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, 118 extern struct usb_hub *usb_hub_to_struct_hub(struct usb_device *hdev); 121 extern int usb_clear_port_feature(struct usb_device *hdev, 134 static inline int hub_is_superspeed(struct usb_device *hdev) in hub_is_superspeed()
|
D | message.c | 21 static void cancel_async_set_config(struct usb_device *udev); 80 static int usb_internal_control_msg(struct usb_device *usb_dev, in usb_internal_control_msg() 131 int usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, in usb_control_msg() 183 int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_interrupt_msg() 223 int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_bulk_msg() 359 int usb_sg_init(struct usb_sg_request *io, struct usb_device *dev, in usb_sg_init() 633 int usb_get_descriptor(struct usb_device *dev, unsigned char type, in usb_get_descriptor() 681 static int usb_get_string(struct usb_device *dev, unsigned short langid, in usb_get_string() 718 static int usb_string_sub(struct usb_device *dev, unsigned int langid, in usb_string_sub() 755 static int usb_get_langid(struct usb_device *dev, unsigned char *tbuf) in usb_get_langid() [all …]
|
D | generic.c | 43 int usb_choose_configuration(struct usb_device *udev) in usb_choose_configuration() 160 static int generic_probe(struct usb_device *udev) in generic_probe() 187 static void generic_disconnect(struct usb_device *udev) in generic_disconnect() 199 static int generic_suspend(struct usb_device *udev, pm_message_t msg) in generic_suspend() 220 static int generic_resume(struct usb_device *udev, pm_message_t msg) in generic_resume()
|
/drivers/usb/misc/ |
D | lvstest.c | 45 static struct usb_device *create_lvs_device(struct usb_interface *intf) in create_lvs_device() 47 struct usb_device *udev, *hdev; in create_lvs_device() 79 static void destroy_lvs_device(struct usb_device *udev) in destroy_lvs_device() 81 struct usb_device *hdev = udev->parent; in destroy_lvs_device() 90 static int lvs_rh_clear_port_feature(struct usb_device *hdev, in lvs_rh_clear_port_feature() 98 static int lvs_rh_set_port_feature(struct usb_device *hdev, in lvs_rh_set_port_feature() 110 struct usb_device *hdev = interface_to_usbdev(intf); in u3_entry_store() 112 struct usb_device *udev; in u3_entry_store() 139 struct usb_device *hdev = interface_to_usbdev(intf); in u3_exit_store() 141 struct usb_device *udev; in u3_exit_store() [all …]
|
D | ezusb.c | 34 static int ezusb_writememory(struct usb_device *dev, int address, in ezusb_writememory() 57 static int ezusb_set_reset(struct usb_device *dev, unsigned short cpucs_reg, in ezusb_set_reset() 67 int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit) in ezusb_fx1_set_reset() 73 static int ezusb_ihex_firmware_download(struct usb_device *dev, in ezusb_ihex_firmware_download() 135 int ezusb_fx1_ihex_firmware_download(struct usb_device *dev, in ezusb_fx1_ihex_firmware_download() 152 int ezusb_fx2_set_reset(struct usb_device *dev, unsigned char reset_bit) 158 int ezusb_fx2_ihex_firmware_download(struct usb_device *dev,
|
D | emi26.c | 32 static int emi26_writememory( struct usb_device *dev, int address, 35 static int emi26_set_reset(struct usb_device *dev, unsigned char reset_bit); 36 static int emi26_load_firmware (struct usb_device *dev); 41 static int emi26_writememory (struct usb_device *dev, int address, in emi26_writememory() 60 static int emi26_set_reset (struct usb_device *dev, unsigned char reset_bit) in emi26_set_reset() 74 static int emi26_load_firmware (struct usb_device *dev) in emi26_load_firmware() 231 struct usb_device *dev = interface_to_usbdev(intf); in emi26_probe()
|
D | emi62.c | 41 static int emi62_writememory(struct usb_device *dev, int address, 44 static int emi62_set_reset(struct usb_device *dev, unsigned char reset_bit); 45 static int emi62_load_firmware (struct usb_device *dev); 50 static int emi62_writememory(struct usb_device *dev, int address, in emi62_writememory() 69 static int emi62_set_reset (struct usb_device *dev, unsigned char reset_bit) in emi62_set_reset() 82 static int emi62_load_firmware (struct usb_device *dev) in emi62_load_firmware() 243 struct usb_device *dev = interface_to_usbdev(intf); in emi62_probe()
|
/drivers/hid/ |
D | hid-roccat-common.c | 24 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, in roccat_common2_receive() 46 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, in roccat_common2_send() 75 static int roccat_common2_receive_control_status(struct usb_device *usb_dev) in roccat_common2_receive_control_status() 110 int roccat_common2_send_with_status(struct usb_device *usb_dev, in roccat_common2_send_with_status() 125 int roccat_common2_device_init_struct(struct usb_device *usb_dev, in roccat_common2_device_init_struct() 140 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in roccat_common2_sysfs_read() 164 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in roccat_common2_sysfs_write()
|
D | hid-roccat-kone.c | 55 static int kone_receive(struct usb_device *usb_dev, uint usb_command, in kone_receive() 75 static int kone_send(struct usb_device *usb_dev, uint usb_command, in kone_send() 113 static int kone_check_write(struct usb_device *usb_dev) in kone_check_write() 150 static int kone_get_settings(struct usb_device *usb_dev, in kone_get_settings() 162 static int kone_set_settings(struct usb_device *usb_dev, in kone_set_settings() 179 static int kone_get_profile(struct usb_device *usb_dev, in kone_get_profile() 205 static int kone_set_profile(struct usb_device *usb_dev, in kone_set_profile() 234 static int kone_get_weight(struct usb_device *usb_dev, int *result) in kone_get_weight() 253 static int kone_get_firmware_version(struct usb_device *usb_dev, int *result) in kone_get_firmware_version() 298 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_write_settings() [all …]
|
D | hid-elo.c | 30 struct usb_device *usbdev; 101 static int elo_smartset_send_get(struct usb_device *dev, u8 command, in elo_smartset_send_get() 122 static int elo_flush_smartset_responses(struct usb_device *dev) in elo_flush_smartset_responses() 133 struct usb_device *dev = priv->usbdev; in elo_work() 184 static bool elo_broken_firmware(struct usb_device *dev) in elo_broken_firmware() 186 struct usb_device *hub = dev->parent; in elo_broken_firmware() 187 struct usb_device *child = NULL; in elo_broken_firmware()
|
D | hid-roccat-kovaplus.c | 46 static int kovaplus_send_control(struct usb_device *usb_dev, uint value, in kovaplus_send_control() 67 static int kovaplus_select_profile(struct usb_device *usb_dev, uint number, in kovaplus_select_profile() 73 static int kovaplus_get_profile_settings(struct usb_device *usb_dev, in kovaplus_get_profile_settings() 87 static int kovaplus_get_profile_buttons(struct usb_device *usb_dev, in kovaplus_get_profile_buttons() 102 static int kovaplus_get_actual_profile(struct usb_device *usb_dev) in kovaplus_get_actual_profile() 113 static int kovaplus_set_actual_profile(struct usb_device *usb_dev, in kovaplus_set_actual_profile() 134 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read() 160 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_write() 226 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read_profilex_settings() 245 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read_profilex_buttons() [all …]
|
D | hid-roccat-pyra.c | 44 static int pyra_send_control(struct usb_device *usb_dev, int value, in pyra_send_control() 62 static int pyra_get_profile_settings(struct usb_device *usb_dev, in pyra_get_profile_settings() 74 static int pyra_get_settings(struct usb_device *usb_dev, in pyra_get_settings() 81 static int pyra_set_settings(struct usb_device *usb_dev, in pyra_set_settings() 96 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_read() 122 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_write() 196 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_read_profilex_settings() 215 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_read_profilex_buttons() 254 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_write_settings() 306 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_show_actual_profile() [all …]
|
D | hid-roccat-arvo.c | 36 struct usb_device *usb_dev = in arvo_sysfs_show_mode_key() 56 struct usb_device *usb_dev = in arvo_sysfs_set_mode_key() 86 struct usb_device *usb_dev = in arvo_sysfs_show_key_mask() 106 struct usb_device *usb_dev = in arvo_sysfs_set_key_mask() 132 static int arvo_get_actual_profile(struct usb_device *usb_dev) in arvo_get_actual_profile() 160 struct usb_device *usb_dev = in arvo_sysfs_set_actual_profile() 197 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in arvo_sysfs_write() 217 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in arvo_sysfs_read() 276 static int arvo_init_arvo_device_struct(struct usb_device *usb_dev, in arvo_init_arvo_device_struct() 294 struct usb_device *usb_dev = interface_to_usbdev(intf); in arvo_init_specials()
|
D | hid-roccat-koneplus.c | 40 static int koneplus_send_control(struct usb_device *usb_dev, uint value, in koneplus_send_control() 61 static int koneplus_get_actual_profile(struct usb_device *usb_dev) in koneplus_get_actual_profile() 72 static int koneplus_set_actual_profile(struct usb_device *usb_dev, in koneplus_set_actual_profile() 93 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read() 119 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_write() 198 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read_profilex_settings() 217 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read_profilex_buttons() 261 struct usb_device *usb_dev; in koneplus_sysfs_set_actual_profile() 309 struct usb_device *usb_dev; in koneplus_sysfs_show_firmware_version() 366 static int koneplus_init_koneplus_device_struct(struct usb_device *usb_dev, in koneplus_init_koneplus_device_struct() [all …]
|
/drivers/usb/host/ |
D | xhci.h | 924 struct usb_device *udev; 1675 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags… 1676 int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *udev); 1678 struct usb_device *udev); 1688 struct usb_device *udev, 1707 struct usb_device *udev, struct usb_host_endpoint *ep, 1767 int xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev); 1768 void xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev); 1771 struct usb_device *hdev, 1773 int xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev, [all …]
|
/drivers/usb/serial/ |
D | ssu100.c | 65 static inline int ssu100_control_msg(struct usb_device *dev, in ssu100_control_msg() 73 static inline int ssu100_setdevice(struct usb_device *dev, u8 *data) in ssu100_setdevice() 81 static inline int ssu100_getdevice(struct usb_device *dev, u8 *data) in ssu100_getdevice() 96 static inline int ssu100_getregister(struct usb_device *dev, in ssu100_getregister() 115 static inline int ssu100_setregister(struct usb_device *dev, in ssu100_setregister() 132 static inline int update_mctrl(struct usb_device *dev, unsigned int set, in update_mctrl() 157 static int ssu100_initdevice(struct usb_device *dev) in ssu100_initdevice() 219 struct usb_device *dev = port->serial->dev; in ssu100_set_termios() 293 struct usb_device *dev = port->serial->dev; in ssu100_open() 405 struct usb_device *dev = port->serial->dev; in ssu100_tiocmget() [all …]
|
/drivers/staging/gdm72xx/ |
D | usb_boot.c | 77 static int gdm_wibro_send(struct usb_device *usbdev, void *data, int len) in gdm_wibro_send() 93 static int gdm_wibro_recv(struct usb_device *usbdev, void *data, int len) in gdm_wibro_recv() 109 static int download_image(struct usb_device *usbdev, in download_image() 144 int usb_boot(struct usb_device *usbdev, u16 pid) in usb_boot() 244 static int em_wait_ack(struct usb_device *usbdev, int send_zlp) in em_wait_ack() 264 static int em_download_image(struct usb_device *usbdev, const char *img_name, in em_download_image() 334 static int em_fw_reset(struct usb_device *usbdev) in em_fw_reset() 340 int usb_emergency(struct usb_device *usbdev) in usb_emergency()
|
D | usb_boot.h | 17 struct usb_device; 19 int usb_boot(struct usb_device *usbdev, u16 pid); 20 int usb_emergency(struct usb_device *usbdev);
|
/drivers/usb/wusbcore/ |
D | wusbhc.h | 111 struct usb_device *usb_dev; 313 extern int wusb_dev_sysfs_add(struct wusbhc *, struct usb_device *, 336 struct usb_hcd *usb_hcd_get_by_usb_dev(struct usb_device *usb_dev) in usb_hcd_get_by_usb_dev() 363 static inline struct wusbhc *wusbhc_get_by_usb_dev(struct usb_device *usb_dev) in wusbhc_get_by_usb_dev() 434 extern int wusb_dev_sec_add(struct wusbhc *, struct usb_device *, 474 struct usb_device *); 484 struct wusb_dev *wusb_dev_get_by_usb_dev(struct usb_device *usb_dev) in wusb_dev_get_by_usb_dev()
|
/drivers/bluetooth/ |
D | ath3k.c | 207 static int ath3k_load_firmware(struct usb_device *udev, in ath3k_load_firmware() 261 static int ath3k_get_state(struct usb_device *udev, unsigned char *state) in ath3k_get_state() 281 static int ath3k_get_version(struct usb_device *udev, in ath3k_get_version() 303 static int ath3k_load_fwfile(struct usb_device *udev, in ath3k_load_fwfile() 359 static int ath3k_switch_pid(struct usb_device *udev) in ath3k_switch_pid() 369 static int ath3k_set_normal_mode(struct usb_device *udev) in ath3k_set_normal_mode() 391 static int ath3k_load_patch(struct usb_device *udev) in ath3k_load_patch() 444 static int ath3k_load_syscfg(struct usb_device *udev) in ath3k_load_syscfg() 499 struct usb_device *udev = interface_to_usbdev(intf); in ath3k_probe()
|