Searched refs:cutoff_writes (Results 1 – 1 of 1) sorted by relevance
46 uint8_t cutoff_writes; member79 uint16_t target_payload_elem_val = cfg->cutoff_payload[data->cutoff_writes]; in emul_sbs_gauge_maybe_do_battery_cutoff()82 data->cutoff_writes++; in emul_sbs_gauge_maybe_do_battery_cutoff()83 __ASSERT_NO_MSG(data->cutoff_writes <= ARRAY_SIZE(cfg->cutoff_payload)); in emul_sbs_gauge_maybe_do_battery_cutoff()86 data->cutoff_writes = 0; in emul_sbs_gauge_maybe_do_battery_cutoff()89 if (data->cutoff_writes == ARRAY_SIZE(cfg->cutoff_payload)) { in emul_sbs_gauge_maybe_do_battery_cutoff()91 data->cutoff_writes = 0; in emul_sbs_gauge_maybe_do_battery_cutoff()96 data->cutoff_writes = 0; in emul_sbs_gauge_maybe_do_battery_cutoff()