| /linux/drivers/vhost/ |
| H A D | scsi.c | 218 struct vhost_scsi *vs; member 305 static void vhost_scsi_init_inflight(struct vhost_scsi *vs, in vhost_scsi_init_inflight() argument 312 for (i = 0; i < vs->dev.nvqs; i++) { in vhost_scsi_init_inflight() 313 vq = &vs->vqs[i].vq; in vhost_scsi_init_inflight() 318 idx = vs->vqs[i].inflight_idx; in vhost_scsi_init_inflight() 320 old_inflight[i] = &vs->vqs[i].inflights[idx]; in vhost_scsi_init_inflight() 323 vs->vqs[i].inflight_idx = idx ^ 1; in vhost_scsi_init_inflight() 324 new_inflight = &vs->vqs[i].inflights[idx ^ 1]; in vhost_scsi_init_inflight() 422 struct vhost_scsi *vs = svq->vs; in vhost_scsi_release_cmd_res() local 441 sg_free_table_chained(&tv_cmd->table, vs->inline_sg_cnt); in vhost_scsi_release_cmd_res() [all …]
|
| /linux/sound/virtio/ |
| H A D | virtio_chmap.c | 86 struct virtio_pcm_stream *vs; in virtsnd_chmap_parse_cfg() local 94 vs = &vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK]; in virtsnd_chmap_parse_cfg() 97 vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in virtsnd_chmap_parse_cfg() 106 vs->nchmaps++; in virtsnd_chmap_parse_cfg() 116 * @vs: VirtIO PCM stream. 122 struct virtio_pcm_stream *vs) in virtsnd_chmap_add_ctls() argument 127 for (i = 0; i < vs->nchmaps; i++) in virtsnd_chmap_add_ctls() 128 if (max_channels < vs->chmaps[i].channels) in virtsnd_chmap_add_ctls() 129 max_channels = vs->chmaps[i].channels; in virtsnd_chmap_add_ctls() 131 return snd_pcm_add_chmap_ctls(pcm, direction, vs->chmaps, max_channels, in virtsnd_chmap_add_ctls() [all …]
|
| H A D | virtio_pcm.c | 463 struct virtio_pcm_stream *vs; in virtsnd_pcm_build_devs() 470 vs = &vpcm->streams[vss->direction]; in virtsnd_pcm_build_devs() 471 vs->substreams[vs->nsubstreams++] = vss; in virtsnd_pcm_build_devs() 476 struct virtio_pcm_stream *vs = &vpcm->streams[i]; in virtsnd_pcm_build_devs() 480 if (!vs->nsubstreams) in virtsnd_pcm_build_devs() 484 vs->substreams[kss->number]->substream = kss; in virtsnd_pcm_build_devs() 462 struct virtio_pcm_stream *vs; virtsnd_pcm_build_devs() local 475 struct virtio_pcm_stream *vs = &vpcm->streams[i]; virtsnd_pcm_build_devs() local
|
| /linux/arch/arm/vfp/ |
| H A D | vfpsingle.c | 54 static void vfp_single_normalise_denormal(struct vfp_single *vs) in vfp_single_normalise_denormal() argument 56 int bits = 31 - fls(vs->significand); in vfp_single_normalise_denormal() 58 vfp_single_dump("normalise_denormal: in", vs); in vfp_single_normalise_denormal() 61 vs->exponent -= bits - 1; in vfp_single_normalise_denormal() 62 vs->significand <<= bits; in vfp_single_normalise_denormal() 65 vfp_single_dump("normalise_denormal: out", vs); in vfp_single_normalise_denormal() 70 u32 __vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions) in __vfp_single_normaliseround() argument 72 u32 vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions, const char … in __vfp_single_normaliseround() 78 vfp_single_dump("pack: in", vs); in __vfp_single_normaliseround() 83 if (vs->exponent == 255 && (vs->significand == 0 || exceptions)) in __vfp_single_normaliseround() [all …]
|
| /linux/arch/mips/math-emu/ |
| H A D | ieee754int.h | 54 #define EXPLODESP(v, vc, vs, ve, vm) \ argument 56 vs = SPSIGN(v); \ 92 #define EXPLODEDP(v, vc, vs, ve, vm) \ argument 95 vs = DPSIGN(v); \ 120 #define FLUSHDP(v, vc, vs, ve, vm) \ argument 127 v = ieee754dp_zero(vs); \ 131 #define FLUSHSP(v, vc, vs, ve, vm) \ argument 138 v = ieee754sp_zero(vs); \
|
| /linux/security/selinux/ss/ |
| H A D | constraint.h | 37 #define CEXPR_L1L2 32 /* low level 1 vs. low level 2 */ 38 #define CEXPR_L1H2 64 /* low level 1 vs. high level 2 */ 39 #define CEXPR_H1L2 128 /* high level 1 vs. low level 2 */ 40 #define CEXPR_H1H2 256 /* high level 1 vs. high level 2 */ 41 #define CEXPR_L1H1 512 /* low level 1 vs. high level 1 */ 42 #define CEXPR_L2H2 1024 /* low level 2 vs. high level 2 */
|
| /linux/net/lapb/ |
| H A D | lapb_out.c | 48 frame[0] |= lapb->vs << 1; in lapb_send_iframe() 57 *frame |= lapb->vs << 1; in lapb_send_iframe() 61 lapb->dev, lapb->state, poll_bit, lapb->vs, lapb->vr); in lapb_send_iframe() 72 start = !skb_peek(&lapb->ack_queue) ? lapb->va : lapb->vs; in lapb_kick() 77 lapb->vs = start; in lapb_kick() 99 lapb->vs = (lapb->vs + 1) % modulus; in lapb_kick() 106 } while (lapb->vs != end && (skb = skb_dequeue(&lapb->write_queue)) != NULL); in lapb_kick() 191 if (lapb->vs == nr) { in lapb_check_iframes_acked()
|
| H A D | lapb_subr.c | 83 * Validate that the value of nr is between va and vs. Return true or 93 while (vc != lapb->vs) { in lapb_validate_nr() 99 return nr == lapb->vs; in lapb_validate_nr() 273 *dptr++ = (lapb->vs << 1) & 0xFE; in lapb_transmit_frmr() 287 *dptr = (lapb->vs << 1) & 0x0E; in lapb_transmit_frmr()
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | adi,ad7380.yaml | 86 derived from it. Connect to vs-p-supply for normal operation. 88 vs-p-supply: 92 vs-n-supply: 98 LDO supply. Connect to vs-p-supply or a 3.6 to 5.5 V supply. 259 - vs-p-supply 260 - vs-n-supply 264 vs-p-supply: false 265 vs-n-supply: false 317 vs-p-supply = <&supply_5V>; 318 vs-n-supply = <&supply_0V>;
|
| /linux/net/x25/ |
| H A D | x25_out.c | 124 skb->data[2] = (x25->vs << 1) & 0xFE; in x25_send_iframe() 129 skb->data[2] |= (x25->vs << 1) & 0x0E; in x25_send_iframe() 164 start = skb_peek(&x25->ack_queue) ? x25->vs : x25->va; in x25_kick() 170 x25->vs = start; in x25_kick() 192 x25->vs = (x25->vs + 1) % modulus; in x25_kick() 199 } while (x25->vs != end && in x25_kick()
|
| H A D | x25_in.c | 101 x25->vs = 0; in x25_state1_machine() 225 x25->vs = 0; in x25_state3_machine() 247 x25->vs = 0; in x25_state3_machine() 269 x25->vs = 0; in x25_state3_machine() 287 x25->vs = 0; in x25_state3_machine() 361 x25->vs = 0; in x25_state4_machine()
|
| /linux/tools/perf/tests/ |
| H A D | pmu-events.c | 264 pr_debug2("testing event e1 %s: mismatched name string, %s vs %s\n", in compare_pmu_events() 270 pr_debug2("testing event e1 %s: mismatched compat string, %s vs %s\n", in compare_pmu_events() 276 pr_debug2("testing event e1 %s: mismatched event, %s vs %s\n", in compare_pmu_events() 282 pr_debug2("testing event e1 %s: mismatched desc, %s vs %s\n", in compare_pmu_events() 288 pr_debug2("testing event e1 %s: mismatched topic, %s vs %s\n", in compare_pmu_events() 294 pr_debug2("testing event e1 %s: mismatched long_desc, %s vs %s\n", in compare_pmu_events() 300 pr_debug2("testing event e1 %s: mismatched pmu string, %s vs %s\n", in compare_pmu_events() 306 pr_debug2("testing event e1 %s: mismatched unit, %s vs %s\n", in compare_pmu_events() 312 pr_debug2("testing event e1 %s: mismatched perpkg, %d vs %d\n", in compare_pmu_events() 318 pr_debug2("testing event e1 %s: mismatched deprecated, %d vs in compare_pmu_events() [all...] |
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | Kconfig | 150 tristate "Realtek 8922AE/8922AE-VS PCI wireless network (Wi-Fi 7) adapter" 156 Select this option will enable support for 8922AE/8922AE-VS chipset 161 The variant 8922AE-VS has the same features except 1024-QAM. 176 tristate "Realtek 8922DE/8922DE-VS PCI wireless network (Wi-Fi 7) adapter" 182 Select this option will enable support for 8922DE/8922DE-VS chipset
|
| /linux/drivers/video/fbdev/omap/ |
| H A D | sossi.c | 387 int hs, vs; in sossi_setup_tearsync() local 394 vs = ps_to_sossi_ticks(vs_pulse_time, div); in sossi_setup_tearsync() 395 if (vs < 8 || vs <= hs || vs >= (1 << 12)) in sossi_setup_tearsync() 397 vs /= 8; in sossi_setup_tearsync() 398 vs--; in sossi_setup_tearsync() 405 "setup_tearsync: hs %d vs %d hs_inv %d vs_inv %d\n", in sossi_setup_tearsync() 406 hs, vs, hs_pol_inv, vs_pol_inv); in sossi_setup_tearsync() 411 l |= vs << 3; in sossi_setup_tearsync() 436 mode = 2; /* HS or VS */ in sossi_enable_tearsync() 438 mode = 3; /* VS only */ in sossi_enable_tearsync()
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_core.c | 73 static inline bool vxlan_collect_metadata(struct vxlan_sock *vs) in vxlan_collect_metadata() argument 75 return vs->flags & VXLAN_F_COLLECT_METADATA || in vxlan_collect_metadata() 86 struct vxlan_sock *vs; in vxlan_find_sock() local 90 hlist_for_each_entry_rcu(vs, vs_head(net, port), hlist) { in vxlan_find_sock() 91 if (inet_sk(vs->sk)->inet_sport == port && in vxlan_find_sock() 92 vxlan_get_sk_family(vs) == family && in vxlan_find_sock() 93 vs->flags == flags && in vxlan_find_sock() 94 vs->sk->sk_bound_dev_if == ifindex) in vxlan_find_sock() 95 return vs; in vxlan_find_sock() 100 static struct vxlan_dev *vxlan_vs_find_vni(struct vxlan_sock *vs, in vxlan_vs_find_vni() argument [all …]
|
| H A D | vxlan_vnifilter.c | 44 struct vxlan_sock *vs; in vxlan_vs_add_del_vninode() local 59 vs = rtnl_dereference(vxlan->vn6_sock); in vxlan_vs_add_del_vninode() 60 if (vs && v) { in vxlan_vs_add_del_vninode() 62 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_del_vninode() 65 vs = rtnl_dereference(vxlan->vn4_sock); in vxlan_vs_add_del_vninode() 66 if (vs && v) { in vxlan_vs_add_del_vninode() 68 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_del_vninode() 73 struct vxlan_sock *vs, in vxlan_vs_add_vnigrp() argument 93 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_vnigrp() 253 u32 vs = be32_to_cpu(vbegin->vni); in vxlan_fill_vni_filter_entry() local [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | spin_lock.c | 21 "; R1=map_value(map=.data.A,ks=4,vs=4)\n2: (85) call bpf_this_cpu_ptr#154\n" 25 " R0=map_value(id=1,map=array_map,ks=4,vs=8)" 26 " R1=map_value(id=1,map=array_map,ks=4,vs=8)\n" 31 " R0=map_value(id=2,ks=4,vs=8)" 32 " R1=map_value(id=2,ks=4,vs=8)\n"
|
| H A D | stacktrace_map_skip.c | 46 if (!ASSERT_OK(err, "compare_map_keys stackid_hmap vs. stackmap")) in test_stacktrace_map_skip() 50 if (!ASSERT_OK(err, "compare_map_keys stackmap vs. stackid_hmap")) in test_stacktrace_map_skip() 55 if (!ASSERT_OK(err, "compare_stack_ips stackmap vs. stack_amap")) in test_stacktrace_map_skip()
|
| H A D | stacktrace_map.c | 37 if (CHECK(err, "compare_map_keys stackid_hmap vs. stackmap", in test_stacktrace_map() 42 if (CHECK(err, "compare_map_keys stackmap vs. stackid_hmap", in test_stacktrace_map() 48 if (CHECK(err, "compare_stack_ips stackmap vs. stack_amap", in test_stacktrace_map()
|
| H A D | stacktrace_build_id.c | 45 if (CHECK(err, "compare_map_keys stackid_hmap vs. stackmap", in test_stacktrace_build_id() 50 if (CHECK(err, "compare_map_keys stackmap vs. stackid_hmap", in test_stacktrace_build_id() 98 CHECK(err, "compare_stack_ips stackmap vs. stack_amap", in test_stacktrace_build_id()
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | tdls.h | 103 * @tx_to_peer_tid: TID reserved vs. the peer for FW based Tx 104 * @tx_to_peer_ssn: initial SSN the FW should use for Tx on its TID vs the peer 119 * @tx_to_ap_tid: TID reverved vs. the AP for FW based Tx 120 * @tx_to_ap_ssn: initial SSN the FW should use for Tx on its TID vs. the AP
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
| H A D | nv40.c | 162 int ret, vs; in nv40_instmem_oneinit() local 168 vs = hweight8((nvkm_rd32(device, 0x001540) & 0x0000ff00) >> 8); in nv40_instmem_oneinit() 169 if (device->chipset == 0x40) imem->base.reserved = 0x6aa0 * vs; in nv40_instmem_oneinit() 170 else if (device->chipset < 0x43) imem->base.reserved = 0x4f00 * vs; in nv40_instmem_oneinit() 171 else if (nv44_gr_class(device)) imem->base.reserved = 0x4980 * vs; in nv40_instmem_oneinit() 172 else imem->base.reserved = 0x4a40 * vs; in nv40_instmem_oneinit()
|
| /linux/net/dcb/ |
| H A D | Kconfig | 13 requirements (highly reliable, no drops vs. best effort vs. low
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | insn-x86.c | 114 pr_debug("Failed to decode length (%d vs expected %d): %s\n", in test_data_item() 128 pr_debug("Failed to decode 'op' value (%d vs expected %d): %s\n", in test_data_item() 134 pr_debug("Failed to decode 'branch' value (%d vs expected %d): %s\n", in test_data_item() 140 pr_debug("Failed to decode 'rel' value (%#x vs expected %#x): %s\n", in test_data_item()
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | rpath.sh | 99 #ip netns exec "$ns2" "$iptables" -t raw -vS 100 #ip netns exec "$ns2" "$ip6tables" -t raw -vS 108 ip netns exec "$ns2" "$1" -t raw -vS | grep -q -- "-m rpfilter -c 0 0" 112 ip netns exec "$ns2" "$1" -t raw -vS | \
|