Lines Matching refs:xhci_softc
50 ((struct xhci_softc *)(((uint8_t *)(bus)) - \
51 ((uint8_t *)&(((struct xhci_softc *)0)->sc_bus))))
80 struct xhci_softc *sc;
103 static void xhci_root_intr(struct xhci_softc *);
115 static usb_error_t xhci_cmd_evaluate_ctx(struct xhci_softc *,
118 static void xhci_ctx_set_le32(struct xhci_softc *sc, volatile uint32_t *ptr, uint32_t val);
119 static uint32_t xhci_ctx_get_le32(struct xhci_softc *sc, volatile uint32_t *ptr);
120 static void xhci_ctx_set_le64(struct xhci_softc *sc, volatile uint64_t *ptr, uint64_t val);
122 static uint64_t xhci_ctx_get_le64(struct xhci_softc *sc, volatile uint64_t *ptr);
138 xhci_dump_endpoint(struct xhci_softc *sc, struct xhci_endp_ctx *pep) in xhci_dump_endpoint()
151 xhci_dump_device(struct xhci_softc *sc, struct xhci_slot_ctx *psl) in xhci_dump_device()
174 struct xhci_softc *sc = XHCI_BUS2SC(bus); in xhci_iterate_hw_softc()
190 xhci_ctx_set_le32(struct xhci_softc *sc, volatile uint32_t *ptr, uint32_t val) in xhci_ctx_set_le32()
203 xhci_ctx_get_le32(struct xhci_softc *sc, volatile uint32_t *ptr) in xhci_ctx_get_le32()
216 xhci_ctx_set_le64(struct xhci_softc *sc, volatile uint64_t *ptr, uint64_t val) in xhci_ctx_set_le64()
230 xhci_ctx_get_le64(struct xhci_softc *sc, volatile uint64_t *ptr) in xhci_ctx_get_le64()
244 xhci_reset_command_queue_locked(struct xhci_softc *sc) in xhci_reset_command_queue_locked()
307 xhci_start_controller(struct xhci_softc *sc) in xhci_start_controller()
465 xhci_halt_controller(struct xhci_softc *sc) in xhci_halt_controller()
495 xhci_reset_controller(struct xhci_softc *sc) in xhci_reset_controller()
522 xhci_init(struct xhci_softc *sc, device_t self, uint8_t dma32) in xhci_init()
648 xhci_uninit(struct xhci_softc *sc) in xhci_uninit()
665 struct xhci_softc *sc = XHCI_BUS2SC(bus); in xhci_set_hw_power_sleep()
857 xhci_check_transfer(struct xhci_softc *sc, struct xhci_trb *trb) in xhci_check_transfer()
1025 xhci_check_command(struct xhci_softc *sc, struct xhci_trb *trb) in xhci_check_command()
1038 xhci_interrupt_poll(struct xhci_softc *sc) in xhci_interrupt_poll()
1125 xhci_do_command(struct xhci_softc *sc, struct xhci_trb *trb, in xhci_do_command()
1269 xhci_cmd_enable_slot(struct xhci_softc *sc, uint8_t *pslot) in xhci_cmd_enable_slot()
1294 xhci_cmd_disable_slot(struct xhci_softc *sc, uint8_t slot_id) in xhci_cmd_disable_slot()
1312 xhci_cmd_set_address(struct xhci_softc *sc, uint64_t input_ctx, in xhci_cmd_set_address()
1338 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_set_address()
1461 xhci_cmd_configure_ep(struct xhci_softc *sc, uint64_t input_ctx, in xhci_cmd_configure_ep()
1483 xhci_cmd_evaluate_ctx(struct xhci_softc *sc, uint64_t input_ctx, in xhci_cmd_evaluate_ctx()
1501 xhci_cmd_reset_ep(struct xhci_softc *sc, uint8_t preserve, in xhci_cmd_reset_ep()
1524 xhci_cmd_set_tr_dequeue_ptr(struct xhci_softc *sc, uint64_t dequeue_ptr, in xhci_cmd_set_tr_dequeue_ptr()
1546 xhci_cmd_stop_ep(struct xhci_softc *sc, uint8_t suspend, in xhci_cmd_stop_ep()
1569 xhci_cmd_reset_dev(struct xhci_softc *sc, uint8_t slot_id) in xhci_cmd_reset_dev()
1590 xhci_interrupt(unsigned int irq, struct xhci_softc *sc) in xhci_interrupt()
1657 struct xhci_softc *sc = XHCI_BUS2SC(bus); in xhci_do_poll()
2221 xhci_set_slot_pointer(struct xhci_softc *sc, uint8_t index, uint64_t dev_addr) in xhci_set_slot_pointer()
2240 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_configure_mask()
2301 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_configure_endpoint()
2498 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_configure_device()
2667 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_alloc_device_ext()
2750 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_free_device_ext()
2766 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_get_endpoint_ext()
2796 struct xhci_softc *sc = XHCI_BUS2SC(xfer->xroot->bus); in xhci_endpoint_doorbell()
2894 struct xhci_softc *sc = XHCI_BUS2SC(xfer->xroot->bus); in xhci_transfer_insert()
2978 xhci_root_intr(struct xhci_softc *sc) in xhci_root_intr()
3234 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_roothub_exec()
3761 struct xhci_softc *sc = XHCI_BUS2SC(xfer->xroot->bus); in xhci_configure_reset_endpoint()
3858 struct xhci_softc *sc = XHCI_BUS2SC(xfer->xroot->bus); in xhci_start_dma_delay()
3870 struct xhci_softc *sc; in xhci_configure_msg()
4004 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_device_init()
4065 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_device_uninit()
4100 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_device_resume()
4134 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_device_suspend()
4171 struct xhci_softc *sc = XHCI_BUS2SC(udev->bus); in xhci_device_state_change()