Home
last modified time | relevance | path

Searched refs:prev_val (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/tools/perf/util/bpf_skel/
Dbperf_leader.bpf.c31 struct bpf_perf_event_value val, *prev_val, *diff_val; in BPF_PROG() local
36 prev_val = bpf_map_lookup_elem(&prev_readings, &zero); in BPF_PROG()
37 if (!prev_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()
51 *prev_val = val; in BPF_PROG()
Dbperf_cgroup.bpf.c113 struct bpf_perf_event_value val, delta, *prev_val, *cgrp_val; in bperf_cgroup_count() local
132 prev_val = bpf_map_lookup_elem(&prev_readings, &key); in bperf_cgroup_count()
133 if (!prev_val) { in bperf_cgroup_count()
137 prev_val = bpf_map_lookup_elem(&prev_readings, &key); in bperf_cgroup_count()
138 if (!prev_val) in bperf_cgroup_count()
149 delta.counter = val.counter - prev_val->counter; in bperf_cgroup_count()
150 delta.enabled = val.enabled - prev_val->enabled; in bperf_cgroup_count()
151 delta.running = val.running - prev_val->running; in bperf_cgroup_count()
173 *prev_val = val; in bperf_cgroup_count()
/linux-5.19.10/drivers/mtd/chips/
Dcfi_util.c205 int type, map_word *prev_val) in cfi_send_gen_cmd() argument
211 if (prev_val) in cfi_send_gen_cmd()
212 *prev_val = map_read(map, addr); in cfi_send_gen_cmd()
/linux-5.19.10/drivers/staging/greybus/
Dpower_supply.c397 int prev_val = prop->previous_val; in check_changed() local
406 else if (val < prev_val && in check_changed()
407 prev_val - val > psyc->tolerance_change) in check_changed()
409 else if (val > prev_val && in check_changed()
410 val - prev_val > psyc->tolerance_change) in check_changed()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c612 rulei->ipv6.prev_val = val; in mlxsw_sp2_acl_rulei_act_mangle_field_ip_odd()
659 rulei->ipv6.prev_val, in mlxsw_sp2_acl_rulei_act_mangle_field()
669 rulei->ipv6.prev_val, in mlxsw_sp2_acl_rulei_act_mangle_field()
679 rulei->ipv6.prev_val, in mlxsw_sp2_acl_rulei_act_mangle_field()
689 rulei->ipv6.prev_val, in mlxsw_sp2_acl_rulei_act_mangle_field()
Dspectrum.h845 u32 prev_val; member
/linux-5.19.10/drivers/mmc/host/
Dsdhci_am654.c425 int cur_val, prev_val = 1, fail_len = 0, pass_window = 0, pass_len; in sdhci_am654_platform_execute_tuning() local
436 if (cur_val && !prev_val) in sdhci_am654_platform_execute_tuning()
442 prev_val = cur_val; in sdhci_am654_platform_execute_tuning()
/linux-5.19.10/drivers/infiniband/hw/qib/
Dqib_iba6120.c1231 u64 val, config1, prev_val, hwstat, ibc; in qib_6120_bringup_serdes() local
1320 prev_val = val; in qib_6120_bringup_serdes()
1328 if (val != prev_val) in qib_6120_bringup_serdes()
2665 u64 val, prev_val; in qib_6120_xgxs_reset() local
2668 prev_val = qib_read_kreg64(dd, kr_xgxs_cfg); in qib_6120_xgxs_reset()
2669 val = prev_val | QLOGIC_IB_XGXS_RESET; in qib_6120_xgxs_reset()
2670 prev_val &= ~QLOGIC_IB_XGXS_RESET; /* be sure */ in qib_6120_xgxs_reset()
2675 qib_write_kreg(dd, kr_xgxs_cfg, prev_val); in qib_6120_xgxs_reset()
Dqib_iba7220.c1533 u64 val, prev_val, guid, ibc; in qib_7220_bringup_serdes() local
1615 prev_val = val; in qib_7220_bringup_serdes()
1617 if (val != prev_val) { in qib_7220_bringup_serdes()
1623 if (val != prev_val) in qib_7220_bringup_serdes()
3298 u64 val, prev_val; in qib_7220_xgxs_reset() local
3301 prev_val = qib_read_kreg64(dd, kr_xgxs_cfg); in qib_7220_xgxs_reset()
3302 val = prev_val | QLOGIC_IB_XGXS_RESET; in qib_7220_xgxs_reset()
3303 prev_val &= ~QLOGIC_IB_XGXS_RESET; /* be sure */ in qib_7220_xgxs_reset()
3308 qib_write_kreg(dd, kr_xgxs_cfg, prev_val); in qib_7220_xgxs_reset()
/linux-5.19.10/include/linux/mtd/
Dcfi.h305 int type, map_word *prev_val);
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_attr.c4023 uint32_t prev_val; in lpfc_topology_store() local
4037 prev_val = phba->cfg_topology; in lpfc_topology_store()
4069 prev_val, val); in lpfc_topology_store()
4070 if (prev_val != val && phba->sli_rev == LPFC_SLI_REV4) in lpfc_topology_store()
4074 phba->cfg_topology = prev_val; in lpfc_topology_store()
4481 uint32_t prev_val, if_type; in lpfc_link_speed_store() local
4534 prev_val = phba->cfg_link_speed; in lpfc_link_speed_store()
4541 phba->cfg_link_speed = prev_val; in lpfc_link_speed_store()
/linux-5.19.10/drivers/power/supply/
Dbq27xxx_battery.c1078 unsigned int prev_val = *(unsigned int *) kp->arg; in poll_interval_param_set() local
1082 if (ret < 0 || prev_val == *(unsigned int *) kp->arg) in poll_interval_param_set()