vr 793 arch/arm/common/locomo.c void locomo_frontlight_set(struct locomo_dev *dev, int duty, int vr, int bpwf) vr 798 arch/arm/common/locomo.c if (vr) vr 213 arch/arm/include/asm/hardware/locomo.h void locomo_frontlight_set(struct locomo_dev *dev, int duty, int vr, int bpwf); vr 163 arch/csky/abiv2/fpu.c fpregs = &user_fp->vr[0]; vr 225 arch/csky/abiv2/fpu.c fpregs = &user_fp->vr[0]; vr 44 arch/csky/include/uapi/asm/ptrace.h unsigned long vr[96]; vr 25 arch/csky/kernel/asm-offsets.c DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); vr 122 arch/csky/kernel/ptrace.c tmp.vr[i*4] = regs->vr[i*2]; vr 123 arch/csky/kernel/ptrace.c tmp.vr[i*4 + 1] = regs->vr[i*2 + 1]; vr 127 arch/csky/kernel/ptrace.c tmp.vr[64 + i] = regs->vr[32 + i]; vr 152 arch/csky/kernel/ptrace.c regs->vr[i*2] = tmp.vr[i*4]; vr 153 arch/csky/kernel/ptrace.c regs->vr[i*2 + 1] = tmp.vr[i*4 + 1]; vr 157 arch/csky/kernel/ptrace.c regs->vr[32 + i] = tmp.vr[64 + i]; vr 95 arch/openrisc/kernel/setup.c unsigned long vr = mfspr(SPR_VR); vr 100 arch/openrisc/kernel/setup.c version = (vr & SPR_VR_VER) >> 24; vr 101 arch/openrisc/kernel/setup.c revision = (vr & SPR_VR_REV); vr 323 arch/openrisc/kernel/setup.c unsigned int vr, cpucfgr; vr 328 arch/openrisc/kernel/setup.c vr = mfspr(SPR_VR); vr 334 arch/openrisc/kernel/setup.c if (vr & SPR_VR_UVRP) { vr 335 arch/openrisc/kernel/setup.c vr = mfspr(SPR_VR2); vr 336 arch/openrisc/kernel/setup.c version = vr & SPR_VR2_VER; vr 344 arch/openrisc/kernel/setup.c (vr & SPR_VR2_CPUID) >> 24); vr 347 arch/openrisc/kernel/setup.c version = (vr & SPR_VR_VER) >> 24; vr 349 arch/openrisc/kernel/setup.c seq_printf(m, "revision\t\t: %d\n", vr & SPR_VR_REV); vr 601 arch/powerpc/include/asm/kvm_book3s_64.h vcpu->arch.vr = vcpu->arch.vr_tm; vr 618 arch/powerpc/include/asm/kvm_book3s_64.h vcpu->arch.vr_tm = vcpu->arch.vr; vr 539 arch/powerpc/include/asm/kvm_host.h struct thread_vr_state vr; vr 833 arch/powerpc/include/asm/kvm_host.h #define VCPU_VSX_VR(vcpu, i) ((vcpu)->arch.vr.vr[i]) vr 101 arch/powerpc/include/asm/processor.h vector128 vr[32] __attribute__((aligned(16))); vr 329 arch/powerpc/include/asm/processor.h extern void load_vr_state(struct thread_vr_state *vr); vr 330 arch/powerpc/include/asm/processor.h extern void store_vr_state(struct thread_vr_state *vr); vr 490 arch/powerpc/include/asm/spu.h #define MFC_GET_VERSION_BITS(vr) (((vr) & MFC_VERSION_BITS) >> 16) vr 491 arch/powerpc/include/asm/spu.h #define MFC_GET_REVISION_BITS(vr) ((vr) & MFC_REVISION_BITS) vr 495 arch/powerpc/include/asm/spu.h #define SPU_GET_VERSION_BITS(vr) (vr & SPU_VERSION_BITS) >> 16 vr 496 arch/powerpc/include/asm/spu.h #define SPU_GET_REVISION_BITS(vr) (vr & SPU_REVISION_BITS) vr 116 arch/powerpc/kernel/asm-offsets.c OFFSET(THREAD_VRSTATE, thread_struct, vr_state.vr); vr 159 arch/powerpc/kernel/asm-offsets.c OFFSET(THREAD_CKVRSTATE, thread_struct, ckvr_state.vr); vr 441 arch/powerpc/kernel/asm-offsets.c OFFSET(VCPU_VRS, kvm_vcpu, arch.vr.vr); vr 591 arch/powerpc/kernel/asm-offsets.c OFFSET(VCPU_VRS_TM, kvm_vcpu, arch.vr_tm.vr); vr 562 arch/powerpc/kernel/ptrace.c offsetof(struct thread_vr_state, vr[32])); vr 612 arch/powerpc/kernel/ptrace.c offsetof(struct thread_vr_state, vr[32])); vr 1126 arch/powerpc/kernel/ptrace.c BUILD_BUG_ON(TVSO(vscr) != TVSO(vr[32])); vr 1188 arch/powerpc/kernel/ptrace.c BUILD_BUG_ON(TVSO(vscr) != TVSO(vr[32])); vr 917 arch/powerpc/kernel/traps.c vdst = (u8 *)¤t->thread.vr_state.vr[t]; vr 276 arch/powerpc/kernel/vecemu.c vrs = current->thread.vr_state.vr; vr 94 arch/powerpc/kvm/book3s_emulate.c memcpy(&vcpu->arch.vr_tm, &vcpu->arch.vr, vr 113 arch/powerpc/kvm/book3s_emulate.c memcpy(&vcpu->arch.vr, &vcpu->arch.vr_tm, vr 1779 arch/powerpc/kvm/book3s_hv.c val->vval = vcpu->arch.vr_tm.vr[i-32]; vr 2009 arch/powerpc/kvm/book3s_hv.c vcpu->arch.vr_tm.vr[i-32] = val->vval; vr 2040 arch/powerpc/kvm/book3s_hv.c vcpu->arch.vr.vscr.u[3] = set_reg_val(id, *val); vr 3564 arch/powerpc/kvm/book3s_hv.c load_vr_state(&vcpu->arch.vr); vr 3670 arch/powerpc/kvm/book3s_hv.c store_vr_state(&vcpu->arch.vr); vr 899 arch/powerpc/kvm/book3s_pr.c load_vr_state(&vcpu->arch.vr); vr 901 arch/powerpc/kvm/book3s_pr.c t->vr_save_area = &vcpu->arch.vr; vr 936 arch/powerpc/kvm/book3s_pr.c load_vr_state(&vcpu->arch.vr); vr 1561 arch/powerpc/kvm/book3s_pr.c val->vval = vcpu->arch.vr_tm.vr[i-32]; vr 1661 arch/powerpc/kvm/book3s_pr.c vcpu->arch.vr_tm.vr[i-32] = val->vval; vr 1692 arch/powerpc/kvm/book3s_pr.c vcpu->arch.vr.vscr.u[3] = set_reg_val(id, *val); vr 179 arch/powerpc/kvm/booke.c load_vr_state(&vcpu->arch.vr); vr 181 arch/powerpc/kvm/booke.c current->thread.vr_save_area = &vcpu->arch.vr; vr 1691 arch/powerpc/kvm/powerpc.c val.vval = vcpu->arch.vr.vr[reg->id - KVM_REG_PPC_VR0]; vr 1698 arch/powerpc/kvm/powerpc.c val = get_reg_val(reg->id, vcpu->arch.vr.vscr.u[3]); vr 1742 arch/powerpc/kvm/powerpc.c vcpu->arch.vr.vr[reg->id - KVM_REG_PPC_VR0] = val.vval; vr 1749 arch/powerpc/kvm/powerpc.c vcpu->arch.vr.vscr.u[3] = set_reg_val(reg->id, val); vr 579 arch/powerpc/lib/sstep.c current->thread.vr_state.vr[rn] = u.v; vr 602 arch/powerpc/lib/sstep.c u.v = current->thread.vr_state.vr[rn]; vr 842 arch/powerpc/lib/sstep.c current->thread.vr_state.vr[reg - 32] = buf.v; vr 873 arch/powerpc/lib/sstep.c buf.v = current->thread.vr_state.vr[reg - 32]; vr 62 arch/s390/include/asm/nmi.h u64 vr : 1; /* 25 vector register validity */ vr 247 arch/s390/include/asm/vx-insn.h .macro VGBM vr imm2 vr 344 arch/s390/include/asm/vx-insn.h .macro VLGV gr, vr, disp, base="%r0", m vr 352 arch/s390/include/asm/vx-insn.h .macro VLGVB gr, vr, disp, base="%r0" vr 355 arch/s390/include/asm/vx-insn.h .macro VLGVH gr, vr, disp, base="%r0" vr 358 arch/s390/include/asm/vx-insn.h .macro VLGVF gr, vr, disp, base="%r0" vr 361 arch/s390/include/asm/vx-insn.h .macro VLGVG gr, vr, disp, base="%r0" vr 242 arch/s390/kernel/nmi.c if (!mci.vr) { vr 588 arch/s390/kvm/interrupt.c if (!rc && mci.vr && ext_sa_addr && test_kvm_facility(vcpu->kvm, 129)) { vr 591 arch/s390/kvm/interrupt.c mci.vr = 0; vr 593 arch/s390/kvm/interrupt.c mci.vr = 0; vr 316 arch/x86/kernel/cpu/mtrr/generic.c get_mtrr_var_range(unsigned int index, struct mtrr_var_range *vr) vr 318 arch/x86/kernel/cpu/mtrr/generic.c rdmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); vr 319 arch/x86/kernel/cpu/mtrr/generic.c rdmsr(MTRRphysMask_MSR(index), vr->mask_lo, vr->mask_hi); vr 326 arch/x86/kernel/cpu/mtrr/generic.c struct mtrr_var_range *vr; vr 328 arch/x86/kernel/cpu/mtrr/generic.c vr = mtrr_state.var_ranges; vr 330 arch/x86/kernel/cpu/mtrr/generic.c vr[index].base_lo = base_lo; vr 331 arch/x86/kernel/cpu/mtrr/generic.c vr[index].base_hi = base_hi; vr 332 arch/x86/kernel/cpu/mtrr/generic.c vr[index].mask_lo = mask_lo; vr 333 arch/x86/kernel/cpu/mtrr/generic.c vr[index].mask_hi = mask_hi; vr 658 arch/x86/kernel/cpu/mtrr/generic.c static bool set_mtrr_var_ranges(unsigned int index, struct mtrr_var_range *vr) vr 664 arch/x86/kernel/cpu/mtrr/generic.c if ((vr->base_lo & 0xfffff0ffUL) != (lo & 0xfffff0ffUL) vr 665 arch/x86/kernel/cpu/mtrr/generic.c || (vr->base_hi & (size_and_mask >> (32 - PAGE_SHIFT))) != vr 668 arch/x86/kernel/cpu/mtrr/generic.c mtrr_wrmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); vr 674 arch/x86/kernel/cpu/mtrr/generic.c if ((vr->mask_lo & 0xfffff800UL) != (lo & 0xfffff800UL) vr 675 arch/x86/kernel/cpu/mtrr/generic.c || (vr->mask_hi & (size_and_mask >> (32 - PAGE_SHIFT))) != vr 677 arch/x86/kernel/cpu/mtrr/generic.c mtrr_wrmsr(MTRRphysMask_MSR(index), vr->mask_lo, vr->mask_hi); vr 835 arch/x86/kernel/cpu/mtrr/generic.c struct mtrr_var_range *vr; vr 837 arch/x86/kernel/cpu/mtrr/generic.c vr = &mtrr_state.var_ranges[reg]; vr 848 arch/x86/kernel/cpu/mtrr/generic.c memset(vr, 0, sizeof(struct mtrr_var_range)); vr 850 arch/x86/kernel/cpu/mtrr/generic.c vr->base_lo = base << PAGE_SHIFT | type; vr 851 arch/x86/kernel/cpu/mtrr/generic.c vr->base_hi = (base & size_and_mask) >> (32 - PAGE_SHIFT); vr 852 arch/x86/kernel/cpu/mtrr/generic.c vr->mask_lo = -size << PAGE_SHIFT | 0x800; vr 853 arch/x86/kernel/cpu/mtrr/generic.c vr->mask_hi = (-size & size_and_mask) >> (32 - PAGE_SHIFT); vr 855 arch/x86/kernel/cpu/mtrr/generic.c mtrr_wrmsr(MTRRphysBase_MSR(reg), vr->base_lo, vr->base_hi); vr 856 arch/x86/kernel/cpu/mtrr/generic.c mtrr_wrmsr(MTRRphysMask_MSR(reg), vr->mask_lo, vr->mask_hi); vr 122 drivers/crypto/chelsio/chtls/chtls_hw.c num_key_ctx = (lldi->vr->key.size / TLS_KEY_CONTEXT_SZ); vr 132 drivers/crypto/chelsio/chtls/chtls_hw.c cdev->kmap.start = lldi->vr->key.start; vr 273 drivers/crypto/chelsio/chtls/chtls_main.c if (lldi->vr->key.size) vr 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr5.c int pd, lf, xd, vh, vr, vo, l3; vr 48 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr5.c vr = ram->next->bios.ramcfg_11_02_04; vr 109 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr5.c if (NOTE00(vr)) { vr 111 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr5.c ram->mr[7] |= (vr & 0x03) << 8; vr 802 drivers/infiniband/hw/cxgb4/device.c if (rdev->lldi.vr->qp.start != rdev->lldi.vr->cq.start || vr 803 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->qp.size != rdev->lldi.vr->cq.size) { vr 805 drivers/infiniband/hw/cxgb4/device.c pci_name(rdev->lldi.pdev), rdev->lldi.vr->qp.start, vr 806 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->qp.size, rdev->lldi.vr->cq.size, vr 807 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->cq.size); vr 824 drivers/infiniband/hw/cxgb4/device.c pci_name(rdev->lldi.pdev), rdev->lldi.vr->stag.start, vr 825 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->stag.size, c4iw_num_stags(rdev), vr 826 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->pbl.start, vr 827 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->pbl.size, rdev->lldi.vr->rq.start, vr 828 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->rq.size, vr 829 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->qp.start, vr 830 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->qp.size, vr 831 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->cq.start, vr 832 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->cq.size, vr 833 drivers/infiniband/hw/cxgb4/device.c rdev->lldi.vr->srq.size); vr 843 drivers/infiniband/hw/cxgb4/device.c rdev->stats.stag.total = rdev->lldi.vr->stag.size; vr 844 drivers/infiniband/hw/cxgb4/device.c rdev->stats.pbl.total = rdev->lldi.vr->pbl.size; vr 845 drivers/infiniband/hw/cxgb4/device.c rdev->stats.rqt.total = rdev->lldi.vr->rq.size; vr 846 drivers/infiniband/hw/cxgb4/device.c rdev->stats.srqt.total = rdev->lldi.vr->srq.size; vr 847 drivers/infiniband/hw/cxgb4/device.c rdev->stats.ocqp.total = rdev->lldi.vr->ocq.size; vr 848 drivers/infiniband/hw/cxgb4/device.c rdev->stats.qid.total = rdev->lldi.vr->qp.size; vr 851 drivers/infiniband/hw/cxgb4/device.c T4_MAX_NUM_PD, rdev->lldi.vr->srq.size); vr 877 drivers/infiniband/hw/cxgb4/device.c rdev->status_page->qp_start = rdev->lldi.vr->qp.start; vr 878 drivers/infiniband/hw/cxgb4/device.c rdev->status_page->qp_size = rdev->lldi.vr->qp.size; vr 879 drivers/infiniband/hw/cxgb4/device.c rdev->status_page->cq_start = rdev->lldi.vr->cq.start; vr 880 drivers/infiniband/hw/cxgb4/device.c rdev->status_page->cq_size = rdev->lldi.vr->cq.size; vr 962 drivers/infiniband/hw/cxgb4/device.c return infop->vr->stag.size > 0 && infop->vr->pbl.size > 0 && vr 963 drivers/infiniband/hw/cxgb4/device.c infop->vr->rq.size > 0 && infop->vr->qp.size > 0 && vr 964 drivers/infiniband/hw/cxgb4/device.c infop->vr->cq.size > 0; vr 1027 drivers/infiniband/hw/cxgb4/device.c roundup_pow_of_two(devp->rdev.lldi.vr->ocq.size); vr 1029 drivers/infiniband/hw/cxgb4/device.c devp->rdev.lldi.vr->ocq.size); vr 1038 drivers/infiniband/hw/cxgb4/device.c devp->rdev.lldi.vr->ocq.start, devp->rdev.lldi.vr->ocq.size, vr 76 drivers/infiniband/hw/cxgb4/iw_cxgb4.h #define PBL_OFF(rdev_p, a) ((a) - (rdev_p)->lldi.vr->pbl.start) vr 77 drivers/infiniband/hw/cxgb4/iw_cxgb4.h #define RQT_OFF(rdev_p, a) ((a) - (rdev_p)->lldi.vr->rq.start) vr 205 drivers/infiniband/hw/cxgb4/iw_cxgb4.h return (int)(rdev->lldi.vr->stag.size >> 5); vr 931 drivers/infiniband/hw/cxgb4/iw_cxgb4.h return infop->vr->ocq.size > 0; vr 333 drivers/infiniband/hw/cxgb4/mem.c (rdev->lldi.vr->stag.start >> 5), vr 352 drivers/infiniband/hw/cxgb4/mem.c pbl_addr, rdev->lldi.vr->pbl.start, vr 282 drivers/infiniband/hw/cxgb4/provider.c props->max_qp = dev->rdev.lldi.vr->qp.size / 2; vr 283 drivers/infiniband/hw/cxgb4/provider.c props->max_srq = dev->rdev.lldi.vr->srq.size; vr 294 drivers/infiniband/hw/cxgb4/provider.c props->max_cq = dev->rdev.lldi.vr->qp.size; vr 122 drivers/infiniband/hw/cxgb4/qp.c rdev->lldi.vr->ocq.start; vr 124 drivers/infiniband/hw/cxgb4/qp.c rdev->lldi.vr->ocq.start); vr 1809 drivers/infiniband/hw/cxgb4/qp.c rhp->rdev.lldi.vr->rq.start); vr 2550 drivers/infiniband/hw/cxgb4/qp.c wq->rqt_abs_idx = (wq->rqt_hwaddr - rdev->lldi.vr->rq.start) >> vr 2619 drivers/infiniband/hw/cxgb4/qp.c rdev->lldi.vr->rq.start); vr 2688 drivers/infiniband/hw/cxgb4/qp.c if (!rhp->rdev.lldi.vr->srq.size) vr 43 drivers/infiniband/hw/cxgb4/resource.c rdev->lldi.vr->qp.start, vr 44 drivers/infiniband/hw/cxgb4/resource.c rdev->lldi.vr->qp.size, vr 45 drivers/infiniband/hw/cxgb4/resource.c rdev->lldi.vr->qp.size, 0)) vr 48 drivers/infiniband/hw/cxgb4/resource.c for (i = rdev->lldi.vr->qp.start; vr 49 drivers/infiniband/hw/cxgb4/resource.c i < rdev->lldi.vr->qp.start + rdev->lldi.vr->qp.size; i++) vr 308 drivers/infiniband/hw/cxgb4/resource.c pbl_start = rdev->lldi.vr->pbl.start; vr 309 drivers/infiniband/hw/cxgb4/resource.c pbl_chunk = rdev->lldi.vr->pbl.size; vr 395 drivers/infiniband/hw/cxgb4/resource.c if (rdev->lldi.vr->srq.size) vr 398 drivers/infiniband/hw/cxgb4/resource.c rqt_start = rdev->lldi.vr->rq.start + skip; vr 399 drivers/infiniband/hw/cxgb4/resource.c rqt_chunk = rdev->lldi.vr->rq.size - skip; vr 489 drivers/infiniband/hw/cxgb4/resource.c start = rdev->lldi.vr->ocq.start; vr 490 drivers/infiniband/hw/cxgb4/resource.c chunk = rdev->lldi.vr->ocq.size; vr 914 drivers/isdn/mISDN/layer2.c l2->vr = 0; vr 963 drivers/isdn/mISDN/layer2.c l2->vr = 0; vr 1018 drivers/isdn/mISDN/layer2.c l2->vr = 0; vr 1109 drivers/isdn/mISDN/layer2.c tmp[i++] = (l2->vr << 1) | (pf ? 1 : 0); vr 1111 drivers/isdn/mISDN/layer2.c tmp[i++] = (l2->vr << 5) | typ | (pf ? 0x10 : 0); vr 1297 drivers/isdn/mISDN/layer2.c if (l2->vr == ns) { vr 1298 drivers/isdn/mISDN/layer2.c l2->vr++; vr 1300 drivers/isdn/mISDN/layer2.c l2->vr %= 128; vr 1302 drivers/isdn/mISDN/layer2.c l2->vr %= 8; vr 1482 drivers/isdn/mISDN/layer2.c header[i++] = l2->vr << 1; vr 1484 drivers/isdn/mISDN/layer2.c header[i++] = (l2->vr << 5) | (l2->vs << 1); vr 54 drivers/isdn/mISDN/layer2.h u_int vs, va, vr; vr 132 drivers/media/platform/fsl-viu.c struct viu_reg __iomem *vr; vr 248 drivers/media/platform/fsl-viu.c struct viu_reg __iomem *vr = dev->vr; vr 253 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, SOFT_RST); vr 254 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, INT_FIELD_EN); vr 259 drivers/media/platform/fsl-viu.c struct viu_reg __iomem *vr = dev->vr; vr 263 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, 0); vr 266 drivers/media/platform/fsl-viu.c status_cfg = in_be32(&vr->status_cfg); vr 268 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, status_cfg & 0x3f0000); vr 272 drivers/media/platform/fsl-viu.c status_cfg = in_be32(&vr->status_cfg); vr 279 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, SOFT_RST); vr 280 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, 0); vr 283 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, status_cfg & 0x3f0000); vr 399 drivers/media/platform/fsl-viu.c struct viu_reg __iomem *vr = dev->vr; vr 439 drivers/media/platform/fsl-viu.c out_be32(&vr->dma_inc, reg_val.dma_inc); vr 440 drivers/media/platform/fsl-viu.c out_be32(&vr->picture_count, reg_val.picture_count); vr 441 drivers/media/platform/fsl-viu.c out_be32(&vr->field_base_addr, reg_val.field_base_addr); vr 699 drivers/media/platform/fsl-viu.c inline void viu_activate_overlay(struct viu_reg __iomem *vr) vr 701 drivers/media/platform/fsl-viu.c out_be32(&vr->field_base_addr, reg_val.field_base_addr); vr 702 drivers/media/platform/fsl-viu.c out_be32(&vr->dma_inc, reg_val.dma_inc); vr 703 drivers/media/platform/fsl-viu.c out_be32(&vr->picture_count, reg_val.picture_count); vr 782 drivers/media/platform/fsl-viu.c viu_activate_overlay(dev->vr); vr 979 drivers/media/platform/fsl-viu.c inline void viu_default_settings(struct viu_reg __iomem *vr) vr 981 drivers/media/platform/fsl-viu.c out_be32(&vr->luminance, 0x9512A254); vr 982 drivers/media/platform/fsl-viu.c out_be32(&vr->chroma_r, 0x03310000); vr 983 drivers/media/platform/fsl-viu.c out_be32(&vr->chroma_g, 0x06600F38); vr 984 drivers/media/platform/fsl-viu.c out_be32(&vr->chroma_b, 0x00000409); vr 985 drivers/media/platform/fsl-viu.c out_be32(&vr->alpha, 0x000000ff); vr 986 drivers/media/platform/fsl-viu.c out_be32(&vr->req_alarm, 0x00000090); vr 988 drivers/media/platform/fsl-viu.c in_be32(&vr->status_cfg), in_be32(&vr->field_base_addr)); vr 993 drivers/media/platform/fsl-viu.c struct viu_reg __iomem *vr = dev->vr; vr 1006 drivers/media/platform/fsl-viu.c out_be32(&vr->field_base_addr, addr); vr 1007 drivers/media/platform/fsl-viu.c out_be32(&vr->dma_inc, reg_val.dma_inc); vr 1008 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, vr 1013 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, vr 1024 drivers/media/platform/fsl-viu.c struct viu_reg __iomem *vr = dev->vr; vr 1062 drivers/media/platform/fsl-viu.c out_be32(&vr->field_base_addr, addr); vr 1063 drivers/media/platform/fsl-viu.c out_be32(&vr->dma_inc, reg_val.dma_inc); vr 1064 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, vr 1079 drivers/media/platform/fsl-viu.c (unsigned long)in_be32(&vr->field_base_addr)); vr 1096 drivers/media/platform/fsl-viu.c struct viu_reg __iomem *vr = dev->vr; vr 1100 drivers/media/platform/fsl-viu.c status = in_be32(&vr->status_cfg); vr 1109 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, vr 1139 drivers/media/platform/fsl-viu.c status = in_be32(&vr->status_cfg); vr 1140 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, vr 1161 drivers/media/platform/fsl-viu.c struct viu_reg __iomem *vr; vr 1173 drivers/media/platform/fsl-viu.c vr = dev->vr; vr 1208 drivers/media/platform/fsl-viu.c viu_default_settings(vr); vr 1210 drivers/media/platform/fsl-viu.c status_cfg = in_be32(&vr->status_cfg); vr 1211 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, vr 1216 drivers/media/platform/fsl-viu.c status_cfg = in_be32(&vr->status_cfg); vr 1217 drivers/media/platform/fsl-viu.c out_be32(&vr->status_cfg, status_cfg | INT_ALL_STATUS); vr 1428 drivers/media/platform/fsl-viu.c viu_dev->vr = viu_regs; vr 1510 drivers/media/platform/fsl-viu.c viu_reset(viu_dev->vr); vr 644 drivers/media/usb/usbvision/usbvision-video.c void *priv, struct v4l2_requestbuffers *vr) vr 649 drivers/media/usb/usbvision/usbvision-video.c RESTRICT_TO_RANGE(vr->count, 1, USBVISION_NUMFRAMES); vr 653 drivers/media/usb/usbvision/usbvision-video.c if (vr->memory != V4L2_MEMORY_MMAP) vr 664 drivers/media/usb/usbvision/usbvision-video.c vr->count = usbvision_frames_alloc(usbvision, vr->count); vr 49 drivers/misc/mic/vop/vop_main.c void __iomem *vr[VOP_MAX_VRINGS]; vr 257 drivers/misc/mic/vop/vop_main.c vpdev->hw_ops->unmap(vpdev, vdev->vr[n]); vr 258 drivers/misc/mic/vop/vop_main.c vdev->vr[n] = NULL; vr 328 drivers/misc/mic/vop/vop_main.c vdev->vr[index] = va; vr 379 drivers/misc/mic/vop/vop_main.c vpdev->hw_ops->unmap(vpdev, vdev->vr[index]); vr 295 drivers/misc/mic/vop/vop_vringh.c struct mic_vring *vr = &vdev->vvr[i].vring; vr 301 drivers/misc/mic/vop/vop_vringh.c vr->va = (void *) vr 304 drivers/misc/mic/vop/vop_vringh.c if (!vr->va) { vr 310 drivers/misc/mic/vop/vop_vringh.c vr->len = vr_size; vr 311 drivers/misc/mic/vop/vop_vringh.c vr->info = vr->va + vring_size(num, MIC_VIRTIO_RING_ALIGN); vr 312 drivers/misc/mic/vop/vop_vringh.c vr->info->magic = cpu_to_le32(MIC_MAGIC + vdev->virtio_id + i); vr 313 drivers/misc/mic/vop/vop_vringh.c vr_addr = dma_map_single(&vpdev->dev, vr->va, vr_size, vr 316 drivers/misc/mic/vop/vop_vringh.c free_pages((unsigned long)vr->va, get_order(vr_size)); vr 324 drivers/misc/mic/vop/vop_vringh.c vring_init(&vr->vr, num, vr->va, MIC_VIRTIO_RING_ALIGN); vr 327 drivers/misc/mic/vop/vop_vringh.c num, false, vr->vr.desc, vr->vr.avail, vr 328 drivers/misc/mic/vop/vop_vringh.c vr->vr.used); vr 341 drivers/misc/mic/vop/vop_vringh.c __func__, __LINE__, i, vr->va, vr->info, vr_size); vr 756 drivers/misc/mic/vop/vop_vringh.c struct mic_vring *vr = &vvr->vring; vr 829 drivers/misc/mic/vop/vop_vringh.c vr->info->avail_idx = vrh->last_avail_idx; vr 660 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lld->vr = &adap->vres; vr 322 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h const struct cxgb4_virt_res *vr; /* assorted HW resources */ vr 434 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 453 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr, vr 469 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->vr = vr; vr 689 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static bool mlxsw_sp_vr_is_used(const struct mlxsw_sp_vr *vr) vr 691 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return !!vr->fib4 || !!vr->fib6 || vr 692 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c !!vr->mr_table[MLXSW_SP_L3_PROTO_IPV4] || vr 693 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c !!vr->mr_table[MLXSW_SP_L3_PROTO_IPV6]; vr 698 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 702 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = &mlxsw_sp->router->vrs[i]; vr 703 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_vr_is_used(vr)) vr 704 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr; vr 714 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_raltb_pack(raltb_pl, fib->vr->id, vr 726 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_raltb_pack(raltb_pl, fib->vr->id, vr 742 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 748 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = &mlxsw_sp->router->vrs[i]; vr 749 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (mlxsw_sp_vr_is_used(vr) && vr->tb_id == tb_id) vr 750 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr; vr 758 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 760 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, tb_id); vr 761 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!vr) vr 763 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *vr_id = vr->id; vr 768 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static struct mlxsw_sp_fib *mlxsw_sp_vr_fib(const struct mlxsw_sp_vr *vr, vr 773 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr->fib4; vr 775 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr->fib6; vr 787 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 790 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find_unused(mlxsw_sp); vr 791 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!vr) { vr 795 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib4 = mlxsw_sp_fib_create(mlxsw_sp, vr, MLXSW_SP_L3_PROTO_IPV4); vr 798 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib6 = mlxsw_sp_fib_create(mlxsw_sp, vr, MLXSW_SP_L3_PROTO_IPV6); vr 803 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mr4_table = mlxsw_sp_mr_table_create(mlxsw_sp, vr->id, vr 809 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mr6_table = mlxsw_sp_mr_table_create(mlxsw_sp, vr->id, vr 816 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->fib4 = fib4; vr 817 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->fib6 = fib6; vr 818 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->mr_table[MLXSW_SP_L3_PROTO_IPV4] = mr4_table; vr 819 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->mr_table[MLXSW_SP_L3_PROTO_IPV6] = mr6_table; vr 820 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->tb_id = tb_id; vr 821 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr; vr 833 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr) vr 835 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_mr_table_destroy(vr->mr_table[MLXSW_SP_L3_PROTO_IPV6]); vr 836 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->mr_table[MLXSW_SP_L3_PROTO_IPV6] = NULL; vr 837 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_mr_table_destroy(vr->mr_table[MLXSW_SP_L3_PROTO_IPV4]); vr 838 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->mr_table[MLXSW_SP_L3_PROTO_IPV4] = NULL; vr 839 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_destroy(mlxsw_sp, vr->fib6); vr 840 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->fib6 = NULL; vr 841 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_destroy(mlxsw_sp, vr->fib4); vr 842 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->fib4 = NULL; vr 848 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 851 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, tb_id); vr 852 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!vr) vr 853 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_create(mlxsw_sp, tb_id, extack); vr 854 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr; vr 857 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_vr_put(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_vr *vr) vr 859 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!vr->rif_count && list_empty(&vr->fib4->node_list) && vr 860 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_empty(&vr->fib6->node_list) && vr 861 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_mr_table_empty(vr->mr_table[MLXSW_SP_L3_PROTO_IPV4]) && vr 862 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_mr_table_empty(vr->mr_table[MLXSW_SP_L3_PROTO_IPV6])) vr 863 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_destroy(mlxsw_sp, vr); vr 867 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_lpm_tree_should_replace(struct mlxsw_sp_vr *vr, vr 870 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = mlxsw_sp_vr_fib(vr, proto); vr 872 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_vr_is_used(vr)) vr 907 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 914 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = &mlxsw_sp->router->vrs[i]; vr 915 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_vr_lpm_tree_should_replace(vr, proto, old_id)) vr 918 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_fib(vr, proto), vr 933 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_vr_lpm_tree_should_replace(vr, proto, new_id)) vr 936 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_fib(vr, proto), vr 944 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 958 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = &mlxsw_sp->router->vrs[i]; vr 959 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->id = i; vr 1165 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 1170 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, tb_id); vr 1171 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!vr) vr 1173 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = mlxsw_sp_vr_fib(vr, proto); vr 3064 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->vr->id, adj_index, ecmp_size, new_adj_index, vr 4169 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_ralue_pack4(ralue_pl, proto, op, fib->vr->id, vr 4174 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_ralue_pack6(ralue_pl, proto, op, fib->vr->id, vr 4440 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 4442 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, fen_info->tb_id); vr 4443 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!vr) vr 4445 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = mlxsw_sp_vr_fib(vr, MLXSW_SP_L3_PROTO_IPV4); vr 4635 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 4638 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, tb_id, NULL); vr 4639 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (IS_ERR(vr)) vr 4640 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return ERR_CAST(vr); vr 4641 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = mlxsw_sp_vr_fib(vr, proto); vr 4662 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_put(mlxsw_sp, vr); vr 4669 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr = fib_node->fib->vr; vr 4675 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_put(mlxsw_sp, vr); vr 5523 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 5525 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, rt->fib6_table->tb6_id); vr 5526 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!vr) vr 5528 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = mlxsw_sp_vr_fib(vr, MLXSW_SP_L3_PROTO_IPV6); vr 5684 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr = &mlxsw_sp->router->vrs[i]; vr 5688 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_raltb_pack(raltb_pl, vr->id, proto, tree_id); vr 5695 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c MLXSW_REG_RALUE_OP_WRITE_WRITE, vr->id, 0); vr 5707 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fibmr_family_to_table(struct mlxsw_sp_vr *vr, int family) vr 5710 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr->mr_table[MLXSW_SP_L3_PROTO_IPV4]; vr 5712 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr->mr_table[MLXSW_SP_L3_PROTO_IPV6]; vr 5720 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 5725 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, men_info->tb_id, NULL); vr 5726 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (IS_ERR(vr)) vr 5727 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return PTR_ERR(vr); vr 5729 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mrt = mlxsw_sp_router_fibmr_family_to_table(vr, men_info->info.family); vr 5737 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 5742 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, men_info->tb_id); vr 5743 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (WARN_ON(!vr)) vr 5746 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mrt = mlxsw_sp_router_fibmr_family_to_table(vr, men_info->info.family); vr 5748 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_put(mlxsw_sp, vr); vr 5757 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 5762 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, ven_info->tb_id, NULL); vr 5763 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (IS_ERR(vr)) vr 5764 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return PTR_ERR(vr); vr 5766 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mrt = mlxsw_sp_router_fibmr_family_to_table(vr, ven_info->info.family); vr 5778 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 5783 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, ven_info->tb_id); vr 5784 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (WARN_ON(!vr)) vr 5787 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mrt = mlxsw_sp_router_fibmr_family_to_table(vr, ven_info->info.family); vr 5789 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_put(mlxsw_sp, vr); vr 5863 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr, vr 5866 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = mlxsw_sp_vr_fib(vr, proto); vr 5883 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr = &mlxsw_sp->router->vrs[i]; vr 5885 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_vr_is_used(vr)) vr 5889 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_mr_table_flush(vr->mr_table[j]); vr 5890 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_fib_flush(mlxsw_sp, vr, MLXSW_SP_L3_PROTO_IPV4); vr 5895 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_vr_is_used(vr)) vr 5897 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_fib_flush(mlxsw_sp, vr, MLXSW_SP_L3_PROTO_IPV6); vr 6516 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 6523 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, tb_id ? : RT_TABLE_MAIN, extack); vr 6524 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (IS_ERR(vr)) vr 6525 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return ERR_CAST(vr); vr 6526 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->rif_count++; vr 6534 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c rif = mlxsw_sp_rif_alloc(ops->rif_size, rif_index, vr->id, params->dev); vr 6561 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_mr_rif_add(vr->mr_table[i], rif); vr 6572 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_mr_rif_del(vr->mr_table[i], rif); vr 6583 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->rif_count--; vr 6584 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_put(mlxsw_sp, vr); vr 6593 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 6597 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = &mlxsw_sp->router->vrs[rif->vr_id]; vr 6601 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_mr_rif_del(vr->mr_table[i], rif); vr 6609 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->rif_count--; vr 6610 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_put(mlxsw_sp, vr); vr 7199 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 7206 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = &mlxsw_sp->router->vrs[rif->vr_id]; vr 7208 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_mr_rif_mtu_update(vr->mr_table[i], vr 7734 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_ul_rif_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_vr *vr, vr 7747 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c ul_rif = mlxsw_sp_rif_alloc(sizeof(*ul_rif), rif_index, vr->id, NULL); vr 7778 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 7781 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, tb_id, extack); vr 7782 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (IS_ERR(vr)) vr 7783 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return ERR_CAST(vr); vr 7785 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (refcount_inc_not_zero(&vr->ul_rif_refcnt)) vr 7786 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr->ul_rif; vr 7788 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->ul_rif = mlxsw_sp_ul_rif_create(mlxsw_sp, vr, extack); vr 7789 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (IS_ERR(vr->ul_rif)) { vr 7790 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = PTR_ERR(vr->ul_rif); vr 7794 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->rif_count++; vr 7795 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c refcount_set(&vr->ul_rif_refcnt, 1); vr 7797 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return vr->ul_rif; vr 7800 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_put(mlxsw_sp, vr); vr 7807 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr; vr 7809 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = &mlxsw_sp->router->vrs[ul_rif->vr_id]; vr 7811 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!refcount_dec_and_test(&vr->ul_rif_refcnt)) vr 7814 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->rif_count--; vr 7816 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_put(mlxsw_sp, vr); vr 385 drivers/net/ethernet/socionext/sni_ave.c u32 major, minor, vr; vr 387 drivers/net/ethernet/socionext/sni_ave.c vr = readl(priv->base + AVE_VR); vr 388 drivers/net/ethernet/socionext/sni_ave.c major = (vr & GENMASK(15, 8)) >> 8; vr 389 drivers/net/ethernet/socionext/sni_ave.c minor = (vr & GENMASK(7, 0)); vr 290 drivers/platform/mellanox/mlxbf-tmfifo.c const struct vring *vr = virtqueue_get_vring(vring->vq); vr 294 drivers/platform/mellanox/mlxbf-tmfifo.c if (vring->next_avail == virtio16_to_cpu(vdev, vr->avail->idx)) vr 297 drivers/platform/mellanox/mlxbf-tmfifo.c idx = vring->next_avail % vr->num; vr 298 drivers/platform/mellanox/mlxbf-tmfifo.c head = virtio16_to_cpu(vdev, vr->avail->ring[idx]); vr 299 drivers/platform/mellanox/mlxbf-tmfifo.c if (WARN_ON(head >= vr->num)) vr 304 drivers/platform/mellanox/mlxbf-tmfifo.c return &vr->desc[head]; vr 311 drivers/platform/mellanox/mlxbf-tmfifo.c const struct vring *vr = virtqueue_get_vring(vring->vq); vr 315 drivers/platform/mellanox/mlxbf-tmfifo.c vr_idx = virtio16_to_cpu(vdev, vr->used->idx); vr 316 drivers/platform/mellanox/mlxbf-tmfifo.c idx = vr_idx % vr->num; vr 317 drivers/platform/mellanox/mlxbf-tmfifo.c vr->used->ring[idx].id = cpu_to_virtio32(vdev, desc - vr->desc); vr 318 drivers/platform/mellanox/mlxbf-tmfifo.c vr->used->ring[idx].len = cpu_to_virtio32(vdev, len); vr 326 drivers/platform/mellanox/mlxbf-tmfifo.c vr->used->idx = cpu_to_virtio16(vdev, vr_idx + 1); vr 333 drivers/platform/mellanox/mlxbf-tmfifo.c const struct vring *vr = virtqueue_get_vring(vring->vq); vr 342 drivers/platform/mellanox/mlxbf-tmfifo.c desc = &vr->desc[idx]; vr 415 drivers/platform/mellanox/mlxbf-tmfifo.c const struct vring *vr = virtqueue_get_vring(vring->vq); vr 439 drivers/platform/mellanox/mlxbf-tmfifo.c desc = &vr->desc[idx]; vr 674 drivers/platform/mellanox/mlxbf-tmfifo.c const struct vring *vr = virtqueue_get_vring(vring->vq); vr 724 drivers/platform/mellanox/mlxbf-tmfifo.c desc = &vr->desc[idx]; vr 2079 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c if (!lldi->vr->iscsi.size) { vr 2085 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c ppmax = lldi->vr->iscsi.size >> PPOD_SIZE_SHIFT; vr 2094 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c lldi->vr->ppod_edram.start, lldi->vr->ppod_edram.size); vr 2097 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c lldi->vr->iscsi.size, lldi->iscsi_llimit, vr 2098 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c lldi->vr->iscsi.start, 2, vr 2099 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c lldi->vr->ppod_edram.start, vr 2100 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c lldi->vr->ppod_edram.size); vr 303 drivers/target/iscsi/cxgbit/cxgbit_ddp.c if (!lldi->vr->iscsi.size) { vr 308 drivers/target/iscsi/cxgbit/cxgbit_ddp.c ppmax = lldi->vr->iscsi.size >> PPOD_SIZE_SHIFT; vr 318 drivers/target/iscsi/cxgbit/cxgbit_ddp.c lldi->vr->iscsi.size, lldi->iscsi_llimit, vr 319 drivers/target/iscsi/cxgbit/cxgbit_ddp.c lldi->vr->iscsi.start, 2, vr 320 drivers/target/iscsi/cxgbit/cxgbit_ddp.c lldi->vr->ppod_edram.start, vr 321 drivers/target/iscsi/cxgbit/cxgbit_ddp.c lldi->vr->ppod_edram.size); vr 422 drivers/video/fbdev/tgafb.c min_diff = delta, vm = m, va = a, vr = r; \ vr 430 drivers/video/fbdev/tgafb.c int r,a,m,vm = 34, va = 1, vr = 30; vr 493 drivers/video/fbdev/tgafb.c vr--; vr 500 drivers/video/fbdev/tgafb.c TGA_WRITE_REG(par, (vr >> r) & 1, TGA_CLOCK_REG); vr 501 drivers/video/fbdev/tgafb.c TGA_WRITE_REG(par, ((vr >> 7) & 1)|2, TGA_CLOCK_REG); vr 248 include/net/ax25.h unsigned short vs, vr, va; vr 90 include/net/lapb.h unsigned short vs, vr, va; vr 167 include/net/llc_pdu.h #define FRMR_INFO_SET_Vr(info,vr) (info->curr_rsv = (((u8) vr) << 1)) vr 424 include/net/llc_pdu.h u8 f_bit, u8 vs, u8 vr, u8 vzyxw); vr 73 include/net/netrom.h unsigned short vs, vr, va, vl; vr 138 include/net/rose.h unsigned short vs, vr, va, vl; vr 155 include/net/x25.h unsigned short vs, vr, va, vl; vr 107 include/uapi/linux/ax25.h unsigned int vs, vr, va, vs_max; vr 168 include/uapi/linux/mic_common.h struct vring vr; vr 164 include/uapi/linux/virtio_ring.h #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) vr 165 include/uapi/linux/virtio_ring.h #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num]) vr 167 include/uapi/linux/virtio_ring.h static inline void vring_init(struct vring *vr, unsigned int num, void *p, vr 170 include/uapi/linux/virtio_ring.h vr->num = num; vr 171 include/uapi/linux/virtio_ring.h vr->desc = p; vr 172 include/uapi/linux/virtio_ring.h vr->avail = p + num*sizeof(struct vring_desc); vr 173 include/uapi/linux/virtio_ring.h vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) vr 1786 net/ax25/af_ax25.c ax25_info.vr = ax25->vr; vr 1899 net/ax25/af_ax25.c ax25->vs, ax25->vr, ax25->va, vr 58 net/ax25/ax25_ds_in.c ax25->vr = 0; vr 166 net/ax25/ax25_ds_in.c ax25->vr = 0; vr 238 net/ax25/ax25_ds_in.c if (ns == ax25->vr) { vr 239 net/ax25/ax25_ds_in.c ax25->vr = (ax25->vr + 1) % ax25->modulus; vr 242 net/ax25/ax25_ds_in.c ax25->vr = ns; /* ax25->vr - 1 */ vr 225 net/ax25/ax25_out.c *frame |= (ax25->vr << 5); vr 233 net/ax25/ax25_out.c frame[1] |= (ax25->vr << 1); vr 66 net/ax25/ax25_std_in.c ax25->vr = 0; vr 163 net/ax25/ax25_std_in.c ax25->vr = 0; vr 223 net/ax25/ax25_std_in.c if (ns == ax25->vr) { vr 224 net/ax25/ax25_std_in.c ax25->vr = (ax25->vr + 1) % ax25->modulus; vr 227 net/ax25/ax25_std_in.c ax25->vr = ns; /* ax25->vr - 1 */ vr 288 net/ax25/ax25_std_in.c ax25->vr = 0; vr 378 net/ax25/ax25_std_in.c if (ns == ax25->vr) { vr 379 net/ax25/ax25_std_in.c ax25->vr = (ax25->vr + 1) % ax25->modulus; vr 382 net/ax25/ax25_std_in.c ax25->vr = ns; /* ax25->vr - 1 */ vr 165 net/ax25/ax25_subr.c *dptr |= (ax25->vr << 5); vr 174 net/ax25/ax25_subr.c dptr[1] = (ax25->vr << 1); vr 1613 net/ipv4/ipmr.c struct sioc_vif_req vr; vr 1625 net/ipv4/ipmr.c if (copy_from_user(&vr, arg, sizeof(vr))) vr 1627 net/ipv4/ipmr.c if (vr.vifi >= mrt->maxvif) vr 1629 net/ipv4/ipmr.c vr.vifi = array_index_nospec(vr.vifi, mrt->maxvif); vr 1631 net/ipv4/ipmr.c vif = &mrt->vif_table[vr.vifi]; vr 1632 net/ipv4/ipmr.c if (VIF_EXISTS(mrt, vr.vifi)) { vr 1633 net/ipv4/ipmr.c vr.icount = vif->pkt_in; vr 1634 net/ipv4/ipmr.c vr.ocount = vif->pkt_out; vr 1635 net/ipv4/ipmr.c vr.ibytes = vif->bytes_in; vr 1636 net/ipv4/ipmr.c vr.obytes = vif->bytes_out; vr 1639 net/ipv4/ipmr.c if (copy_to_user(arg, &vr, sizeof(vr))) vr 1688 net/ipv4/ipmr.c struct compat_sioc_vif_req vr; vr 1700 net/ipv4/ipmr.c if (copy_from_user(&vr, arg, sizeof(vr))) vr 1702 net/ipv4/ipmr.c if (vr.vifi >= mrt->maxvif) vr 1704 net/ipv4/ipmr.c vr.vifi = array_index_nospec(vr.vifi, mrt->maxvif); vr 1706 net/ipv4/ipmr.c vif = &mrt->vif_table[vr.vifi]; vr 1707 net/ipv4/ipmr.c if (VIF_EXISTS(mrt, vr.vifi)) { vr 1708 net/ipv4/ipmr.c vr.icount = vif->pkt_in; vr 1709 net/ipv4/ipmr.c vr.ocount = vif->pkt_out; vr 1710 net/ipv4/ipmr.c vr.ibytes = vif->bytes_in; vr 1711 net/ipv4/ipmr.c vr.obytes = vif->bytes_out; vr 1714 net/ipv4/ipmr.c if (copy_to_user(arg, &vr, sizeof(vr))) vr 1852 net/ipv6/ip6mr.c struct sioc_mif_req6 vr; vr 1864 net/ipv6/ip6mr.c if (copy_from_user(&vr, arg, sizeof(vr))) vr 1866 net/ipv6/ip6mr.c if (vr.mifi >= mrt->maxvif) vr 1868 net/ipv6/ip6mr.c vr.mifi = array_index_nospec(vr.mifi, mrt->maxvif); vr 1870 net/ipv6/ip6mr.c vif = &mrt->vif_table[vr.mifi]; vr 1871 net/ipv6/ip6mr.c if (VIF_EXISTS(mrt, vr.mifi)) { vr 1872 net/ipv6/ip6mr.c vr.icount = vif->pkt_in; vr 1873 net/ipv6/ip6mr.c vr.ocount = vif->pkt_out; vr 1874 net/ipv6/ip6mr.c vr.ibytes = vif->bytes_in; vr 1875 net/ipv6/ip6mr.c vr.obytes = vif->bytes_out; vr 1878 net/ipv6/ip6mr.c if (copy_to_user(arg, &vr, sizeof(vr))) vr 1927 net/ipv6/ip6mr.c struct compat_sioc_mif_req6 vr; vr 1939 net/ipv6/ip6mr.c if (copy_from_user(&vr, arg, sizeof(vr))) vr 1941 net/ipv6/ip6mr.c if (vr.mifi >= mrt->maxvif) vr 1943 net/ipv6/ip6mr.c vr.mifi = array_index_nospec(vr.mifi, mrt->maxvif); vr 1945 net/ipv6/ip6mr.c vif = &mrt->vif_table[vr.mifi]; vr 1946 net/ipv6/ip6mr.c if (VIF_EXISTS(mrt, vr.mifi)) { vr 1947 net/ipv6/ip6mr.c vr.icount = vif->pkt_in; vr 1948 net/ipv6/ip6mr.c vr.ocount = vif->pkt_out; vr 1949 net/ipv6/ip6mr.c vr.ibytes = vif->bytes_in; vr 1950 net/ipv6/ip6mr.c vr.obytes = vif->bytes_out; vr 1953 net/ipv6/ip6mr.c if (copy_to_user(arg, &vr, sizeof(vr))) vr 62 net/lapb/lapb_in.c lapb->vr = 0; vr 82 net/lapb/lapb_in.c lapb->vr = 0; vr 160 net/lapb/lapb_in.c lapb->vr = 0; vr 271 net/lapb/lapb_in.c lapb->vr = 0; vr 289 net/lapb/lapb_in.c lapb->vr = 0; vr 400 net/lapb/lapb_in.c if (frame->ns == lapb->vr) { vr 415 net/lapb/lapb_in.c lapb->vr = (lapb->vr + 1) % modulus; vr 432 net/lapb/lapb_in.c lapb->dev, frame->pf, lapb->vr); vr 495 net/lapb/lapb_in.c lapb->vr = 0; vr 515 net/lapb/lapb_in.c lapb->vr = 0; vr 50 net/lapb/lapb_out.c frame[1] |= lapb->vr << 1; vr 56 net/lapb/lapb_out.c *frame |= lapb->vr << 5; vr 61 net/lapb/lapb_out.c lapb->dev, lapb->state, poll_bit, lapb->vs, lapb->vr); vr 172 net/lapb/lapb_out.c lapb->dev, lapb->state, lapb->vr); vr 182 net/lapb/lapb_out.c lapb->dev, lapb->state, lapb->vr); vr 240 net/lapb/lapb_subr.c dptr[1] = (lapb->vr << 1); vr 248 net/lapb/lapb_subr.c *dptr |= (lapb->vr << 5); vr 274 net/lapb/lapb_subr.c *dptr = (lapb->vr << 1) & 0xFE; vr 288 net/lapb/lapb_subr.c *dptr |= (lapb->vr << 5) & 0xE0; vr 59 net/llc/llc_c_ev.c static u16 llc_util_ns_inside_rx_window(u8 ns, u8 vr, u8 rw) vr 61 net/llc/llc_c_ev.c return !llc_circular_between(vr, ns, vr 62 net/llc/llc_c_ev.c (vr + rw - 1) % LLC_2_SEQ_NBR_MODULO); vr 200 net/llc/llc_c_ev.c const u8 vr = llc_sk(sk)->vR; vr 204 net/llc/llc_c_ev.c LLC_I_PF_IS_0(pdu) && ns != vr && vr 205 net/llc/llc_c_ev.c !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; vr 212 net/llc/llc_c_ev.c const u8 vr = llc_sk(sk)->vR; vr 216 net/llc/llc_c_ev.c LLC_I_PF_IS_1(pdu) && ns != vr && vr 217 net/llc/llc_c_ev.c !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; vr 224 net/llc/llc_c_ev.c const u8 vr = llc_sk(sk)->vR; vr 227 net/llc/llc_c_ev.c ns != vr && vr 228 net/llc/llc_c_ev.c llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; vr 231 net/llc/llc_c_ev.c __func__, llc_sk(sk)->state, ns, vr); vr 267 net/llc/llc_c_ev.c const u8 vr = llc_sk(sk)->vR; vr 271 net/llc/llc_c_ev.c LLC_I_PF_IS_0(pdu) && ns != vr && vr 272 net/llc/llc_c_ev.c !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; vr 279 net/llc/llc_c_ev.c const u8 vr = llc_sk(sk)->vR; vr 283 net/llc/llc_c_ev.c LLC_I_PF_IS_1(pdu) && ns != vr && vr 284 net/llc/llc_c_ev.c !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; vr 291 net/llc/llc_c_ev.c const u8 vr = llc_sk(sk)->vR; vr 294 net/llc/llc_c_ev.c return LLC_PDU_IS_RSP(pdu) && LLC_PDU_TYPE_IS_I(pdu) && ns != vr && vr 295 net/llc/llc_c_ev.c !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; vr 302 net/llc/llc_c_ev.c const u8 vr = llc_sk(sk)->vR; vr 305 net/llc/llc_c_ev.c ns != vr && vr 306 net/llc/llc_c_ev.c llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; vr 309 net/llc/llc_c_ev.c __func__, llc_sk(sk)->state, ns, vr); vr 221 net/llc/llc_pdu.c u8 f_bit, u8 vs, u8 vr, u8 vzyxw) vr 236 net/llc/llc_pdu.c FRMR_INFO_SET_Vr(frmr_info, vr); vr 990 net/netrom/af_netrom.c nr_make->vr = 0; vr 1282 net/netrom/af_netrom.c nr->vr, vr 84 net/netrom/nr_in.c nr->vr = 0; vr 232 net/netrom/nr_in.c save_vr = nrom->vr; vr 235 net/netrom/nr_in.c if (ns == nrom->vr) { vr 237 net/netrom/nr_in.c nrom->vr = (nrom->vr + 1) % NR_MODULUS; vr 251 net/netrom/nr_in.c } while (save_vr != nrom->vr); vr 255 net/netrom/nr_in.c if (((nrom->vl + nrom->window) % NR_MODULUS) == nrom->vr) { vr 87 net/netrom/nr_out.c skb->data[3] = nr->vr; vr 109 net/netrom/nr_out.c skbn->data[3] = nr->vr; vr 117 net/netrom/nr_out.c nr->vl = nr->vr; vr 178 net/netrom/nr_out.c nr->vl = nr->vr; vr 252 net/netrom/nr_out.c nr->vl = nr->vr; vr 104 net/netrom/nr_subr.c unsigned short vc = nr->vr; vr 200 net/netrom/nr_subr.c *dptr++ = nr->vr; vr 140 net/netrom/nr_timer.c nr->vl = nr->vr; vr 1012 net/rose/af_rose.c make_rose->vr = 0; vr 1335 net/rose/af_rose.c rose->vr = 0; vr 1404 net/rose/af_rose.c rose->vr, vr 47 net/rose/rose_in.c rose->vr = 0; vr 113 net/rose/rose_in.c rose->vr = 0; vr 131 net/rose/rose_in.c rose->vr = 0; vr 153 net/rose/rose_in.c rose->vr = 0; vr 162 net/rose/rose_in.c if (ns == rose->vr) { vr 166 net/rose/rose_in.c rose->vr = (rose->vr + 1) % ROSE_MODULUS; vr 173 net/rose/rose_in.c rose->vr = 0; vr 189 net/rose/rose_in.c if (((rose->vl + sysctl_rose_window_size) % ROSE_MODULUS) == rose->vr) { vr 225 net/rose/rose_in.c rose->vr = 0; vr 37 net/rose/rose_out.c skb->data[2] |= (rose->vr << 5) & 0xE0; vr 98 net/rose/rose_out.c rose->vl = rose->vr; vr 118 net/rose/rose_out.c rose->vl = rose->vr; vr 182 net/rose/rose_subr.c *dptr++ |= (rose->vr << 5) & 0xE0; vr 145 net/rose/rose_timer.c rose->vl = rose->vr; vr 100 net/x25/x25_in.c x25->vr = 0; vr 223 net/x25/x25_in.c x25->vr = 0; vr 245 net/x25/x25_in.c x25->vr = 0; vr 261 net/x25/x25_in.c if ((ns != x25->vr) || !x25_validate_nr(sk, nr)) { vr 267 net/x25/x25_in.c x25->vr = 0; vr 274 net/x25/x25_in.c if (ns == x25->vr) { vr 276 net/x25/x25_in.c x25->vr = (x25->vr + 1) % modulus; vr 285 net/x25/x25_in.c x25->vr = 0; vr 299 net/x25/x25_in.c if (((x25->vl + x25->facilities.winsize_in) % modulus) == x25->vr) { vr 357 net/x25/x25_in.c x25->vr = 0; vr 126 net/x25/x25_out.c skb->data[3] |= (x25->vr << 1) & 0xFE; vr 130 net/x25/x25_out.c skb->data[2] |= (x25->vr << 5) & 0xE0; vr 202 net/x25/x25_out.c x25->vl = x25->vr; vr 222 net/x25/x25_out.c x25->vl = x25->vr; vr 103 net/x25/x25_proc.c devname, x25->lci & 0x0FFF, x25->state, x25->vs, x25->vr, vr 238 net/x25/x25_subr.c *dptr++ = (x25->vr << 1) & 0xFE; vr 242 net/x25/x25_subr.c *dptr++ |= (x25->vr << 5) & 0xE0; vr 374 net/x25/x25_subr.c x25->vl = x25->vr; vr 372 samples/mic/mpssd/mpssd.c static inline __u16 read_avail_idx(struct mic_vring *vr) vr 374 samples/mic/mpssd/mpssd.c return READ_ONCE(vr->info->avail_idx); vr 377 samples/mic/mpssd/mpssd.c static inline void txrx_prepare(int type, bool tx, struct mic_vring *vr, vr 391 samples/mic/mpssd/mpssd.c struct mic_vring *vr, struct mic_copy_desc *copy) vr 437 samples/mic/mpssd/mpssd.c vring_init(&vr0->vr, vr 450 samples/mic/mpssd/mpssd.c vring_init(&vr1->vr, vr 511 samples/mic/mpssd/mpssd.c spin_for_descriptors(struct mic_info *mic, struct mic_vring *vr) vr 513 samples/mic/mpssd/mpssd.c __u16 avail_idx = read_avail_idx(vr); vr 515 samples/mic/mpssd/mpssd.c while (avail_idx == le16toh(READ_ONCE(vr->vr.avail->idx))) { vr 519 samples/mic/mpssd/mpssd.c le16toh(vr->vr.avail->idx), vr->info->avail_idx); vr 657 samples/mic/mpssd/mpssd.c le16toh(rx_vr.vr.avail->idx)) { vr 856 samples/mic/mpssd/mpssd.c le16toh(rx_vr.vr.avail->idx)) { vr 1216 samples/mic/mpssd/mpssd.c le16toh(vring.vr.avail->idx)) { vr 1220 samples/mic/mpssd/mpssd.c (vring.vr.num - 1); vr 1222 samples/mic/mpssd/mpssd.c vring.vr.avail->ring[avail_idx]); vr 1223 samples/mic/mpssd/mpssd.c desc = &vring.vr.desc[desc_idx]; vr 1229 samples/mic/mpssd/mpssd.c vring.vr.num, desc); vr 1249 samples/mic/mpssd/mpssd.c for (desc = &vring.vr.desc[buffer_desc_idx]; vr 1252 samples/mic/mpssd/mpssd.c desc = &vring.vr.desc[desc_idx]) {