/drivers/video/fbdev/ |
H A D | maxinefb.c | 77 unsigned char *rptr; local 80 rptr = regs + 0x80000 + (regno << 4); 81 j = *((volatile unsigned short *) rptr);
|
/drivers/gpu/drm/radeon/ |
H A D | ni_dma.c | 51 * Get the current rptr from the hardware (cayman+). 56 u32 rptr, reg; local 59 rptr = rdev->wb.wb[ring->rptr_offs/4]; 66 rptr = RREG32(reg); 69 return (rptr & 0x3fffc) >> 2;
|
H A D | r600_dma.c | 49 * Get the current rptr from the hardware (r6xx+). 54 u32 rptr; local 57 rptr = rdev->wb.wb[ring->rptr_offs/4]; 59 rptr = RREG32(DMA_RB_RPTR); 61 return (rptr & 0x3fffc) >> 2;
|
H A D | radeon_ring.c | 37 * There is a rptr (read pointer) that determines where the 80 uint32_t rptr = radeon_ring_get_rptr(rdev, ring); local 83 ring->ring_free_dw = rptr + (ring->ring_size / 4); 232 * Update the last rptr value and timestamp (all asics). 249 uint32_t rptr = radeon_ring_get_rptr(rdev, ring); local 253 if (rptr != atomic_read(&ring->last_rptr)) { 303 /* no way to read back the next rptr */ 369 * @rptr_offs: offset of the rptr writeback location in the WB buffer 468 uint32_t rptr, wptr, rptr_next; local 478 rptr [all...] |
H A D | radeon_vce.c | 708 uint32_t rptr = vce_v1_0_get_rptr(rdev, ring); local 722 if (vce_v1_0_get_rptr(rdev, ring) != rptr)
|
H A D | cik_sdma.c | 61 * Get the current rptr from the hardware (CIK+). 66 u32 rptr, reg; local 69 rptr = rdev->wb.wb[ring->rptr_offs/4]; 76 rptr = RREG32(reg); 79 return (rptr & 0x3fffc) >> 2;
|
H A D | ni.c | 1425 u32 rptr; local 1428 rptr = rdev->wb.wb[ring->rptr_offs/4]; 1431 rptr = RREG32(CP_RB0_RPTR); 1433 rptr = RREG32(CP_RB1_RPTR); 1435 rptr = RREG32(CP_RB2_RPTR); 1438 return rptr;
|
H A D | r600.c | 2540 u32 rptr; local 2543 rptr = rdev->wb.wb[ring->rptr_offs/4]; 2545 rptr = RREG32(R600_CP_RB_RPTR); 2547 return rptr; 2717 DRM_ERROR("failed to get scratch reg for rptr save (%d).\n", r); 3346 * increments the rptr. When the rptr catches up with the wptr, all the 3359 rdev->ih.rptr = 0; 3495 /* set rptr, wptr to 0 */ 3499 rdev->ih.rptr 3976 u32 rptr; local [all...] |
/drivers/gpu/drm/msm/adreno/ |
H A D | adreno_gpu.c | 73 gpu_write(gpu, REG_AXXX_CP_RB_RPTR_ADDR, rbmemptr(adreno_gpu, rptr)); 107 adreno_gpu->memptrs->rptr = 0; 205 if (spin_until(adreno_gpu->memptrs->rptr == wptr)) 224 seq_printf(m, "rptr: %d\n", adreno_gpu->memptrs->rptr); 260 printk("rptr: %d\n", adreno_gpu->memptrs->rptr); 283 uint32_t rptr = adreno_gpu->memptrs->rptr; local 284 return (rptr [all...] |
H A D | adreno_gpu.h | 54 volatile uint32_t rptr; member in struct:adreno_rbmemptrs 73 /* ringbuffer rptr/wptr: */
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_object.c | 148 void *rptr; local 166 rptr = bo->kptr + (page_offset * PAGE_SIZE); 167 return rptr; 170 ret = qxl_bo_kmap(bo, &rptr); 174 rptr += page_offset * PAGE_SIZE; 175 return rptr;
|
/drivers/net/ppp/ |
H A D | ppp_deflate.c | 49 static int z_compress(void *state, unsigned char *rptr, 180 * @rptr: uncompressed packet (input) 188 static int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, argument 198 proto = PPP_PROTOCOL(rptr); 212 wptr[0] = PPP_ADDRESS(rptr); 213 wptr[1] = PPP_CONTROL(rptr); 224 rptr += off; 225 state->strm.next_in = rptr;
|
H A D | bsd_comp.c | 184 static int bsd_compress (void *state, unsigned char *rptr, 563 static int bsd_compress (void *state, unsigned char *rptr, unsigned char *obuf, argument 615 ent = PPP_PROTOCOL(rptr); 641 *wptr++ = PPP_ADDRESS(rptr); 642 *wptr++ = PPP_CONTROL(rptr); 650 rptr += PPP_HDRLEN; 656 c = *rptr++;
|
/drivers/infiniband/hw/cxgb3/ |
H A D | cxio_hal.h | 69 u32 rptr; member in struct:cxio_hal_ctrl_qp
|
H A D | cxio_hal.c | 76 u32 rptr; local 92 if (Q_PTR2IDX((cq->rptr), cq->size_log2) != ret) { 95 rptr = cq->rptr; 98 * Keep the generation correct by bumping rptr until it 101 while (Q_PTR2IDX((rptr+1), cq->size_log2) != ret) 102 rptr++; 105 * Now rptr is the index for the (last) cqe that was 109 cqe = cq->queue + Q_PTR2IDX(rptr, cq->size_log2); 110 while (!CQ_VLD_ENTRY(rptr, c 1119 u32 rptr = wq->oldest_read - wq->sq + 1; local [all...] |
H A D | iwch_provider.c | 263 if (cqe < Q_COUNT(chp->cq.rptr, chp->cq.wptr)) { 320 u32 rptr; local 329 if (get_user(rptr, chp->user_rptr_addr)) 332 chp->cq.rptr = rptr; 335 PDBG("%s rptr 0x%x\n", __func__, chp->cq.rptr);
|
/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 314 u32 rptr = wq->sq.oldest_read - wq->sq.sw_sq + 1; local 316 if (rptr == wq->sq.size) 317 rptr = 0; 318 while (rptr != wq->sq.pidx) { 319 wq->sq.oldest_read = &wq->sq.sw_sq[rptr]; 323 if (++rptr == wq->sq.size) 324 rptr = 0;
|
/drivers/i2c/busses/ |
H A D | i2c-cpm.c | 313 int rptr; local 335 rptr = 0; 347 dev_dbg(&adap->dev, "R: %d T: %d\n", rptr, tptr); 349 cpm_i2c_parse_message(adap, pmsg, num, tptr, rptr); 351 rptr++; 364 rptr = 0; 373 !(in_be16(&rbdf[rptr].cbd_sc) & BD_SC_EMPTY), 386 ret = cpm_i2c_check_message(adap, pmsg, tptr, rptr); 389 rptr++;
|
/drivers/isdn/i4l/ |
H A D | isdn_bsdcomp.c | 466 unsigned char *rptr = skb_in->data; local 512 c = *rptr++;
|
/drivers/net/ethernet/sgi/ |
H A D | meth.c | 482 unsigned long rptr = (int_status&TX_INFO_RPTR) >> 16; local 490 while (priv->tx_read != rptr) { 495 DPRINTK("Auchi! tx_read=%d,tx_write=%d,rptr=%d?\n", priv->tx_read, priv->tx_write,rptr);
|
/drivers/s390/net/ |
H A D | ctcm_mpc.c | 131 char *ptr, *rptr; local 143 rptr = ptr = buf; 148 for (ct = 0; ct < len; ct++, ptr++, rptr++) { 151 sprintf(addr, "%16.16llx", (__u64)rptr); 153 sprintf(addr, "%8.8X", (__u32)rptr);
|
/drivers/staging/media/lirc/ |
H A D | lirc_parallel.c | 84 static unsigned int rptr; variable 211 if (nwptr == rptr) { 338 if (rptr != wptr) { 339 if (copy_to_user(buf+count, (char *) &rbuf[rptr], 344 rptr = (rptr + 1) & (RBUF_SIZE - 1); 457 if (rptr != wptr) 523 rptr = 0;
|
/drivers/mmc/host/ |
H A D | s3cmci.c | 1487 struct s3cmci_reg *rptr = debug_regs; local 1489 for (; rptr->name; rptr++) 1490 seq_printf(seq, "SDI%s\t=0x%08x\n", rptr->name, 1491 readl(host->base + rptr->addr));
|
/drivers/parisc/ |
H A D | sba_iommu.c | 202 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); local 207 rptr, pide & (BITS_PER_LONG - 1), *rptr); 233 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */ local 237 while (rptr < rptr_end) { 238 u32 rval = *rptr; 258 rptr++; /* look at next word of res_map */
|
/drivers/tty/ |
H A D | moxa.c | 275 u16 rptr, wptr, mask, len; local 278 rptr = readw(ofsAddr + RXrptr); 281 len = (wptr - rptr) & mask; 1997 u16 rptr, wptr, mask; local 1999 rptr = readw(ofsAddr + TXrptr); 2002 return (wptr - rptr) & mask; 2008 u16 rptr, wptr, mask; local 2010 rptr = readw(ofsAddr + TXrptr); 2013 return mask - ((wptr - rptr) & mask); 2019 u16 rptr, wpt local [all...] |