Home
last modified time | relevance | path

Searched refs:write_data (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Ddata_split_person.py38 from data_split import write_data
73 write_data(train_data, "./person_split/train")
74 write_data(valid_data, "./person_split/valid")
75 write_data(test_data, "./person_split/test")
Ddata_split.py36 from data_prepare import write_data
88 write_data(train_data, "./data/train")
89 write_data(valid_data, "./data/valid")
90 write_data(test_data, "./data/test")
Ddata_prepare_test.py29 from data_prepare import write_data
65 write_data(self.data, data_path_test)
Ddata_prepare.py143 def write_data(data_to_write, path): function
164 write_data(data, "./data/complete_data")
/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/
Dtest_forwarding_pio.cpp107 uint8_t write_data[2]; in ZTEST() local
111 zassert_equal(-EINVAL, i2c_write(controller, write_data, sizeof(write_data), in ZTEST()
120 zassert_ok(i2c_write(controller, write_data, sizeof(write_data), in ZTEST()
153 uint8_t write_data[1] = {}; in ZTEST() local
158 .buf = write_data, in ZTEST()
159 .len = sizeof(write_data), in ZTEST()
Dtest_forwarding_buf.cpp98 uint8_t write_data[1] = {}; in ZTEST() local
103 .buf = write_data, in ZTEST()
104 .len = sizeof(write_data), in ZTEST()
/Zephyr-latest/drivers/mdio/
Dmdio_nxp_enet_qos.c30 uint16_t write_data; member
58 ENET_QOS_REG_PREP(MAC_MDIO_DATA, GD, mdio->write_data); in do_transaction()
130 uint16_t write_data) in nxp_enet_qos_mdio_write() argument
137 .write_data = write_data, in nxp_enet_qos_mdio_write()
Dmdio_nxp_enet.c114 uint8_t prtad, uint8_t regad, uint16_t write_data) in nxp_enet_mdio_write() argument
143 write_data; in nxp_enet_mdio_write()
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx_spi.c51 .write_data = bma4xx_spi_write_data,
Dbma4xx_i2c.c63 .write_data = bma4xx_i2c_write_data,
Dbma4xx.h193 int (*write_data)(const struct device *dev, uint8_t reg_addr, uint8_t *value, uint8_t len); member
/Zephyr-latest/drivers/flash/
Dflash_cadence_qspi_nor_ll.c708 uint32_t write_count, write_capacity, *write_data, space, write_fill_level, sram_partition; in cad_qspi_indirect_page_bound_write() local
731 write_data = (uint32_t *)(buffer + write_count); in cad_qspi_indirect_page_bound_write()
733 sys_write32(*write_data++, cad_params->data_base); in cad_qspi_indirect_page_bound_write()
892 uint8_t *write_data; in cad_qspi_write() local
915 write_data = buffer; in cad_qspi_write()
926 status = cad_qspi_write_bank(cad_params, bank_offset, write_data, copy_len); in cad_qspi_write()
932 write_data += copy_len; in cad_qspi_write()
/Zephyr-latest/drivers/sensor/ens160/
Dens160_i2c.c53 .write_data = ens160_write_data_i2c,
Dens160.h109 int (*write_data)(const struct device *dev, uint8_t reg, uint8_t *data, size_t len); member
Dens160_spi.c143 .write_data = ens160_write_data_spi,
Dens160.c40 ret = data->tf->write_data(dev, ENS160_REG_TEMP_IN, buf, 2U); in ens160_set_temperature()
67 ret = data->tf->write_data(dev, ENS160_REG_RH_IN, buf, 2U); in ens160_set_humidity()
/Zephyr-latest/drivers/sensor/st/lsm6dsl/
Dlsm6dsl_i2c.c56 .write_data = lsm6dsl_i2c_write_data,
Dlsm6dsl_spi.c126 .write_data = lsm6dsl_spi_write_data,
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_stmesp.c216 static inline void write_data(const void *data, size_t len, STMESP_Type *const stm_esp) in write_data() function
289 write_data(buf, len, (STMESP_Type *const)ctx); in package_cb()
377 write_data(sname, sname_len, stm_esp); in log_frontend_msg()
379 write_data(data, desc.data_len, stm_esp); in log_frontend_msg()
650 write_data(buf, len, stm_esp); in log_frontend_stmesp_etr_ready()
/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh_i2c.c67 .write_data = lis2dh_i2c_write_data,
Dlis2dh_spi.c145 .write_data = lis2dh_spi_write_data,
/Zephyr-latest/drivers/spi/
Dspi_it8xxx2.c87 uint8_t write_data[SPI_CMDQ_WR_CMD_LEN_MAX]; member
236 memcpy(data->cmdq_data.write_data, ctx->tx_buf, ctx->tx_len); in spi_it8xxx2_tx()
243 memcpy(data->cmdq_data.write_data, ctx->tx_buf, SPI_CMDQ_WR_CMD_LEN_MAX); in spi_it8xxx2_tx()
285 memcpy(data->cmdq_data.write_data, ctx->tx_buf, ctx->tx_len); in spi_it8xxx2_tx_rx()
301 memcpy(data->cmdq_data.write_data, ctx->tx_buf, SPI_CMDQ_WR_CMD_LEN_MAX); in spi_it8xxx2_tx_rx()
/Zephyr-latest/tests/subsys/logging/log_frontend_stmesp_demux/src/
Dmain.c179 static void write_data(uint16_t len, uint8_t id) in write_data() function
196 write_data(len, id); in write_packet()
301 write_data(len0, 0); in ZTEST()
303 write_data(len1, 1); in ZTEST()
/Zephyr-latest/drivers/mfd/
Dmfd_tle9104.c156 enum tle9104_register write_reg, uint8_t write_data, in tle9104_transceive_frame() argument
183 write_frame = write_data << TLE9104_FRAME_DATA_POS; in tle9104_transceive_frame()
189 write_reg, write_data, write_frame); in tle9104_transceive_frame()
/Zephyr-latest/drivers/i2c/
Di2c_andes_atciic100.c434 uint8_t write_data; in i2c_controller_fifo_write() local
449 write_data = in i2c_controller_fifo_write()
451 sys_write32((write_data & DATA_MSK), I2C_DATA(dev)); in i2c_controller_fifo_write()

12