/Zephyr-Core-3.5.0/drivers/spi/ |
D | spi_handlers.c | 14 static struct spi_buf_set *copy_and_check(struct spi_buf_set *bufs, in copy_and_check() argument 20 if (bufs->count == 0) { in copy_and_check() 21 bufs->buffers = NULL; in copy_and_check() 26 Z_OOPS(Z_SYSCALL_MEMORY_ARRAY_READ(bufs->buffers, in copy_and_check() 27 bufs->count, in copy_and_check() 33 bufs->buffers = memcpy(buf_copy, in copy_and_check() 34 bufs->buffers, in copy_and_check() 35 bufs->count * sizeof(struct spi_buf)); in copy_and_check() 37 for (i = 0; i < bufs->count; i++) { in copy_and_check() 41 const struct spi_buf *buf = &bufs->buffers[i]; in copy_and_check() [all …]
|
D | spi_ll_stm32.c | 796 static bool spi_buf_set_in_nocache(const struct spi_buf_set *bufs) in spi_buf_set_in_nocache() argument 798 for (size_t i = 0; i < bufs->count; i++) { in spi_buf_set_in_nocache() 799 const struct spi_buf *buf = &bufs->buffers[i]; in spi_buf_set_in_nocache()
|
/Zephyr-Core-3.5.0/samples/drivers/spi_fujitsu_fram/src/ |
D | main.c | 30 struct spi_buf bufs[] = { in mb85rs64v_access() local 40 .buffers = bufs in mb85rs64v_access() 49 bufs[0].len = 3; in mb85rs64v_access() 54 .buffers = bufs, in mb85rs64v_access()
|
/Zephyr-Core-3.5.0/samples/bluetooth/periodic_adv_conn/src/ |
D | main.c | 28 static struct net_buf_simple bufs[NUM_SUBEVENTS]; variable 31 BUILD_ASSERT(ARRAY_SIZE(bufs) == ARRAY_SIZE(subevent_data_params)); 47 subevent_data_params[i].data = &bufs[i]; in request_cb() 158 net_buf_simple_init_with_data(&bufs[i], &backing_store[i], in init_bufs()
|
/Zephyr-Core-3.5.0/drivers/led_strip/ |
D | lpd880x.c | 52 const struct spi_buf bufs[3] = { in lpd880x_update() local 71 .buffers = bufs, in lpd880x_update()
|
/Zephyr-Core-3.5.0/samples/bluetooth/periodic_adv_rsp/src/ |
D | main.c | 37 static struct net_buf_simple bufs[NUM_SUBEVENTS]; variable 40 BUILD_ASSERT(ARRAY_SIZE(bufs) == ARRAY_SIZE(subevent_data_params)); 54 buf = &bufs[i]; in request_cb() 237 net_buf_simple_init_with_data(&bufs[i], &backing_store[i], in init_bufs()
|
/Zephyr-Core-3.5.0/drivers/ieee802154/ |
D | ieee802154_mcr20a.c | 220 struct spi_buf bufs[2] = { in z_mcr20a_write_burst() local 231 .buffers = bufs, in z_mcr20a_write_burst() 248 struct spi_buf bufs[2] = { in z_mcr20a_read_burst() local 259 .buffers = bufs, in z_mcr20a_read_burst() 263 .buffers = bufs, in z_mcr20a_read_burst() 534 struct spi_buf bufs[2] = { in read_rxfifo_content() local 545 .buffers = bufs, in read_rxfifo_content() 549 .buffers = bufs, in read_rxfifo_content() 1084 const struct spi_buf bufs[2] = { in write_txfifo_content() local 1095 .buffers = bufs, in write_txfifo_content()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | proxy_msg.c | 54 static uint8_t __noinit bufs[CONFIG_BT_MAX_CONN * CONFIG_BT_MESH_PROXY_MSG_LEN]; variable 245 &bufs[bt_conn_index(role->conn) * in proxy_msg_init()
|
/Zephyr-Core-3.5.0/drivers/sensor/max31865/ |
D | max31865.c | 12 const struct spi_buf bufs[] = {{ in max31865_spi_write() local 18 const struct spi_buf_set tx = {.buffers = bufs, .count = 2}; in max31865_spi_write()
|
/Zephyr-Core-3.5.0/tests/net/buf/src/ |
D | main.c | 107 struct net_buf *bufs[bufs_pool.buf_count]; in ZTEST() local 114 bufs[i] = buf; in ZTEST() 117 for (i = 0; i < ARRAY_SIZE(bufs); i++) { in ZTEST() 118 net_buf_unref(bufs[i]); in ZTEST() 121 zassert_equal(destroy_called, ARRAY_SIZE(bufs), in ZTEST()
|
/Zephyr-Core-3.5.0/drivers/sdhc/ |
D | sdhc_spi.c | 347 struct spi_buf bufs[] = { in sdhc_spi_send_cmd() local 355 .buffers = bufs, in sdhc_spi_send_cmd() 367 bufs[0].len = SD_SPI_CMD_SIZE + 3; in sdhc_spi_send_cmd() 395 return sdhc_spi_response_get(dev, cmd, bufs[0].len); in sdhc_spi_send_cmd()
|
/Zephyr-Core-3.5.0/doc/services/rtio/ |
D | index.rst | 344 * many bufs. This could be a typical multiple of a fifo packet the sensor 350 static uint8_t bufs[4][ICM42688_RTIO_BUF_SIZE]; 375 rtio_sqe_prep_read(read_sqe, sensor_dev, RTIO_PRIO_HIGH, bufs[i], ICM42688_RTIO_BUF_SIZE);
|