Searched refs:wptr (Results 1 - 24 of 24) sorted by relevance

/freebsd-11-stable/sys/dev/sfxge/common/
H A Dsiena_sram.c88 unsigned int wptr; local
114 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) {
115 func(wptr, B_FALSE, &qword);
116 EFX_BAR_TBL_WRITEQ(enp, FR_AZ_BUF_HALF_TBL, wptr, &qword);
118 if ((wptr - rptr) < 64 && wptr < rows - 1)
123 for (; rptr <= wptr; ++rptr) {
136 for (wptr
[all...]
H A Def10_rx.c688 uint32_t wptr; local
692 wptr = EFX_P2ALIGN(unsigned int, added, EF10_RX_WPTR_ALIGN);
693 if (pushed == wptr)
696 *pushedp = wptr;
699 wptr &= erp->er_mask;
701 EFX_POPULATE_DWORD_1(dword, ERF_DZ_RX_DESC_WPTR, wptr);
705 wptr, pushed & erp->er_mask);
H A Def10_tx.c499 unsigned int wptr; local
505 wptr = added & etp->et_mask;
522 /* Push the descriptor and update the wptr. */
523 EFX_POPULATE_OWORD_3(oword, ERF_DZ_TX_DESC_WPTR, wptr,
529 wptr, id);
537 * Only update the wptr. This is signalled to the hardware by
540 EFX_POPULATE_OWORD_1(oword, ERF_DZ_TX_DESC_WPTR, wptr);
545 wptr, id);
H A Defx_tx.c797 uint32_t wptr; local
802 wptr = added & etp->et_mask;
804 EFX_POPULATE_OWORD_1(oword, FRF_AZ_TX_DESC_WPTR, wptr);
812 wptr, pushed & etp->et_mask);
H A Defx_rx.c1053 uint32_t wptr; local
1061 wptr = added & erp->er_mask;
1063 EFX_POPULATE_OWORD_1(oword, FRF_AZ_RX_DESC_WPTR, wptr);
1071 wptr, pushed & erp->er_mask);
/freebsd-11-stable/lib/libedit/
H A Dtokenizer.c78 Char *wptr, *wmax; /* Space and limit on the word buffer */ local
96 *tok->wptr = '\0';
97 if ((tok->flags & TOK_KEEP) || tok->wptr != tok->wstart) {
100 tok->wstart = ++tok->wptr;
139 tok->wptr = tok->wspace;
156 tok->wptr = tok->wspace;
208 co = (int)(tok->wptr - tok->wstart);
226 *tok->wptr++ = *ptr;
230 *tok->wptr++ = *ptr;
235 *tok->wptr
[all...]
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dmkdirp.c146 wchar_t *wptr; /* scratch pointer */ local
187 for (wptr = wcPath, i = 0; i < wcPathlen; i++) {
188 *wptr++ = wcPath[i];
201 *wptr = '\0';
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dadd-random-users.c49 char *wbuf = NULL, *wptr = NULL, *wend = NULL; local
64 if (wptr + len + 1 >= wend) {
65 wptr = wbuf = emalloc (WORDBUF_SIZE);
68 memmove (wptr, buf, len + 1);
69 w[n++] = wptr;
70 wptr += len + 1;
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_wr.h39 #define Q_EMPTY(rptr,wptr) ((rptr)==(wptr))
40 #define Q_FULL(rptr,wptr,size_log2) ( (((wptr)-(rptr))>>(size_log2)) && \
41 ((rptr)!=(wptr)) )
43 #define Q_FREECNT(rptr,wptr,size_log2) ((1UL<<size_log2)-((wptr)-(rptr)))
44 #define Q_COUNT(rptr,wptr) ((wptr)-(rptr))
640 u32 wptr; /* id member in struct:t3_wq
661 u32 wptr; member in struct:t3_cq
[all...]
H A Diw_cxgb_hal.c471 CTR3(KTR_IW_CXGB, "%s flushing hwcq rptr 0x%x to swcq wptr 0x%x",
642 CTR6(KTR_IW_CXGB, "cxio_hal_ctrl_qp_write_mem wptr 0x%x rptr 0x%x len %d, nr_wqe %d data %p addr 0x%0x",
643 rdev_p->ctrl_qp.wptr, rdev_p->ctrl_qp.rptr, len,
647 if (Q_FULL(rdev_p->ctrl_qp.rptr, rdev_p->ctrl_qp.wptr,
651 rdev_p->ctrl_qp.wptr, rdev_p->ctrl_qp.rptr, i);
655 rdev_p->ctrl_qp.wptr,
664 wqe = (__be64 *)(rdev_p->ctrl_qp.workq + (rdev_p->ctrl_qp.wptr %
706 wqe = (__be64 *)(rdev_p->ctrl_qp.workq + (rdev_p->ctrl_qp.wptr %
709 /* wptr in the WRID[31:0] */
710 ((union t3_wrid *)(wqe+1))->id0.low = rdev_p->ctrl_qp.wptr;
743 u32 wptr; local
803 u32 wptr; local
1126 u32 wptr = Q_PTR2IDX(wq->sq_wptr, wq->sq_size_log2); local
[all...]
H A Diw_cxgb_qp.c385 idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2);
433 Q_GENBIT(qhp->wq.wptr, qhp->wq.size_log2),
441 ++(qhp->wq.wptr);
482 idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2);
495 Q_GENBIT(qhp->wq.wptr, qhp->wq.size_log2),
501 ++(qhp->wq.wptr);
545 idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2);
582 Q_GENBIT(qhp->wq.wptr, qhp->wq.size_log2), 0,
584 ++(qhp->wq.wptr);
H A Diw_cxgb_hal.h59 u32 wptr; member in struct:cxio_hal_ctrl_qp
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_ring.c295 * GPU is currently reading, and a wptr (write pointer)
299 * wptr. The GPU then starts fetching commands and executes
320 ring->ring[ring->wptr++] = v;
321 ring->wptr &= ring->ptr_mask;
368 ring->ring_free_dw -= ring->wptr;
405 ring->wptr_old = ring->wptr;
440 * Update the wptr (write pointer) to tell the GPU to
446 while (ring->wptr & ring->align_mask) {
450 WREG32(ring->wptr_reg, (ring->wptr << ring->ptr_reg_shift) & ring->ptr_reg_mask);
470 * radeon_ring_undo - reset the wptr
[all...]
H A Dr600.c2258 ring->wptr = 0;
2259 WREG32(CP_RB_WPTR, ring->wptr);
2414 ring->wptr = 0;
2415 WREG32(DMA_RB_WPTR, ring->wptr << 2);
3062 next_rptr = ring->wptr + 3 + 4;
3068 next_rptr = ring->wptr + 5 + 4;
3217 u32 next_rptr = ring->wptr + 4;
3230 while ((ring->wptr & 7) != 5)
3245 * increments the rptr. When the rptr catches up with the wptr, all the
3425 /* set rptr, wptr t
3829 u32 wptr, tmp; local
3883 u32 wptr; local
[all...]
H A Dsi.c1840 next_rptr = ring->wptr + 3 + 4 + 8;
1846 next_rptr = ring->wptr + 5 + 4 + 8;
2065 ring->wptr = 0;
2066 WREG32(CP_RB0_WPTR, ring->wptr);
2098 ring->wptr = 0;
2099 WREG32(CP_RB1_WPTR, ring->wptr);
2124 ring->wptr = 0;
2125 WREG32(CP_RB2_WPTR, ring->wptr);
3297 /* set rptr, wptr to 0 */
3404 /* set rptr, wptr t
3695 u32 wptr, tmp; local
3729 u32 wptr; local
[all...]
H A Devergreen.c1613 next_rptr = ring->wptr + 3 + 4;
1619 next_rptr = ring->wptr + 5 + 4;
1771 ring->wptr = 0;
1772 WREG32(CP_RB_WPTR, ring->wptr);
2996 u32 wptr, tmp; local
2999 wptr = le32_to_cpu(rdev->wb.wb[R600_WB_IH_WPTR_OFFSET/4]);
3001 wptr = RREG32(IH_RB_WPTR);
3003 if (wptr & RB_OVERFLOW) {
3005 * from the last not overwritten vector (wptr + 16). Hopefully
3009 wptr, rde
3020 u32 wptr; local
[all...]
H A Dni.c954 uint32_t next_rptr = ring->wptr + 3 + 4 + 8;
1179 ring->rptr = ring->wptr = 0;
1181 WREG32(ring->wptr_reg, ring->wptr);
1230 u32 next_rptr = ring->wptr + 4;
1243 while ((ring->wptr & 7) != 5)
1348 ring->wptr = 0;
1349 WREG32(DMA_RB_WPTR + reg_offset, ring->wptr << 2);
H A Dradeon.h654 unsigned wptr; member in struct:radeon_ring
1806 ring->ring[ring->wptr++] = v;
1807 ring->wptr &= ring->ptr_mask;
H A Dr100.c1169 ring->wptr = 0;
1170 WREG32(RADEON_CP_RB_WPTR, ring->wptr);
3097 seq_printf(m, "Ring wptr %u\n", r_wptr);
3099 seq_printf(m, "Indirect1 wptr %u\n", ib1_wptr);
3101 seq_printf(m, "Indirect2 wptr %u\n", ib2_wptr);
3782 u32 next_rptr = ring->wptr + 2 + 3;
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_ftp_pxy.c625 char *rptr, *wptr, cmd[6], c; local
632 wptr = f->ftps_wptr;
693 while ((*rptr++ != '\n') && (rptr < wptr))
1006 char *rptr, *wptr; local
1013 wptr = f->ftps_wptr;
1070 while ((*rptr++ != '\n') && (rptr < wptr))
1294 char *rptr, *wptr, *s; local
1480 wptr = f->ftps_wptr;
1486 len = MIN(mlen, sizeof(f->ftps_buf) - (wptr - rptr));
1489 COPYDATA(m, off, len, wptr);
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dtw.parse.c596 const Char *wptr; local
603 for (wptr = word;;) {
612 w = *wptr;
634 if (wptr[1] == 0)
671 wptr++;
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-trax-defs.h856 uint64_t wptr : 8; /**< Write pointer */ member in struct:cvmx_trax_cycles_since::cvmx_trax_cycles_since_s
858 uint64_t wptr : 8;
897 uint64_t wptr : 10; /**< Write pointer */ member in struct:cvmx_trax_cycles_since1::cvmx_trax_cycles_since1_s
899 uint64_t wptr : 10;
/freebsd-11-stable/contrib/binutils/bfd/
H A Delf64-ppc.c6615 bfd_byte *rptr, *wptr;
6653 wptr = new_contents;
6725 fdh->elf.root.u.def.value = wptr - new_contents;
6736 = (wptr - new_contents) - (rptr - sec->contents);
6738 if (wptr != rptr)
6739 memcpy (wptr, rptr, opd_ent_size);
6740 wptr += opd_ent_size;
6743 memset (wptr, '\0', 8);
6744 wptr += 8;
6771 sec->size = wptr
6611 bfd_byte *rptr, *wptr; local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c4427 uintptr_t wptr, rptr; local
4439 wptr = dtrace_loadptr(baddr +
4445 if (wptr < rptr) {
4473 count += wptr - rptr;

Completed in 535 milliseconds