Home
last modified time | relevance | path

Searched refs:transceive (Results 1 – 25 of 70) sorted by relevance

123

/Zephyr-latest/drivers/bluetooth/hci/
Dapollox_blue.h61 int bt_apollo_spi_send(uint8_t *data, uint16_t len, bt_spi_transceive_fun transceive);
72 int bt_apollo_spi_rcv(uint8_t *data, uint16_t *len, bt_spi_transceive_fun transceive);
Dapollox_blue.c137 int bt_apollo_spi_send(uint8_t *data, uint16_t len, bt_spi_transceive_fun transceive) in bt_apollo_spi_send() argument
148 ret = transceive(command, 1, response, 2); in bt_apollo_spi_send()
153 ret = transceive(data, len, NULL, 0); in bt_apollo_spi_send()
161 ret = transceive(data, len, NULL, 0); in bt_apollo_spi_send()
170 int bt_apollo_spi_rcv(uint8_t *data, uint16_t *len, bt_spi_transceive_fun transceive) in bt_apollo_spi_rcv() argument
186 ret = transceive(command, 1, response, 2); in bt_apollo_spi_rcv()
198 ret = transceive(NULL, 0, response, 2); in bt_apollo_spi_rcv()
216 ret = transceive(NULL, 0, data, read_size); in bt_apollo_spi_rcv()
/Zephyr-latest/drivers/spi/
Dspi_grlib_spimctrl.c98 static int transceive(const struct device *dev, in transceive() function
219 .transceive = transceive,
Dspi_test.c45 .transceive = vnd_spi_transceive,
Dspi_ifx_cat1.c235 static int transceive(const struct device *dev, const struct spi_config *spi_cfg, in transceive() function
268 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in ifx_cat1_spi_transceive_sync()
277 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, cb, userdata); in ifx_cat1_spi_transceive_async()
291 .transceive = ifx_cat1_spi_transceive_sync,
Dspi_mcux_ecspi.c221 static int transceive(const struct device *dev, in transceive() function
256 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in spi_mcux_transceive()
267 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, cb, userdata); in spi_mcux_transceive_async()
306 .transceive = spi_mcux_transceive,
Dspi_rv32m1_lpspi.c212 static int transceive(const struct device *dev, in transceive() function
248 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in spi_mcux_transceive()
259 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, cb, userdata); in spi_mcux_transceive_async()
301 .transceive = spi_mcux_transceive,
Dspi_npcx_spip.c253 static int transceive(const struct device *dev, const struct spi_config *spi_cfg, in transceive() function
328 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in spi_npcx_spip_transceive()
338 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, cb, userdata); in spi_npcx_spip_transceive_async()
406 .transceive = spi_npcx_spip_transceive,
Dspi_nrfx_spis.c164 static int transceive(const struct device *dev, in transceive() function
238 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in spi_nrfx_transceive()
249 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, cb, userdata); in spi_nrfx_transceive_async()
268 .transceive = spi_nrfx_transceive,
Dspi_nrfx_spi.c221 static int transceive(const struct device *dev, in transceive() function
293 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in spi_nrfx_transceive()
304 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, cb, userdata); in spi_nrfx_transceive_async()
327 .transceive = spi_nrfx_transceive,
Dspi_sedi.c91 static int transceive(const struct device *dev, const struct spi_config *config, in transceive() function
225 return transceive(dev, config, tx_bufs, rx_bufs, false, NULL, NULL); in spi_sedi_transceive()
236 return transceive(dev, config, tx_bufs, rx_bufs, true, cb, userdata); in spi_sedi_transceive_async()
301 .transceive = spi_sedi_transceive,
Dspi_mcux_flexio.c295 static int transceive(const struct device *dev, in transceive() function
340 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in spi_mcux_transceive()
351 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, cb, userdata); in spi_mcux_transceive_async()
398 .transceive = spi_mcux_transceive,
Dspi_esp32_spim.c420 static int transceive(const struct device *dev, in transceive() function
478 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in spi_esp32_transceive()
489 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, cb, userdata); in spi_esp32_transceive_async()
504 .transceive = spi_esp32_transceive,
Dspi_emul.c134 .transceive = spi_emul_io,
Dspi_handlers.c80 K_OOPS(K_SYSCALL_DRIVER_SPI(dev, transceive)); in z_vrfy_spi_transceive()
Dspi_dw.c333 static int transceive(const struct device *dev, in transceive() function
467 return transceive(dev, config, tx_bufs, rx_bufs, false, NULL, NULL); in spi_dw_transceive()
480 return transceive(dev, config, tx_bufs, rx_bufs, true, cb, userdata); in spi_dw_transceive_async()
529 .transceive = spi_dw_transceive,
Dspi_it8xxx2.c384 static int transceive(const struct device *dev, const struct spi_config *config, in transceive() function
424 return transceive(dev, config, tx_bufs, rx_bufs, false, NULL, NULL); in it8xxx2_transceive()
433 return transceive(dev, config, tx_bufs, rx_bufs, true, cb, userdata); in it8xxx2_transceive_async()
506 .transceive = it8xxx2_transceive,
Dspi_nxp_s32.c390 static int transceive(const struct device *dev, in transceive() function
467 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in spi_nxp_s32_transceive()
477 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, callback, userdata); in spi_nxp_s32_transceive_async()
603 .transceive = spi_nxp_s32_transceive,
Dspi_shell.c149 SHELL_CMD_ARG(transceive, NULL,
Dspi_nrfx_spim.c520 static int transceive(const struct device *dev, in transceive() function
607 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, false, NULL, NULL); in spi_nrfx_transceive()
618 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, cb, userdata); in spi_nrfx_transceive_async()
642 .transceive = spi_nrfx_transceive,
/Zephyr-latest/include/zephyr/drivers/
Dmspi_emul.h83 emul_mspi_dev_api_transceive transceive; member
Dmspi.h509 mspi_api_transceive transceive; member
654 if (!api->transceive) { in z_impl_mspi_transceive()
658 return api->transceive(controller, dev_id, req); in z_impl_mspi_transceive()
/Zephyr-latest/samples/drivers/mspi/mspi_async/
DREADME.rst11 memory device. The asynchronous transceive call need to be supported
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x_gyro.c48 .transceive = bmi08x_gyro_transceive_i2c,
81 .transceive = bmi08x_gyro_transceive_spi,
98 return cfg->api->transceive(dev, reg, write, data, length); in bmi08x_gyro_transceive()
Dbmi08x.h456 int (*transceive)(const struct device *dev, uint8_t reg, bool write, void *data, member
465 int (*transceive)(const struct device *dev, uint8_t reg, bool write, void *data, member

123