Home
last modified time | relevance | path

Searched refs:xd (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_usba.c63 xhci_device_t *xd; in xhci_hcdi_pipe_open() local
106 xd = usba_hcdi_get_device_private(ph->p_usba_device); in xhci_hcdi_pipe_open()
107 if (xd == NULL) { in xhci_hcdi_pipe_open()
122 xep = xd->xd_endpoints[epid]; in xhci_hcdi_pipe_open()
127 ret = xhci_endpoint_update_default(xhcip, xd, xep); in xhci_hcdi_pipe_open()
140 VERIFY(xd->xd_addressed == B_TRUE); in xhci_hcdi_pipe_open()
146 if ((xep = xd->xd_endpoints[epid]) != NULL && in xhci_hcdi_pipe_open()
152 "port %d, but endpoint already exists", epid, xd->xd_slot, in xhci_hcdi_pipe_open()
153 xd->xd_port); in xhci_hcdi_pipe_open()
162 if ((ret = xhci_endpoint_reopen(xhcip, xd, xep, ph) != 0)) { in xhci_hcdi_pipe_open()
[all …]
H A Dxhci_endpoint.c42 xhci_input_context_sync(xhci_t *xhcip, xhci_device_t *xd, xhci_endpoint_t *xep) in xhci_input_context_sync() argument
44 XHCI_DMA_SYNC(xd->xd_ictx, DDI_DMA_SYNC_FORDEV); in xhci_input_context_sync()
45 if (xhci_check_dma_handle(xhcip, &xd->xd_ictx) != DDI_FM_OK) { in xhci_input_context_sync()
49 "DMA memory", xd->xd_slot, xd->xd_port, xep->xep_num); in xhci_input_context_sync()
129 xhci_endpoint_unconfigure(xhci_t *xhcip, xhci_device_t *xd, in xhci_endpoint_unconfigure() argument
151 mutex_enter(&xd->xd_imtx); in xhci_endpoint_unconfigure()
152 xd->xd_input->xic_drop_flags = in xhci_endpoint_unconfigure()
154 xd->xd_input->xic_add_flags = LE_32(XHCI_INCTX_MASK_DCI(0)); in xhci_endpoint_unconfigure()
155 ret = xhci_input_context_sync(xhcip, xd, xep); in xhci_endpoint_unconfigure()
164 ret = xhci_command_configure_endpoint(xhcip, xd); in xhci_endpoint_unconfigure()
[all …]
H A Dxhci_command.c548 xhci_command_set_address(xhci_t *xhcip, xhci_device_t *xd, boolean_t bsr) in xhci_command_set_address() argument
554 VERIFY(xd != NULL); in xhci_command_set_address()
557 co.xco_req.trb_addr = LE_64(xhci_dma_pa(&xd->xd_ictx)); in xhci_command_set_address()
560 XHCI_TRB_SET_SLOT(xd->xd_slot)); in xhci_command_set_address()
584 xhci_command_configure_endpoint(xhci_t *xhcip, xhci_device_t *xd) in xhci_command_configure_endpoint() argument
590 VERIFY(xd != NULL); in xhci_command_configure_endpoint()
593 co.xco_req.trb_addr = LE_64(xhci_dma_pa(&xd->xd_ictx)); in xhci_command_configure_endpoint()
596 XHCI_TRB_SET_SLOT(xd->xd_slot)); in xhci_command_configure_endpoint()
611 "slot not on, likely driver bug!", xd->xd_slot); in xhci_command_configure_endpoint()
632 xhci_command_evaluate_context(xhci_t *xhcip, xhci_device_t *xd) in xhci_command_evaluate_context() argument
[all …]
H A Dxhci_context.c214 xhci_context_slot_output_init(xhci_t *xhcip, xhci_device_t *xd) in xhci_context_slot_output_init() argument
217 VERIFY(xd->xd_slot > 0 && in xhci_context_slot_output_init()
218 xd->xd_slot <= xhcip->xhci_caps.xcap_max_slots); in xhci_context_slot_output_init()
220 xhcip->xhci_dcbaa.xdc_base_addrs[xd->xd_slot] = in xhci_context_slot_output_init()
221 LE_64(xhci_dma_pa(&xd->xd_octx)); in xhci_context_slot_output_init()
226 "synchronizing DCBAA slot DMA memory", xd->xd_slot, in xhci_context_slot_output_init()
227 xd->xd_port); in xhci_context_slot_output_init()
236 xhci_context_slot_output_fini(xhci_t *xhcip, xhci_device_t *xd) in xhci_context_slot_output_fini() argument
239 VERIFY(xd->xd_slot > 0 && in xhci_context_slot_output_fini()
240 xd->xd_slot <= xhcip->xhci_caps.xcap_max_slots); in xhci_context_slot_output_fini()
[all …]
H A Dxhci_polled.c105 xhci_device_t *xd; in xhci_polled_get_endpoint() local
110 xd = xhci_device_lookup_by_slot(xhcip, slot); in xhci_polled_get_endpoint()
111 if (xd == NULL) in xhci_polled_get_endpoint()
118 return (xd->xd_endpoints[endpoint - 1]); in xhci_polled_get_endpoint()
126 xhci_device_t *xd = xep->xep_xd; in xhci_polled_endpoint_transfer() local
160 "DMA memory", xhcip, xep->xep_num, xd->xd_slot, in xhci_polled_endpoint_transfer()
161 xd->xd_port); in xhci_polled_endpoint_transfer()
185 sched_err = xhci_endpoint_schedule(xhcip, xd, xep, xt, B_TRUE); in xhci_polled_endpoint_transfer()
H A Dxhci_dma.c565 xhci_transfer_calculate_isoc(xhci_device_t *xd, xhci_endpoint_t *xep, in xhci_transfer_calculate_isoc() argument
577 mps = XHCI_EPCTX_GET_MPS(xd->xd_endout[xep->xep_num]->xec_info2); in xhci_transfer_calculate_isoc()
578 burst = XHCI_EPCTX_GET_MAXB(xd->xd_endout[xep->xep_num]->xec_info2); in xhci_transfer_calculate_isoc()
/illumos-gate/usr/src/cmd/mdb/intel/modules/xhci/
H A Dxhci.c543 xhci_device_t xd; in xhci_mdb_walk_xhci_device_step() local
545 if (mdb_vread(&xd, sizeof (xd), wsp->walk_addr) != sizeof (xd)) { in xhci_mdb_walk_xhci_device_step()
550 return (wsp->walk_callback(wsp->walk_addr, &xd, wsp->walk_cbdata)); in xhci_mdb_walk_xhci_device_step()
557 xhci_device_t *xd; in xhci_mdb_walk_xhci_endpoint_init() local
566 xd = &xm->xmwe_device; in xhci_mdb_walk_xhci_endpoint_init()
567 if (mdb_vread(xd, sizeof (*xd), wsp->walk_addr) != sizeof (*xd)) { in xhci_mdb_walk_xhci_endpoint_init()
634 const xhci_device_t *xd = data; in xhci_mdb_find_device_cb() local
637 if (xd->xd_slot == xmf->xmf_slot) { in xhci_mdb_find_device_cb()
718 const xhci_device_t *xd = arg; in xhci_mdb_print_endpoint_summary() local
726 (uintptr_t)xd->xd_endout[xep->xep_num]) != sizeof (epctx)) { in xhci_mdb_print_endpoint_summary()
[all …]
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Ddraw.c68 int xd, yd; in drawline() local
81 xd = dx / DX; in drawline()
83 if (xd == 0) { in drawline()
96 numdots = abs (xd); in drawline()
97 motincr = DX * sgn (xd); in drawline()
106 if (abs (xd) > abs (yd)) { in drawline()
107 val = slope = (float) xd/yd; in drawline()
108 numdots = abs (xd); in drawline()
112 motincr = DX * sgn (xd); in drawline()
116 val = slope = (float) yd/xd; in drawline()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_jfs.c109 u32 xd, ioffset; in di_read() local
115 xd = (inum & (INOSPERIAG - 1)) >> L2INOSPEREXT; in di_read()
122 3072 + xd*sizeof(pxd_t), sizeof(pxd_t), (char *)&pxd); in di_read()
161 pxd_t *xd; in first_dentry() local
176 xd = &((idtentry_t *)dtr->slot)[(int)dtr->header.stbl[0]].xd; in first_dentry()
178 devread (addressPXD (xd) << jfs.bdlog, 0, in first_dentry()
182 xd = &de[(int)((s8 *)&de[(int)dtpage->header.stblindex])[0]].xd; in first_dentry()
H A Djfs.h294 pxd_t xd; /* 8: child extent descriptor */ member
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c1791 stmf_xfer_data_t *xd = NULL; in stmf_ic_rx_scsi_data() local
1839 asz = xd_sz + sizeof (*xd) - 4; in stmf_ic_rx_scsi_data()
1840 xd = (stmf_xfer_data_t *)kmem_zalloc(asz, KM_NOSLEEP); in stmf_ic_rx_scsi_data()
1842 if (xd == NULL) { in stmf_ic_rx_scsi_data()
1848 xd->alloc_size = asz; in stmf_ic_rx_scsi_data()
1849 xd->size_left = xd_sz; in stmf_ic_rx_scsi_data()
1850 bcopy(msg->icsd_data, xd->buf, xd_sz); in stmf_ic_rx_scsi_data()
1852 sz = min(sz, xd->size_left); in stmf_ic_rx_scsi_data()
1853 xd->size_left = sz; in stmf_ic_rx_scsi_data()
1859 kmem_free(xd, xd->alloc_size); in stmf_ic_rx_scsi_data()
[all …]
H A Dlun_map.c247 stmf_xfer_data_t *xd; in stmf_session_prepare_report_lun_data() local
261 xd = (stmf_xfer_data_t *)kmem_zalloc(alloc_size, KM_NOSLEEP); in stmf_session_prepare_report_lun_data()
263 if (xd == NULL) in stmf_session_prepare_report_lun_data()
266 xd->alloc_size = alloc_size; in stmf_session_prepare_report_lun_data()
267 xd->size_left = data_size; in stmf_session_prepare_report_lun_data()
269 *((uint32_t *)xd->buf) = BE_32(data_size - 8); in stmf_session_prepare_report_lun_data()
271 return (xd); in stmf_session_prepare_report_lun_data()
276 buf = (uchar_t *)xd + offsetof(stmf_xfer_data_t, buf); in stmf_session_prepare_report_lun_data()
288 return (xd); in stmf_session_prepare_report_lun_data()
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Ddiv.c5 static int xd = 1 / 0; variable
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A D32.prefetch.out5 libdis_test+0xd: 0f 0d 49 08 prefetchw 0x8(%ecx)
H A D64.adx.out4 libdis_test+0xd: 66 48 0f 38 f6 13 adcx (%rbx),%rdx
H A D64.vmx.out5 libdis_test+0xd: 0f 78 18 vmread %rbx,(%rax)
H A D32.ssse3.out4 libdis_test+0xd: 66 0f 38 1c 08 pabsb (%eax),%xmm1
H A D64.ssse3.out4 libdis_test+0xd: 66 0f 38 1c 08 pabsb (%rax),%xmm1
H A D32.opmask.out4 libdis_test+0xd: c4 e1 ec 4a d9 kaddq %k1,%k2,%k3
H A D64.opmask.out4 libdis_test+0xd: c4 e1 ec 4a d9 kaddq %k1,%k2,%k3
H A D32.avx.out4 libdis_test+0xd: c5 f5 58 d0 vaddpd %ymm0,%ymm1,%ymm2
238 libdis_test+0x4a6: c5 f1 c2 d0 0d vcmppd $0xd,%xmm0,%xmm1,%xmm2
239 libdis_test+0x4ab: c5 e1 c2 20 0d vcmppd $0xd,(%eax),%xmm3,%xmm4
240 libdis_test+0x4b0: c5 d1 c2 71 42 0d vcmppd $0xd,0x42(%ecx),%xmm5,%xmm6
241 libdis_test+0x4b6: c5 f5 c2 d0 0d vcmppd $0xd,%ymm0,%ymm1,%ymm2
242 libdis_test+0x4bb: c5 e5 c2 23 0d vcmppd $0xd,(%ebx),%ymm3,%ymm4
243 libdis_test+0x4c0: c5 d5 c2 72 42 0d vcmppd $0xd,0x42(%edx),%ymm5,%ymm6
244 libdis_test+0x4c6: c5 f0 c2 d0 0d vcmpps $0xd,%xmm0,%xmm1,%xmm2
245 libdis_test+0x4cb: c5 e0 c2 20 0d vcmpps $0xd,(%eax),%xmm3,%xmm4
246 libdis_test+0x4d0: c5 d0 c2 71 42 0d vcmpps $0xd,0x42(%ecx),%xmm5,%xmm6
[all …]
H A D64.avx.out4 libdis_test+0xd: c5 f5 58 d0 vaddpd %ymm0,%ymm1,%ymm2
238 libdis_test+0x4a6: c5 f1 c2 d0 0d vcmppd $0xd,%xmm0,%xmm1,%xmm2
239 libdis_test+0x4ab: c5 e1 c2 20 0d vcmppd $0xd,(%rax),%xmm3,%xmm4
240 libdis_test+0x4b0: c5 d1 c2 71 42 0d vcmppd $0xd,0x42(%rcx),%xmm5,%xmm6
241 libdis_test+0x4b6: c5 f5 c2 d0 0d vcmppd $0xd,%ymm0,%ymm1,%ymm2
242 libdis_test+0x4bb: c5 e5 c2 23 0d vcmppd $0xd,(%rbx),%ymm3,%ymm4
243 libdis_test+0x4c0: c5 d5 c2 72 42 0d vcmppd $0xd,0x42(%rdx),%ymm5,%ymm6
244 libdis_test+0x4c6: c5 f0 c2 d0 0d vcmpps $0xd,%xmm0,%xmm1,%xmm2
245 libdis_test+0x4cb: c5 e0 c2 20 0d vcmpps $0xd,(%rax),%xmm3,%xmm4
246 libdis_test+0x4d0: c5 d0 c2 71 42 0d vcmpps $0xd,0x42(%rcx),%xmm5,%xmm6
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz.c782 uint8_t *xd = xbuf; in vdev_raidz_reconst_pq_func() local
786 i++, rpq->p++, rpq->q++, rpq->pxy++, rpq->qxy++, xd++, yd++) { in vdev_raidz_reconst_pq_func()
787 *xd = vdev_raidz_exp2(*rpq->p ^ *rpq->pxy, rpq->aexp) ^ in vdev_raidz_reconst_pq_func()
789 *yd = *rpq->p ^ *rpq->pxy ^ *xd; in vdev_raidz_reconst_pq_func()
799 uint8_t *xd = xbuf; in vdev_raidz_reconst_pq_tail_func() local
802 i++, rpq->p++, rpq->q++, rpq->pxy++, rpq->qxy++, xd++) { in vdev_raidz_reconst_pq_tail_func()
804 *xd = vdev_raidz_exp2(*rpq->p ^ *rpq->pxy, rpq->aexp) ^ in vdev_raidz_reconst_pq_tail_func()
906 abd_t *xd, *yd; in vdev_raidz_reconstruct_pq() local
943 xd = rm->rm_col[x].rc_abd; in vdev_raidz_reconstruct_pq()
970 (void) abd_iterate_func2(xd, yd, 0, 0, ysize, in vdev_raidz_reconstruct_pq()
[all …]
H A Dvdev_raidz_math_impl.h124 gf_t nx, ny, nz, nxx, nyy, nzz, nyyz, nyzz, xd, yd; in raidz_rec_pqr_coeff() local
137 xd = gf_mul(nxx, ny) ^ gf_mul(nx, nyy) ^ nyyz ^ in raidz_rec_pqr_coeff()
142 coeff[MUL_PQR_XP] = gf_div(nyyz ^ nyzz, xd); in raidz_rec_pqr_coeff()
143 coeff[MUL_PQR_XQ] = gf_div(nyy ^ nzz, xd); in raidz_rec_pqr_coeff()
144 coeff[MUL_PQR_XR] = gf_div(ny ^ nz, xd); in raidz_rec_pqr_coeff()
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/
H A DREADME171 hid1: Index = 65 value =0xd
183 hid1: Index = 77 value =0xd
307 hid1: Index = 201 value =0xd
471 hidparser: scanner: aindex = 0xd
473 hidparser: scanner: index = 0xd ch = 0x26
479 hidparser: hidparser_GlobalItem:index = 0xd token = 0x24
721 hidparser: scanner: parsed_text[0] = 0xd,index = 0x41
757 hidparser: scanner: parsed_text[0] = 0xd,index = 0x4d
1193 hidparser: scanner: parsed_text[0] = 0xd,index = 0xc9
1557 0x29, 0xd, /* Usage Maximum (0xd) */
[all …]

12