Home
last modified time | relevance | path

Searched refs:vr (Results 1 – 16 of 16) sorted by relevance

/drivers/media/platform/
Dfsl-viu.c171 struct viu_reg *vr; member
285 struct viu_reg *vr = dev->vr; in viu_start_dma() local
290 out_be32(&vr->status_cfg, SOFT_RST); in viu_start_dma()
291 out_be32(&vr->status_cfg, INT_FIELD_EN); in viu_start_dma()
296 struct viu_reg *vr = dev->vr; in viu_stop_dma() local
300 out_be32(&vr->status_cfg, 0); in viu_stop_dma()
303 status_cfg = in_be32(&vr->status_cfg); in viu_stop_dma()
305 out_be32(&vr->status_cfg, status_cfg & 0x3f0000); in viu_stop_dma()
309 status_cfg = in_be32(&vr->status_cfg); in viu_stop_dma()
316 out_be32(&vr->status_cfg, SOFT_RST); in viu_stop_dma()
[all …]
/drivers/infiniband/hw/cxgb4/
Dresource.c43 rdev->lldi.vr->qp.start, in c4iw_init_qid_table()
44 rdev->lldi.vr->qp.size, in c4iw_init_qid_table()
45 rdev->lldi.vr->qp.size, 0)) in c4iw_init_qid_table()
48 for (i = rdev->lldi.vr->qp.start; in c4iw_init_qid_table()
49 i < rdev->lldi.vr->qp.start + rdev->lldi.vr->qp.size; i++) in c4iw_init_qid_table()
282 pbl_start = rdev->lldi.vr->pbl.start; in c4iw_pblpool_create()
283 pbl_chunk = rdev->lldi.vr->pbl.size; in c4iw_pblpool_create()
355 rqt_start = rdev->lldi.vr->rq.start; in c4iw_rqtpool_create()
356 rqt_chunk = rdev->lldi.vr->rq.size; in c4iw_rqtpool_create()
421 start = rdev->lldi.vr->ocq.start; in c4iw_ocqp_pool_create()
[all …]
Ddevice.c534 __func__, pci_name(rdev->lldi.pdev), rdev->lldi.vr->stag.start, in c4iw_rdev_open()
535 rdev->lldi.vr->stag.size, c4iw_num_stags(rdev), in c4iw_rdev_open()
536 rdev->lldi.vr->pbl.start, in c4iw_rdev_open()
537 rdev->lldi.vr->pbl.size, rdev->lldi.vr->rq.start, in c4iw_rdev_open()
538 rdev->lldi.vr->rq.size, in c4iw_rdev_open()
539 rdev->lldi.vr->qp.start, in c4iw_rdev_open()
540 rdev->lldi.vr->qp.size, in c4iw_rdev_open()
541 rdev->lldi.vr->cq.start, in c4iw_rdev_open()
542 rdev->lldi.vr->cq.size); in c4iw_rdev_open()
558 rdev->stats.stag.total = rdev->lldi.vr->stag.size; in c4iw_rdev_open()
[all …]
Diw_cxgb4.h73 #define PBL_OFF(rdev_p, a) ((a) - (rdev_p)->lldi.vr->pbl.start)
74 #define RQT_OFF(rdev_p, a) ((a) - (rdev_p)->lldi.vr->rq.start)
162 return min((int)T4_MAX_NUM_STAG, (int)(rdev->lldi.vr->stag.size >> 5)); in c4iw_num_stags()
822 return infop->vr->ocq.size > 0; in ocqp_supported()
Dmem.c296 (rdev->lldi.vr->stag.start >> 5), in write_tpt_entry()
314 __func__, pbl_addr, rdev->lldi.vr->pbl.start, in write_pbl()
Dqp.c96 rdev->lldi.vr->ocq.start; in alloc_oc_sq()
98 rdev->lldi.vr->ocq.start); in alloc_oc_sq()
1179 rhp->rdev.lldi.vr->rq.start); in rdma_init()
/drivers/dma/
Ddmatest.c127 struct dmatest_verify_result *vr; member
264 static unsigned int dmatest_verify(struct dmatest_verify_result *vr, u8 **bufs, in dmatest_verify() argument
282 if (error_count < MAX_ERROR_COUNT && vr) { in dmatest_verify()
283 vb = &vr->data[error_count]; in dmatest_verify()
336 static char *verify_result_get_one(struct dmatest_verify_result *vr, in verify_result_get_one() argument
339 struct dmatest_verify_buffer *vb = &vr->data[i]; in verify_result_get_one()
340 u8 diff = vb->actual ^ vr->pattern; in verify_result_get_one()
344 if (vr->is_srcbuf) in verify_result_get_one()
346 else if ((vr->pattern & PATTERN_COPY) in verify_result_get_one()
419 struct dmatest_verify_result *vr; in verify_result_add() local
[all …]
/drivers/isdn/hisax/
Disdnl2.c702 st->l2.vr = 0; in l2_start_multi()
749 st->l2.vr = 0; in l2_restart_multi()
805 st->l2.vr = 0; in l2_connected()
890 tmp[i++] = (l2->vr << 1) | (pf ? 1 : 0); in enquiry_cr()
892 tmp[i++] = (l2->vr << 5) | typ | (pf ? 0x10 : 0); in enquiry_cr()
1084 } else if (l2->vr == ns) { in l2_got_iframe()
1085 (l2->vr)++; in l2_got_iframe()
1087 l2->vr %= 128; in l2_got_iframe()
1089 l2->vr %= 8; in l2_got_iframe()
1291 header[i++] = l2->vr << 1; in l2_pull_iqueue()
[all …]
Dhisax.h256 u_int vs, va, vr; member
/drivers/isdn/mISDN/
Dlayer2.h63 u_int vs, va, vr; member
Dlayer2.c924 l2->vr = 0; in l2_start_multi()
973 l2->vr = 0; in l2_restart_multi()
1028 l2->vr = 0; in l2_connected()
1119 tmp[i++] = (l2->vr << 1) | (pf ? 1 : 0); in enquiry_cr()
1121 tmp[i++] = (l2->vr << 5) | typ | (pf ? 0x10 : 0); in enquiry_cr()
1307 if (l2->vr == ns) { in l2_got_iframe()
1308 l2->vr++; in l2_got_iframe()
1310 l2->vr %= 128; in l2_got_iframe()
1312 l2->vr %= 8; in l2_got_iframe()
1504 header[i++] = l2->vr << 1; in l2_pull_iqueue()
[all …]
/drivers/media/usb/usbvision/
Dusbvision-video.c726 void *priv, struct v4l2_requestbuffers *vr) in vidioc_reqbufs() argument
731 RESTRICT_TO_RANGE(vr->count, 1, USBVISION_NUMFRAMES); in vidioc_reqbufs()
735 if (vr->memory != V4L2_MEMORY_MMAP) in vidioc_reqbufs()
746 vr->count = usbvision_frames_alloc(usbvision, vr->count); in vidioc_reqbufs()
/drivers/video/
Dtgafb.c425 min_diff = delta, vm = m, va = a, vr = r; \
433 int r,a,m,vm = 34, va = 1, vr = 30; local
496 vr--;
503 TGA_WRITE_REG(par, (vr >> r) & 1, TGA_CLOCK_REG);
504 TGA_WRITE_REG(par, ((vr >> 7) & 1)|2, TGA_CLOCK_REG);
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h220 const struct cxgb4_virt_res *vr; /* assorted HW resources */ member
Dcxgb4_main.c3669 lli.vr = &adap->vres; in uld_attach()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1407 err = cxgbi_ddp_init(cdev, lldi->vr->iscsi.start, in cxgb4i_ddp_init()
1408 lldi->vr->iscsi.start + lldi->vr->iscsi.size - 1, in cxgb4i_ddp_init()