Home
last modified time | relevance | path

Searched refs:write_len (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/samples/bluetooth/central_gatt_write/src/
Dgatt_write_common.c17 static uint32_t write_len; variable
41 write_count, write_len, write_rate); in write_cmd_cb()
46 write_len = 0U; in write_cmd_cb()
57 write_len += len; in write_cmd_cb()
58 write_rate = ((uint64_t)write_len << 3) * (1U * NSEC_PER_SEC) / in write_cmd_cb()
/Zephyr-latest/drivers/flash/
Dflash_sam0.c316 size_t write_len = MIN(len, eop_len); in flash_sam0_write() local
319 err = flash_sam0_write_page(dev, offset, pdata, write_len); in flash_sam0_write()
324 offset += write_len; in flash_sam0_write()
325 pdata += write_len; in flash_sam0_write()
326 len -= write_len; in flash_sam0_write()
327 write_len = MIN(len, FLASH_PAGE_SIZE); in flash_sam0_write()
/Zephyr-latest/drivers/w1/
Dw1_net.c369 const uint8_t *write_buf, size_t write_len, in write_read() argument
379 ret = w1_write_block(dev, write_buf, write_len); in write_read()
391 const uint8_t *write_buf, size_t write_len, in w1_write_read() argument
397 ret = write_read(dev, config, write_buf, write_len, read_buf, read_len); in w1_write_read()
/Zephyr-latest/drivers/serial/
Dserial_test.c164 uint32_t write_len = ring_buf_put(data->written, tx_data, size); in fifo_fill() local
169 return write_len; in fifo_fill()
336 uint32_t write_len; in serial_vnd_api_tx() local
346 write_len = ring_buf_put(data->written, tx_data, len); in serial_vnd_api_tx()
351 __ASSERT(write_len == len, "Ring buffer full. Async wait not implemented."); in serial_vnd_api_tx()
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_nxp_lcdic.c355 uint32_t write_len; in mipi_dbi_lcdic_fill_tx() local
365 write_len = buf_len; in mipi_dbi_lcdic_fill_tx()
369 write_len = 4; in mipi_dbi_lcdic_fill_tx()
378 bytes_written += write_len; in mipi_dbi_lcdic_fill_tx()
379 buf_len -= write_len; in mipi_dbi_lcdic_fill_tx()
/Zephyr-latest/drivers/wifi/esp_at/
Desp_offload.c268 int ret, write_len, pkt_len; in _sock_send() local
326 write_len = MIN(pkt_len, frag->len); in _sock_send()
327 dev->mctx.iface.write(&dev->mctx.iface, frag->data, write_len); in _sock_send()
328 pkt_len -= write_len; in _sock_send()
/Zephyr-latest/include/zephyr/drivers/
Dw1.h576 const uint8_t *write_buf, size_t write_len,
/Zephyr-latest/drivers/modem/
Dwncm14a2a.c714 int write_len; in on_cmd_sockwrite() local
720 write_len = atoi(value); in on_cmd_sockwrite()
721 if (write_len <= 0) { in on_cmd_sockwrite()
/Zephyr-latest/subsys/net/ip/
Dtcp.c1680 size_t write_len = MIN(len, net_buf_tailroom(buf)); in tcp_pkt_append() local
1682 net_buf_add_mem(buf, data, write_len); in tcp_pkt_append()
1684 data += write_len; in tcp_pkt_append()
1685 len -= write_len; in tcp_pkt_append()