Searched refs:diff_val (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/perf/util/bpf_skel/ |
| H A D | bperf_leader.bpf.c | 31 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()
|
| /linux/drivers/iio/pressure/ |
| H A D | hp03.c | 99 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/drivers/media/dvb-frontends/ |
| H A D | lgdt3306a.c | 1443 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()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | veristat.c | 2861 long base_val = 0, comp_val = 0, diff_val = 0; in output_comp_stats() 2894 diff_val = comp_val - base_val; in output_comp_stats() 2904 p = diff_val * 100.0 / base_val; in cmp_stats_key() 2906 snprintf(diff_buf, sizeof(diff_buf), "%+ld (%+.2lf%%)", diff_val, p); in cmp_stats_key() 2807 long base_val = 0, comp_val = 0, diff_val = 0; output_comp_stats() local
|