/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_ring.c | 115 xhci_ring_free(xhci_ring_t *xrp) in xhci_ring_free() argument 117 if (xrp->xr_trb != NULL) { in xhci_ring_free() 118 xhci_dma_free(&xrp->xr_dma); in xhci_ring_free() 119 xrp->xr_trb = NULL; in xhci_ring_free() 121 xrp->xr_ntrb = 0; in xhci_ring_free() 122 xrp->xr_head = 0; in xhci_ring_free() 123 xrp->xr_tail = 0; in xhci_ring_free() 124 xrp->xr_cycle = 0; in xhci_ring_free() 132 xhci_ring_reset(xhci_t *xhcip, xhci_ring_t *xrp) in xhci_ring_reset() argument 136 ASSERT(xrp->xr_trb != NULL); in xhci_ring_reset() [all …]
|
H A D | xhci_event.c | 187 xhci_ring_t *xrp = &xhcip->xhci_event.xev_ring; in xhci_event_process() local 213 XHCI_DMA_SYNC(xrp->xr_dma, DDI_DMA_SYNC_FORKERNEL); in xhci_event_process() 214 if (xhci_check_dma_handle(xhcip, &xrp->xr_dma) != DDI_FM_OK) { in xhci_event_process() 224 for (nevents = 0; nevents < xrp->xr_ntrb; nevents++) { in xhci_event_process() 227 if ((trb = xhci_ring_event_advance(xrp)) == NULL) in xhci_event_process() 234 addr = xhci_dma_pa(&xrp->xr_dma) + sizeof (xhci_trb_t) * xrp->xr_tail; in xhci_event_process()
|
H A D | xhci_command.c | 314 xhci_ring_t *xrp = &xcr->xcr_ring; in xhci_command_event_callback() local 342 if (xhci_ring_trb_tail_valid(xrp, LE_64(trb->trb_addr)) == B_FALSE) { in xhci_command_event_callback() 367 if (xhci_ring_trb_consumed(xrp, LE_64(trb->trb_addr)) == B_FALSE) { in xhci_command_event_callback() 403 xhci_ring_t *xrp = &xcr->xcr_ring; in xhci_command_submit() local 407 while (xhci_ring_trb_space(xrp, 1U) == B_FALSE || in xhci_command_submit() 412 xhci_ring_trb_put(xrp, &xco->xco_req); in xhci_command_submit() 420 XHCI_DMA_SYNC(xrp->xr_dma, DDI_DMA_SYNC_FORDEV); in xhci_command_submit() 421 if (xhci_check_dma_handle(xhcip, &xrp->xr_dma) != DDI_FM_OK) { in xhci_command_submit() 738 xhci_ring_t *xrp; in xhci_command_set_tr_dequeue() local 746 xrp = &xep->xep_ring; in xhci_command_set_tr_dequeue() [all …]
|
H A D | xhci_polled.c | 198 xhci_ring_t *xrp = &xhcip->xhci_event.xev_ring; in xhci_polled_event_process() local 208 XHCI_DMA_SYNC(xrp->xr_dma, DDI_DMA_SYNC_FORKERNEL); in xhci_polled_event_process() 212 for (nevents = 0; nevents < xrp->xr_ntrb; nevents++) { in xhci_polled_event_process() 217 if ((trb = xhci_ring_event_advance(xrp)) == NULL) in xhci_polled_event_process() 254 addr = xhci_dma_pa(&xrp->xr_dma) + sizeof (xhci_trb_t) * xrp->xr_tail; in xhci_polled_event_process()
|
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | xregs.c | 88 xregs_setptr(klwp_id_t lwp, ucontext_t *uc, caddr_t xrp) in xregs_setptr() argument 91 uc->uc_mcontext.xrs.xrs_ptr = xrp; in xregs_setptr() 122 xregs_setptr32(klwp_id_t lwp, ucontext32_t *uc, caddr32_t xrp) in xregs_setptr32() argument 125 uc->uc_mcontext.xrs.xrs_ptr = xrp; in xregs_setptr32() 150 xregs_getgregs(klwp_id_t lwp, caddr_t xrp) in xregs_getgregs() argument 152 prxregset_t *xregs = (prxregset_t *)xrp; in xregs_getgregs() 180 xregs_getgfiller(lwp, xrp); in xregs_getgregs() 188 xregs_getfpregs(klwp_id_t lwp, caddr_t xrp) in xregs_getfpregs() argument 190 prxregset_t *xregs = (prxregset_t *)xrp; in xregs_getfpregs() 228 xregs_getfpfiller(lwp, xrp); in xregs_getfpregs() [all …]
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | archsystm.h | 88 extern void xregs_getgfiller(struct _klwp *lwp, caddr_t xrp); 89 extern void xregs_setgfiller(struct _klwp *lwp, caddr_t xrp); 90 extern void xregs_getfpfiller(struct _klwp *lwp, caddr_t xrp); 91 extern void xregs_setfpfiller(struct _klwp *lwp, caddr_t xrp);
|
H A D | procfs_isa.h | 261 #define PRXREG_GSR(xrp) (*(uint64_t *)((xrp)->pr_un.pr_v8p.pr_filler)) argument
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | machdep.c | 291 xregs_getgfiller(klwp_id_t lwp, caddr_t xrp) in xregs_getgfiller() argument 303 xregs_getfpfiller(klwp_id_t lwp, caddr_t xrp) in xregs_getfpfiller() argument 305 prxregset_t *xregs = (prxregset_t *)xrp; in xregs_getfpfiller() 334 xregs_setgfiller(klwp_id_t lwp, caddr_t xrp) in xregs_setgfiller() argument 344 xregs_setfpfiller(klwp_id_t lwp, caddr_t xrp) in xregs_setfpfiller() argument 346 prxregset_t *xregs = (prxregset_t *)xrp; in xregs_setfpfiller()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_xprt.c | 1450 const fmd_xprt_rule_t *xrp; in fmd_xprt_recv() local 1610 for (xrp = xip->xi_state; xrp->xr_class != NULL; xrp++) { in fmd_xprt_recv() 1611 if (fmd_event_match(e, FMD_EVT_PROTOCOL, xrp->xr_class)) { in fmd_xprt_recv() 1613 xrp->xr_func(xip, nvl); in fmd_xprt_recv()
|
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | fmdump.c | 391 const fmd_log_record_t *xrp = rp->rec_xrefs; in xref_iter() local 395 for (i = 0; rv == 0 && i < rp->rec_nrefs; i++, xrp++) { in xref_iter() 396 if (fmd_log_filter(lp, dap->da_fc, dap->da_fv, xrp)) in xref_iter() 397 rv = dap->da_fmt->do_func(lp, xrp, dap->da_fp); in xref_iter()
|