Home
last modified time | relevance | path

Searched refs:usb_error_t (Results 1 – 25 of 34) sorted by relevance

12

/third_party/FreeBSD/sys/dev/usb/
Dusb_request.h34 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 …]
Dusbdi_util.h42 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,
Dusb_request.c172 usbd_do_request_callback(struct usb_xfer *xfer, usb_error_t error) in usbd_do_request_callback()
194 usb_do_clear_stall_callback(struct usb_xfer *xfer, usb_error_t error) in usb_do_clear_stall_callback()
373 usb_error_t
695 return ((usb_error_t)err); in usbd_do_request_flags()
708 usb_error_t
713 usb_error_t err; in usbd_do_request_proc()
752 usb_error_t
756 usb_error_t err; in usbd_req_reset_port()
855 usb_error_t
860 usb_error_t err; in usbd_req_warm_reset_port()
[all …]
Dusb_handle_request.c34 static usb_error_t usb_handle_remote_wakeup(struct usb_xfer *, uint8_t);
35 static usb_error_t usb_handle_request(struct usb_xfer *);
36 static usb_error_t usb_handle_set_config(struct usb_xfer *, uint8_t);
37 static usb_error_t usb_handle_set_stall(struct usb_xfer *, uint8_t,
39 static usb_error_t usb_handle_iface_request(struct usb_xfer *, void **,
50 usb_handle_request_callback(struct usb_xfer *xfer, usb_error_t error) in usb_handle_request_callback()
52 usb_error_t err; in usb_handle_request_callback()
109 static usb_error_t
113 usb_error_t err = USB_ERR_NORMAL_COMPLETION; in usb_handle_set_config()
152 static usb_error_t
[all …]
Dusbdi.h76 } usb_error_t; typedef
94 typedef void (usb_callback_t)(struct usb_xfer *, usb_error_t);
96 typedef usb_error_t (usb_handle_req_t)(struct usb_device *,
497 const char *usbd_errstr(usb_error_t error);
512 usb_error_t usbd_interface_count(struct usb_device *udev, uint8_t *count);
517 usb_error_t usbd_set_pnpinfo(struct usb_device *udev,
519 usb_error_t usbd_add_dynamic_quirk(struct usb_device *udev,
521 usb_error_t usbd_set_endpoint_mode(struct usb_device *udev,
532 usb_error_t usbd_do_request_flags(struct usb_device *udev, struct mtx *mtx,
541 usb_error_t usbd_set_alt_interface_index(struct usb_device *udev,
[all …]
Dusb_device.h156 usb_error_t err;
306 usb_error_t usb_probe_and_attach(struct usb_device *udev,
309 usb_error_t usb_reset_iface_endpoints(struct usb_device *udev,
311 usb_error_t usbd_set_config_index(struct usb_device *udev, uint8_t index);
312 usb_error_t usbd_set_endpoint_stall(struct usb_device *udev,
314 usb_error_t usb_suspend_resume(struct usb_device *udev,
Dusb_controller.h133 usb_error_t (*device_init) (struct usb_device *);
147 usb_error_t (*set_address) (struct usb_device *, struct mtx *, uint16_t);
151 usb_error_t (*set_endpoint_mode) (struct usb_device *, struct usb_endpoint *, uint8_t);
Dusb_hub.c180 uhub_intr_callback(struct usb_xfer *xfer, usb_error_t error) in uhub_intr_callback()
321 uhub_reset_tt_callback(struct usb_xfer *xfer, usb_error_t error) in uhub_reset_tt_callback()
412 usb_error_t err; in uhub_explore_handle_re_enumerate()
496 static usb_error_t
506 usb_error_t err; in uhub_explore_sub()
555 static usb_error_t
559 usb_error_t err; in uhub_read_port_status()
602 static usb_error_t
605 usb_error_t ret; in uhub_port_debounce()
655 static usb_error_t
[all …]
Dusb_hub.h50 usb_error_t (*explore) (struct usb_device *hub);
79 usb_error_t uhub_query_info(struct usb_device *, uint8_t *, uint8_t *);
Dusb_dynamic.c46 static usb_error_t
64 static usb_error_t
Dusb_device.c53 static usb_error_t usb_config_parse(struct usb_device *, uint8_t, uint8_t);
291 usb_error_t
429 usb_error_t err; in usb_unconfigure()
484 usb_error_t
493 usb_error_t err; in usbd_set_config_index()
628 static usb_error_t
636 usb_error_t err; in usb_config_parse()
844 usb_error_t
849 usb_error_t err; in usbd_set_alt_interface_index()
904 usb_error_t
[all …]
Dusb_transfer.h225 usb_error_t err;
239 void usbd_transfer_done(struct usb_xfer *xfer, usb_error_t error);
Dusb_error.c69 usbd_errstr(usb_error_t err) in usbd_errstr()
Dusb_dynamic.h40 typedef usb_error_t (usb_temp_setup_by_index_t)(struct usb_device *udev,
Dusb_util.c44 usb_error_t err; in device_set_usb_desc()
Dusb_core.h178 usb_error_t error;
/third_party/FreeBSD/sys/dev/usb/controller/
Dxhci.c102 static void xhci_device_done(struct usb_xfer *, usb_error_t);
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 *,
115 static usb_error_t xhci_cmd_evaluate_ctx(struct xhci_softc *,
306 usb_error_t
464 usb_error_t
494 usb_error_t
521 usb_error_t
560 return (usb_error_t)(ENXIO); in xhci_init()
[all …]
Dxhci.h541 usb_error_t xhci_halt_controller(struct xhci_softc *);
542 usb_error_t xhci_reset_controller(struct xhci_softc *);
543 usb_error_t xhci_init(struct xhci_softc *, device_t, uint8_t);
544 usb_error_t xhci_start_controller(struct xhci_softc *);
Dusb_controller.c427 usb_error_t err; in usb_bus_suspend()
484 usb_error_t err; in usb_bus_resume()
567 usb_error_t err; in usb_bus_shutdown()
615 usb_error_t err; in usb_bus_attach()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c516 uint8_t, uint8_t, usb_error_t);
522 uint8_t, uint8_t, usb_error_t);
925 usb_error_t err; in umass_attach()
1160 usb_error_t err; in umass_init_shuttle()
1219 umass_tr_error(struct usb_xfer *xfer, usb_error_t error) in umass_tr_error()
1284 umass_t_bbb_reset1_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_reset1_callback()
1334 umass_t_bbb_reset2_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_reset2_callback()
1341 umass_t_bbb_reset3_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_reset3_callback()
1349 uint8_t next_xfer, uint8_t stall_xfer, usb_error_t error) in umass_t_bbb_data_clear_stall_callback()
1372 umass_t_bbb_command_callback(struct usb_xfer *xfer, usb_error_t error) in umass_t_bbb_command_callback()
[all …]
/third_party/FreeBSD/sys/dev/usb/net/
Dif_urndis.c404 static usb_error_t
421 static usb_error_t
424 usb_error_t err; in urndis_ctrl_send()
438 usb_error_t err; in urndis_ctrl_recv()
837 urndis_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in urndis_bulk_read_callback()
942 urndis_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in urndis_bulk_write_callback()
1018 urndis_intr_read_callback(struct usb_xfer *xfer, usb_error_t error) in urndis_intr_read_callback()
Dif_cdce.c472 usb_error_t error; in cdce_attach()
631 error = (usb_error_t)uether_ifattach(ue); in cdce_attach()
695 cdce_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_bulk_write_callback()
860 cdce_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_bulk_read_callback()
940 cdce_intr_read_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_intr_read_callback()
973 cdce_intr_write_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_intr_write_callback()
1244 cdce_ncm_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_ncm_bulk_write_callback()
1296 cdce_ncm_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in cdce_ncm_bulk_read_callback()
Dif_axge.c300 usb_error_t err; in axge_reset()
448 axge_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in axge_bulk_read_callback()
569 axge_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in axge_bulk_write_callback()
Dif_axe.c225 usb_error_t err; in axe_cmd()
587 usb_error_t err; in axe_reset()
750 axe_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) in axe_bulk_read_callback()
903 axe_bulk_write_callback(struct usb_xfer *xfer, usb_error_t error) in axe_bulk_write_callback()
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c136 uhid_intr_write_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_intr_write_callback()
192 uhid_intr_read_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_intr_read_callback()
249 uhid_write_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_write_callback()
310 uhid_read_callback(struct usb_xfer *xfer, usb_error_t error) in uhid_read_callback()

12