Home
last modified time | relevance | path

Searched refs:NUM_REGS (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/sensor/amd_sb_tsi/
Dsb_tsi_emul.c18 #define NUM_REGS 128 macro
21 uint8_t reg[NUM_REGS];
28 __ASSERT_NO_MSG(reg < NUM_REGS); in sb_tsi_emul_set_reg()
36 __ASSERT_NO_MSG(reg < NUM_REGS); in sb_tsi_emul_get_reg()
44 memset(data->reg, 0, NUM_REGS); in sb_tsi_emul_reset()
/Zephyr-latest/drivers/sensor/f75303/
Df75303_emul.c19 #define NUM_REGS 128 macro
22 uint8_t reg[NUM_REGS];
32 __ASSERT_NO_MSG(reg < NUM_REGS); in f75303_emul_set_reg()
40 __ASSERT_NO_MSG(reg < NUM_REGS); in f75303_emul_get_reg()
48 memset(data->reg, 0, NUM_REGS); in f75303_emul_reset()
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c_emul.c22 #define NUM_REGS AKM09918C_REG_TS2 macro
25 uint8_t reg[NUM_REGS];
36 __ASSERT_NO_MSG(reg_addr + count < NUM_REGS); in akm09918c_emul_set_reg()
44 __ASSERT_NO_MSG(reg_addr + count < NUM_REGS); in akm09918c_emul_get_reg()
52 memset(data->reg, 0, NUM_REGS); in akm09918c_emul_reset()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_emul.c19 #define NUM_REGS (UINT8_MAX >> 1) macro
22 uint8_t reg[NUM_REGS];
33 __ASSERT_NO_MSG(reg_addr + count < NUM_REGS); in icm42688_emul_set_reg()
41 __ASSERT_NO_MSG(reg_addr + count < NUM_REGS); in icm42688_emul_get_reg()
53 memset(data->reg, 0, NUM_REGS); in icm42688_emul_handle_write()