Lines Matching refs:target
58 const struct emul *target; member
65 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_0_0)), in adltc2990_0_0_setup()
69 zassert_not_null(fixture.target); in adltc2990_0_0_setup()
77 adltc2990_emul_reset(fixture->target); in adltc2990_0_0_before()
96 const struct emul *target; member
103 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_4_3)), in adltc2990_4_3_setup()
107 zassert_not_null(fixture.target); in adltc2990_4_3_setup()
115 adltc2990_emul_reset(fixture->target); in adltc2990_4_3_before()
136 const struct emul *target; member
143 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_1_3)), in adltc2990_1_3_setup()
147 zassert_not_null(fixture.target); in adltc2990_1_3_setup()
155 adltc2990_emul_reset(fixture->target); in adltc2990_1_3_before()
165 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_MSB, &msb); in ZTEST_F()
166 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_LSB, &lsb); in ZTEST_F()
176 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_MSB, &msb); in ZTEST_F()
177 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_LSB, &lsb); in ZTEST_F()
188 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_MSB, &msb); in ZTEST_F()
189 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_LSB, &lsb); in ZTEST_F()
199 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_MSB, &msb_reg_value); in ZTEST_F()
200 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_LSB, &lsb_reg_value); in ZTEST_F()
203 const struct adltc2990_config *dev_config = fixture->target->dev->config; in ZTEST_F()
209 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_MSB, &msb_reg_value); in ZTEST_F()
210 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_LSB, &lsb_reg_value); in ZTEST_F()
218 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_MSB, &msb); in ZTEST_F()
219 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_LSB, &lsb); in ZTEST_F()
223 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_VCC_MSB, &msb); in ZTEST_F()
224 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_VCC_LSB, &lsb); in ZTEST_F()
246 const struct emul *target; member
253 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_5_3)), in adltc2990_5_3_setup()
257 zassert_not_null(fixture.target); in adltc2990_5_3_setup()
265 adltc2990_emul_reset(fixture->target); in adltc2990_5_3_before()
275 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_MSB, &msb); in ZTEST_F()
276 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_LSB, &lsb); in ZTEST_F()
285 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_MSB, &msb); in ZTEST_F()
286 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_LSB, &lsb); in ZTEST_F()
295 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_MSB, &msb); in ZTEST_F()
296 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_LSB, &lsb); in ZTEST_F()
307 const struct emul *target; member
314 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_6_3)), in adltc2990_6_3_setup()
318 zassert_not_null(fixture.target); in adltc2990_6_3_setup()
326 adltc2990_emul_reset(fixture->target); in adltc2990_6_3_before()
336 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_MSB, &msb_reg_value); in ZTEST_F()
337 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_LSB, &lsb_reg_value); in ZTEST_F()
340 const struct adltc2990_config *dev_config = fixture->target->dev->config; in ZTEST_F()
346 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_MSB, &msb_reg_value); in ZTEST_F()
347 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_LSB, &lsb_reg_value); in ZTEST_F()
354 const struct emul *target; member
361 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_7_3)), in adltc2990_7_3_setup()
365 zassert_not_null(fixture.target); in adltc2990_7_3_setup()
373 adltc2990_emul_reset(fixture->target); in adltc2990_7_3_before()
388 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_STATUS, &is_busy); in ZTEST_F()
391 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_STATUS, &is_busy); in ZTEST_F()
401 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_MSB, &msb); in ZTEST_F()
402 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_LSB, &lsb); in ZTEST_F()
419 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_MSB, &msb_reg_value); in ZTEST_F()
420 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_LSB, &lsb_reg_value); in ZTEST_F()
425 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V2_MSB, &msb_reg_value); in ZTEST_F()
426 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V2_LSB, &lsb_reg_value); in ZTEST_F()
431 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_MSB, &msb_reg_value); in ZTEST_F()
432 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_LSB, &lsb_reg_value); in ZTEST_F()
437 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V4_MSB, &msb_reg_value); in ZTEST_F()
438 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V4_LSB, &lsb_reg_value); in ZTEST_F()
443 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_VCC_MSB, &msb_reg_value); in ZTEST_F()
444 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_VCC_LSB, &lsb_reg_value); in ZTEST_F()
477 const struct emul *target; member
484 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_incorrect)), in adltc2990_incorrect_setup()
488 zassert_not_null(fixture.target); in adltc2990_incorrect_setup()
496 adltc2990_emul_reset(fixture->target); in adltc2990_incorrect_before()