Lines Matching refs:props

36 	fuel_gauge_prop_t props[] = {  in ZTEST_USER_F()  local
44 union fuel_gauge_prop_val vals[ARRAY_SIZE(props)]; in ZTEST_USER_F()
46 int ret = fuel_gauge_get_props(fixture->dev, props, vals, ARRAY_SIZE(props)); in ZTEST_USER_F()
103 fuel_gauge_prop_t props[] = { in ZTEST_USER_F() local
122 union fuel_gauge_prop_val vals[ARRAY_SIZE(props)]; in ZTEST_USER_F()
124 zassert_ok(fuel_gauge_get_props(fixture->dev, props, vals, ARRAY_SIZE(props))); in ZTEST_USER_F()
148 zassert_between_inclusive(props[0].avg_current, -32768 * 1000, 32767 * 1000); in ZTEST_USER_F()
149 zassert_between_inclusive(props[1].cycle_count, 0, 6553500); in ZTEST_USER_F()
150 zassert_between_inclusive(props[2].current, -32768 * 1000, 32767 * 1000); in ZTEST_USER_F()
151 zassert_between_inclusive(props[3].full_charge_capacity, 0, 32767 * 1000); in ZTEST_USER_F()
152 zassert_between_inclusive(props[4].remaining_capacity, 0, 32767 * 1000); in ZTEST_USER_F()
153 zassert_between_inclusive(props[5].runtime_to_empty, 0, 65535); in ZTEST_USER_F()
154 zassert_between_inclusive(props[6].runtime_to_full, 0, 65535); in ZTEST_USER_F()
156 zassert_between_inclusive(props[8].relative_state_of_charge, 0, 100); in ZTEST_USER_F()
157 zassert_between_inclusive(props[9].temperature, 0, 32767); in ZTEST_USER_F()
158 zassert_between_inclusive(props[10].voltage, 0, 32767 * 1000); in ZTEST_USER_F()
159 zassert_between_inclusive(props[11].sbs_at_rate, -32768, 32767); in ZTEST_USER_F()
160 zassert_between_inclusive(props[12].sbs_at_rate_time_to_empty, 0, 65535); in ZTEST_USER_F()
161 zassert_between_inclusive(props[13].chg_voltage, 0, 32767); in ZTEST_USER_F()
162 zassert_between_inclusive(props[14].chg_current, 0, 32767); in ZTEST_USER_F()
164 zassert_between_inclusive(props[16].design_cap, 0, 32767); in ZTEST_USER_F()