Home
last modified time | relevance | path

Searched refs:diff_val (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/tools/perf/util/bpf_skel/
Dbperf_leader.bpf.c31 struct bpf_perf_event_value val, *prev_val, *diff_val; in BPF_PROG() local
40 diff_val = bpf_map_lookup_elem(&diff_readings, &zero); in BPF_PROG()
41 if (!diff_val) in BPF_PROG()
48 diff_val->counter = val.counter - prev_val->counter; in BPF_PROG()
49 diff_val->enabled = val.enabled - prev_val->enabled; in BPF_PROG()
50 diff_val->running = val.running - prev_val->running; in BPF_PROG()
Dbperf_follower.bpf.c34 struct bpf_perf_event_value *diff_val, *accum_val; in BPF_PROG() local
63 diff_val = bpf_map_lookup_elem(&diff_readings, &zero); in BPF_PROG()
64 if (!diff_val) in BPF_PROG()
71 accum_val->counter += diff_val->counter; in BPF_PROG()
72 accum_val->enabled += diff_val->enabled; in BPF_PROG()
73 accum_val->running += diff_val->running; in BPF_PROG()
/Linux-v6.6/drivers/iio/pressure/
Dhp03.c99 int ab_val, d1_val, d2_val, diff_val, dut, off, sens, x; in hp03_update_temp_pressure() local
142 diff_val = d2_val - cx_val[4]; in hp03_update_temp_pressure()
143 dut = (ab_val * (diff_val >> 7) * (diff_val >> 7)) >> coefs[16]; in hp03_update_temp_pressure()
144 dut = diff_val - dut; in hp03_update_temp_pressure()
/Linux-v6.6/tools/testing/selftests/bpf/
Dveristat.c1613 long base_val = 0, comp_val = 0, diff_val = 0; in output_comp_stats() local
1646 diff_val = comp_val - base_val; in output_comp_stats()
1656 p = diff_val * 100.0 / base_val; in output_comp_stats()
1658 snprintf(diff_buf, sizeof(diff_buf), "%+ld (%+.2lf%%)", diff_val, p); in output_comp_stats()
/Linux-v6.6/drivers/media/dvb-frontends/
Dlgdt3306a.c1443 u32 diff_val, step_val, step_log10; in log10_x1000() local
1477 diff_val = x - valx_x10[i-1]; in log10_x1000()
1483 ((diff_val*step_log10) / step_val); in log10_x1000()