/illumos-gate/usr/src/uts/common/sys/usb/hcd/xhci/ |
H A D | xhci.h | 667 } xhci_t; typedef 689 xhci_t *xhci_polled_xhci; 725 extern xhci_t *xhci_hcdi_get_xhcip_from_dev(usba_device_t *); 726 extern xhci_device_t *xhci_device_lookup_by_slot(xhci_t *, int); 731 extern void xhci_quirks_populate(xhci_t *); 732 extern void xhci_reroute_intel(xhci_t *); 738 extern boolean_t xhci_ddi_intr_disable(xhci_t *); 739 extern boolean_t xhci_ddi_intr_enable(xhci_t *); 740 extern int xhci_intr_conf(xhci_t *); 745 extern int xhci_check_dma_handle(xhci_t *, xhci_dma_buffer_t *); [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci.c | 786 xhci_error(xhci_t *xhcip, const char *fmt, ...) in xhci_error() 800 xhci_log(xhci_t *xhcip, const char *fmt, ...) in xhci_log() 822 xhci_t *xhcip; in xhci_get_dip() 832 xhci_get8(xhci_t *xhcip, xhci_reg_type_t rtt, uintptr_t off) in xhci_get8() 859 xhci_get16(xhci_t *xhcip, xhci_reg_type_t rtt, uintptr_t off) in xhci_get16() 886 xhci_get32(xhci_t *xhcip, xhci_reg_type_t rtt, uintptr_t off) in xhci_get32() 913 xhci_get64(xhci_t *xhcip, xhci_reg_type_t rtt, uintptr_t off) in xhci_get64() 940 xhci_put8(xhci_t *xhcip, xhci_reg_type_t rtt, uintptr_t off, uint8_t val) in xhci_put8() 967 xhci_put16(xhci_t *xhcip, xhci_reg_type_t rtt, uintptr_t off, uint16_t val) in xhci_put16() 994 xhci_put32(xhci_t *xhcip, xhci_reg_type_t rtt, uintptr_t off, uint32_t val) in xhci_put32() [all …]
|
H A D | xhci_intr.c | 49 xhci_ddi_intr_disable(xhci_t *xhcip) in xhci_ddi_intr_disable() 74 xhci_ddi_intr_enable(xhci_t *xhcip) in xhci_ddi_intr_enable() 103 xhci_intr_conf(xhci_t *xhcip) in xhci_intr_conf() 130 xhci_t *xhcip = (xhci_t *)(void *)arg1; in xhci_intr()
|
H A D | xhci_context.c | 28 xhci_scratchpad_fini(xhci_t *xhcip) in xhci_scratchpad_fini() 47 xhci_context_fini(xhci_t *xhcip) in xhci_context_fini() 55 xhci_scratchpad_alloc(xhci_t *xhcip) in xhci_scratchpad_alloc() 115 xhci_dcbaa_alloc(xhci_t *xhcip) in xhci_dcbaa_alloc() 152 xhci_context_init(xhci_t *xhcip) in xhci_context_init() 214 xhci_context_slot_output_init(xhci_t *xhcip, xhci_device_t *xd) in xhci_context_slot_output_init() 236 xhci_context_slot_output_fini(xhci_t *xhcip, xhci_device_t *xd) in xhci_context_slot_output_fini()
|
H A D | xhci_command.c | 136 static void xhci_command_settimeout(xhci_t *, clock_t); 139 xhci_command_ring_fini(xhci_t *xhcip) in xhci_command_ring_fini() 161 xhci_command_ring_init(xhci_t *xhcip) in xhci_command_ring_init() 197 xhci_t *xhcip = arg; in xhci_command_timeout() 282 xhci_command_settimeout(xhci_t *xhcip, clock_t microsecs) in xhci_command_settimeout() 308 xhci_command_event_callback(xhci_t *xhcip, xhci_trb_t *trb) in xhci_command_event_callback() 399 xhci_command_submit(xhci_t *xhcip, xhci_command_t *xco) in xhci_command_submit() 471 xhci_command_enable_slot(xhci_t *xhcip, uint8_t *slotp) in xhci_command_enable_slot() 517 xhci_command_disable_slot(xhci_t *xhcip, uint8_t slot) in xhci_command_disable_slot() 548 xhci_command_set_address(xhci_t *xhcip, xhci_device_t *xd, boolean_t bsr) in xhci_command_set_address() [all …]
|
H A D | xhci_event.c | 38 xhci_event_fini(xhci_t *xhcip) in xhci_event_fini() 52 xhci_event_alloc(xhci_t *xhcip, xhci_event_ring_t *xev) in xhci_event_alloc() 78 xhci_event_init(xhci_t *xhcip) in xhci_event_init() 117 xhci_event_process_psc(xhci_t *xhcip, xhci_trb_t *trb) in xhci_event_process_psc() 139 xhci_event_process_trb(xhci_t *xhcip, xhci_trb_t *trb) in xhci_event_process_trb() 183 xhci_event_process(xhci_t *xhcip) in xhci_event_process()
|
H A D | xhci_hub.c | 152 xhci_root_hub_get_device_status(xhci_t *xhcip, usb_ctrl_req_t *ucrp) in xhci_root_hub_get_device_status() 203 xhci_root_hub_get_status(xhci_t *xhcip, usb_ctrl_req_t *ucrp) in xhci_root_hub_get_status() 227 xhci_root_hub_get_descriptor(xhci_t *xhcip, usb_ctrl_req_t *ucrp) in xhci_root_hub_get_descriptor() 244 xhci_root_hub_handle_port_clear_feature(xhci_t *xhcip, usb_ctrl_req_t *ucrp) in xhci_root_hub_handle_port_clear_feature() 323 xhci_root_hub_handle_port_set_feature(xhci_t *xhcip, usb_ctrl_req_t *ucrp) in xhci_root_hub_handle_port_set_feature() 446 xhci_root_hub_handle_port_get_status(xhci_t *xhcip, usb_ctrl_req_t *ucrp) in xhci_root_hub_handle_port_get_status() 546 xhci_root_hub_ctrl_req(xhci_t *xhcip, usba_pipe_handle_data_t *ph, in xhci_root_hub_ctrl_req() 614 xhci_root_hub_psc_callback(xhci_t *xhcip) in xhci_root_hub_psc_callback() 681 xhci_root_hub_intr_root_disable(xhci_t *xhcip) in xhci_root_hub_intr_root_disable() 709 xhci_root_hub_intr_root_enable(xhci_t *xhcip, usba_pipe_handle_data_t *ph, in xhci_root_hub_intr_root_enable() [all …]
|
H A D | xhci_polled.c | 62 xhci_polled_init(usba_pipe_handle_data_t *input_pipe_handle, xhci_t *xhcip, in xhci_polled_init() 102 xhci_polled_get_endpoint(xhci_t *xhcip, xhci_trb_t *trb) in xhci_polled_get_endpoint() 125 xhci_t *xhcip = xhci_polledp->xhci_polled_xhci; in xhci_polled_endpoint_transfer() 197 xhci_t *xhcip = xhci_polledp->xhci_polled_xhci; in xhci_polled_event_process() 265 xhci_t *xhcip; in xhci_hcdi_console_input_init() 305 xhci_t *xhcip; in xhci_hcdi_console_input_enter() 363 xhci_t *xhcip; in xhci_hcdi_console_read() 405 xhci_t *xhcip; in xhci_hcdi_console_input_exit()
|
H A D | xhci_endpoint.c | 42 xhci_input_context_sync(xhci_t *xhcip, xhci_device_t *xd, xhci_endpoint_t *xep) in xhci_input_context_sync() 84 xhci_endpoint_timeout_cancel(xhci_t *xhcip, xhci_endpoint_t *xep) in xhci_endpoint_timeout_cancel() 108 xhci_endpoint_close(xhci_t *xhcip, xhci_endpoint_t *xep) in xhci_endpoint_close() 129 xhci_endpoint_unconfigure(xhci_t *xhcip, xhci_device_t *xd, in xhci_endpoint_unconfigure() 207 xhci_endpoint_setup_default_context(xhci_t *xhcip, xhci_device_t *xd, in xhci_endpoint_setup_default_context() 274 xhci_endpoint_update_default(xhci_t *xhcip, xhci_device_t *xd, in xhci_endpoint_update_default() 526 xhci_endpoint_avg_trb(xhci_t *xhcip, usb_ep_descr_t *ep, int mps) in xhci_endpoint_avg_trb() 551 xhci_endpoint_setup_context(xhci_t *xhcip, xhci_device_t *xd, in xhci_endpoint_setup_context() 662 xhci_t *, xhcip, in xhci_endpoint_setup_context() 716 xhci_endpoint_init(xhci_t *xhcip, xhci_device_t *xd, in xhci_endpoint_init() [all …]
|
H A D | xhci_dma.c | 25 xhci_check_dma_handle(xhci_t *xhcip, xhci_dma_buffer_t *xdb) in xhci_check_dma_handle() 37 xhci_dma_acc_attr(xhci_t *xhcip, ddi_device_acc_attr_t *accp) in xhci_dma_acc_attr() 56 xhci_dma_transfer_attr(xhci_t *xhcip, ddi_dma_attr_t *attrp, uint_t sgl) in xhci_dma_transfer_attr() 126 xhci_dma_dma_attr(xhci_t *xhcip, ddi_dma_attr_t *attrp) in xhci_dma_dma_attr() 153 xhci_dma_scratchpad_attr(xhci_t *xhcip, ddi_dma_attr_t *attrp) in xhci_dma_scratchpad_attr() 201 xhci_dma_alloc(xhci_t *xhcip, xhci_dma_buffer_t *xdb, in xhci_dma_alloc() 264 xhci_transfer_free(xhci_t *xhcip, xhci_transfer_t *xt) in xhci_transfer_free() 291 xhci_transfer_alloc(xhci_t *xhcip, xhci_endpoint_t *xep, size_t size, in xhci_transfer_alloc() 409 xhci_transfer_sync(xhci_t *xhcip, xhci_transfer_t *xt, uint_t type) in xhci_transfer_sync()
|
H A D | xhci_usba.c | 29 xhci_t * 33 xhci_t *xhcip = ddi_get_soft_state(xhci_soft_state, in xhci_hcdi_get_xhcip_from_dev() 39 static xhci_t * 60 xhci_t *xhcip = xhci_hcdi_get_xhcip(ph); in xhci_hcdi_pipe_open() 327 xhci_hcdi_periodic_free(xhci_t *xhcip, xhci_pipe_t *xp) in xhci_hcdi_periodic_free() 357 xhci_hcdi_pipe_flush(xhci_t *xhcip, xhci_endpoint_t *xep, int intr_code) in xhci_hcdi_pipe_flush() 403 xhci_t *xhcip = xhci_hcdi_get_xhcip(ph); in xhci_hcdi_pipe_poll_fini() 527 xhci_t *xhcip = xhci_hcdi_get_xhcip(ph); in xhci_hcdi_pipe_close() 658 xhci_t *xhcip = xhci_hcdi_get_xhcip(ph); in xhci_hcdi_pipe_reset() 791 xhci_t *xhcip = xhci_hcdi_get_xhcip(ph); in xhci_hcdi_pipe_ctrl_xfer() [all …]
|
H A D | xhci_quirks.c | 45 xhci_quirks_populate(xhci_t *xhcip) in xhci_quirks_populate() 65 xhci_reroute_intel(xhci_t *xhcip) in xhci_reroute_intel()
|
H A D | xhci_ring.c | 132 xhci_ring_reset(xhci_t *xhcip, xhci_ring_t *xrp) in xhci_ring_reset() 160 xhci_ring_alloc(xhci_t *xhcip, xhci_ring_t *xrp) in xhci_ring_alloc()
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/xhci/ |
H A D | xhci.c | 508 xhci_t xhci; in xhci_mdb_walk_xhci_step() 529 addr += offsetof(xhci_t, xhci_usba); in xhci_mdb_walk_xhci_device_init()
|