Home
last modified time | relevance | path

Searched refs:vn (Results 1 – 21 of 21) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dmemnv04.c35 struct nv04_mem_map_vn vn; in nv04_mem_map() member
41 if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) in nv04_mem_map()
55 struct nv04_mem_vn vn; in nv04_mem_new() member
59 if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) in nv04_mem_new()
Dmemnv50.c39 struct nv50_mem_map_vn vn; in nv50_mem_map() member
52 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nv50_mem_map()
70 struct nv50_mem_vn vn; in nv50_mem_new() member
80 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nv50_mem_new()
Dmemgf100.c39 struct gf100_mem_map_vn vn; in gf100_mem_map() member
50 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gf100_mem_map()
73 struct gf100_mem_vn vn; in gf100_mem_new() member
82 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gf100_mem_new()
Dvmmnv04.c84 struct nv04_vmm_map_vn vn; in nv04_vmm_valid() member
87 if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) in nv04_vmm_valid()
108 struct nv04_vmm_vn vn; in nv04_vmm_new_() member
117 return nvif_unvers(-ENOSYS, &argv, &argc, args->vn); in nv04_vmm_new_()
Dvmmgp100.c405 struct gp100_vmm_map_vn vn; in gp100_vmm_valid() member
423 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gp100_vmm_valid()
516 struct gp100_vmm_fault_replay_vn vn; in gp100_vmm_fault_replay() member
520 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gp100_vmm_fault_replay()
600 struct gp100_vmm_vn vn; in gp100_vmm_new_() member
609 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gp100_vmm_new_()
Dvmmgm200.c150 struct gm200_vmm_vn vn; in gm200_vmm_new_() member
163 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gm200_vmm_new_()
Dmem.c149 struct nvif_mem_ram_vn vn; in nvkm_mem_new_host() member
186 if ( (ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nvkm_mem_new_host()
Dvmmnv50.c232 struct nv50_vmm_map_vn vn; in nv50_vmm_valid() member
251 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nv50_vmm_valid()
Dvmmgf100.c245 struct gf100_vmm_map_vn vn; in gf100_vmm_valid() member
263 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gf100_vmm_valid()
/drivers/net/vxlan/
Dvxlan_core.c171 struct vxlan_net *vn = net_generic(net, vxlan_net_id); in vs_head() local
173 return &vn->sock_list[hash_32(ntohs(port), PORT_HASH_BITS)]; in vs_head()
1547 static bool vxlan_group_used(struct vxlan_net *vn, struct vxlan_dev *dev) in vxlan_group_used() argument
1569 list_for_each_entry(vxlan, &vn->vxlan_list, next) { in vxlan_group_used()
1598 struct vxlan_net *vn; in __vxlan_sock_release_prep() local
1605 vn = net_generic(sock_net(vs->sock->sk), vxlan_net_id); in __vxlan_sock_release_prep()
1606 spin_lock(&vn->sock_lock); in __vxlan_sock_release_prep()
1612 spin_unlock(&vn->sock_lock); in __vxlan_sock_release_prep()
3016 struct vxlan_net *vn = net_generic(vxlan->net, vxlan_net_id); in vxlan_vs_del_dev() local
3018 spin_lock(&vn->sock_lock); in vxlan_vs_del_dev()
[all …]
/drivers/scsi/fcoe/
Dfcoe_ctlr.c539 struct fip_vn_desc *vn; in fcoe_ctlr_send_keep_alive() local
549 len = sizeof(*kal) + ports * sizeof(*vn); in fcoe_ctlr_send_keep_alive()
564 ports * sizeof(*vn)) / FIP_BPW); in fcoe_ctlr_send_keep_alive()
573 vn = (struct fip_vn_desc *)(kal + 1); in fcoe_ctlr_send_keep_alive()
574 vn->fd_desc.fip_dtype = FIP_DT_VN_ID; in fcoe_ctlr_send_keep_alive()
575 vn->fd_desc.fip_dlen = sizeof(*vn) / FIP_BPW; in fcoe_ctlr_send_keep_alive()
576 memcpy(vn->fd_mac, fip->get_src_addr(lport), ETH_ALEN); in fcoe_ctlr_send_keep_alive()
577 hton24(vn->fd_fc_id, lport->port_id); in fcoe_ctlr_send_keep_alive()
578 put_unaligned_be64(lport->wwpn, &vn->fd_wwpn); in fcoe_ctlr_send_keep_alive()
2031 struct fip_vn_desc vn; in fcoe_ctlr_vn_send() member
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h904 static inline int func_by_vn(struct bnx2x *bp, int vn) in func_by_vn() argument
906 return 2 * vn + BP_PORT(bp); in func_by_vn()
1327 int vn; in bnx2x_link_sync_notify() local
1330 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_link_sync_notify()
1331 if (vn == BP_VN(bp)) in bnx2x_link_sync_notify()
1334 func = func_by_vn(bp, vn); in bnx2x_link_sync_notify()
Dbnx2x_main.c2468 int vn; in bnx2x_calc_vn_min() local
2470 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_calc_vn_min()
2471 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_min()
2484 input->vnic_min_rate[vn] = vn_min_rate; in bnx2x_calc_vn_min()
2502 static void bnx2x_calc_vn_max(struct bnx2x *bp, int vn, in bnx2x_calc_vn_max() argument
2506 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_max()
2521 DP(NETIF_MSG_IFUP, "vn %d: vn_max_rate %d\n", vn, vn_max_rate); in bnx2x_calc_vn_max()
2523 input->vnic_max_rate[vn] = vn_max_rate; in bnx2x_calc_vn_max()
2538 int vn, n = (CHIP_MODE_IS_4_PORT(bp) ? 2 : 1); in bnx2x_read_mf_cfg() local
2554 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_read_mf_cfg()
[all …]
Dbnx2x.h1367 #define BP_FW_MB_IDX_VN(bp, vn) (BP_PORT(bp) +\ argument
1368 (vn) * ((CHIP_IS_E1x(bp) || (CHIP_MODE_IS_4_PORT(bp))) ? 2 : 1))
/drivers/gpu/drm/sun4i/
Dsun8i_vi_layer.c80 u32 vn = 0, vm = 0; in sun8i_vi_layer_update_coord() local
157 vn = (u32)ability * dst_h / 100; in sun8i_vi_layer_update_coord()
158 src_h = vn; in sun8i_vi_layer_update_coord()
193 SUN8I_MIXER_CHAN_VI_DS_N(vn) | in sun8i_vi_layer_update_coord()
197 SUN8I_MIXER_CHAN_VI_DS_N(vn) | in sun8i_vi_layer_update_coord()
/drivers/gpu/drm/i915/
Di915_gem_evict.c377 struct i915_vma *vma, *vn; in i915_gem_evict_vm() local
391 list_for_each_entry_safe(vma, vn, &eviction_list, evict_link) { in i915_gem_evict_vm()
/drivers/gpu/drm/i915/gem/
Di915_gem_tiling.c185 struct i915_vma *vma, *vn; in i915_gem_object_fence_prepare() local
205 list_for_each_entry_safe(vma, vn, &unbind, vm_link) { in i915_gem_object_fence_prepare()
/drivers/gpu/drm/i915/gt/
Dintel_gtt.c36 struct i915_vma *vma, *vn; in __i915_vm_close() local
41 list_for_each_entry_safe(vma, vn, &vm->bound_list, vm_link) { in __i915_vm_close()
Dintel_ggtt.c109 struct i915_vma *vma, *vn; in i915_ggtt_suspend() local
117 list_for_each_entry_safe(vma, vn, &ggtt->vm.bound_list, vm_link) { in i915_ggtt_suspend()
705 struct i915_vma *vma, *vn; in ggtt_cleanup_hw() local
714 list_for_each_entry_safe(vma, vn, &ggtt->vm.bound_list, vm_link) in ggtt_cleanup_hw()
/drivers/usb/gadget/function/
Df_mass_storage.h137 void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn,
Df_mass_storage.c2922 void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn, in fsg_common_set_inquiry_string() argument
2930 "%-8s%-16s%04x", vn ?: "Linux", in fsg_common_set_inquiry_string()