Searched refs:accum_val (Results 1 – 2 of 2) sorted by relevance
34 struct bpf_perf_event_value *diff_val, *accum_val; in BPF_PROG() local67 accum_val = bpf_map_lookup_elem(&accum_readings, accum_key); in BPF_PROG()68 if (!accum_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()
1077 u32 accum_val = LTC2947_ACCUM_POL_1(accum[0]) | in ltc2947_setup() local1086 ret = regmap_write(st->map, LTC2947_REG_GPIO_ACCUM, accum_val); in ltc2947_setup()