Lines Matching refs:vals
44 union fuel_gauge_prop_val vals[ARRAY_SIZE(props)]; in ZTEST_USER_F() local
46 int ret = fuel_gauge_get_props(fixture->dev, props, vals, ARRAY_SIZE(props)); in ZTEST_USER_F()
122 union fuel_gauge_prop_val vals[ARRAY_SIZE(props)]; in ZTEST_USER_F() local
124 zassert_ok(fuel_gauge_get_props(fixture->dev, props, vals, ARRAY_SIZE(props))); in ZTEST_USER_F()
129 zassert_equal(vals[0].avg_current, -2000); in ZTEST_USER_F()
130 zassert_equal(vals[1].cycle_count, 100); in ZTEST_USER_F()
131 zassert_equal(vals[2].current, -2000); in ZTEST_USER_F()
132 zassert_equal(vals[3].full_charge_capacity, 1000); in ZTEST_USER_F()
133 zassert_equal(vals[4].remaining_capacity, 1000); in ZTEST_USER_F()
134 zassert_equal(vals[5].runtime_to_empty, 1); in ZTEST_USER_F()
135 zassert_equal(vals[6].runtime_to_full, 1); in ZTEST_USER_F()
136 zassert_equal(vals[7].sbs_mfr_access_word, 1); in ZTEST_USER_F()
137 zassert_equal(vals[8].relative_state_of_charge, 1); in ZTEST_USER_F()
138 zassert_equal(vals[9].temperature, 1); in ZTEST_USER_F()
139 zassert_equal(vals[10].voltage, 1000); in ZTEST_USER_F()
140 zassert_equal(vals[11].sbs_at_rate, -2); in ZTEST_USER_F()
141 zassert_equal(vals[12].sbs_at_rate_time_to_empty, 1); in ZTEST_USER_F()
142 zassert_equal(vals[13].chg_voltage, 1000); in ZTEST_USER_F()
143 zassert_equal(vals[14].chg_current, 1000); in ZTEST_USER_F()
144 zassert_equal(vals[15].fg_status, 1); in ZTEST_USER_F()
145 zassert_equal(vals[16].design_cap, 1); in ZTEST_USER_F()