Home
last modified time | relevance | path

Searched refs:dt_spec (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_rtio.c23 struct spi_dt_spec *dt_spec = iodev_sqe->sqe.iodev->data; in spi_rtio_iodev_default_submit_sync() local
24 const struct device *dev = dt_spec->bus; in spi_rtio_iodev_default_submit_sync()
84 err = spi_transceive_dt(dt_spec, tx_buf_ptr, rx_buf_ptr); in spi_rtio_iodev_default_submit_sync()
308 ctx->dt_spec.bus = dev; in spi_rtio_init()
309 ctx->iodev.data = &ctx->dt_spec; in spi_rtio_init()
375 struct spi_dt_spec *dt_spec = &ctx->dt_spec; in spi_rtio_transceive() local
381 dt_spec->config = *config; in spi_rtio_transceive()
/Zephyr-latest/drivers/i2c/
Di2c_rtio_default.c56 const struct i2c_dt_spec *dt_spec = (const struct i2c_dt_spec *)txn_first->sqe.iodev->data; in i2c_iodev_submit_work_handler() local
57 const struct device *dev = dt_spec->bus; in i2c_iodev_submit_work_handler()
129 rc = i2c_transfer(dev, msgs, num_msgs, dt_spec->addr); in i2c_iodev_submit_work_handler()
Di2c_nrfx_twi_rtio.c67 struct i2c_dt_spec *dt_spec = sqe->iodev->data; in i2c_nrfx_twi_rtio_start() local
72 sqe->rx.buf, sqe->rx.buf_len, dt_spec->addr); in i2c_nrfx_twi_rtio_start()
76 sqe->tiny_tx.buf_len, dt_spec->addr); in i2c_nrfx_twi_rtio_start()
80 sqe->tx.buf_len, dt_spec->addr); in i2c_nrfx_twi_rtio_start()
Di2c_nrfx_twim_rtio.c48 struct i2c_dt_spec *dt_spec = sqe->iodev->data; in i2c_nrfx_twim_rtio_start() local
53 sqe->rx.buf, sqe->rx.buf_len, dt_spec->addr); in i2c_nrfx_twim_rtio_start()
57 dt_spec->addr); in i2c_nrfx_twim_rtio_start()
77 sqe->tx.buf, sqe->tx.buf_len, dt_spec->addr); in i2c_nrfx_twim_rtio_start()
Di2c_rtio.c61 ctx->dt_spec.bus = dev; in i2c_rtio_init()
62 ctx->iodev.data = &ctx->dt_spec; in i2c_rtio_init()
134 ctx->dt_spec.addr = addr; in i2c_rtio_transfer()
Di2c_mcux_lpi2c_rtio.c188 struct i2c_dt_spec *dt_spec = sqe->iodev->data; in mcux_lpi2c_start() local
195 sqe->rx.buf, sqe->rx.buf_len, dt_spec->addr); in mcux_lpi2c_start()
199 dt_spec->addr); in mcux_lpi2c_start()
203 dt_spec->addr); in mcux_lpi2c_start()
Di2c_sam_twihs_rtio.c177 struct i2c_dt_spec *dt_spec = sqe->iodev->data; in i2c_sam_twihs_start() local
190 read_msg_start(twihs, sqe->rx.buf_len, dt_spec->addr); in i2c_sam_twihs_start()
194 write_msg_start(twihs, sqe->tx.buf, 0, dt_spec->addr); in i2c_sam_twihs_start()
Di2c_max32_rtio.c276 struct i2c_dt_spec *dt_spec = sqe->iodev->data; in max32_start() local
282 sqe->rx.buf, sqe->rx.buf_len, dt_spec->addr); in max32_start()
287 dt_spec->addr); in max32_start()
291 dt_spec->addr); in max32_start()
/Zephyr-latest/include/zephyr/drivers/spi/
Drtio.h28 struct spi_dt_spec dt_spec; member
/Zephyr-latest/include/zephyr/drivers/i2c/
Drtio.h29 struct i2c_dt_spec dt_spec; member
/Zephyr-latest/include/zephyr/drivers/
Dspi.h1059 const struct spi_dt_spec *dt_spec = (const struct spi_dt_spec *)iodev_sqe->sqe.iodev->data; in spi_iodev_submit() local
1060 const struct device *dev = dt_spec->bus; in spi_iodev_submit()
1063 api->iodev_submit(dt_spec->bus, iodev_sqe); in spi_iodev_submit()
Di2c.h1035 const struct i2c_dt_spec *dt_spec = (const struct i2c_dt_spec *)iodev_sqe->sqe.iodev->data; in i2c_iodev_submit() local
1036 const struct device *dev = dt_spec->bus; in i2c_iodev_submit()
1043 api->iodev_submit(dt_spec->bus, iodev_sqe); in i2c_iodev_submit()
/Zephyr-latest/doc/releases/
Drelease-notes-3.2.rst738 * Converted drivers to use I2C, SPI, and GPIO dt_spec helpers.