/freebsd-12-stable/sys/dev/sfxge/common/ |
H A D | siena_sram.c | 90 unsigned int wptr; local 116 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { 117 func(wptr, B_FALSE, &qword); 118 EFX_BAR_TBL_WRITEQ(enp, FR_AZ_BUF_HALF_TBL, wptr, &qword); 120 if ((wptr - rptr) < 64 && wptr < rows - 1) 125 for (; rptr <= wptr; ++rptr) { 138 for (wptr [all...] |
H A D | ef10_rx.c | 688 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 D | ef10_tx.c | 499 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 D | efx_rx.c | 1055 uint32_t wptr; local 1063 wptr = added & erp->er_mask; 1065 EFX_POPULATE_OWORD_1(oword, FRF_AZ_RX_DESC_WPTR, wptr); 1073 wptr, pushed & erp->er_mask);
|
H A D | efx_tx.c | 799 uint32_t wptr; local 804 wptr = added & etp->et_mask; 806 EFX_POPULATE_OWORD_1(oword, FRF_AZ_TX_DESC_WPTR, wptr); 814 wptr, pushed & etp->et_mask);
|
/freebsd-12-stable/contrib/libedit/ |
H A D | tokenizer.c | 89 Char *wptr, *wmax; /* Space and limit on the word buffer */ local 107 *tok->wptr = '\0'; 108 if ((tok->flags & TOK_KEEP) || tok->wptr != tok->wstart) { 111 tok->wstart = ++tok->wptr; 150 tok->wptr = tok->wspace; 167 tok->wptr = tok->wspace; 219 co = (int)(tok->wptr - tok->wstart); 237 *tok->wptr++ = *ptr; 241 *tok->wptr++ = *ptr; 246 *tok->wptr [all...] |
/freebsd-12-stable/cddl/compat/opensolaris/misc/ |
H A D | mkdirp.c | 146 wchar_t *wptr; /* scratch pointer */ local 187 for (wptr = wcPath, i = 0; i < wcPathlen; i++) { 188 *wptr++ = wcPath[i]; 201 *wptr = '\0';
|
/freebsd-12-stable/crypto/heimdal/kadmin/ |
H A D | add-random-users.c | 49 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-12-stable/sys/dev/drm2/radeon/ |
H A D | radeon_ring.c | 295 * 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 D | r600.c | 2258 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 D | si.c | 1840 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 D | evergreen.c | 1613 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 D | ni.c | 954 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 D | radeon.h | 654 unsigned wptr; member in struct:radeon_ring 1806 ring->ring[ring->wptr++] = v; 1807 ring->wptr &= ring->ptr_mask;
|
H A D | r100.c | 1169 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-12-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_ftp_pxy.c | 625 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-12-stable/contrib/tcsh/ |
H A D | tw.parse.c | 596 const Char *wptr; local 603 for (wptr = word;;) { 612 w = *wptr; 634 if (wptr[1] == 0) 671 wptr++;
|
/freebsd-12-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-trax-defs.h | 856 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-12-stable/contrib/binutils/bfd/ |
H A D | elf64-ppc.c | 6615 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-12-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 4556 uintptr_t wptr, rptr; local 4568 wptr = dtrace_loadptr(baddr + 4574 if (wptr < rptr) { 4602 count += wptr - rptr;
|