Lines Matching defs:xhci

272     XHCIState *xhci;  member
425 bool xhci_get_flag(XHCIState *xhci, enum xhci_flags bit) in xhci_get_flag()
430 void xhci_set_flag(XHCIState *xhci, enum xhci_flags bit) in xhci_set_flag()
435 static uint64_t xhci_mfindex_get(XHCIState *xhci) in xhci_mfindex_get()
441 static void xhci_mfwrap_update(XHCIState *xhci) in xhci_mfwrap_update()
459 XHCIState *xhci = opaque; in xhci_mfwrap_timer() local
466 static void xhci_die(XHCIState *xhci) in xhci_die()
490 static inline void xhci_dma_read_u32s(XHCIState *xhci, dma_addr_t addr, in xhci_dma_read_u32s()
511 static inline void xhci_dma_write_u32s(XHCIState *xhci, dma_addr_t addr, in xhci_dma_write_u32s()
533 static XHCIPort *xhci_lookup_port(XHCIState *xhci, struct USBPort *uport) in xhci_lookup_port()
555 static void xhci_intr_update(XHCIState *xhci, int v) in xhci_intr_update()
577 static void xhci_intr_raise(XHCIState *xhci, int v) in xhci_intr_raise()
602 static inline int xhci_running(XHCIState *xhci) in xhci_running()
607 static void xhci_write_event(XHCIState *xhci, XHCIEvent *event, int v) in xhci_write_event()
641 static void xhci_event(XHCIState *xhci, XHCIEvent *event, int v) in xhci_event()
679 static void xhci_ring_init(XHCIState *xhci, XHCIRing *ring, in xhci_ring_init()
686 static TRBType xhci_ring_fetch(XHCIState *xhci, XHCIRing *ring, XHCITRB *trb, in xhci_ring_fetch()
733 static int xhci_ring_chain_length(XHCIState *xhci, const XHCIRing *ring) in xhci_ring_chain_length()
797 static void xhci_er_reset(XHCIState *xhci, int v) in xhci_er_reset()
841 static void xhci_run(XHCIState *xhci) in xhci_run()
848 static void xhci_stop(XHCIState *xhci) in xhci_stop()
894 static int xhci_epmask_to_eps_with_streams(XHCIState *xhci, in xhci_epmask_to_eps_with_streams()
928 static void xhci_free_device_streams(XHCIState *xhci, unsigned int slotid, in xhci_free_device_streams()
940 static TRBCCode xhci_alloc_device_streams(XHCIState *xhci, unsigned int slotid, in xhci_alloc_device_streams()
1034 static void xhci_set_ep_state(XHCIState *xhci, XHCIEPContext *epctx, in xhci_set_ep_state()
1081 static XHCIEPContext *xhci_alloc_epctx(XHCIState *xhci, in xhci_alloc_epctx()
1121 static TRBCCode xhci_enable_ep(XHCIState *xhci, unsigned int slotid, in xhci_enable_ep()
1215 static int xhci_ep_nuke_xfers(XHCIState *xhci, unsigned int slotid, in xhci_ep_nuke_xfers()
1255 static TRBCCode xhci_disable_ep(XHCIState *xhci, unsigned int slotid, in xhci_disable_ep()
1292 static TRBCCode xhci_stop_ep(XHCIState *xhci, unsigned int slotid, in xhci_stop_ep()
1329 static TRBCCode xhci_reset_ep(XHCIState *xhci, unsigned int slotid, in xhci_reset_ep()
1378 static TRBCCode xhci_set_ep_dequeue(XHCIState *xhci, unsigned int slotid, in xhci_set_ep_dequeue()
1432 XHCIState *xhci = xfer->epctx->xhci; in xhci_xfer_create_sgl() local
1491 XHCIState *xhci = xfer->epctx->xhci; in xhci_xfer_report() local
1566 XHCIState *xhci = epctx->xhci; in xhci_stall_ep() local
1675 static int xhci_fire_ctl_transfer(XHCIState *xhci, XHCITransfer *xfer) in xhci_fire_ctl_transfer()
1728 static void xhci_calc_intr_kick(XHCIState *xhci, XHCITransfer *xfer, in xhci_calc_intr_kick()
1739 static void xhci_calc_iso_kick(XHCIState *xhci, XHCITransfer *xfer, in xhci_calc_iso_kick()
1761 static void xhci_check_intr_iso_kick(XHCIState *xhci, XHCITransfer *xfer, in xhci_check_intr_iso_kick()
1776 static int xhci_submit(XHCIState *xhci, XHCITransfer *xfer, XHCIEPContext *epctx) in xhci_submit()
1828 static int xhci_fire_transfer(XHCIState *xhci, XHCITransfer *xfer, XHCIEPContext *epctx) in xhci_fire_transfer()
1835 static void xhci_kick_ep(XHCIState *xhci, unsigned int slotid, in xhci_kick_ep()
1860 static bool xhci_slot_ok(XHCIState *xhci, int slotid) in xhci_slot_ok()
1869 XHCIState *xhci = epctx->xhci; in xhci_kick_epctx() local
2026 static TRBCCode xhci_enable_slot(XHCIState *xhci, unsigned int slotid) in xhci_enable_slot()
2037 static TRBCCode xhci_disable_slot(XHCIState *xhci, unsigned int slotid) in xhci_disable_slot()
2057 static USBPort *xhci_lookup_uport(XHCIState *xhci, uint32_t *slot_ctx) in xhci_lookup_uport()
2085 static TRBCCode xhci_address_slot(XHCIState *xhci, unsigned int slotid, in xhci_address_slot()
2191 static TRBCCode xhci_configure_slot(XHCIState *xhci, unsigned int slotid, in xhci_configure_slot()
2291 static TRBCCode xhci_evaluate_slot(XHCIState *xhci, unsigned int slotid, in xhci_evaluate_slot()
2359 static TRBCCode xhci_reset_slot(XHCIState *xhci, unsigned int slotid) in xhci_reset_slot()
2388 static unsigned int xhci_get_slot(XHCIState *xhci, XHCIEvent *event, XHCITRB *trb) in xhci_get_slot()
2405 static void xhci_detach_slot(XHCIState *xhci, USBPort *uport) in xhci_detach_slot()
2426 static TRBCCode xhci_get_port_bandwidth(XHCIState *xhci, uint64_t pctx) in xhci_get_port_bandwidth()
2464 static void xhci_process_commands(XHCIState *xhci) in xhci_process_commands()
2689 XHCIState *xhci = XHCI(dev); in xhci_reset() local
2735 XHCIState *xhci = ptr; in xhci_cap_read() local
2892 XHCIState *xhci = ptr; in xhci_oper_read() local
2935 XHCIState *xhci = XHCI(ptr); in xhci_oper_write() local
3004 XHCIState *xhci = ptr; in xhci_runtime_read() local
3051 XHCIState *xhci = ptr; in xhci_runtime_write() local
3125 XHCIState *xhci = ptr; in xhci_doorbell_write() local
3208 XHCIState *xhci = usbport->opaque; in xhci_attach() local
3216 XHCIState *xhci = usbport->opaque; in xhci_detach() local
3225 XHCIState *xhci = usbport->opaque; in xhci_wakeup() local
3254 XHCIState *xhci = container_of(bus, XHCIState, bus); in xhci_child_detach() local
3298 XHCIState *xhci = container_of(bus, XHCIState, bus); in xhci_wakeup_endpoint() local
3315 static void usb_xhci_init(XHCIState *xhci) in usb_xhci_init()
3365 XHCIState *xhci = XHCI(dev); in usb_xhci_realize() local
3419 XHCIState *xhci = XHCI(dev); in usb_xhci_unrealize() local
3447 XHCIState *xhci = opaque; in usb_xhci_post_load() local