HomeSort by: relevance | last modified time | path
    Searched refs:rptr (Results 1 - 25 of 59) sorted by relevancy

1 2 3

  /src/sys/external/bsd/drm2/dist/drm/amd/display/dmub/inc/
dmub_rb.h 49 uint32_t rptr; member in struct:dmub_rb
60 return (rb->wrpt == rb->rptr);
67 if (rb->wrpt >= rb->rptr)
68 data_count = rb->wrpt - rb->rptr;
70 data_count = rb->capacity - (rb->rptr - rb->wrpt);
100 uint8_t *rd_ptr = (uint8_t *)rb->base_address + rb->rptr;
115 rb->rptr += DMUB_RB_CMD_SIZE;
117 if (rb->rptr >= rb->capacity)
118 rb->rptr %= rb->capacity;
125 uint32_t rptr = rb->rptr local in function:dmub_rb_flush_pending
    [all...]
  /src/sys/dev/wscons/
wsdisplay_vcons_util.c 53 int rptr = msgbufp->msg_bufr; local in function:vcons_replay_msgbuf
60 while (rptr != msgbufp->msg_bufx) {
61 cnputc(msgbufp->msg_bufc[rptr]);
62 rptr++;
63 if (rptr >= msgbufp->msg_bufs)
64 rptr = 0;
  /src/games/rogue/
random.c 69 static long *rptr = &rntb[1]; variable in typeref:typename:long *
89 rptr = &state[0];
104 *fptr += *rptr;
108 ++rptr;
110 if (++rptr >= end_ptr) {
111 rptr = state;
  /src/common/lib/libc/stdlib/
random.c 188 * MAX_TYPES * (rptr - state) + TYPE_3 == TYPE_3.
222 * fptr and rptr are two pointers into the state info, a front and a rear
231 * (The position of the rear pointer, rptr, is really 0 (as explained above
236 static uint32_t *rptr = &randtbl[1]; variable in typeref:typename:uint32_t *
298 rptr = &state[0];
353 state[-1] = MAX_TYPES * (uint32_t)(rptr - state) + rand_type;
384 int_arg_state[0] = MAX_TYPES * (uint32_t)(rptr - state) + rand_type;
426 state[-1] = MAX_TYPES * (uint32_t)(rptr - state) + rand_type;
443 rptr = &state[rear];
481 f = fptr; r = rptr;
    [all...]
  /src/sys/arch/arm/gemini/
gemini_gmac.c 569 size_t rptr; local in function:gmac_hwqueue_sync
581 aprint_debug("gmac_hwqueue_sync(%p): entry rptr old=%u new=%u free=%u(%u)\n",
586 for (rptr = old_rptr;
587 rptr != hwq->hwq_rptr;
588 rptr = (rptr + 1) & (hwq->hwq_size - 1)) {
589 gmac_desc_t * const d = hwq->hwq_base + rptr;
592 sizeof(gmac_desc_t [hwq->hwq_qoff + rptr]),
599 sizeof(gmac_desc_t [hwq->hwq_qoff + rptr]),
604 hwq, rptr, d, d->d_desc0, d->d_desc1
623 uint16_t rptr = bus_space_read_4(hwq->hwq_iot, hwq->hwq_qrwptr_ioh, 0); local in function:gmac_hwqueue_produce
882 uint16_t rptr; local in function:gmac_hwqueue_consume
    [all...]
  /src/sys/net/
ppp-deflate.c 234 u_char *rptr, *wptr; local in function:z_compress
241 rptr = mtod(mp, u_char *);
242 proto = PPP_PROTOCOL(rptr);
267 wptr[0] = PPP_ADDRESS(rptr);
268 wptr[1] = PPP_CONTROL(rptr);
285 rptr += (proto > 0xff)? 2: 3; /* skip 1st proto byte if 0 */
286 state->strm.next_in = rptr;
287 state->strm.avail_in = mtod(mp, u_char *) + mp->m_len - rptr;
466 u_char *rptr, *wptr; local in function:z_decompress
472 rptr = mtod(mi, u_char *)
611 u_char *rptr; local in function:z_incomp
    [all...]
bsd-comp.c 467 u_char *rptr, *wptr; local in function:bsd_compress
507 rptr = mtod(mp, u_char *);
508 ent = PPP_PROTOCOL(rptr);
537 *wptr++ = PPP_ADDRESS(rptr); /* assumes the ppp header is */
538 *wptr++ = PPP_CONTROL(rptr); /* all in one mbuf */
547 rptr += PPP_HDRLEN;
555 rptr = mtod(mp, u_char *);
563 c = *rptr++;
678 u_char *rptr; local in function:bsd_incomp
686 rptr = mtod(dmsg, u_char *)
805 u_char *p, *rptr, *wptr; local in function:bsd_decompress
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_tonga_ih.c 46 * There is a rptr (read pointer) that determines where the
53 * equal again at which point it updates the rptr.
89 /* set rptr, wptr to 0 */
93 adev->irq.ih.rptr = 0;
146 /* set rptr, wptr to 0 */
210 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
211 ih->rptr = (wptr + 16) & ih->ptr_mask;
224 * Decodes the interrupt vector at the current rptr
231 /* wptr/rptr are in bytes! */
232 u32 ring_index = ih->rptr >> 2
    [all...]
amdgpu_cik_ih.c 46 * There is a rptr (read pointer) that determines where the
53 * equal again at which point it updates the rptr.
93 /* set rptr, wptr to 0 */
97 adev->irq.ih.rptr = 0;
146 /* set rptr, wptr to 0 */
206 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
207 ih->rptr = (wptr + 16) & ih->ptr_mask;
243 * Decodes the interrupt vector at the current rptr
250 /* wptr/rptr are in bytes! */
251 u32 ring_index = ih->rptr >> 2
    [all...]
amdgpu_si_ih.c 62 adev->irq.ih.rptr = 0;
120 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
121 ih->rptr = (wptr + 16) & ih->ptr_mask;
133 u32 ring_index = ih->rptr >> 2;
147 ih->rptr += 16;
153 WREG32(IH_RB_RPTR, ih->rptr);
amdgpu_vega10_ih.c 123 /* set rptr, wptr to 0 */
127 adev->irq.ih.rptr = 0;
142 /* set rptr, wptr to 0 */
146 adev->irq.ih1.rptr = 0;
163 /* set rptr, wptr to 0 */
167 adev->irq.ih2.rptr = 0;
274 /* set rptr, wptr to 0 */
303 /* set rptr, wptr to 0 */
330 /* set rptr, wptr to 0 */
414 wptr, ih->rptr, tmp)
    [all...]
amdgpu_ih.c 57 ih->rptr = 0;
66 /* add 8 bytes for the rptr/wptr shadows and
159 /* add 8 bytes for the rptr/wptr shadows and
206 DRM_DEBUG("%s: rptr %d, wptr %d\n", __func__, ih->rptr, wptr);
211 while (ih->rptr != wptr && --count) {
213 ih->rptr &= ih->ptr_mask;
221 if (wptr != ih->rptr)
amdgpu_cz_ih.c 46 * There is a rptr (read pointer) that determines where the
53 * equal again at which point it updates the rptr.
93 /* set rptr, wptr to 0 */
97 adev->irq.ih.rptr = 0;
148 /* set rptr, wptr to 0 */
208 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
209 ih->rptr = (wptr + 16) & ih->ptr_mask;
222 * Decodes the interrupt vector at the current rptr
229 /* wptr/rptr are in bytes! */
230 u32 ring_index = ih->rptr >> 2
    [all...]
amdgpu_iceland_ih.c 46 * There is a rptr (read pointer) that determines where the
53 * equal again at which point it updates the rptr.
93 /* set rptr, wptr to 0 */
97 adev->irq.ih.rptr = 0;
148 /* set rptr, wptr to 0 */
208 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
209 ih->rptr = (wptr + 16) & ih->ptr_mask;
222 * Decodes the interrupt vector at the current rptr
229 /* wptr/rptr are in bytes! */
230 u32 ring_index = ih->rptr >> 2
    [all...]
amdgpu_navi10_ih.c 74 /* set rptr, wptr to 0 */
78 adev->irq.ih.rptr = 0;
152 /* set rptr, wptr to 0 */
237 wptr, ih->rptr, tmp);
238 ih->rptr = tmp;
253 * Decodes the interrupt vector at the current rptr
260 /* wptr/rptr are in bytes! */
261 u32 ring_index = ih->rptr >> 2;
287 /* wptr/rptr are in bytes! */
288 ih->rptr += 32
    [all...]
amdgpu_ih.h 60 unsigned rptr; member in struct:amdgpu_ih_ring
  /src/usr.sbin/rbootd/
defs.h 101 #define EnetStr(rptr) GetEtherAddr(&(rptr)->rmp.hp_hdr.saddr[0])
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_ring.c 46 * There is a rptr (read pointer) that determines where the
89 uint32_t rptr = radeon_ring_get_rptr(rdev, ring); local in function:radeon_ring_free_size
92 ring->ring_free_dw = rptr + (ring->ring_size / 4);
241 * Update the last rptr value and timestamp (all asics).
258 uint32_t rptr = radeon_ring_get_rptr(rdev, ring); local in function:radeon_ring_test_lockup
262 if (rptr != atomic_read(&ring->last_rptr)) {
312 /* no way to read back the next rptr */
378 * @rptr_offs: offset of the rptr writeback location in the WB buffer
477 uint32_t rptr, wptr, rptr_next; local in function:radeon_debugfs_ring_info
487 rptr = radeon_ring_get_rptr(rdev, ring)
    [all...]
radeon_ni_dma.c 56 * Get the current rptr from the hardware (cayman+).
61 u32 rptr, reg; local in function:cayman_dma_get_rptr
64 rptr = rdev->wb.wb[ring->rptr_offs/4];
71 rptr = RREG32(reg);
74 return (rptr & 0x3fffc) >> 2;
radeon_r600_dma.c 54 * Get the current rptr from the hardware (r6xx+).
59 u32 rptr; local in function:r600_dma_get_rptr
62 rptr = rdev->wb.wb[ring->rptr_offs/4];
64 rptr = RREG32(DMA_RB_RPTR);
66 return (rptr & 0x3fffc) >> 2;
  /src/sys/external/bsd/ipf/netinet/
ip_ftp_pxy.c 597 char *rptr, *wptr, cmd[6], c; local in function:ipf_p_ftp_client
603 rptr = f->ftps_rptr;
607 c = rptr[i];
665 while ((*rptr++ != '\n') && (rptr < wptr))
667 f->ftps_rptr = rptr;
956 char *rptr, *wptr; local in function:ipf_p_ftp_server
962 rptr = f->ftps_rptr;
965 DT2(ftp_server_response, char *, rptr, int, ftp->ftp_passok);
966 if (*rptr == ' '
1230 char *rptr, *wptr, *s; local in function:ipf_p_ftp_process
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/qxl/
qxl_object.c 175 void *rptr; local in function:qxl_bo_kmap_atomic_page
191 rptr = bo->kptr + (page_offset * PAGE_SIZE);
192 return rptr;
195 ret = qxl_bo_kmap(bo, &rptr);
199 rptr += page_offset * PAGE_SIZE;
200 return rptr;
  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_kernel_queue.c 237 uint32_t wptr, rptr; local in function:kq_acquire_packet_buffer
241 /* When rptr == wptr, the buffer is empty.
242 * When rptr == wptr + 1, the buffer is full.
243 * It is always rptr that advances to the position of wptr, rather than
246 rptr = *kq->rptr_kernel;
252 pr_debug("rptr: %d\n", rptr);
256 available_size = (rptr + queue_size_dwords - 1 - wptr) %
271 if (packet_size_in_dwords >= rptr)
  /src/sys/arch/alpha/alpha/
interrupt.c 383 badaddr_read(void *addr, size_t size, void *rptr)
436 if (rptr && rv == 0) {
439 *(volatile uint8_t *)rptr = rcpt;
443 *(volatile uint16_t *)rptr = rcpt;
447 *(volatile uint32_t *)rptr = rcpt;
451 *(volatile uint64_t *)rptr = rcpt;
  /src/sys/dev/pci/
emuxkivar.h 141 void *rptr; /* rec MI ptr */ member in struct:emuxki_softc

Completed in 25 milliseconds

1 2 3