Searched refs:diff_val (Results 1 – 4 of 4) sorted by relevance
/linux/tools/perf/util/bpf_skel/ |
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()
|
A D | bperf_follower.bpf.c | 34 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/drivers/iio/pressure/ |
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/ |
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()
|
Completed in 9 milliseconds