/tests/drivers/smbus/smbus_emul/src/ |
A D | emul.c | 106 static void peripheral_write(uint8_t reg, uint8_t value) in peripheral_write() 120 static void peripheral_read(uint8_t reg, uint8_t *value) in peripheral_read() 227 uint8_t reg = io_area[PCH_SMBUS_HCMD]; in emul_start_smbus_protocol() local 244 uint8_t reg = io_area[PCH_SMBUS_HCMD]; in emul_start_smbus_protocol() local 261 uint8_t reg = io_area[PCH_SMBUS_HCMD]; in emul_start_smbus_protocol() local 323 static const char *pch_get_reg_name(uint8_t reg) in pch_get_reg_name() 369 uint32_t emul_pci_read(unsigned int reg) in emul_pci_read() 375 void emul_pci_write(pcie_bdf_t bdf, unsigned int reg, uint32_t value) in emul_pci_write()
|
A D | smbus.c | 29 static uint32_t mock_conf_read(pcie_bdf_t bdf, unsigned int reg) in mock_conf_read() 35 static void mock_conf_write(pcie_bdf_t bdf, unsigned int reg, uint32_t data) in mock_conf_write() 40 #define pcie_conf_write(bdf, reg, val) mock_conf_write(bdf, reg, val) argument 44 #define pcie_conf_read(bdf, reg) mock_conf_read(bdf, reg) argument
|
/tests/drivers/sensor/ina237/src/ |
A D | ina237_emul.c | 37 static struct ina237_reg *get_register(struct ina237_emul_data *data, int reg) in get_register() 47 int ina237_mock_set_register(void *data_ptr, int reg, uint32_t value) in ina237_mock_set_register() 59 int ina237_mock_get_register(void *data_ptr, int reg, uint32_t *value_ptr) in ina237_mock_get_register() 95 uint8_t reg = msgs[0].buf[0]; in ina237_emul_transfer_i2c() local 112 uint8_t reg = msgs[0].buf[0]; in ina237_emul_transfer_i2c() local
|
/tests/subsys/modbus/src/ |
A D | test_modbus_server.c | 76 static int input_reg_rd(uint16_t addr, uint16_t *reg) in input_reg_rd() 89 static int input_reg_rd_fp(uint16_t addr, float *reg) in input_reg_rd_fp() 102 static int holding_reg_rd(uint16_t addr, uint16_t *reg) in holding_reg_rd() 115 static int holding_reg_wr(uint16_t addr, uint16_t reg) in holding_reg_wr() 128 static int holding_reg_rd_fp(uint16_t addr, float *reg) in holding_reg_rd_fp() 141 static int holding_reg_wr_fp(uint16_t addr, float reg) in holding_reg_wr_fp()
|
/tests/subsys/edac/ibecc_cov/src/ |
A D | ibecc.c | 52 static void mock_sys_write64(uint64_t data, uint64_t reg) in mock_sys_write64() 57 static void mock_conf_write(pcie_bdf_t bdf, unsigned int reg, uint32_t data) in mock_conf_write() 62 static uint32_t mock_conf_read(pcie_bdf_t bdf, unsigned int reg) in mock_conf_read() 86 #define pcie_conf_read(bdf, reg) mock_conf_read(bdf, reg) argument 87 #define pcie_conf_write(bdf, reg, val) mock_conf_write(bdf, reg, val) argument
|
/tests/drivers/sensor/bmi160/include/ |
A D | checks.h | 15 static inline bool bmi160_i2c_is_touching_reg(struct i2c_msg *msgs, int num_msgs, int reg) in bmi160_i2c_is_touching_reg() 26 const struct spi_buf_set *rx_bufs, int reg) in bmi160_spi_is_touching_reg()
|
/tests/drivers/sensor/ina230/src/ |
A D | ina230_emul.c | 38 static struct ina230_reg *get_register(struct ina230_emul_data *data, int reg) in get_register() 52 int ina230_mock_set_register(void *data_ptr, int reg, uint32_t value) in ina230_mock_set_register() 70 int ina230_mock_get_register(void *data_ptr, int reg, uint32_t *value_ptr) in ina230_mock_get_register() 106 uint8_t reg = msgs[0].buf[0]; in ina230_emul_transfer_i2c() local 123 uint8_t reg = msgs[0].buf[0]; in ina230_emul_transfer_i2c() local
|
/tests/subsys/sd/sdio/src/ |
A D | main.c | 40 uint8_t reg = 0xFF; in ZTEST() local 57 uint8_t reg = 0xFF; in ZTEST() local
|
/tests/drivers/regulator/fixed/src/ |
A D | main.c | 12 static const struct device *const reg = DEVICE_DT_GET(DT_PATH(regulator)); variable
|
/tests/kernel/fpu_sharing/generic/src/ |
A D | float_context.h | 47 unsigned char reg[10]; member 51 unsigned char reg[16]; member 185 uint32_t reg[18]; /* FR register file consists of 18 registers of 32 bits */ member
|
/tests/lib/shared_multi_heap/src/ |
A D | main.c | 61 for (size_t reg = 0; reg < ARRAY_SIZE(map); reg++) { in get_region_map() local
|
/tests/drivers/counter/counter_nrf_rtc/fixed_top/src/ |
A D | test_counter_fixed_top.c | 96 NRF_RTC_Type *reg = regs[idx]; in test_top_handler_on_instance() local
|
/tests/arch/riscv/fpu_sharing/src/ |
A D | main.c | 360 unsigned long reg; in ZTEST() local
|
/tests/boards/frdm_k64f/i2c/src/ |
A D | i2c.c | 90 static uint8_t reg = 0x01; variable
|
/tests/net/lib/mqtt_sn_packet/src/ |
A D | mqtt_sn_packet.c | 51 static uint8_t reg[] = { 13, 0x0A, 0x1A, 0x1B, 0x1C, 0x1D, '/', 'z', 'e', 'p', 'h', 'y', 'r' }; variable
|
/tests/drivers/sensor/adltc2990/src/ |
A D | main.c | 30 static int adltc2990_i2c_is_touching_reg_delegate(uint8_t start_reg, int num_msgs, int reg) in adltc2990_i2c_is_touching_reg_delegate()
|