Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 24 of 24) sorted by relevance

/modules/canopennode/
A DCO_driver.c92 CO_CANrx_t *buffer; in canopen_rx_callback() local
102 if (buffer->filter_id == -ENOSPC || buffer->pFunct == NULL) { in canopen_rx_callback()
106 if (((frame->id ^ buffer->ident) & buffer->mask) == 0U) { in canopen_rx_callback()
115 buffer->pFunct(buffer->object, &rxMsg); in canopen_rx_callback()
148 CO_CANtx_t *buffer; in canopen_tx_retry() local
162 memcpy(frame.data, buffer->data, buffer->DLC); in canopen_tx_retry()
337 buffer->rtr = rtr; in CO_CANrxBufferInit()
380 buffer->rtr = rtr; in CO_CANtxBufferInit()
385 return buffer; in CO_CANtxBufferInit()
414 memcpy(frame.data, buffer->data, buffer->DLC); in CO_CANsend()
[all …]
A DKconfig19 int "CANopen SDO buffer size"
23 Size of the internal CANopen SDO buffer in bytes. Size must
26 not limited to the SDO buffer size. If block transfer is
30 int "CANopen trace buffer size"
33 Size of the CANopen trace buffer in bytes.
A Dcanopen_program.c292 uint8_t buffer[32]; in flash_crc() local
295 size_t len = MIN(size, sizeof(buffer)); in flash_crc()
297 int err = flash_area_read(flash_area, offset, buffer, len); in flash_crc()
303 crc = crc32_ieee_update(crc, buffer, len); in flash_crc()
/modules/openthread/platform/
A Dmessagepool.c52 otMessageBuffer *buffer; in otPlatMessagePoolNew() local
54 if (k_mem_slab_alloc(&message_pool, (void **)&buffer, BUF_TIMEOUT) != 0) { in otPlatMessagePoolNew()
59 buffer->mNext = NULL; in otPlatMessagePoolNew()
60 return buffer; in otPlatMessagePoolNew()
A Dinfra_if.c26 static void handle_ra_from_ot(const uint8_t *buffer, uint16_t buffer_length);
127 static void handle_ra_from_ot(const uint8_t *buffer, uint16_t buffer_length) in handle_ra_from_ot() argument
140 (const struct net_icmpv6_nd_opt_hdr *)&buffer[i]; in handle_ra_from_ot()
146 (const struct net_icmpv6_nd_opt_prefix_info *)&buffer[i]; in handle_ra_from_ot()
171 (const struct net_icmpv6_nd_opt_route_info *)&buffer[i]; in handle_ra_from_ot()
174 memcpy(&rio_prefix.s6_addr, &buffer[i], prefix_field_len); in handle_ra_from_ot()
A Dcrypto_psa.c495 uint8_t buffer[1 + OT_CRYPTO_ECDSA_PUBLIC_KEY_SIZE]; in otPlatCryptoEcdsaVerify() local
506 buffer[0] = 0x04; in otPlatCryptoEcdsaVerify()
507 memcpy(buffer + 1, aPublicKey->m8, OT_CRYPTO_ECDSA_PUBLIC_KEY_SIZE); in otPlatCryptoEcdsaVerify()
508 status = psa_import_key(&attributes, buffer, sizeof(buffer), &key_id); in otPlatCryptoEcdsaVerify()
568 uint8_t buffer[1 + OT_CRYPTO_ECDSA_PUBLIC_KEY_SIZE]; in otPlatCryptoEcdsaExportPublicKey() local
570 status = psa_export_public_key(aKeyRef, buffer, sizeof(buffer), &exported_length); in otPlatCryptoEcdsaExportPublicKey()
575 __ASSERT_NO_MSG(exported_length == sizeof(buffer)); in otPlatCryptoEcdsaExportPublicKey()
576 memcpy(aPublicKey->m8, buffer + 1, OT_CRYPTO_ECDSA_PUBLIC_KEY_SIZE); in otPlatCryptoEcdsaExportPublicKey()
A Dhdlc_interface.hpp199 virtual void HandleUnknownHdlcContent(uint8_t *buffer, uint16_t len);
A Dhdlc_interface.cpp347 void HdlcInterface::HandleUnknownHdlcContent(uint8_t *buffer, uint16_t len) in HandleUnknownHdlcContent() argument
349 OT_UNUSED_VARIABLE(buffer); in HandleUnknownHdlcContent()
A Dradio.c502 recv_frame.mPsdu = net_buf_frag_last(pkt->buffer)->data; in openthread_handle_received_frame()
504 recv_frame.mLength = net_buf_frags_len(pkt->buffer); in openthread_handle_received_frame()
580 for (buf = pkt->buffer; buf; buf = buf->frags) { in openthread_handle_frame_to_send()
A Dradio_spinel.cpp100 for (buf = pkt->buffer; buf; buf = buf->frags) { in openthread_handle_frame_to_send()
/modules/littlefs/
A Dzephyr_lfs_crc.c14 uint32_t lfs_crc(uint32_t crc, const void *buffer, size_t size) in lfs_crc() argument
23 const uint8_t *data = buffer; in lfs_crc()
A Dzephyr_lfs_config.h192 uint32_t lfs_crc(uint32_t crc, const void *buffer, size_t size);
/modules/lvgl/
A DKconfig.memory56 int "Rendering buffer size"
61 Size of the buffer used for rendering screen content as a percentage
78 int "Rending buffer alignment"
82 Rendering buffer alignment. Depending on chosen color depth,
83 buffer may be accessed as a uint8_t *, uint16_t *, or uint32_t *,
84 so buffer must be aligned to prevent unaligned memory access
96 bool "Use intermediate conversion buffer for monochrome displays"
99 When using a monochrome display an intermediate buffer with LV_Z_VDB_SIZE
115 * Rendering buffer size
A Dlvgl_display_mono.c150 void lvgl_set_mono_conversion_buffer(uint8_t *buffer, uint32_t buffer_size) in lvgl_set_mono_conversion_buffer() argument
152 mono_conv_buf = buffer; in lvgl_set_mono_conversion_buffer()
/modules/segger/
A DKconfig45 int "Size of the buffer for terminal output of target, up to host"
49 int "Size of the buffer for terminal input of target, from host"
53 int "Size of buffer for RTT printf to bulk-send chars via RTT"
57 prompt "Mode for pre-initialized terminal channel (buffer 0)"
67 bool "Block: Wait until there is space in the buffer."
/modules/lvgl/include/
A Dlvgl_display.h39 void lvgl_set_mono_conversion_buffer(uint8_t *buffer, uint32_t buffer_size);
/modules/openthread/
A DKconfig230 int "Set Co-Processor UART ring buffer size"
233 TX buffer size for the OpenThread Co-Processor UART.
259 int "The number of message buffers in the buffer pool"
262 "The number of message buffers in the buffer pool."
265 int "The size of a message buffer in bytes"
268 "The size of a message buffer in bytes"
/modules/fatfs/
A Dzephyr_fatfs_config.h44 #error Invalid LFN buffer location
/modules/hal_nordic/nrfs/backends/
A DKconfig24 int "Size of TX buffer message queue size"
/modules/nrf_wifi/os/
A Dshim.c479 if (!pkt || !pkt->buffer) { in net_pkt_to_nbuf_zc()
485 if (pkt->buffer->frags) { in net_pkt_to_nbuf_zc()
499 nbuff->data = pkt->buffer->data; in net_pkt_to_nbuf_zc()
500 nbuff->len = pkt->buffer->len; in net_pkt_to_nbuf_zc()
525 if (pkt->buffer && !pkt->buffer->frags) { in net_pkt_to_nbuf()
/modules/mbedtls/
A DKconfig163 Enable debugging of buffer allocator memory issues. Automatically
A DKconfig.mbedtls639 removing the need for heap memory. Each buffer will be sized to
/modules/hostap/
A DKconfig116 # hostap debug is very verbose and despite large log buffer sizes
/modules/hal_nordic/nrfx/
A DKconfig1227 (cache buffers) are used for DMA transfers and data is copied to the user buffer.

Completed in 56 milliseconds