Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/Zephyr-latest/tests/boards/mec15xxevb_assy6853/qspi/src/
Dmain.c77 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in ZTEST_USER()
84 rx_bufs.buffers = (const struct spi_buf *)&rxb; in ZTEST_USER()
113 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in ZTEST_USER()
116 rx_bufs.buffers = NULL; in ZTEST_USER()
133 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in ZTEST_USER()
136 rx_bufs.buffers = NULL; in ZTEST_USER()
152 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in ZTEST_USER()
159 rx_bufs.buffers = (const struct spi_buf *)&rxb; in ZTEST_USER()
189 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in test_spi_single_write()
192 rx_bufs.buffers = NULL; in test_spi_single_write()
[all …]
/Zephyr-latest/drivers/spi/
Dspi_rtio.c40 .buffers = &tx_buf, in spi_rtio_iodev_default_submit_sync()
45 .buffers = &rx_buf, in spi_rtio_iodev_default_submit_sync()
146 tx_buf = tx_bufs->buffers[tx].buf; in spi_rtio_copy()
147 tx_len = tx_bufs->buffers[tx].len; in spi_rtio_copy()
150 tx_len = rx_bufs->buffers[rx].len; in spi_rtio_copy()
154 rx_buf = rx_bufs->buffers[rx].buf; in spi_rtio_copy()
155 rx_len = rx_bufs->buffers[rx].len; in spi_rtio_copy()
158 rx_len = tx_bufs->buffers[tx].len; in spi_rtio_copy()
188 rx_buf = rx_bufs->buffers[rx].buf; in spi_rtio_copy()
189 rx_len = rx_bufs->buffers[rx].len; in spi_rtio_copy()
[all …]
Dspi_handlers.c21 bufs->buffers = NULL; in copy_and_check()
26 K_OOPS(K_SYSCALL_MEMORY_ARRAY_READ(bufs->buffers, in copy_and_check()
33 bufs->buffers = memcpy(buf_copy, in copy_and_check()
34 bufs->buffers, in copy_and_check()
41 const struct spi_buf *buf = &bufs->buffers[i]; in copy_and_check()
/Zephyr-latest/subsys/bluetooth/host/
DKconfig.l2cap10 int "Number of L2CAP TX buffers"
14 Number of buffers available for outgoing L2CAP packets.
17 int "Number of L2CAP TX fragment buffers"
21 Number of buffers available for fragments of TX buffers. Warning:
23 queued TX buffers never need to be fragmented, i.e. that the
25 and there are no dedicated fragment buffers, a deadlock may occur.
29 int "Maximum supported L2CAP MTU for L2CAP TX buffers"
45 Maximum L2CAP MTU for L2CAP TX buffers.
/Zephyr-latest/drivers/ieee802154/
Dieee802154_rf2xx_iface.c68 .buffers = &tx_buf, in rf2xx_iface_reg_read()
82 .buffers = rx_buf, in rf2xx_iface_reg_read()
117 .buffers = tx_buf, in rf2xx_iface_reg_write()
125 .buffers = &rx_buf, in rf2xx_iface_reg_write()
180 .buffers = &tx_buf, in rf2xx_iface_frame_read()
188 .buffers = &rx_buf, in rf2xx_iface_frame_read()
231 .buffers = tx_buf, in rf2xx_iface_frame_write()
239 .buffers = &rx_buf, in rf2xx_iface_frame_write()
271 .buffers = tx_buf, in rf2xx_iface_sram_read()
285 .buffers = rx_buf, in rf2xx_iface_sram_read()
/Zephyr-latest/drivers/sensor/ens160/
Dens160_spi.c31 .buffers = &tx_buf, in ens160_read_reg_spi()
47 .buffers = rx_buf, in ens160_read_reg_spi()
66 .buffers = &tx_buf, in ens160_read_data_spi()
82 .buffers = rx_buf, in ens160_read_data_spi()
107 .buffers = buf, in ens160_write_reg_spi()
132 .buffers = buf, in ens160_write_data_spi()
/Zephyr-latest/drivers/usb/uhc/
DKconfig22 int "Number of buffers in the pool"
26 Number of UHC request buffers in the pool.
29 int "Memory available for buffers"
33 Total amount of memory available for UHC buffers.
/Zephyr-latest/subsys/usb/device_next/class/
DKconfig.hid14 int "Number of buffers in the IN pool"
18 Number of buffers in the IN pool per HID instance.
21 int "Number of buffers in the OUT pool"
25 Number of buffers in the OUT pool per HID instance.
/Zephyr-latest/samples/drivers/video/capture_to_lvgl/src/
Dmain.c22 struct video_buffer *buffers[2], *vbuf; in main() local
99 for (i = 0; i < ARRAY_SIZE(buffers); i++) { in main()
100 buffers[i] = video_buffer_alloc(bsize, K_FOREVER); in main()
101 if (buffers[i] == NULL) { in main()
106 video_enqueue(video_dev, VIDEO_EP_OUT, buffers[i]); in main()
138 .data = (const uint8_t *)buffers[0]->buffer, in main()
/Zephyr-latest/samples/drivers/video/tcpserversink/src/
Dmain.c41 struct video_buffer *buffers[2], *vbuf; in main() local
107 for (i = 0; i < ARRAY_SIZE(buffers); i++) { in main()
108 buffers[i] = video_buffer_alloc(fmt.pitch * fmt.height, K_FOREVER); in main()
109 if (buffers[i] == NULL) { in main()
128 for (i = 0; i < ARRAY_SIZE(buffers); i++) { in main()
129 video_enqueue(video, VIDEO_EP_OUT, buffers[i]); in main()
/Zephyr-latest/subsys/bluetooth/
DKconfig.iso84 int "Number of Isochronous TX buffers"
88 Number of buffers available for outgoing Isochronous channel SDUs.
91 int "Number of ISO TX fragment buffers"
95 Number of buffers available for fragments of TX buffers. Warning:
97 queued TX buffers never need to be fragmented, i.e. that the
99 and there are no dedicated fragment buffers, a deadlock may occur.
103 int "Maximum supported MTU for Isochronous TX buffers"
107 Maximum MTU for Isochronous channels TX buffers.
115 int "Number of Isochronous RX buffers"
119 Number of buffers available for incoming Isochronous channel SDUs.
[all …]
/Zephyr-latest/subsys/ipc/ipc_service/backends/
DKconfig.icbmsg5 bool "ICMSG backend with dynamically allocated buffers"
12 on dynamically allocated buffers. References to them are send over
27 module-str = ICMSG backend with separate buffers
28 module-help = Sets log level for ICMsg backend with buffers
/Zephyr-latest/drivers/sensor/meas/ms5607/
Dms5607_spi.c29 .buffers = &buf, in ms5607_spi_raw_cmd()
74 .buffers = &rx_buf, in ms5607_spi_read_prom()
79 .buffers = &tx_buf, in ms5607_spi_read_prom()
122 .buffers = &rx_buf, in ms5607_spi_read_adc()
127 .buffers = &tx_buf, in ms5607_spi_read_adc()
/Zephyr-latest/drivers/sensor/tdk/icm42605/
Dicm42605_spi.c28 .buffers = buf, in inv_spi_single_write()
53 .buffers = &tx_buf, in inv_spi_read()
69 .buffers = rx_buf, in inv_spi_read()
/Zephyr-latest/lib/net_buf/
DKconfig10 buffers.
18 Enable logs and checks for the generic network buffers.
40 Enable extra debug logs and checks for the generic network buffers.
48 * amount of free buffers in the pool is remembered
56 Alignment restriction for network buffers. This is useful for
57 some hardware IP with DMA that requires the buffers to be aligned
/Zephyr-latest/drivers/audio/
DKconfig.dmic_mcux16 int "Number of buffers to reserve for DMIC DMA"
20 This determines how many buffers the driver should allocate and
30 many buffers may be queued by the DMIC once it is triggered, before
31 the application must read buffers to avoid data being dropped.
/Zephyr-latest/drivers/ethernet/nxp_enet/
DKconfig51 bool "Use DTCM for hardware DMA buffers"
54 Place the hardware DMA buffers into DTCM for better
65 int "Number of RX buffers for ethernet driver"
69 Set the number of RX buffers provided to the NXP ENET driver.
72 int "Number of TX buffers for ethernet driver"
76 Set the number of TX buffers provided to the NXP ENET driver.
102 bool "Use DTCM for hardware DMA buffers"
105 Place the hardware DMA buffers into DTCM for better
116 int "Number of RX buffers for ethernet driver"
120 Set the number of RX buffers provided to the NXP ENET driver.
[all …]
/Zephyr-latest/doc/services/net_buf/
Dindex.rst14 Network buffers are a core concept of how the networking stack
18 Creating buffers
21 Network buffers are created by first defining a pool of them:
30 Once the pool has been defined, buffers can be allocated from it with:
37 buffers, rather this is done implicitly as :c:func:`net_buf_alloc` gets
48 buffers may also contain protocol-specific context, known as user data.
49 Both the maximum data and user data capacity of the buffers is
52 The buffers have native support for being passed through k_fifo kernel
56 Special functions exist for dealing with buffers in single linked lists,
65 decoding data in the buffers. To fully understand these helpers it's
[all …]
/Zephyr-latest/drivers/sensor/bosch/bme680/
Dbme680_spi.c41 .buffers = &tx_buf, in bme680_set_mem_page()
50 .buffers = rx_buf, in bme680_set_mem_page()
90 .buffers = &tx_buf, in bme680_reg_write_spi()
115 .buffers = &tx_buf, in bme680_reg_read_spi()
120 .buffers = rx_buf, in bme680_reg_read_spi()
/Zephyr-latest/tests/boards/mec172xevb_assy6906/qspi/src/
Dmain.c138 .buffers = &spi_bufs[0], in spi_flash_read_status()
142 .buffers = &spi_bufs[0], in spi_flash_read_status()
172 .buffers = &spi_bufs[0], in spi_flash_write_status()
195 .buffers = &spi_bufs[0], in spi_flash_tx_one_byte_cmd()
229 .buffers = &spi_bufs[0], in ZTEST_USER()
233 .buffers = &spi_bufs[0], in ZTEST_USER()
272 .buffers = &spi_bufs[0], in ZTEST_USER()
316 .buffers = &spi_bufs[0], in test_spi_single_write()
382 .buffers = &spi_bufs[0], in ZTEST_USER()
387 .buffers = &spi_bufs[0], in ZTEST_USER()
[all …]
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/src/
Dmain.c131 size_t l = set->buffers[i].len; in cpy_data()
134 memcpy(&buf[idx], set->buffers[i].buf, l); in cpy_data()
190 tx_len += tx_set->buffers[i].len; in peripheral_rx_len()
194 rx_len += rx_set->buffers[i].len; in peripheral_rx_len()
262 tdata.sets[i].buffers = &tdata.bufs[i]; in test_basic()
296 tdata.sets[0].buffers = &tdata.bufs[0]; in test_basic_zero_len()
305 tdata.sets[1].buffers = &tdata.bufs[2]; in test_basic_zero_len()
312 tdata.sets[2].buffers = &tdata.bufs[4]; in test_basic_zero_len()
318 tdata.sets[3].buffers = &tdata.bufs[6]; in test_basic_zero_len()
353 tdata.sets[i].buffers = &tdata.bufs[i]; in test_short_rx()
[all …]
/Zephyr-latest/tests/drivers/spi/spi_loopback/src/
Dspi.c106 .buffers = tx_bufs, in spi_complete_multiple()
119 .buffers = rx_bufs, in spi_complete_multiple()
178 .buffers = tx_bufs, in spi_complete_loop()
182 .buffers = rx_bufs, in spi_complete_loop()
233 .buffers = tx_bufs, in spi_null_tx_buf()
237 .buffers = rx_bufs, in spi_null_tx_buf()
281 .buffers = tx_bufs, in spi_rx_half_start()
285 .buffers = rx_bufs, in spi_rx_half_start()
334 .buffers = tx_bufs, in spi_rx_half_end()
338 .buffers = rx_bufs, in spi_rx_half_end()
[all …]
/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc_spi.c47 .buffers = &spi_buffer_tx, in tmc_spi_read_register()
56 .buffers = &spi_buffer_rx, in tmc_spi_read_register()
96 .buffers = &spi_buffer_tx, in tmc_spi_write_register()
105 .buffers = &spi_buffer_rx, in tmc_spi_write_register()
/Zephyr-latest/samples/drivers/spi_bitbang/src/
Dmain.c36 struct spi_buf_set tx_bufs = { .buffers = &tx_buf, .count = 1 }; in test_basic_write_9bit_words()
74 struct spi_buf_set tx_set = { .buffers = tx_buf, .count = 2 }; in test_9bit_loopback_partial()
75 struct spi_buf_set rx_set = { .buffers = rx_buf, .count = 2 }; in test_9bit_loopback_partial()
109 struct spi_buf_set tx_set = { .buffers = tx_buf, .count = 1 }; in test_8bit_xfer()
110 struct spi_buf_set rx_set = { .buffers = rx_buf, .count = 1 }; in test_8bit_xfer()
/Zephyr-latest/drivers/sensor/st/stmemsc/
Dstmemsc_spi.c27 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in stmemsc_spi_read()
37 const struct spi_buf_set rx = { .buffers = rx_buf, .count = 2 }; in stmemsc_spi_read()
58 const struct spi_buf_set tx = { .buffers = tx_buf, .count = 2 }; in stmemsc_spi_write()

12345678910>>...12