| /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/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/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 %llu\n", in x25_seq_socket_show() 102 devname, x25->lci & 0x0FFF, x25->state, x25->vs, x25->vr, in x25_seq_socket_show()
|
| 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() 389 * State machine for state 5, Call Accepted / Call Connected pending (X25_ACCPT_APPRV_FLAG).
|
| H A D | x25_subr.c | 88 * Validate that the value of nr is between va and vs. Return true or 97 while (vc != x25->vs) { in x25_validate_nr() 103 return nr == x25->vs ? 1 : 0; in x25_validate_nr() 243 *dptr++ |= (x25->vr << 5) & 0xE0; in x25_write_internal() 305 *nr = (frame[2] >> 5) & 0x07; in x25_decode() 328 *nr = (frame[2] >> 5) & 0x07; in x25_decode()
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | adi,ad7380.yaml | 85 For adaq devices, a 5V supply voltage. A 3.3V internal reference is 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>; [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"
|
| /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/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/fs/afs/ |
| H A D | fsclient.c | 40 for (i = 0; i < 5 * 4 * 4; i += 16) { in xdr_dump_bad() 214 struct afs_volume_status *vs) in xdr_decode_AFSFetchVolumeStatus() argument 218 vs->vid = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus() 219 vs->parent_id = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus() 220 vs->online = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus() 221 vs->in_service = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus() 222 vs->blessed = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus() 223 vs->needs_salvage = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus() 224 vs->type = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus() 225 vs->min_quota = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus() [all …]
|
| /linux/drivers/video/fbdev/omap/ |
| 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/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/tools/perf/tests/ |
| H A D | pmu-events.c | 230 .event = "eventid=1,type=5", 263 pr_debug2("testing event e1 %s: mismatched name string, %s vs %s\n", in compare_pmu_events() 269 pr_debug2("testing event e1 %s: mismatched compat string, %s vs %s\n", in compare_pmu_events() 275 pr_debug2("testing event e1 %s: mismatched event, %s vs %s\n", in compare_pmu_events() 281 pr_debug2("testing event e1 %s: mismatched desc, %s vs %s\n", in compare_pmu_events() 287 pr_debug2("testing event e1 %s: mismatched topic, %s vs %s\n", in compare_pmu_events() 293 pr_debug2("testing event e1 %s: mismatched long_desc, %s vs %s\n", in compare_pmu_events() 299 pr_debug2("testing event e1 %s: mismatched pmu string, %s vs %s\n", in compare_pmu_events() 305 pr_debug2("testing event e1 %s: mismatched unit, %s vs %s\n", in compare_pmu_events() 311 pr_debug2("testing event e1 %s: mismatched perpkg, %d vs %d\n", in compare_pmu_events() [all …]
|
| /linux/net/llc/ |
| H A D | llc_pdu.c | 134 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rej_cmd() 154 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rnr_cmd() 173 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rr_cmd() 214 * @vs: tx state vari value for the data link conn at the rejecting LLC 221 u8 f_bit, u8 vs, u8 vr, u8 vzyxw) in llc_pdu_init_as_frmr_rsp() argument 235 FRMR_INFO_SET_Vs(frmr_info, vs); in llc_pdu_init_as_frmr_rsp() 263 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rr_rsp() 283 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rej_rsp() 303 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rnr_rsp()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_linked_scalars.c | 463 volatile char path[5]; in alu32_negative_offset() 467 if (off >= 5 && off < 10) in alu32_negative_offset() 468 path[off - 5] = '.'; in alu32_negative_offset() 608 r6 += 5; /* id A|ADD_CONST, delta 5 */ \ in scalars_stale_delta_from_cleared_id() 609 r6 ^= 0; /* id cleared; delta stays 5 */ \ in scalars_stale_delta_from_cleared_id() 610 r8 = r6; /* new id B, stale delta 5 */ \ in scalars_stale_delta_from_cleared_id() 612 r9 = r6; /* id B, stale delta 5 */ \ in scalars_stale_delta_from_cleared_id() 614 /* Bug: r8 = 10+(3-5) = 8; Fix: r8 = 10+(3-0) = 13 */ \ in scalars_stale_delta_from_cleared_id() 634 w6 += 5; \ in scalars_stale_delta_from_cleared_id_alu32() 695 /* Pruning must fail: base_ids A vs C inconsistent. */ \ in __flag() [all …]
|
| /linux/include/dt-bindings/reset/ |
| H A D | ti-syscon.h | 19 /* When set this function is activated by setting(vs clearing) this bit */ 22 #define STATUS_SET (1 << 5) 27 #define STATUS_CLEAR (0 << 5)
|
| /linux/drivers/video/fbdev/ |
| H A D | asiliantfb.c | 134 /* This expresses the constraint that 150kHz <= Fref/n <= 5Mhz, in asiliant_calc_dclk2() 180 unsigned vs = p->var.yres + p->var.lower_margin; in asiliant_set_timing() local 192 write_cr(0x00, (ht - 5) & 0xff); in asiliant_set_timing() 204 write_cr(0x10, (vs - 1) & 0xff); in asiliant_set_timing() 205 write_cr(0x32, ((vs - 1) >> 8) & 0xf); in asiliant_set_timing() 211 write_cr(0x15, (vs - 1) & 0xff); in asiliant_set_timing() 212 write_cr(0x33, ((vs - 1) >> 8) & 0xf); in asiliant_set_timing() 213 write_cr(0x38, ((ht - 5) & 0x100) >> 8); in asiliant_set_timing() 256 var->green.length = 5; in asiliantfb_check_var() 261 var->green.offset = 5; in asiliantfb_check_var() [all …]
|
| H A D | acornfb.c | 10 * NOTE: Startup setting of HS & VS polarity not supported. 260 * red +++++ (5 bits, 4 to 0) 261 * green +++++ (5 bits, 9 to 5) 262 * blue +++++ (5 bits, 14 to 10) 415 unsigned long hs, vs; in acornfb_validate_timing() local 419 * vs(Hz) = hs(Hz) / ytotal in acornfb_validate_timing() 427 vs = hs / in acornfb_validate_timing() 430 return (vs >= monspecs->vfmin && vs <= monspecs->vfmax && in acornfb_validate_timing() 475 var->red.length = 5; in acornfb_check_var() 476 var->green.offset = 5; in acornfb_check_var() [all …]
|