HelenOS sources
xhci_hc_t 69 uspace/drv/bus/usb/xhci/bus.c errno_t xhci_bus_init(xhci_bus_t *bus, xhci_hc_t *hc)
xhci_hc_t 48 uspace/drv/bus/usb/xhci/bus.h xhci_hc_t *hc; /**< Pointer to managing HC (to issue commands) */
xhci_hc_t 52 uspace/drv/bus/usb/xhci/bus.h extern errno_t xhci_bus_init(xhci_bus_t *, xhci_hc_t *);
xhci_hc_t 62 uspace/drv/bus/usb/xhci/commands.c static xhci_cmd_ring_t *get_cmd_ring(xhci_hc_t *hc)
xhci_hc_t 74 uspace/drv/bus/usb/xhci/commands.c errno_t xhci_init_commands(xhci_hc_t *hc)
xhci_hc_t 95 uspace/drv/bus/usb/xhci/commands.c void xhci_fini_commands(xhci_hc_t *hc)
xhci_hc_t 144 uspace/drv/bus/usb/xhci/commands.c static inline xhci_cmd_t *find_command(xhci_hc_t *hc, uint64_t phys)
xhci_hc_t 197 uspace/drv/bus/usb/xhci/commands.c static inline errno_t enqueue_command(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 237 uspace/drv/bus/usb/xhci/commands.c void xhci_stop_command_ring(xhci_hc_t *hc)
xhci_hc_t 258 uspace/drv/bus/usb/xhci/commands.c void xhci_nuke_command_ring(xhci_hc_t *hc)
xhci_hc_t 272 uspace/drv/bus/usb/xhci/commands.c void xhci_start_command_ring(xhci_hc_t *hc)
xhci_hc_t 285 uspace/drv/bus/usb/xhci/commands.c static void abort_command_ring(xhci_hc_t *hc)
xhci_hc_t 350 uspace/drv/bus/usb/xhci/commands.c errno_t xhci_handle_command_completion(xhci_hc_t *hc, xhci_trb_t *trb)
xhci_hc_t 424 uspace/drv/bus/usb/xhci/commands.c static errno_t no_op_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 435 uspace/drv/bus/usb/xhci/commands.c static errno_t enable_slot_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 448 uspace/drv/bus/usb/xhci/commands.c static errno_t disable_slot_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 461 uspace/drv/bus/usb/xhci/commands.c static errno_t address_device_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 492 uspace/drv/bus/usb/xhci/commands.c static errno_t configure_endpoint_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 514 uspace/drv/bus/usb/xhci/commands.c static errno_t evaluate_context_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 537 uspace/drv/bus/usb/xhci/commands.c static errno_t reset_endpoint_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 552 uspace/drv/bus/usb/xhci/commands.c static errno_t stop_endpoint_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 567 uspace/drv/bus/usb/xhci/commands.c static errno_t set_tr_dequeue_pointer_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 583 uspace/drv/bus/usb/xhci/commands.c static errno_t reset_device_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 596 uspace/drv/bus/usb/xhci/commands.c static errno_t get_port_bandwidth_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 615 uspace/drv/bus/usb/xhci/commands.c typedef errno_t (*cmd_handler) (xhci_hc_t *hc, xhci_cmd_t *cmd);
xhci_hc_t 647 uspace/drv/bus/usb/xhci/commands.c static errno_t try_abort_current_command(xhci_hc_t *hc)
xhci_hc_t 709 uspace/drv/bus/usb/xhci/commands.c static errno_t wait_for_cmd_completion(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 747 uspace/drv/bus/usb/xhci/commands.c errno_t xhci_cmd_sync(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 789 uspace/drv/bus/usb/xhci/commands.c errno_t xhci_cmd_sync_fini(xhci_hc_t *hc, xhci_cmd_t *cmd)
xhci_hc_t 801 uspace/drv/bus/usb/xhci/commands.c errno_t xhci_cmd_async_fini(xhci_hc_t *hc, xhci_cmd_t *stack_cmd)
xhci_hc_t 131 uspace/drv/bus/usb/xhci/commands.h extern errno_t xhci_init_commands(xhci_hc_t *);
xhci_hc_t 132 uspace/drv/bus/usb/xhci/commands.h extern void xhci_fini_commands(xhci_hc_t *);
xhci_hc_t 134 uspace/drv/bus/usb/xhci/commands.h extern void xhci_nuke_command_ring(xhci_hc_t *);
xhci_hc_t 135 uspace/drv/bus/usb/xhci/commands.h extern void xhci_stop_command_ring(xhci_hc_t *);
xhci_hc_t 136 uspace/drv/bus/usb/xhci/commands.h extern void xhci_abort_command_ring(xhci_hc_t *);
xhci_hc_t 137 uspace/drv/bus/usb/xhci/commands.h extern void xhci_start_command_ring(xhci_hc_t *);
xhci_hc_t 139 uspace/drv/bus/usb/xhci/commands.h extern errno_t xhci_handle_command_completion(xhci_hc_t *, xhci_trb_t *);
xhci_hc_t 146 uspace/drv/bus/usb/xhci/commands.h extern errno_t xhci_cmd_sync(xhci_hc_t *, xhci_cmd_t *);
xhci_hc_t 147 uspace/drv/bus/usb/xhci/commands.h extern errno_t xhci_cmd_sync_fini(xhci_hc_t *, xhci_cmd_t *);
xhci_hc_t 148 uspace/drv/bus/usb/xhci/commands.h extern errno_t xhci_cmd_async_fini(xhci_hc_t *, xhci_cmd_t *);
xhci_hc_t 149 uspace/drv/bus/usb/xhci/debug.c void xhci_dump_state(const xhci_hc_t *hc)
xhci_hc_t 195 uspace/drv/bus/usb/xhci/debug.c void xhci_dump_ports(const xhci_hc_t *hc)
xhci_hc_t 384 uspace/drv/bus/usb/xhci/debug.c void xhci_dump_input_ctx(const xhci_hc_t *hc, const struct xhci_input_ctx *ictx)
xhci_hc_t 117 uspace/drv/bus/usb/xhci/device.c static errno_t setup_ep0_packet_size(xhci_hc_t *hc, xhci_device_t *dev)
xhci_hc_t 82 uspace/drv/bus/usb/xhci/hc.c static errno_t hc_parse_ec(xhci_hc_t *hc)
xhci_hc_t 188 uspace/drv/bus/usb/xhci/hc.c errno_t hc_init_mmio(xhci_hc_t *hc, const hw_res_list_parsed_t *hw_res)
xhci_hc_t 259 uspace/drv/bus/usb/xhci/hc.c errno_t hc_init_memory(xhci_hc_t *hc, ddf_dev_t *device)
xhci_hc_t 363 uspace/drv/bus/usb/xhci/hc.c errno_t hc_irq_code_gen(irq_code_t *code, xhci_hc_t *hc, const hw_res_list_parsed_t *hw_res, int *irq)
xhci_hc_t 413 uspace/drv/bus/usb/xhci/hc.c errno_t hc_claim(xhci_hc_t *hc, ddf_dev_t *dev)
xhci_hc_t 441 uspace/drv/bus/usb/xhci/hc.c static errno_t hc_reset(xhci_hc_t *hc)
xhci_hc_t 467 uspace/drv/bus/usb/xhci/hc.c errno_t hc_start(xhci_hc_t *hc)
xhci_hc_t 516 uspace/drv/bus/usb/xhci/hc.c static void hc_stop(xhci_hc_t *hc)
xhci_hc_t 542 uspace/drv/bus/usb/xhci/hc.c static void hc_reinitialize(xhci_hc_t *hc)
xhci_hc_t 557 uspace/drv/bus/usb/xhci/hc.c static bool hc_is_broken(xhci_hc_t *hc)
xhci_hc_t 572 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *hc = bus_to_hc(bus);
xhci_hc_t 590 uspace/drv/bus/usb/xhci/hc.c static errno_t xhci_handle_mfindex_wrap_event(xhci_hc_t *hc, xhci_trb_t *trb)
xhci_hc_t 601 uspace/drv/bus/usb/xhci/hc.c typedef errno_t (*event_handler) (xhci_hc_t *, xhci_trb_t *trb);
xhci_hc_t 619 uspace/drv/bus/usb/xhci/hc.c static errno_t hc_handle_event(xhci_hc_t *hc, xhci_trb_t *trb)
xhci_hc_t 639 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = arg;
xhci_hc_t 658 uspace/drv/bus/usb/xhci/hc.c static void hc_run_event_ring(xhci_hc_t *hc, xhci_event_ring_t *event_ring,
xhci_hc_t 694 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *hc = bus_to_hc(bus);
xhci_hc_t 732 uspace/drv/bus/usb/xhci/hc.c void hc_fini(xhci_hc_t *hc)
xhci_hc_t 757 uspace/drv/bus/usb/xhci/hc.c void hc_ring_doorbell(xhci_hc_t *hc, unsigned doorbell, unsigned target)
xhci_hc_t 778 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 791 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 826 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 851 uspace/drv/bus/usb/xhci/hc.c const xhci_hc_t *hc = bus_to_hc(dev->base.bus);
xhci_hc_t 875 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 927 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 952 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 991 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 1015 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 1055 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 1087 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 1113 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(dev->base.bus);
xhci_hc_t 1142 uspace/drv/bus/usb/xhci/hc.c xhci_hc_t *const hc = bus_to_hc(endpoint_get_bus(&ep->base));
xhci_hc_t 106 uspace/drv/bus/usb/xhci/hc.h static inline xhci_hc_t *bus_to_hc(bus_t *bus)
xhci_hc_t 109 uspace/drv/bus/usb/xhci/hc.h return member_to_inst(bus, xhci_hc_t, bus);
xhci_hc_t 115 uspace/drv/bus/usb/xhci/hc.h extern errno_t hc_init_mmio(xhci_hc_t *, const hw_res_list_parsed_t *);
xhci_hc_t 116 uspace/drv/bus/usb/xhci/hc.h extern errno_t hc_init_memory(xhci_hc_t *, ddf_dev_t *);
xhci_hc_t 117 uspace/drv/bus/usb/xhci/hc.h extern errno_t hc_claim(xhci_hc_t *, ddf_dev_t *);
xhci_hc_t 118 uspace/drv/bus/usb/xhci/hc.h extern errno_t hc_irq_code_gen(irq_code_t *, xhci_hc_t *, const hw_res_list_parsed_t *, int *);
xhci_hc_t 119 uspace/drv/bus/usb/xhci/hc.h extern errno_t hc_start(xhci_hc_t *);
xhci_hc_t 120 uspace/drv/bus/usb/xhci/hc.h extern void hc_fini(xhci_hc_t *);
xhci_hc_t 122 uspace/drv/bus/usb/xhci/hc.h extern void hc_ring_doorbell(xhci_hc_t *, unsigned, unsigned);
xhci_hc_t 56 uspace/drv/bus/usb/xhci/isoch.c const xhci_hc_t *hc = bus_to_xhci_bus(ep->base.device->bus)->hc;
xhci_hc_t 217 uspace/drv/bus/usb/xhci/isoch.c static inline uint64_t get_current_microframe(const xhci_hc_t *hc)
xhci_hc_t 238 uspace/drv/bus/usb/xhci/isoch.c const xhci_hc_t *hc = bus->hc;
xhci_hc_t 275 uspace/drv/bus/usb/xhci/isoch.c static inline void window_decide(window_decision_t *res, xhci_hc_t *hc,
xhci_hc_t 310 uspace/drv/bus/usb/xhci/isoch.c xhci_hc_t *hc = bus->hc;
xhci_hc_t 396 uspace/drv/bus/usb/xhci/isoch.c xhci_hc_t *hc = bus->hc;
xhci_hc_t 590 uspace/drv/bus/usb/xhci/isoch.c void isoch_handle_transfer_event(xhci_hc_t *hc, xhci_endpoint_t *ep,
xhci_hc_t 128 uspace/drv/bus/usb/xhci/isoch.h extern void isoch_handle_transfer_event(xhci_hc_t *, xhci_endpoint_t *,
xhci_hc_t 49 uspace/drv/bus/usb/xhci/main.c static inline xhci_hc_t *hcd_to_hc(hc_device_t *hcd)
xhci_hc_t 52 uspace/drv/bus/usb/xhci/main.c return (xhci_hc_t *) hcd;
xhci_hc_t 58 uspace/drv/bus/usb/xhci/main.c xhci_hc_t *hc = hcd_to_hc(hcd);
xhci_hc_t 73 uspace/drv/bus/usb/xhci/main.c xhci_hc_t *hc = hcd_to_hc(hcd);
xhci_hc_t 79 uspace/drv/bus/usb/xhci/main.c xhci_hc_t *hc = hcd_to_hc(hcd);
xhci_hc_t 85 uspace/drv/bus/usb/xhci/main.c xhci_hc_t *hc = hcd_to_hc(hcd);
xhci_hc_t 91 uspace/drv/bus/usb/xhci/main.c xhci_hc_t *hc = hcd_to_hc(hcd);
xhci_hc_t 98 uspace/drv/bus/usb/xhci/main.c .hc_device_size = sizeof(xhci_hc_t),
xhci_hc_t 81 uspace/drv/bus/usb/xhci/rh.c errno_t xhci_rh_init(xhci_rh_t *rh, xhci_hc_t *hc)
xhci_hc_t 66 uspace/drv/bus/usb/xhci/rh.h xhci_hc_t *hc;
xhci_hc_t 83 uspace/drv/bus/usb/xhci/rh.h extern errno_t xhci_rh_init(xhci_rh_t *, xhci_hc_t *);
xhci_hc_t 46 uspace/drv/bus/usb/xhci/scratchpad.c static inline unsigned xhci_scratchpad_count(xhci_hc_t *hc)
xhci_hc_t 59 uspace/drv/bus/usb/xhci/scratchpad.c errno_t xhci_scratchpad_alloc(xhci_hc_t *hc)
xhci_hc_t 92 uspace/drv/bus/usb/xhci/scratchpad.c void xhci_scratchpad_free(xhci_hc_t *hc)
xhci_hc_t 47 uspace/drv/bus/usb/xhci/scratchpad.h extern errno_t xhci_scratchpad_alloc(xhci_hc_t *);
xhci_hc_t 48 uspace/drv/bus/usb/xhci/scratchpad.h extern void xhci_scratchpad_free(xhci_hc_t *);
xhci_hc_t 154 uspace/drv/bus/usb/xhci/streams.c static errno_t initialize_primary_stream(xhci_hc_t *hc, xhci_endpoint_t *xhci_ep,
xhci_hc_t 180 uspace/drv/bus/usb/xhci/streams.c static errno_t initialize_primary_streams(xhci_hc_t *hc, xhci_endpoint_t *xhci_ep)
xhci_hc_t 207 uspace/drv/bus/usb/xhci/streams.c static errno_t initialize_secondary_streams(xhci_hc_t *hc, xhci_endpoint_t *xhci_ep,
xhci_hc_t 296 uspace/drv/bus/usb/xhci/streams.c static errno_t verify_stream_conditions(xhci_hc_t *hc, xhci_device_t *dev,
xhci_hc_t 347 uspace/drv/bus/usb/xhci/streams.c errno_t xhci_endpoint_remove_streams(xhci_hc_t *hc, xhci_device_t *dev,
xhci_hc_t 375 uspace/drv/bus/usb/xhci/streams.c errno_t xhci_endpoint_request_primary_streams(xhci_hc_t *hc, xhci_device_t *dev,
xhci_hc_t 423 uspace/drv/bus/usb/xhci/streams.c errno_t xhci_endpoint_request_secondary_streams(xhci_hc_t *hc, xhci_device_t *dev,
xhci_hc_t 69 uspace/drv/bus/usb/xhci/streams.h extern errno_t xhci_endpoint_remove_streams(xhci_hc_t *, xhci_device_t *,
xhci_hc_t 71 uspace/drv/bus/usb/xhci/streams.h extern errno_t xhci_endpoint_request_primary_streams(xhci_hc_t *,
xhci_hc_t 73 uspace/drv/bus/usb/xhci/streams.h extern errno_t xhci_endpoint_request_secondary_streams(xhci_hc_t *,
xhci_hc_t 185 uspace/drv/bus/usb/xhci/transfers.c static errno_t schedule_control(xhci_hc_t *hc, xhci_transfer_t *transfer)
xhci_hc_t 245 uspace/drv/bus/usb/xhci/transfers.c static errno_t schedule_bulk_intr(xhci_hc_t *hc, xhci_transfer_t *transfer)
xhci_hc_t 293 uspace/drv/bus/usb/xhci/transfers.c errno_t xhci_handle_transfer_event(xhci_hc_t *hc, xhci_trb_t *trb)
xhci_hc_t 409 uspace/drv/bus/usb/xhci/transfers.c typedef errno_t (*transfer_handler)(xhci_hc_t *, xhci_transfer_t *);
xhci_hc_t 427 uspace/drv/bus/usb/xhci/transfers.c xhci_hc_t *hc = bus_to_hc(endpoint_get_bus(batch->ep));
xhci_hc_t 58 uspace/drv/bus/usb/xhci/transfers.h extern errno_t xhci_handle_transfer_event(xhci_hc_t *, xhci_trb_t *);
HelenOS homepage, sources at GitHub