Searched refs:dt_spec (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/drivers/spi/ |
D | spi_rtio.c | 23 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/ |
D | i2c_rtio_default.c | 56 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()
|
D | i2c_nrfx_twi_rtio.c | 67 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()
|
D | i2c_nrfx_twim_rtio.c | 48 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()
|
D | i2c_rtio.c | 61 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()
|
D | i2c_mcux_lpi2c_rtio.c | 188 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()
|
D | i2c_sam_twihs_rtio.c | 177 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()
|
D | i2c_max32_rtio.c | 276 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/ |
D | rtio.h | 28 struct spi_dt_spec dt_spec; member
|
/Zephyr-latest/include/zephyr/drivers/i2c/ |
D | rtio.h | 29 struct i2c_dt_spec dt_spec; member
|
/Zephyr-latest/include/zephyr/drivers/ |
D | spi.h | 1059 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()
|
D | i2c.h | 1035 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/ |
D | release-notes-3.2.rst | 738 * Converted drivers to use I2C, SPI, and GPIO dt_spec helpers.
|