| /linux/security/selinux/ss/ |
| H A D | constraint.h | 22 #define CEXPR_MAXDEPTH 5 29 #define CEXPR_NAMES 5 /* attr op names */ 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 */ 49 #define CEXPR_INCOMP 5 /* incomp */
|
| /linux/drivers/hwmon/pmbus/ |
| H A D | ibm-cffps.c | 44 #define CFFPS_MFR_OC_FAULT BIT(5) 159 rc = snprintf(data, 5, "%04X", rc); in ibm_cffps_debugfs_read() 180 snprintf(&data[i * 4], 5, "%04X", rc); in ibm_cffps_debugfs_read() 485 enum versions vs = cffps_unknown; in ibm_cffps_probe() local 492 vs = (uintptr_t)md; in ibm_cffps_probe() 496 vs = (enum versions)id->driver_data; in ibm_cffps_probe() 499 if (vs == cffps_unknown) { in ibm_cffps_probe() 521 vs = cffps1; in ibm_cffps_probe() 523 vs = cffps2; in ibm_cffps_probe() 526 vs = cffps2; in ibm_cffps_probe() [all …]
|
| /linux/net/rose/ |
| H A D | rose_out.c | 37 skb->data[2] |= (rose->vr << 5) & 0xE0; in rose_send_iframe() 38 skb->data[2] |= (rose->vs << 1) & 0x0E; in rose_send_iframe() 60 start = (skb_peek(&rose->ack_queue) == NULL) ? rose->va : rose->vs; in rose_kick() 66 rose->vs = start; in rose_kick() 88 rose->vs = (rose->vs + 1) % ROSE_MODULUS; in rose_kick() 95 } while (rose->vs != end && in rose_kick()
|
| H A D | rose_in.c | 46 rose->vs = 0; in rose_state1_machine() 114 rose->vs = 0; in rose_state3_machine() 132 rose->vs = 0; in rose_state3_machine() 154 rose->vs = 0; in rose_state3_machine() 174 rose->vs = 0; in rose_state3_machine() 228 rose->vs = 0; in rose_state4_machine() 248 * State machine for state 5, Awaiting Call Acceptance State.
|
| /linux/net/lapb/ |
| H A D | lapb_out.c | 48 frame[0] |= lapb->vs << 1; in lapb_send_iframe() 56 *frame |= lapb->vr << 5; 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() 190 frame->nr = (skb->data[0] >> 5) & 0x07; in lapb_decode() 197 frame->nr = (skb->data[0] >> 5) & 0x07; in lapb_decode() 248 *dptr |= (lapb->vr << 5); in lapb_send_control() 273 *dptr++ = (lapb->vs << 1) & 0xFE; in lapb_transmit_frmr() 280 lapb_dbg(1, "(%p) S%d TX FRMR %5ph\n", in lapb_transmit_frmr() 287 *dptr = (lapb->vs << 1) & 0x0E; in lapb_transmit_frmr() 288 *dptr |= (lapb->vr << 5) & 0xE0; in lapb_transmit_frmr()
|
| /linux/drivers/media/i2c/ |
| H A D | tda1997x_regs.h | 130 #define DETECT_5V_SEL BIT(2) /* 5V present on selected input */ 131 #define DETECT_5V_B BIT(1) /* 5V present on input B */ 132 #define DETECT_5V_A BIT(0) /* 5V present on input A */ 158 #define HPD_MAN_CTRL_5VEN BIT(2) /* Output 5V */ 169 #define VDP_CTRL_COMPDEL_BP BIT(5) /* bypass compdel */ 190 #define VHREF_HSYNC_SEL_HS BIT(0) /* 1=HS 0=VS */ 193 #define AUDIO_OUT_ENABLE_ACLK BIT(5) 240 #define HDMI_FLAGS_EESS BIT(5) /* EESS detected */ 302 #define HDCP_DE_REGEN_EN BIT(5) /* enable regen mode */ 307 #define HDCP_DE_COMP_OR 5L [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H A D | ctxnv40.c | 43 * - In the section of code that loads the per-vs state, NVIDIA check 45 * of state + the state for a single vs as opposed to the state for 46 * all vs units. It doesn't seem likely that it'll occur in normal 62 #define CP_FLAG_USER_SAVE ((0 * 32) + 5) 74 #define CP_FLAG_AUTO_LOAD ((3 * 32) + 5) 109 #define CP_LOAD_MAGIC_NV44TCL 0x00800029 /* per-vs state (0x4497) */ 110 #define CP_LOAD_MAGIC_NV40TCL 0x00800041 /* per-vs state (0x4097) */ 116 * - get vs count from 0x1540 132 return 5; in nv40_gr_vs_count() 181 cp_ctx(ctx, 0x40057c, 5); in nv40_gr_construct_general() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | adi,ad7380.yaml | 81 For adaq devices, a 5V supply voltage. A 3.3V internal reference is 82 derived from it. Connect to vs-p-supply for normal operation. 84 vs-p-supply: 88 vs-n-supply: 94 LDO supply. Connect to vs-p-supply or a 3.6 to 5.5 V supply. 238 - vs-p-supply 239 - vs-n-supply 243 vs-p-supply: false 244 vs-n-supply: false 295 vs-p-supply = <&supply_5V>; [all …]
|
| /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() 130 skb->data[2] |= (x25->vr << 5) & 0xE0; 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_proc.c | 53 seq_printf(seq, "%-15s %-6d %-5s\n", in x25_seq_route_show() 85 seq_printf(seq, "dest_addr src_addr dev lci st vs vr " in x25_seq_socket_show() 98 seq_printf(seq, "%-10s %-10s %-5s %3.3X %d %d %d %d %3lu %3lu " in x25_seq_socket_show() 99 "%3lu %3lu %3lu %5d %5d %ld\n", in x25_seq_socket_show() 102 devname, x25->lci & 0x0FFF, x25->state, x25->vs, x25->vr, in x25_seq_socket_show()
|
| /linux/include/media/drv-intf/ |
| H A D | msp3400.h | 83 /* The msp has up to 5 DSP outputs, each output can independently select 102 #define MSP_DSP_IN_I2S1 5 /* I2S1 DSP input */ 121 #define MSP_SC_IN_DSP_SCART2 5 /* DSP SCART2 input */ 145 /* Tuner inputs vs. msp version */ 162 /* SCART inputs vs. msp version */ 179 /* DSP inputs vs. msp version (tuner and SCART inputs are always available) */ 196 /* DSP outputs vs. msp version */
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | Kconfig | 125 tristate "Realtek 8922AE/8922AE-VS PCI wireless network (Wi-Fi 7) adapter" 131 Select this option will enable support for 8922AE/8922AE-VS chipset 134 supporting 2x2 2GHz/5GHz/6GHz 4096-QAM 160MHz channels. 136 The variant 8922AE-VS has the same features except 1024-QAM.
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | spin_lock.c | 16 "5: (bf) r1 = r0 ; R0=ptr_foo(id=2,ref_obj_id=2) " 20 "; R1=map_value(map=.data.A,ks=4,vs=4)\n2: (85) call bpf_this_cpu_ptr#154\n" 24 " R0=map_value(id=1,map=array_map,ks=4,vs=8)" 25 " R1=map_value(id=1,map=array_map,ks=4,vs=8)\n" 30 " R0=map_value(id=2,ks=4,vs=8)" 31 " R1=map_value(id=2,ks=4,vs=8)\n"
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | run_bench_ringbufs.sh | 26 for b in 1 5 10 25 50 100 250 500 1000 2000 3000; do 30 for b in 1 5 10 25 50 100 250 500 1000 2000 3000; do 34 header "Ringbuf back-to-back, reserve+commit vs output" 38 header "Ringbuf sampled, reserve+commit vs output"
|
| /linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
| H A D | link_dp_training_8b_10b.c | 107 case 5: return 32000; in get_eq_training_aux_rd_interval() 194 * 5. Wait 1ms in set_link_settings_and_perform_early_tps2_retimer_pre_lt_sequence() 246 * infinite loop by switching the VS in perform_8b_10b_clock_recovery_sequence() 263 /* EPR #361076 - write as a 5-byte burst, in perform_8b_10b_clock_recovery_sequence() 297 /* 5. check CR done*/ in perform_8b_10b_clock_recovery_sequence() 303 /* 6. max VS reached*/ in perform_8b_10b_clock_recovery_sequence() 323 /* 8. update VS/PE/PC2 in lt_settings*/ in perform_8b_10b_clock_recovery_sequence() 370 /* EPR #361076 - write as a 5-byte burst, in perform_8b_10b_channel_equalization_sequence() 402 /* 5. check CR done*/ in perform_8b_10b_channel_equalization_sequence() 414 /* 7. update VS/PE/PC2 in lt_settings*/ in perform_8b_10b_channel_equalization_sequence()
|
| /linux/drivers/isdn/mISDN/ |
| H A D | layer2.c | 375 p1 = (l2->vs - l2->va) % 128; in cansend() 377 p1 = (l2->vs - l2->va) % 8; in cansend() 565 if (skb->len < headers + 5) in FRMR_error() 586 return ((nr - l2->va) % 128) <= ((l2->vs - l2->va) % 128); in legalnr() 588 return ((nr - l2->va) % 8) <= ((l2->vs - l2->va) % 8); in legalnr() 912 l2->vs = 0; in l2_start_multi() 955 if (l2->vs != l2->va) { in l2_restart_multi() 961 l2->vs = 0; in l2_restart_multi() 1013 } else if (l2->vs != l2->va) { in l2_connected() 1017 stop_t200(l2, 5); in l2_connected() [all …]
|
| /linux/tools/testing/selftests/amd-pstate/ |
| H A D | gitsource.sh | 11 # 5) Get power consumption and throughput by amd_pstate_trace.py. 28 # $1: governor, $2: round, $3: des-perf, $4: freq, $5: load, $6: time $7: energy, $8: PPW 31 echo "$1, $2, $3, $4, $5, $6, $7, $8" | tee -a $OUTFILE_GIT.csv > /dev/null 2>&1 104 …awk '{print $5}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-d… 205 printf "Gitsource comparison $1-$2 VS $3-$4" | tee -a $OUTFILE_GIT.result 211 load_base=`echo "$base" | awk '{print $5}' | sed s/,//` 219 load_comp=`echo "$comp" | awk '{print $5}' | sed s/,//` 244 …store_csv_gitsource "$1-$2 VS $3-$4" "Comprison(%)" "$des_perf_drop" "$freq_drop" "$load_drop" "$t… 251 # acpi-cpufreq-ondemand VS acpi-cpufreq-schedutil 254 # amd-pstate-ondemand VS amd-pstate-schedutil [all …]
|
| H A D | tbench.sh | 11 # 5) Analyse test results and save it in file selftest.tbench.csv. 23 # $1: governor, $2: round, $3: des-perf, $4: freq, $5: load, $6: performance, $7: energy, $8: perfo… 26 echo "$1, $2, $3, $4, $5, $6, $7, $8" | tee -a $OUTFILE_TBENCH.csv > /dev/null 2>&1 86 …awk '{print $5}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-d… 187 printf "Tbench comparison $1-$2 VS $3-$4" | tee -a $OUTFILE_TBENCH.result 193 load_base=`echo "$base" | awk '{print $5}' | sed s/,//` 201 load_comp=`echo "$comp" | awk '{print $5}' | sed s/,//` 226 …store_csv_tbench "$1-$2 VS $3-$4" "Comprison(%)" "$des_perf_drop" "$freq_drop" "$load_drop" "$perf… 233 # acpi-cpufreq-ondemand VS acpi-cpufreq-schedutil 236 # amd-pstate-ondemand VS amd-pstate-schedutil [all …]
|
| /linux/drivers/video/fbdev/omap/ |
| H A D | hwa742.c | 165 tmp[5] = x_end >> 8; in set_window_regs() 793 int hs, vs; in setup_tearsync() local 835 * HS and VS in setup_tearsync() 839 /* decent transfer speed, we'll always use only VS */ in setup_tearsync() 844 * HS or'ed with VS doesn't work, use the active high in setup_tearsync() 851 vs = vndp; in setup_tearsync() 854 * Use HS or'ed with VS as a TE signal if both are needed in setup_tearsync() 859 vs = vsw; in setup_tearsync() 869 vs = vs * (hdisp + hndp) * 1000000 / (pix_clk / 1000); /* ps */ in setup_tearsync() 870 vs *= 1000; in setup_tearsync() [all …]
|
| H A D | sossi.c | 234 l |= ((bus_pick_count - 1) << 5) | ((bus_pick_width - 1) & 0x1f); in _set_bits_per_cycle() 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() [all …]
|
| /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/drivers/vhost/ |
| H A D | scsi.c | 215 struct vhost_scsi *vs; member 302 static void vhost_scsi_init_inflight(struct vhost_scsi *vs, in vhost_scsi_init_inflight() argument 309 for (i = 0; i < vs->dev.nvqs; i++) { in vhost_scsi_init_inflight() 310 vq = &vs->vqs[i].vq; in vhost_scsi_init_inflight() 315 idx = vs->vqs[i].inflight_idx; in vhost_scsi_init_inflight() 317 old_inflight[i] = &vs->vqs[i].inflights[idx]; in vhost_scsi_init_inflight() 320 vs->vqs[i].inflight_idx = idx ^ 1; in vhost_scsi_init_inflight() 321 new_inflight = &vs->vqs[i].inflights[idx ^ 1]; in vhost_scsi_init_inflight() 421 struct vhost_scsi *vs = svq->vs; in vhost_scsi_release_cmd_res() local 440 sg_free_table_chained(&tv_cmd->table, vs->inline_sg_cnt); in vhost_scsi_release_cmd_res() [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | pm8941.dtsi | 84 <0x0 0x10 5 IRQ_TYPE_EDGE_BOTH>, 226 interrupt-names = "ocp-5vs1", "ocp-5vs2"; 235 pm8941_5vs1: 5vs1 { 241 qcom,vs-soft-start-strength = <0>; 245 pm8941_5vs2: 5vs2 { 251 qcom,vs-soft-start-strength = <0>;
|
| /linux/net/ax25/ |
| H A D | ax25_subr.c | 76 * Validate that the value of nr is between va and vs. Return true or 83 while (vc != ax25->vs) { in ax25_validate_nr() 88 if (nr == ax25->vs) return 1; in ax25_validate_nr() 109 *nr = (frame[0] >> 5) & 0x07; in ax25_decode() 113 *nr = (frame[0] >> 5) & 0x07; in ax25_decode() 165 *dptr |= (ax25->vr << 5); in ax25_send_control()
|