Lines Matching refs:xhci_softc
144 static int xhci_intr1(struct xhci_softc * const);
164 static usbd_status xhci_stop_endpoint_cmd(struct xhci_softc *,
171 static usbd_status xhci_do_command(struct xhci_softc * const,
173 static usbd_status xhci_do_command_locked(struct xhci_softc * const,
176 static void xhci_free_slot(struct xhci_softc *, struct xhci_slot *);
178 static usbd_status xhci_enable_slot(struct xhci_softc * const,
180 static usbd_status xhci_disable_slot(struct xhci_softc * const, uint8_t);
181 static usbd_status xhci_address_device(struct xhci_softc * const,
183 static void xhci_set_dcba(struct xhci_softc * const, uint64_t, int);
184 static usbd_status xhci_update_ep0_mps(struct xhci_softc * const,
186 static usbd_status xhci_ring_init(struct xhci_softc * const,
188 static void xhci_ring_free(struct xhci_softc * const,
288 xhci_read_1(const struct xhci_softc * const sc, bus_size_t offset)
294 xhci_read_2(const struct xhci_softc * const sc, bus_size_t offset)
300 xhci_read_4(const struct xhci_softc * const sc, bus_size_t offset)
306 xhci_write_1(const struct xhci_softc * const sc, bus_size_t offset,
314 xhci_write_4(const struct xhci_softc * const sc, bus_size_t offset,
322 xhci_cap_read_4(const struct xhci_softc * const sc, bus_size_t offset)
328 xhci_op_read_4(const struct xhci_softc * const sc, bus_size_t offset)
334 xhci_op_write_4(const struct xhci_softc * const sc, bus_size_t offset,
341 xhci_op_read_8(const struct xhci_softc * const sc, bus_size_t offset)
357 xhci_op_write_8(const struct xhci_softc * const sc, bus_size_t offset,
371 xhci_rt_read_4(const struct xhci_softc * const sc, bus_size_t offset)
377 xhci_rt_write_4(const struct xhci_softc * const sc, bus_size_t offset,
384 xhci_rt_read_8(const struct xhci_softc * const sc, bus_size_t offset)
400 xhci_rt_write_8(const struct xhci_softc * const sc, bus_size_t offset,
415 xhci_db_read_4(const struct xhci_softc * const sc, bus_size_t offset)
422 xhci_db_write_4(const struct xhci_softc * const sc, bus_size_t offset,
478 xhci_slot_get_dcv(struct xhci_softc * const sc, struct xhci_slot * const xs,
486 xhci_slot_get_dcp(struct xhci_softc * const sc, struct xhci_slot * const xs,
494 xhci_slot_get_icv(struct xhci_softc * const sc, struct xhci_slot * const xs,
501 xhci_slot_get_icp(struct xhci_softc * const sc, struct xhci_slot * const xs,
555 xhci_get_epstate(struct xhci_softc * const sc, struct xhci_slot * const xs,
566 xhci_ctlrport2bus(struct xhci_softc * const sc, unsigned int ctlrport)
578 xhci_ctlrport2rhport(struct xhci_softc * const sc, unsigned int ctrlport)
588 xhci_rhport2ctlrport(struct xhci_softc * const sc, unsigned int bn,
600 struct xhci_softc * const sc = device_private(self);
612 xhci_detach(struct xhci_softc *sc, int flags)
674 struct xhci_softc * const sc = device_private(self);
688 struct xhci_softc * const sc = device_private(self);
914 struct xhci_softc * const sc = device_private(self);
1142 xhci_hc_reset(struct xhci_softc * const sc)
1200 xhci_id_protocols(struct xhci_softc *sc, bus_size_t ecp)
1268 xhci_ecp(struct xhci_softc *sc)
1365 xhci_start(struct xhci_softc *sc)
1383 xhci_init(struct xhci_softc *sc)
1696 xhci_polling_p(struct xhci_softc * const sc)
1704 struct xhci_softc * const sc = v;
1744 xhci_intr1(struct xhci_softc * const sc)
1855 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
1913 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
1941 xhci_stop_endpoint_cmd(struct xhci_softc *sc, struct xhci_slot *xs, u_int dci,
1967 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
1990 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
2027 struct xhci_softc * const sc = XHCI_BUS2SC(dev->ud_bus);
2114 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
2191 struct xhci_softc * const sc = XHCI_XFER2SC(xfer);
2228 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
2278 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
2327 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
2345 xhci_rhpsc(struct xhci_softc * const sc, u_int ctlrport)
2379 xhci_event_transfer(struct xhci_softc * const sc,
2561 xhci_event_cmd(struct xhci_softc * const sc, const struct xhci_trb * const trb)
2598 xhci_handle_event(struct xhci_softc * const sc,
2648 struct xhci_softc * const sc = XHCI_BUS2SC(bus);
2708 struct xhci_softc * const sc = XHCI_BUS2SC(bus);
2725 struct xhci_softc * const sc = XHCI_BUS2SC(bus);
2752 struct xhci_softc * const sc = XHCI_BUS2SC(bus);
2776 struct xhci_softc * const sc = XHCI_BUS2SC(bus);
2784 struct xhci_softc * const sc = XHCI_BUS2SC(bus);
2810 struct xhci_softc * const sc = XHCI_BUS2SC(bus);
3020 xhci_ring_init(struct xhci_softc * const sc, struct xhci_ring **xrp,
3052 xhci_ring_free(struct xhci_softc * const sc, struct xhci_ring ** const xr)
3066 xhci_ring_put(struct xhci_softc * const sc, struct xhci_ring * const xr,
3174 xhci_ring_put_xfer(struct xhci_softc * const sc, struct xhci_ring * const tr,
3186 xhci_abort_command(struct xhci_softc *sc)
3229 xhci_do_command_locked(struct xhci_softc * const sc,
3305 xhci_do_command(struct xhci_softc * const sc, struct xhci_soft_trb * const trb,
3317 xhci_enable_slot(struct xhci_softc * const sc, uint8_t * const slotp)
3345 xhci_disable_slot(struct xhci_softc * const sc, uint8_t slot)
3383 xhci_address_device(struct xhci_softc * const sc,
3413 xhci_update_ep0_mps(struct xhci_softc * const sc,
3445 xhci_set_dcba(struct xhci_softc * const sc, uint64_t dcba, int si)
3465 struct xhci_softc * const sc = XHCI_BUS2SC(dev->ud_bus);
3502 xhci_free_slot(struct xhci_softc *sc, struct xhci_slot *xs)
3526 struct xhci_softc * const sc = XHCI_BUS2SC(dev->ud_bus);
3558 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
3647 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
3853 struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
4038 struct xhci_softc * const sc = XHCI_BUS2SC(bus);
4305 struct xhci_softc *sc = XHCI_BUS2SC(bus);
4330 struct xhci_softc * const sc = XHCI_XFER2SC(xfer);
4350 struct xhci_softc * const sc = XHCI_XFER2SC(xfer);
4374 struct xhci_softc * const sc __diagused = XHCI_PIPE2SC(pipe);
4392 struct xhci_softc * const sc = XHCI_XFER2SC(xfer);
4420 struct xhci_softc * const sc = XHCI_XFER2SC(xfer);
4551 struct xhci_softc * const sc = XHCI_XFER2SC(xfer);
4701 struct xhci_softc * const sc = XHCI_XFER2SC(xfer);
4824 struct xhci_softc * const sc = XHCI_XFER2SC(xfer);
4890 struct xhci_softc * const sc __diagused = XHCI_XFER2SC(xfer);
4910 struct xhci_softc * const sc __diagused = XHCI_XFER2SC(xfer);
4922 //struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);