/drivers/media/platform/ |
D | fsl-viu.c | 126 struct viu_reg __iomem *vr; member 242 struct viu_reg __iomem *vr = dev->vr; in viu_start_dma() local 247 iowrite32be(SOFT_RST, &vr->status_cfg); in viu_start_dma() 248 iowrite32be(INT_FIELD_EN, &vr->status_cfg); in viu_start_dma() 253 struct viu_reg __iomem *vr = dev->vr; in viu_stop_dma() local 257 iowrite32be(0, &vr->status_cfg); in viu_stop_dma() 260 status_cfg = ioread32be(&vr->status_cfg); in viu_stop_dma() 262 iowrite32be(status_cfg & 0x3f0000, &vr->status_cfg); in viu_stop_dma() 266 status_cfg = ioread32be(&vr->status_cfg); in viu_stop_dma() 273 iowrite32be(SOFT_RST, &vr->status_cfg); in viu_stop_dma() [all …]
|
/drivers/infiniband/hw/cxgb4/ |
D | device.c | 802 if (rdev->lldi.vr->qp.start != rdev->lldi.vr->cq.start || in c4iw_rdev_open() 803 rdev->lldi.vr->qp.size != rdev->lldi.vr->cq.size) { in c4iw_rdev_open() 805 pci_name(rdev->lldi.pdev), rdev->lldi.vr->qp.start, in c4iw_rdev_open() 806 rdev->lldi.vr->qp.size, rdev->lldi.vr->cq.size, in c4iw_rdev_open() 807 rdev->lldi.vr->cq.size); in c4iw_rdev_open() 824 pci_name(rdev->lldi.pdev), rdev->lldi.vr->stag.start, in c4iw_rdev_open() 825 rdev->lldi.vr->stag.size, c4iw_num_stags(rdev), in c4iw_rdev_open() 826 rdev->lldi.vr->pbl.start, in c4iw_rdev_open() 827 rdev->lldi.vr->pbl.size, rdev->lldi.vr->rq.start, in c4iw_rdev_open() 828 rdev->lldi.vr->rq.size, in c4iw_rdev_open() [all …]
|
D | resource.c | 43 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() 308 pbl_start = rdev->lldi.vr->pbl.start; in c4iw_pblpool_create() 309 pbl_chunk = rdev->lldi.vr->pbl.size; in c4iw_pblpool_create() 395 if (rdev->lldi.vr->srq.size) in c4iw_rqtpool_create() 398 rqt_start = rdev->lldi.vr->rq.start + skip; in c4iw_rqtpool_create() 399 rqt_chunk = rdev->lldi.vr->rq.size - skip; in c4iw_rqtpool_create() [all …]
|
D | provider.c | 275 props->max_qp = dev->rdev.lldi.vr->qp.size / 2; in c4iw_query_device() 276 props->max_srq = dev->rdev.lldi.vr->srq.size; in c4iw_query_device() 287 props->max_cq = dev->rdev.lldi.vr->qp.size; in c4iw_query_device()
|
D | iw_cxgb4.h | 76 #define PBL_OFF(rdev_p, a) ((a) - (rdev_p)->lldi.vr->pbl.start) 77 #define RQT_OFF(rdev_p, a) ((a) - (rdev_p)->lldi.vr->rq.start) 205 return (int)(rdev->lldi.vr->stag.size >> 5); in c4iw_num_stags() 920 return infop->vr->ocq.size > 0; in ocqp_supported()
|
D | mem.c | 333 (rdev->lldi.vr->stag.start >> 5), in write_tpt_entry() 352 pbl_addr, rdev->lldi.vr->pbl.start, in write_pbl()
|
D | qp.c | 122 rdev->lldi.vr->ocq.start; in alloc_oc_sq() 124 rdev->lldi.vr->ocq.start); in alloc_oc_sq() 1810 rhp->rdev.lldi.vr->rq.start); in rdma_init() 2543 wq->rqt_abs_idx = (wq->rqt_hwaddr - rdev->lldi.vr->rq.start) >> in alloc_srq_queue() 2612 rdev->lldi.vr->rq.start); in alloc_srq_queue() 2684 if (!rhp->rdev.lldi.vr->srq.size) in c4iw_create_srq()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 467 struct mlxsw_sp_vr *vr; member 511 struct mlxsw_sp_vr *vr, in mlxsw_sp_fib_create() argument 519 err = ll_ops->init(mlxsw_sp, vr->id, proto); in mlxsw_sp_fib_create() 532 fib->vr = vr; in mlxsw_sp_fib_create() 761 static bool mlxsw_sp_vr_is_used(const struct mlxsw_sp_vr *vr) in mlxsw_sp_vr_is_used() argument 763 return !!vr->fib4 || !!vr->fib6 || in mlxsw_sp_vr_is_used() 764 !!vr->mr_table[MLXSW_SP_L3_PROTO_IPV4] || in mlxsw_sp_vr_is_used() 765 !!vr->mr_table[MLXSW_SP_L3_PROTO_IPV6]; in mlxsw_sp_vr_is_used() 770 struct mlxsw_sp_vr *vr; in mlxsw_sp_vr_find_unused() local 774 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vr_find_unused() [all …]
|
/drivers/platform/mellanox/ |
D | mlxbf-tmfifo.c | 301 const struct vring *vr = virtqueue_get_vring(vring->vq); in mlxbf_tmfifo_get_next_desc() local 305 if (vring->next_avail == virtio16_to_cpu(vdev, vr->avail->idx)) in mlxbf_tmfifo_get_next_desc() 311 idx = vring->next_avail % vr->num; in mlxbf_tmfifo_get_next_desc() 312 head = virtio16_to_cpu(vdev, vr->avail->ring[idx]); in mlxbf_tmfifo_get_next_desc() 313 if (WARN_ON(head >= vr->num)) in mlxbf_tmfifo_get_next_desc() 318 return &vr->desc[head]; in mlxbf_tmfifo_get_next_desc() 325 const struct vring *vr = virtqueue_get_vring(vring->vq); in mlxbf_tmfifo_release_desc() local 329 vr_idx = virtio16_to_cpu(vdev, vr->used->idx); in mlxbf_tmfifo_release_desc() 330 idx = vr_idx % vr->num; in mlxbf_tmfifo_release_desc() 331 vr->used->ring[idx].id = cpu_to_virtio32(vdev, desc - vr->desc); in mlxbf_tmfifo_release_desc() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | gddr5.c | 37 int pd, lf, xd, vh, vr, vo, l3; in nvkm_gddr5_calc() local 48 vr = ram->next->bios.ramcfg_11_02_04; in nvkm_gddr5_calc() 109 if (NOTE00(vr)) { in nvkm_gddr5_calc() 111 ram->mr[7] |= (vr & 0x03) << 8; in nvkm_gddr5_calc()
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_ddp.c | 303 if (!lldi->vr->iscsi.size) { in cxgbit_ddp_init() 316 lldi->vr->iscsi.size, lldi->iscsi_llimit, in cxgbit_ddp_init() 317 lldi->vr->iscsi.start, 2, in cxgbit_ddp_init() 318 lldi->vr->ppod_edram.start, in cxgbit_ddp_init() 319 lldi->vr->ppod_edram.size); in cxgbit_ddp_init()
|
/drivers/isdn/mISDN/ |
D | layer2.c | 914 l2->vr = 0; in l2_start_multi() 963 l2->vr = 0; in l2_restart_multi() 1018 l2->vr = 0; in l2_connected() 1109 tmp[i++] = (l2->vr << 1) | (pf ? 1 : 0); in enquiry_cr() 1111 tmp[i++] = (l2->vr << 5) | typ | (pf ? 0x10 : 0); in enquiry_cr() 1297 if (l2->vr == ns) { in l2_got_iframe() 1298 l2->vr++; in l2_got_iframe() 1300 l2->vr %= 128; in l2_got_iframe() 1302 l2->vr %= 8; in l2_got_iframe() 1482 header[i++] = l2->vr << 1; in l2_pull_iqueue() [all …]
|
D | layer2.h | 54 u_int vs, va, vr; member
|
/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_hw.c | 163 num_key_ctx = (lldi->vr->key.size / TLS_KEY_CONTEXT_SZ); in chtls_init_kmap() 173 cdev->kmap.start = lldi->vr->key.start; in chtls_init_kmap()
|
D | chtls_main.c | 280 if (lldi->vr->key.size) in chtls_uld_add()
|
/drivers/video/fbdev/ |
D | tgafb.c | 425 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/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 2158 if (!lldi->vr->iscsi.size) { in cxgb4i_ddp_init() 2172 lldi->vr->ppod_edram.start, lldi->vr->ppod_edram.size); in cxgb4i_ddp_init() 2175 lldi->vr->iscsi.size, lldi->iscsi_llimit, in cxgb4i_ddp_init() 2176 lldi->vr->iscsi.start, 2, in cxgb4i_ddp_init() 2177 lldi->vr->ppod_edram.start, in cxgb4i_ddp_init() 2178 lldi->vr->ppod_edram.size); in cxgb4i_ddp_init()
|
/drivers/net/ethernet/socionext/ |
D | sni_ave.c | 385 u32 major, minor, vr; in ave_hw_read_version() local 387 vr = readl(priv->base + AVE_VR); in ave_hw_read_version() 388 major = (vr & GENMASK(15, 8)) >> 8; in ave_hw_read_version() 389 minor = (vr & GENMASK(7, 0)); in ave_hw_read_version()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 427 const struct cxgb4_virt_res *vr; /* assorted HW resources */ member
|
D | cxgb4_uld.c | 606 lld->vr = &adap->vres; in uld_init()
|