| /modules/nrf_wifi/bus/ |
| A D | spsc_qm.c | 41 char *buf; in spsc32_pop() local 42 uint16_t plen = spsc_pbuf_claim(queue, &buf); in spsc32_pop() 51 *out_value = *((uint32_t *)buf); in spsc32_pop() 58 char *buf; in spsc32_read_head() local 59 uint16_t plen = spsc_pbuf_claim(queue, &buf); in spsc32_read_head() 66 *out_value = *((uint32_t *)buf); in spsc32_read_head() 73 char *buf; in spsc32_is_empty() local 75 return spsc_pbuf_claim(queue, &buf) == 0; in spsc32_is_empty()
|
| A D | spi_if.c | 43 {.buf = hdr, .len = sizeof(hdr) }, in spim_xfer_tx() 44 {.buf = data, .len = len }, in spim_xfer_tx() 67 {.buf = hdr, .len = sizeof(hdr) }, in spim_xfer_rx() 68 {.buf = NULL, .len = len }, in spim_xfer_rx() 74 {.buf = discard, .len = sizeof(hdr) + discard_bytes}, in spim_xfer_rx() 75 {.buf = data, .len = len }, in spim_xfer_rx() 94 .buf = tx_buffer, in spim_read_reg() 106 .buf = &sr, in spim_read_reg() 127 const struct spi_buf tx_buf = { .buf = tx_buffer, .len = sizeof(tx_buffer) }; in spim_write_reg() 256 const struct spi_buf tx_buf = { .buf = tx_buffer, .len = sizeof(tx_buffer) }; in spim_cmd_sleep_rpu()
|
| A D | qspi_if.c | 168 uint8_t *buf; member 643 .buf = &sr, in qspi_rdsr() 781 .buf = &sr, in qspi_nrfx_configure() 923 res = _nrfx_qspi_read(buf, sizeof(buf), addr); in write_sub_word() 928 res = _nrfx_qspi_write(buf, sizeof(buf), addr); in write_sub_word() 1058 .buf = &sr, in qspi_RDSR2() 1104 .buf = &sr, in qspi_RDSR1() 1159 .buf = &data, in qspi_WRSR2() 1207 .buf = &sr, in qspi_read_reg() 1246 .buf = ®_value, in qspi_write_reg() [all …]
|
| /modules/openthread/ |
| A D | openthread_utils.c | 21 int bytes_from_str(uint8_t *buf, int buf_len, const char *src) in bytes_from_str() argument 23 if (!buf || !src) { in bytes_from_str() 37 (void)memset(buf, 0, buf_len); in bytes_from_str() 40 buf[i] = (uint8_t)strtol(src, &endptr, 16); in bytes_from_str()
|
| A D | openthread.c | 127 static int ncp_hdlc_send(const uint8_t *buf, uint16_t len) in ncp_hdlc_send() argument 131 err = otPlatUartSend(buf, len); in ncp_hdlc_send()
|
| /modules/hal_nordic/nrf_802154/serialization/platform/ |
| A D | nrf_802154_spinel_backend_ipc.c | 128 struct ringbuffer *buf = &ring_buffer[wr_idx]; in spinel_packet_from_thread_send() local 131 buf->len = len; in spinel_packet_from_thread_send() 132 memcpy(buf->data, data, len); in spinel_packet_from_thread_send() 143 struct ringbuffer *buf = &ring_buffer[rd_idx]; in spinel_packet_send_thread_fn() local 144 uint32_t expected_ret = buf->len; in spinel_packet_send_thread_fn() 146 LOG_DBG("Sending %u bytes from send thread", buf->len); in spinel_packet_send_thread_fn() 147 int ret = ipc_service_send(&ept, buf->data, buf->len); in spinel_packet_send_thread_fn()
|
| /modules/hostap/src/ |
| A D | hapd_events.c | 95 void hostapd_handle_dpp_event(void *ctx, char *buf, size_t len) in hostapd_handle_dpp_event() argument 110 if (!strncmp(buf, DPP_EVENT_CONNECTOR, sizeof(DPP_EVENT_CONNECTOR) - 1)) { in hostapd_handle_dpp_event() 115 conf->dpp_connector = os_strdup(buf + sizeof(DPP_EVENT_CONNECTOR) - 1); in hostapd_handle_dpp_event() 116 } else if (!strncmp(buf, DPP_EVENT_C_SIGN_KEY, sizeof(DPP_EVENT_C_SIGN_KEY) - 1)) { in hostapd_handle_dpp_event() 121 conf->dpp_csign = wpabuf_parse_bin(buf + sizeof(DPP_EVENT_C_SIGN_KEY) - 1); in hostapd_handle_dpp_event() 122 } else if (!strncmp(buf, DPP_EVENT_NET_ACCESS_KEY, sizeof(DPP_EVENT_NET_ACCESS_KEY) - 1)) { in hostapd_handle_dpp_event() 128 wpabuf_parse_bin(buf + sizeof(DPP_EVENT_NET_ACCESS_KEY) - 1); in hostapd_handle_dpp_event()
|
| A D | hapd_events.h | 21 void hostapd_handle_dpp_event(void *ctx, char *buf, size_t len);
|
| /modules/hal_afbr/ |
| A D | platform_nvm.c | 10 status_t NVM_WriteBlock(uint32_t id, uint32_t block_size, uint8_t const *buf) in NVM_WriteBlock() argument 15 status_t NVM_ReadBlock(uint32_t id, uint32_t block_size, uint8_t *buf) in NVM_ReadBlock() argument
|
| /modules/lvgl/ |
| A D | lvgl_display_mono.c | 21 uint8_t *buf; in set_px_at_pos() local 24 buf = dst_buf + x + y / 8 * width; in set_px_at_pos() 32 buf = dst_buf + x / 8 + y * width / 8; in set_px_at_pos() 42 *buf |= BIT(bit); in set_px_at_pos() 45 *buf |= BIT(bit); in set_px_at_pos() 47 *buf &= ~BIT(bit); in set_px_at_pos()
|
| A D | lvgl_fs.c | 99 static lv_fs_res_t lvgl_fs_read(lv_fs_drv_t *drv, void *file, void *buf, uint32_t btr, uint32_t *br) in lvgl_fs_read() argument 103 err = fs_read((struct fs_file_t *)file, buf, btr); in lvgl_fs_read() 115 static lv_fs_res_t lvgl_fs_write(lv_fs_drv_t *drv, void *file, const void *buf, uint32_t btw, in lvgl_fs_write() argument 120 err = fs_write((struct fs_file_t *)file, buf, btw); in lvgl_fs_write()
|
| A D | lvgl.c | 111 static void lvgl_log(lv_log_level_t level, const char *buf) in lvgl_log() argument 115 LOG_ERR("%s", buf + (sizeof("[Error] ") - 1)); in lvgl_log() 118 LOG_WRN("%s", buf + (sizeof("[Warn] ") - 1)); in lvgl_log() 121 LOG_INF("%s", buf + (sizeof("[Info] ") - 1)); in lvgl_log() 124 LOG_DBG("%s", buf + (sizeof("[Trace] ") - 1)); in lvgl_log() 127 LOG_INF("%s", buf + (sizeof("[User] ") - 1)); in lvgl_log()
|
| A D | lvgl_display_16bit.c | 25 flush.buf = (void *)px_map; in lvgl_flush_cb_16bit()
|
| A D | lvgl_display_32bit.c | 25 flush.buf = (void *)px_map; in lvgl_flush_cb_32bit()
|
| A D | lvgl_display_8bit.c | 24 flush.buf = (void *)px_map; in lvgl_flush_cb_8bit()
|
| A D | lvgl_display.c | 31 display_write(data->display_dev, flush.x, flush.y, &flush.desc, flush.buf); in lvgl_flush_thread_entry() 147 display_write(data->display_dev, request->x, request->y, &request->desc, request->buf); in lvgl_flush_display()
|
| A D | lvgl_display_24bit.c | 25 flush.buf = (void *)px_map; in lvgl_flush_cb_24bit()
|
| /modules/thrift/src/thrift/server/ |
| A D | TFDServer.cpp | 52 virtual uint32_t read_virt(uint8_t *buf, uint32_t len) override in read_virt() argument 91 r = ::read(fd, buf, len); in read_virt() 107 virtual void write_virt(const uint8_t *buf, uint32_t len) override in write_virt() argument 114 for (int r = 0; len > 0; buf += r, len -= r) { in write_virt() 115 r = ::write(fd, buf, len); in write_virt()
|
| /modules/nrf_wifi/os/ |
| A D | shim.c | 114 if (buf) { in zep_shim_mem_free() 121 if (buf) { in zep_shim_data_mem_free() 248 static char buf[80]; in zep_shim_pr_dbg() local 250 vsnprintf(buf, sizeof(buf), fmt, args); in zep_shim_pr_dbg() 252 LOG_DBG("%s", buf); in zep_shim_pr_dbg() 259 static char buf[80]; in zep_shim_pr_info() local 261 vsnprintf(buf, sizeof(buf), fmt, args); in zep_shim_pr_info() 263 LOG_INF("%s", buf); in zep_shim_pr_info() 270 static char buf[256]; in zep_shim_pr_err() local 272 vsnprintf(buf, sizeof(buf), fmt, args); in zep_shim_pr_err() [all …]
|
| /modules/openthread/include/ |
| A D | openthread_utils.h | 29 int bytes_from_str(uint8_t *buf, int buf_len, const char *src);
|
| /modules/openthread/platform/ |
| A D | hdlc_interface.cpp | 306 uint8_t *buf = mRxSpinelFrameBuffer.GetFrame(); in HandleHdlcFrame() local 309 otDumpDebgPlat("RX FRAME", buf, bufLength); in HandleHdlcFrame() 312 if ((buf[0] & SPINEL_HEADER_FLAG) == SPINEL_HEADER_FLAG) { in HandleHdlcFrame() 331 HandleUnknownHdlcContent(buf, bufLength); in HandleHdlcFrame()
|
| A D | radio_spinel.cpp | 87 struct net_buf *buf; in openthread_handle_frame_to_send() local 100 for (buf = pkt->buffer; buf; buf = buf->frags) { in openthread_handle_frame_to_send() 101 if (otMessageAppend(message, buf->data, buf->len) != OT_ERROR_NONE) { in openthread_handle_frame_to_send()
|
| A D | ble.c | 71 static ssize_t on_receive(struct bt_conn *conn, const struct bt_gatt_attr *attr, const void *buf, 187 static ssize_t on_receive(struct bt_conn *conn, const struct bt_gatt_attr *attr, const void *buf, in on_receive() argument 192 otError error = ot_plat_ble_queue_msg(buf, len, 0); in on_receive()
|
| A D | radio.c | 556 struct net_buf *buf; in openthread_handle_frame_to_send() local 580 for (buf = pkt->buffer; buf; buf = buf->frags) { in openthread_handle_frame_to_send() 581 if (otMessageAppend(message, buf->data, buf->len) != OT_ERROR_NONE) { in openthread_handle_frame_to_send()
|
| /modules/lvgl/include/ |
| A D | lvgl_display.h | 29 void *buf; member
|