/Zephyr-latest/tests/subsys/secure_storage/psa/its/src/ |
D | main.c | 30 uint8_t read_data[MAX_DATA_SIZE]; in ZTEST() local 46 ret = psa_its_get(UID, 0, sizeof(read_data), read_data, &data_length); in ZTEST() 49 zassert_mem_equal(read_data, written_data, data_length); in ZTEST() 62 uint8_t read_data[MAX_DATA_SIZE]; in ZTEST() local 69 for (unsigned int i = 0; i <= sizeof(read_data); ++i) { in ZTEST() 71 ret = psa_its_get(UID, i, sizeof(read_data) - i, read_data, &data_length); in ZTEST() 73 zassert_equal(data_length, sizeof(read_data) - i); in ZTEST() 75 zassert_mem_equal(read_data, written_data + i, data_length); in ZTEST()
|
/Zephyr-latest/drivers/sensor/ams/ams_as5600/ |
D | ams_as5600.c | 38 uint8_t read_data[2] = {0, 0}; in as5600_fetch() local 44 &read_data, in as5600_fetch() 45 sizeof(read_data)); in as5600_fetch() 49 dev_data->position = ((uint16_t)read_data[0] << 8) | read_data[1]; in as5600_fetch()
|
/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/ |
D | test_forwarding_pio.cpp | 130 uint8_t read_data[2]; in ZTEST() local 134 zassert_equal(-EINVAL, i2c_read(controller, read_data, sizeof(read_data), in ZTEST() 143 zassert_ok(i2c_read(controller, read_data, sizeof(read_data), in ZTEST() 154 uint8_t read_data[2] = {}; in ZTEST() local 163 .buf = read_data, in ZTEST() 164 .len = sizeof(read_data), in ZTEST() 220 uint8_t read_data[2]; in ZTEST() local 223 zassert_ok(i2c_read(controller, read_data, sizeof(read_data), in ZTEST()
|
D | test_forwarding_buf.cpp | 99 uint8_t read_data[2] = {}; in ZTEST() local 108 .buf = read_data, in ZTEST() 109 .len = sizeof(read_data), in ZTEST()
|
/Zephyr-latest/drivers/sensor/bosch/bma4xx/ |
D | bma4xx.c | 296 uint8_t read_data[6]; in bma4xx_sample_fetch() local 300 status = bma4xx->hw_ops->read_data(dev, BMA4XX_REG_DATA_8, (uint8_t *)&read_data, in bma4xx_sample_fetch() 307 LOG_DBG("Raw values [0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x]", read_data[0], in bma4xx_sample_fetch() 308 read_data[1], read_data[2], read_data[3], read_data[4], read_data[5]); in bma4xx_sample_fetch() 310 *x = ((int16_t)read_data[1] << 4) | FIELD_GET(GENMASK(7, 4), read_data[0]); in bma4xx_sample_fetch() 311 *y = ((int16_t)read_data[3] << 4) | FIELD_GET(GENMASK(7, 4), read_data[2]); in bma4xx_sample_fetch() 312 *z = ((int16_t)read_data[5] << 4) | FIELD_GET(GENMASK(7, 4), read_data[4]); in bma4xx_sample_fetch()
|
D | bma4xx_spi.c | 50 .read_data = bma4xx_spi_read_data,
|
D | bma4xx_i2c.c | 62 .read_data = bma4xx_i2c_read_data,
|
/Zephyr-latest/drivers/mdio/ |
D | mdio_nxp_enet_qos.c | 31 uint16_t *read_data; member 98 *mdio->read_data = in do_transaction() 111 uint16_t *read_data) in nxp_enet_qos_mdio_read() argument 118 .read_data = read_data, in nxp_enet_qos_mdio_read()
|
D | mdio_nxp_enet.c | 64 uint8_t prtad, uint8_t regad, uint16_t *read_data) in nxp_enet_mdio_read() argument 101 *read_data = (data->base->MMFR & ENET_MMFR_DATA_MASK) >> ENET_MMFR_DATA_SHIFT; in nxp_enet_mdio_read()
|
/Zephyr-latest/scripts/tests/twister/ |
D | test_config_parser.py | 67 with mock.patch('builtins.open', mock.mock_open(read_data=yaml_data)): 93 with mock.patch('builtins.open', mock.mock_open(read_data=yaml_data)): 176 with mock.patch('builtins.open', mock.mock_open(read_data=yaml_data)): 195 with mock.patch('builtins.open', mock.mock_open(read_data=yaml_data)):
|
D | test_cmakecache.py | 181 with mock.patch('builtins.open', mock.mock_open(read_data=file_data)): 203 with mock.patch('builtins.open', mock.mock_open(read_data=file_data)): 236 with mock.patch('builtins.open', mock.mock_open(read_data=file_data)): 252 with mock.patch('builtins.open', mock.mock_open(read_data=file_data)):
|
D | test_platform.py | 117 with mock.patch('builtins.open', mock.mock_open(read_data=platform_text)):
|
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | data_split_person_test.py | 25 from data_split_person import read_data 31 self.data = read_data("./data/complete_data")
|
D | data_split_person.py | 37 from data_split import read_data 62 data = read_data("./data/complete_data")
|
D | data_split.py | 40 def read_data(path): function 86 data = read_data("./data/complete_data")
|
D | data_split_test.py | 25 from data_split import read_data 32 self.data = read_data("./data/complete_data")
|
/Zephyr-latest/tests/kernel/msgq/msgq_api/src/ |
D | test_msgq_contexts.c | 28 uint32_t read_data; in put_msgq() local 39 zassert_equal(k_msgq_peek(pmsgq, &read_data), 0); in put_msgq() 40 zassert_equal(read_data, data[0]); in put_msgq() 52 uint32_t rx_data, read_data; in get_msgq() local 56 zassert_equal(k_msgq_peek(pmsgq, &read_data), 0); in get_msgq() 63 zassert_equal(read_data, rx_data); in get_msgq() 74 uint32_t read_data; in purge_msgq() local 79 zassert_equal(k_msgq_peek(pmsgq, &read_data), -ENOMSG); in purge_msgq()
|
/Zephyr-latest/drivers/sensor/ens160/ |
D | ens160.c | 105 ret = data->tf->read_data(dev, ENS160_REG_DATA_ECO2, (uint8_t *)&le16_buffer, in ens160_sample_fetch() 114 ret = data->tf->read_data(dev, ENS160_REG_DATA_TVOC, (uint8_t *)&le16_buffer, in ens160_sample_fetch() 209 ret = data->tf->read_data(dev, ENS160_REG_PART_ID, (uint8_t *)&part_id, sizeof(part_id)); in ens160_init() 242 ret = data->tf->read_data(dev, ENS160_REG_GPR_READ4, fw_version, sizeof(fw_version)); in ens160_init()
|
D | ens160_i2c.c | 51 .read_data = ens160_read_data_i2c,
|
/Zephyr-latest/tests/bluetooth/common/testlib/src/ |
D | att_read.c | 39 struct bt_gatt_read_params *params, const void *read_data, in att_read_cb() argument 62 if (read_data && ctx->result_data) { in att_read_cb() 66 net_buf_simple_add_mem(ctx->result_data, read_data, result_data_size); in att_read_cb() 73 if (ctx->long_read && read_data) { in att_read_cb()
|
/Zephyr-latest/drivers/flash/ |
D | flash_cadence_qspi_nor_ll.c | 745 uint32_t read_count = 0, *read_data; in cad_qspi_read_bank() local 763 read_data = (uint32_t *)(buffer + read_count); in cad_qspi_read_bank() 765 *read_data++ = sys_read32(cad_params->data_base); in cad_qspi_read_bank() 805 uint8_t *read_data; in cad_qspi_read() local 837 read_data = (uint8_t *)buffer; in cad_qspi_read() 847 status = cad_qspi_read_bank(cad_params, read_data, bank_offset, copy_len); in cad_qspi_read() 854 read_data += copy_len; in cad_qspi_read()
|
/Zephyr-latest/drivers/sensor/st/lsm6dsl/ |
D | lsm6dsl_i2c.c | 55 .read_data = lsm6dsl_i2c_read_data,
|
D | lsm6dsl_shub.c | 271 if (data->hw_tf->read_data(dev, reg_addr, value, len) < 0) { in lsm6dsl_read_embedded_reg() 370 data->hw_tf->read_data(dev, LSM6DSL_REG_SENSORHUB1, value, len); in lsm6dsl_shub_read_slave_reg() 473 data->hw_tf->read_data(dev, LSM6DSL_REG_SENSORHUB1, buf, len); in lsm6dsl_shub_read_external_chip()
|
/Zephyr-latest/drivers/sensor/st/lis2dh/ |
D | lis2dh_i2c.c | 66 .read_data = lis2dh_i2c_read_data,
|
/Zephyr-latest/drivers/mfd/ |
D | mfd_tle9104.c | 157 enum tle9104_register *read_reg, uint8_t *read_data) in tle9104_transceive_frame() argument 213 *read_data = FIELD_GET(GENMASK(TLE9104_FRAME_ADDRESS_POS - 1, TLE9104_FRAME_DATA_POS), in tle9104_transceive_frame() 223 uint8_t read_data; in tle9104_write_register() local 225 return tle9104_transceive_frame(dev, true, reg, value, &read_reg, &read_data); in tle9104_write_register()
|