/third_party/FreeBSD/sys/dev/usb/ |
D | usb_request.h | 34 usb_error_t usbd_req_clear_hub_feature(struct usb_device *udev, 36 usb_error_t usbd_req_clear_port_feature(struct usb_device *udev, 38 usb_error_t usbd_req_get_alt_interface_no(struct usb_device *udev, 41 usb_error_t usbd_req_get_config(struct usb_device *udev, struct mtx *mtx, 43 usb_error_t usbd_req_get_descriptor_ptr(struct usb_device *udev, 45 usb_error_t usbd_req_get_config_desc(struct usb_device *udev, struct mtx *mtx, 47 usb_error_t usbd_req_get_config_desc_full(struct usb_device *udev, 50 usb_error_t usbd_req_get_desc(struct usb_device *udev, struct mtx *mtx, 54 usb_error_t usbd_req_get_device_desc(struct usb_device *udev, struct mtx *mtx, 56 usb_error_t usbd_req_get_device_status(struct usb_device *udev, [all …]
|
D | usb_device.h | 34 struct usb_device; /* linux compat */ 54 struct usb_device *udev; 137 struct usb_device *udev; 184 struct usb_device { struct 212 struct usb_device *parent_hub; argument 213 struct usb_device *parent_hs_hub; /* high-speed parent HUB */ argument 297 struct usb_device *usb_alloc_device(device_t parent_dev, struct usb_bus *bus, argument 298 struct usb_device *parent_hub, uint8_t depth, 302 struct usb_fs_privdata *usb_make_dev(struct usb_device *, const char *, 306 usb_error_t usb_probe_and_attach(struct usb_device *udev, [all …]
|
D | usb_controller.h | 61 void (*endpoint_init) (struct usb_device *, 65 void (*get_dma_delay) (struct usb_device *, uint32_t *); 66 void (*device_suspend) (struct usb_device *); 67 void (*device_resume) (struct usb_device *); 110 …void (*get_hw_ep_profile) (struct usb_device *udev, const struct usb_hw_ep_profile **ppf, uint8… 112 void (*set_stall) (struct usb_device *udev, struct usb_endpoint *ep, uint8_t *did_stall); 116 void (*clear_stall) (struct usb_device *udev, struct usb_endpoint *ep); 124 void (*get_power_mode) (struct usb_device *udev, int8_t *pmode); 128 void (*endpoint_uninit) (struct usb_device *, struct usb_endpoint *); 132 usb_error_t (*device_init) (struct usb_device *); [all …]
|
D | usbdi_util.h | 42 usb_error_t usbd_do_request_proc(struct usb_device *udev, struct usb_process *pproc, 62 usb_error_t usbd_req_get_report(struct usb_device *udev, struct mtx *mtx, 65 usb_error_t usbd_req_get_report_descriptor(struct usb_device *udev, 68 usb_error_t usbd_req_get_string_any(struct usb_device *udev, struct mtx *mtx, 70 usb_error_t usbd_req_get_string_desc(struct usb_device *udev, struct mtx *mtx, 73 usb_error_t usbd_req_set_config(struct usb_device *udev, struct mtx *mtx, 75 usb_error_t usbd_req_set_alt_interface_no(struct usb_device *udev, 77 usb_error_t usbd_req_set_idle(struct usb_device *udev, struct mtx *mtx, 79 usb_error_t usbd_req_set_protocol(struct usb_device *udev, struct mtx *mtx, 81 usb_error_t usbd_req_set_report(struct usb_device *udev, struct mtx *mtx, [all …]
|
D | usbdi.h | 33 struct usb_device; 96 typedef usb_error_t (usb_handle_req_t)(struct usb_device *, 106 typedef void (*usb_dev_configured_t)(void *, struct usb_device *, 178 struct usb_device *linux_udev; 389 struct usb_device *device; /* current device */ 497 void *usbd_find_descriptor(struct usb_device *udev, void *id, 501 struct usb_device *udev); 503 struct usb_device *udev); 504 struct usb_interface *usbd_get_iface(struct usb_device *udev, 508 struct usb_endpoint *usbd_get_endpoint(struct usb_device *udev, uint8_t iface_index, [all …]
|
D | usb_device.c | 39 static void usb_init_endpoint(struct usb_device *, uint8_t, 43 static void usb_unconfigure(struct usb_device *, uint8_t); 44 static void usb_detach_device_sub(struct usb_device *, device_t *, 46 static uint8_t usb_probe_and_attach_sub(struct usb_device *, 48 static void usb_init_attach_arg(struct usb_device *, 50 static void usb_suspend_resume_sub(struct usb_device *, device_t, 53 static usb_error_t usb_config_parse(struct usb_device *, uint8_t, uint8_t); 54 static void usbd_set_device_strings(struct usb_device *); 56 static void usb_notify_addq(const char *type, struct usb_device *); 59 static void usb_fifo_free_wrap(struct usb_device *, uint8_t, uint8_t); [all …]
|
D | usb_hub.h | 49 struct usb_device *hubudev; /* the HUB device */ 50 usb_error_t (*explore) (struct usb_device *hub); 71 struct usb_device *udev, uint8_t device_index); 72 struct usb_device *usb_bus_port_get_device(struct usb_bus *bus, 79 usb_error_t uhub_query_info(struct usb_device *, uint8_t *, uint8_t *); 80 void uhub_explore_handle_re_enumerate(struct usb_device *);
|
D | usb_request.c | 107 usbd_get_debug_bits(struct usb_device *udev, struct usb_device_request *req, in usbd_get_debug_bits() 197 struct usb_device *udev; in usb_do_clear_stall_callback() 317 usbd_get_hr_func(struct usb_device *udev) in usbd_get_hr_func() 383 usbd_do_request_flags(struct usb_device *udev, struct mtx *mtx, in usbd_do_request_flags() 718 usbd_do_request_proc(struct usb_device *udev, struct usb_process *pproc, in usbd_do_request_proc() 762 usbd_req_reset_port(struct usb_device *udev, struct mtx *mtx, uint8_t port) in usbd_req_reset_port() 865 usbd_req_warm_reset_port(struct usb_device *udev, struct mtx *mtx, in usbd_req_warm_reset_port() 975 usbd_req_get_desc(struct usb_device *udev, in usbd_req_get_desc() 1064 usbd_req_get_string_any(struct usb_device *udev, struct mtx *mtx, char *buf, in usbd_req_get_string_any() 1166 usbd_req_get_string_desc(struct usb_device *udev, struct mtx *mtx, void *sdesc, in usbd_req_get_string_desc() [all …]
|
D | usb_process.h | 44 struct usb_device; 83 void usb_proc_explore_mwait(struct usb_device *, void *, void *); 84 void *usb_proc_explore_msignal(struct usb_device *, void *, void *); 85 void usb_proc_explore_lock(struct usb_device *); 86 void usb_proc_explore_unlock(struct usb_device *);
|
D | usb_transfer.h | 81 struct usb_device *udev; /* pointer to USB device */ 106 struct usb_device *udev; 140 void usbd_ctrl_transfer_setup(struct usb_device *udev); 141 void usbd_clear_stall_locked(struct usb_device *udev, 143 void usbd_clear_data_toggle(struct usb_device *udev, 150 usb_timeout_t usbd_get_dma_delay(struct usb_device *udev);
|
D | usb_hub.c | 82 struct usb_device *sc_udev; /* USB device */ 113 static void usb_dev_resume_peer(struct usb_device *udev); 114 static void usb_dev_suspend_peer(struct usb_device *udev); 115 static uint8_t usb_peer_should_wakeup(struct usb_device *udev); 224 struct usb_device *udev = pm->udev; in uhub_reset_tt_proc() 253 uhub_tt_buffer_reset_async_locked(struct usb_device *child, struct usb_endpoint *ep) in uhub_tt_buffer_reset_async_locked() 256 struct usb_device *udev; in uhub_tt_buffer_reset_async_locked() 323 struct usb_device *udev; in uhub_reset_tt_callback() 377 uhub_count_active_host_ports(struct usb_device *udev, enum usb_dev_speed speed) in uhub_count_active_host_ports() 380 struct usb_device *child; in uhub_count_active_host_ports() [all …]
|
D | usb_dynamic.h | 34 struct usb_device; 40 typedef usb_error_t (usb_temp_setup_by_index_t)(struct usb_device *udev, 46 typedef void (usb_temp_unsetup_t)(struct usb_device *udev);
|
D | usb_dynamic.c | 47 usb_temp_setup_by_index_w(struct usb_device *udev, uint16_t index) in usb_temp_setup_by_index_w() 65 usb_temp_get_desc_w(struct usb_device *udev, struct usb_device_request *req, const void **pPtr, uin… in usb_temp_get_desc_w() 72 usb_temp_unsetup_w(struct usb_device *udev) in usb_temp_unsetup_w()
|
D | usb_handle_request.c | 33 static uint8_t usb_handle_get_stall(struct usb_device *, uint8_t); 111 struct usb_device *udev = xfer->xroot->udev; in usb_handle_set_config() 152 usb_check_alt_setting(struct usb_device *udev, in usb_check_alt_setting() 184 struct usb_device *udev = xfer->xroot->udev; in usb_handle_iface_request() 344 struct usb_device *udev = xfer->xroot->udev; in usb_handle_set_stall() 362 usb_handle_get_stall(struct usb_device *udev, uint8_t ea_val) in usb_handle_get_stall() 389 struct usb_device *udev; in usb_handle_remote_wakeup() 427 struct usb_device *udev; in usb_handle_request()
|
D | usb_util.h | 32 struct usb_device; 38 int usb_check_request(struct usb_device *, struct usb_device_request *);
|
D | usb_debug.h | 74 struct usb_device; 79 void usb_dump_device(struct usb_device *udev);
|
D | usb_dev.h | 53 struct usb_device *udev; 111 struct usb_device *udev;
|
D | usb_util.c | 41 struct usb_device *udev; in device_set_usb_desc() 201 usb_check_request(struct usb_device *udev, struct usb_device_request *req) in usb_check_request()
|
D | usb_debug.c | 71 usb_dump_device(struct usb_device *udev) in usb_dump_device() 136 struct usb_device *udev; in usb_dump_xfer()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
D | usb.h | 40 struct usb_device; 240 struct usb_device *dev; /* (in) pointer to associated device */ 284 int usb_create_usb_device(struct usb_device *udev); 288 int usb_clear_halt(struct usb_device *dev, struct usb_host_endpoint *uhe); 289 int usb_control_msg(struct usb_device *dev, struct usb_host_endpoint *ep, 292 int usb_set_interface(struct usb_device *dev, uint8_t ifnum, 294 int usb_setup_endpoint_agg(struct usb_device *dev, 296 int usb_setup_endpoint(struct usb_device *dev, 299 struct usb_host_endpoint *usb_find_host_endpoint(struct usb_device *dev, 304 struct usb_interface *usb_ifnum_to_if(struct usb_device *dev, uint8_t iface_no); [all …]
|
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/ |
D | st_tusb.h | 21 extern void usb_connect(struct usb_device *dev); 22 extern int usb_new_device(struct usb_device *dev); 33 int (*allocate)(struct usb_device *); 34 int (*deallocate)(struct usb_device *); 35 int (*get_frame_number) (struct usb_device *dev); 86 struct usb_device *dev); 101 struct usb_device *dev;
|
D | tusb.c | 102 struct usb_device *usbdev; 146 static int test_alloc_dev(struct usb_device *dev) 152 static int test_dealloc_dev(struct usb_device *dev) 158 static int test_get_current_frame_number(struct usb_device *dev) 298 struct usb_device *udev = in test_find_usbdev() 299 (struct usb_device *)kmalloc(sizeof(struct usb_device), GFP_KERNEL); in test_find_usbdev() 325 memcpy(ltp_usb.dev, udev, sizeof(struct usb_device)); in test_find_usbdev()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
D | linux_usb.c | 40 struct usb_device *sc_fbsd_udev; 59 static uint16_t usb_max_isoc_frames(struct usb_device *); 64 static int usb_linux_create_usb_device(struct usb_device *, device_t); 65 static void usb_linux_cleanup_interface(struct usb_device *, 372 usb_max_isoc_frames(struct usb_device *dev) in usb_max_isoc_frames() 551 usb_clear_halt(struct usb_device *dev, struct usb_host_endpoint *uhe) in usb_clear_halt() 648 usb_control_msg(struct usb_device *dev, struct usb_host_endpoint *uhe, in usb_control_msg() 741 usb_set_interface(struct usb_device *dev, uint8_t iface_no, uint8_t alt_index) in usb_set_interface() 771 usb_setup_endpoint_agg(struct usb_device *dev, in usb_setup_endpoint_agg() 861 usb_setup_endpoint(struct usb_device *dev, in usb_setup_endpoint() [all …]
|
/third_party/FreeBSD/sys/dev/usb/controller/ |
D | usb_controller.c | 330 struct usb_device *udev; in usb_bus_explore() 391 struct usb_device *udev; in usb_bus_detach() 425 struct usb_device *udev; in usb_bus_suspend() 482 struct usb_device *udev; in usb_bus_resume() 565 struct usb_device *udev; in usb_bus_shutdown() 612 struct usb_device *child; in usb_bus_attach() 913 usb_proc_explore_mwait(struct usb_device *udev, void *pm1, void *pm2) in usb_proc_explore_mwait() 919 usb_proc_explore_msignal(struct usb_device *udev, void *pm1, void *pm2) in usb_proc_explore_msignal() 925 usb_proc_explore_lock(struct usb_device *udev) in usb_proc_explore_lock() 931 usb_proc_explore_unlock(struct usb_device *udev) in usb_proc_explore_unlock()
|
D | xhci.c | 104 static void xhci_free_device_ext(struct usb_device *); 105 static struct xhci_endpoint_ext *xhci_get_endpoint_ext(struct usb_device *, 108 static usb_error_t xhci_configure_device(struct usb_device *); 109 static usb_error_t xhci_configure_endpoint(struct usb_device *, 113 static usb_error_t xhci_configure_mask(struct usb_device *, 1334 xhci_set_address(struct usb_device *udev, struct mtx *mtx, uint16_t address) in xhci_set_address() 2238 xhci_configure_mask(struct usb_device *udev, uint32_t mask, uint8_t drop) in xhci_configure_mask() 2294 xhci_configure_endpoint(struct usb_device *udev, in xhci_configure_endpoint() 2496 xhci_configure_device(struct usb_device *udev) in xhci_configure_device() 2502 struct usb_device *hubdev; in xhci_configure_device() [all …]
|