/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | virtio_ring.h | 55 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) argument 56 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num]) argument 57 static inline void vring_init(struct vring *vr, unsigned int num, void *p, in vring_init() argument 60 vr->num = num; in vring_init() 61 vr->desc = p; in vring_init() 62 vr->avail = p + num*sizeof(struct vring_desc); in vring_init() 63 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | virtio_ring.h | 190 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) argument 191 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num]) argument 193 static inline void vring_init(struct vring *vr, unsigned int num, void *p, in vring_init() argument 196 vr->num = num; in vring_init() 197 vr->desc = p; in vring_init() 198 vr->avail = (struct vring_avail *)((char *)p + num * sizeof(struct vring_desc)); in vring_init() 199 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mtrr/ |
D | generic.c | 316 get_mtrr_var_range(unsigned int index, struct mtrr_var_range *vr) in get_mtrr_var_range() argument 318 rdmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); in get_mtrr_var_range() 319 rdmsr(MTRRphysMask_MSR(index), vr->mask_lo, vr->mask_hi); in get_mtrr_var_range() 326 struct mtrr_var_range *vr; in fill_mtrr_var_range() local 328 vr = mtrr_state.var_ranges; in fill_mtrr_var_range() 330 vr[index].base_lo = base_lo; in fill_mtrr_var_range() 331 vr[index].base_hi = base_hi; in fill_mtrr_var_range() 332 vr[index].mask_lo = mask_lo; in fill_mtrr_var_range() 333 vr[index].mask_hi = mask_hi; in fill_mtrr_var_range() 658 static bool set_mtrr_var_ranges(unsigned int index, struct mtrr_var_range *vr) in set_mtrr_var_ranges() argument [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
D | fsl-viu.c | 132 struct viu_reg __iomem *vr; member 248 struct viu_reg __iomem *vr = dev->vr; in viu_start_dma() local 253 out_be32(&vr->status_cfg, SOFT_RST); in viu_start_dma() 254 out_be32(&vr->status_cfg, INT_FIELD_EN); in viu_start_dma() 259 struct viu_reg __iomem *vr = dev->vr; in viu_stop_dma() local 263 out_be32(&vr->status_cfg, 0); in viu_stop_dma() 266 status_cfg = in_be32(&vr->status_cfg); in viu_stop_dma() 268 out_be32(&vr->status_cfg, status_cfg & 0x3f0000); in viu_stop_dma() 272 status_cfg = in_be32(&vr->status_cfg); in viu_stop_dma() 279 out_be32(&vr->status_cfg, SOFT_RST); in viu_stop_dma() [all …]
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | virtio_ring.h | 71 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) argument 72 #define vring_avail_event(vr) (* (__virtio16 *) & (vr)->used->ring[(vr)->num]) argument
|
/kernel/linux/linux-5.10/arch/mips/boot/dts/brcm/ |
D | bcm63268-comtrend-vr-3032u.dts | 7 compatible = "comtrend,vr-3032u", "brcm,bcm63268"; 42 label = "vr-3032u:red:inet"; 47 label = "vr-3032u:green:dsl"; 52 label = "vr-3032u:green:usb"; 57 label = "vr-3032u:green:wps"; 62 label = "vr-3032u:green:inet"; 102 label = "vr-3032u:green:power";
|
/kernel/linux/linux-5.10/net/llc/ |
D | llc_c_ev.c | 59 static u16 llc_util_ns_inside_rx_window(u8 ns, u8 vr, u8 rw) in llc_util_ns_inside_rx_window() argument 61 return !llc_circular_between(vr, ns, in llc_util_ns_inside_rx_window() 62 (vr + rw - 1) % LLC_2_SEQ_NBR_MODULO); in llc_util_ns_inside_rx_window() 200 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns() local 204 LLC_I_PF_IS_0(pdu) && ns != vr && in llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns() 205 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns() 212 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns() local 216 LLC_I_PF_IS_1(pdu) && ns != vr && in llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns() 217 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns() 224 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns() local [all …]
|
/kernel/linux/linux-5.10/net/rose/ |
D | rose_in.c | 47 rose->vr = 0; in rose_state1_machine() 113 rose->vr = 0; in rose_state3_machine() 131 rose->vr = 0; in rose_state3_machine() 153 rose->vr = 0; in rose_state3_machine() 162 if (ns == rose->vr) { in rose_state3_machine() 166 rose->vr = (rose->vr + 1) % ROSE_MODULUS; in rose_state3_machine() 173 rose->vr = 0; in rose_state3_machine() 189 if (((rose->vl + sysctl_rose_window_size) % ROSE_MODULUS) == rose->vr) { in rose_state3_machine() 225 rose->vr = 0; in rose_state4_machine()
|
D | rose_out.c | 37 skb->data[2] |= (rose->vr << 5) & 0xE0; in rose_send_iframe() 98 rose->vl = rose->vr; in rose_kick() 118 rose->vl = rose->vr; in rose_enquiry_response()
|
/kernel/linux/linux-5.10/arch/openrisc/kernel/ |
D | setup.c | 99 unsigned long vr = mfspr(SPR_VR); in print_cpuinfo() local 104 version = (vr & SPR_VR_VER) >> 24; in print_cpuinfo() 105 revision = (vr & SPR_VR_REV); in print_cpuinfo() 326 unsigned int vr, cpucfgr; in show_cpuinfo() local 331 vr = mfspr(SPR_VR); in show_cpuinfo() 337 if (vr & SPR_VR_UVRP) { in show_cpuinfo() 338 vr = mfspr(SPR_VR2); in show_cpuinfo() 339 version = vr & SPR_VR2_VER; in show_cpuinfo() 347 (vr & SPR_VR2_CPUID) >> 24); in show_cpuinfo() 350 version = (vr & SPR_VR_VER) >> 24; in show_cpuinfo() [all …]
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
D | ptrace.c | 124 tmp.vr[i*4] = regs->vr[i*2]; in fpr_get() 125 tmp.vr[i*4 + 1] = regs->vr[i*2 + 1]; in fpr_get() 129 tmp.vr[64 + i] = regs->vr[32 + i]; in fpr_get() 154 regs->vr[i*2] = tmp.vr[i*4]; in fpr_set() 155 regs->vr[i*2 + 1] = tmp.vr[i*4 + 1]; in fpr_set() 159 regs->vr[32 + i] = tmp.vr[64 + i]; in fpr_set()
|
/kernel/linux/linux-5.10/net/x25/ |
D | x25_in.c | 100 x25->vr = 0; in x25_state1_machine() 223 x25->vr = 0; in x25_state3_machine() 245 x25->vr = 0; in x25_state3_machine() 261 if ((ns != x25->vr) || !x25_validate_nr(sk, nr)) { in x25_state3_machine() 267 x25->vr = 0; in x25_state3_machine() 274 if (ns == x25->vr) { in x25_state3_machine() 276 x25->vr = (x25->vr + 1) % modulus; in x25_state3_machine() 285 x25->vr = 0; in x25_state3_machine() 299 if (((x25->vl + x25->facilities.winsize_in) % modulus) == x25->vr) { in x25_state3_machine() 357 x25->vr = 0; in x25_state4_machine()
|
D | x25_out.c | 126 skb->data[3] |= (x25->vr << 1) & 0xFE; in x25_send_iframe() 130 skb->data[2] |= (x25->vr << 5) & 0xE0; in x25_send_iframe() 202 x25->vl = x25->vr; in x25_kick() 222 x25->vl = x25->vr; in x25_enquiry_response()
|
/kernel/linux/linux-5.10/net/ax25/ |
D | ax25_std_in.c | 66 ax25->vr = 0; in ax25_std_state1_machine() 163 ax25->vr = 0; in ax25_std_state3_machine() 223 if (ns == ax25->vr) { in ax25_std_state3_machine() 224 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_std_state3_machine() 227 ax25->vr = ns; /* ax25->vr - 1 */ in ax25_std_state3_machine() 288 ax25->vr = 0; in ax25_std_state4_machine() 378 if (ns == ax25->vr) { in ax25_std_state4_machine() 379 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_std_state4_machine() 382 ax25->vr = ns; /* ax25->vr - 1 */ in ax25_std_state4_machine()
|
D | ax25_ds_in.c | 58 ax25->vr = 0; in ax25_ds_state1_machine() 166 ax25->vr = 0; in ax25_ds_state3_machine() 238 if (ns == ax25->vr) { in ax25_ds_state3_machine() 239 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_ds_state3_machine() 242 ax25->vr = ns; /* ax25->vr - 1 */ in ax25_ds_state3_machine()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 409 struct mlxsw_sp_vr *vr; member 428 struct mlxsw_sp_vr *vr, in mlxsw_sp_fib_create() argument 444 fib->vr = vr; in mlxsw_sp_fib_create() 664 static bool mlxsw_sp_vr_is_used(const struct mlxsw_sp_vr *vr) in mlxsw_sp_vr_is_used() argument 666 return !!vr->fib4 || !!vr->fib6 || in mlxsw_sp_vr_is_used() 667 !!vr->mr_table[MLXSW_SP_L3_PROTO_IPV4] || in mlxsw_sp_vr_is_used() 668 !!vr->mr_table[MLXSW_SP_L3_PROTO_IPV6]; in mlxsw_sp_vr_is_used() 673 struct mlxsw_sp_vr *vr; in mlxsw_sp_vr_find_unused() local 677 vr = &mlxsw_sp->router->vrs[i]; in mlxsw_sp_vr_find_unused() 678 if (!mlxsw_sp_vr_is_used(vr)) in mlxsw_sp_vr_find_unused() [all …]
|
/kernel/linux/linux-5.10/net/netrom/ |
D | nr_in.c | 84 nr->vr = 0; in nr_state1_machine() 232 save_vr = nrom->vr; in nr_state3_machine() 235 if (ns == nrom->vr) { in nr_state3_machine() 237 nrom->vr = (nrom->vr + 1) % NR_MODULUS; in nr_state3_machine() 251 } while (save_vr != nrom->vr); in nr_state3_machine() 255 if (((nrom->vl + nrom->window) % NR_MODULUS) == nrom->vr) { in nr_state3_machine()
|
D | nr_out.c | 87 skb->data[3] = nr->vr; in nr_send_iframe() 109 skbn->data[3] = nr->vr; in nr_send_nak_frame() 117 nr->vl = nr->vr; in nr_send_nak_frame() 178 nr->vl = nr->vr; in nr_kick() 252 nr->vl = nr->vr; in nr_enquiry_response()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/net/lapb/ |
D | lapb_out.c | 50 frame[1] |= lapb->vr << 1; in lapb_send_iframe() 56 *frame |= lapb->vr << 5; in lapb_send_iframe() 61 lapb->dev, lapb->state, poll_bit, lapb->vs, lapb->vr); in lapb_send_iframe() 173 lapb->dev, lapb->state, lapb->vr); in lapb_enquiry_response() 183 lapb->dev, lapb->state, lapb->vr); in lapb_timeout_response()
|
D | lapb_in.c | 62 lapb->vr = 0; in lapb_state0_machine() 82 lapb->vr = 0; in lapb_state0_machine() 160 lapb->vr = 0; in lapb_state1_machine() 271 lapb->vr = 0; in lapb_state3_machine() 289 lapb->vr = 0; in lapb_state3_machine() 400 if (frame->ns == lapb->vr) { in lapb_state3_machine() 415 lapb->vr = (lapb->vr + 1) % modulus; in lapb_state3_machine() 432 lapb->dev, frame->pf, lapb->vr); in lapb_state3_machine() 495 lapb->vr = 0; in lapb_state4_machine() 515 lapb->vr = 0; in lapb_state4_machine()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | vx-insn.h | 247 .macro VGBM vr imm2 248 VX_NUM v1, \vr 344 .macro VLGV gr, vr, disp, base="%r0", m 347 VX_NUM v3, \vr 352 .macro VLGVB gr, vr, disp, base="%r0" 353 VLGV \gr, \vr, \disp, \base, 0 355 .macro VLGVH gr, vr, disp, base="%r0" 356 VLGV \gr, \vr, \disp, \base, 1 358 .macro VLGVF gr, vr, disp, base="%r0" 359 VLGV \gr, \vr, \disp, \base, 2 [all …]
|
/kernel/linux/linux-5.10/drivers/platform/mellanox/ |
D | mlxbf-tmfifo.c | 290 const struct vring *vr = virtqueue_get_vring(vring->vq); in mlxbf_tmfifo_get_next_desc() local 294 if (vring->next_avail == virtio16_to_cpu(vdev, vr->avail->idx)) in mlxbf_tmfifo_get_next_desc() 300 idx = vring->next_avail % vr->num; in mlxbf_tmfifo_get_next_desc() 301 head = virtio16_to_cpu(vdev, vr->avail->ring[idx]); in mlxbf_tmfifo_get_next_desc() 302 if (WARN_ON(head >= vr->num)) in mlxbf_tmfifo_get_next_desc() 307 return &vr->desc[head]; in mlxbf_tmfifo_get_next_desc() 314 const struct vring *vr = virtqueue_get_vring(vring->vq); in mlxbf_tmfifo_release_desc() local 318 vr_idx = virtio16_to_cpu(vdev, vr->used->idx); in mlxbf_tmfifo_release_desc() 319 idx = vr_idx % vr->num; in mlxbf_tmfifo_release_desc() 320 vr->used->ring[idx].id = cpu_to_virtio32(vdev, desc - vr->desc); in mlxbf_tmfifo_release_desc() [all …]
|