Home
last modified time | relevance | path

Searched refs:buf_sz (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/i3c/
Di3c_npcx.c736 static int npcx_i3c_xfer_write_fifo(struct i3c_reg *inst, uint8_t *buf, uint8_t buf_sz, in npcx_i3c_xfer_write_fifo() argument
740 int remaining = buf_sz; in npcx_i3c_xfer_write_fifo()
832 static int npcx_i3c_xfer_write_fifo_dma(const struct device *dev, uint8_t *buf, uint32_t buf_sz) in npcx_i3c_xfer_write_fifo_dma() argument
846 mdma_inst->MDMA_TCNT1 = buf_sz; /* Set MDMA transfer count */ in npcx_i3c_xfer_write_fifo_dma()
853 LOG_DBG("Check complete time out, buf_size:%d", buf_sz); in npcx_i3c_xfer_write_fifo_dma()
865 ret = buf_sz - mdma_inst->MDMA_CTCNT1; /* Set transferred count */ in npcx_i3c_xfer_write_fifo_dma()
890 static int npcx_i3c_xfer_read_fifo_dma(const struct device *dev, uint8_t *buf, uint32_t buf_sz) in npcx_i3c_xfer_read_fifo_dma() argument
903 mdma_inst->MDMA_TCNT0 = buf_sz; /* Set MDMA transfer count */ in npcx_i3c_xfer_read_fifo_dma()
913 ret = buf_sz - mdma_inst->MDMA_CTCNT0; /* Set transferred count */ in npcx_i3c_xfer_read_fifo_dma()
942 enum npcx_i3c_mctrl_type op_type, uint8_t *buf, size_t buf_sz, in npcx_i3c_do_one_xfer_dma() argument
[all …]
Di3c_mcux.c894 static int mcux_i3c_do_one_xfer_read(I3C_Type *base, uint8_t *buf, uint8_t buf_sz, bool ibi) in mcux_i3c_do_one_xfer_read() argument
899 while (offset < buf_sz) { in mcux_i3c_do_one_xfer_read()
905 while (offset < buf_sz) { in mcux_i3c_do_one_xfer_read()
957 static int mcux_i3c_do_one_xfer_write(I3C_Type *base, uint8_t *buf, uint8_t buf_sz, bool no_ending) in mcux_i3c_do_one_xfer_write() argument
960 int remaining = buf_sz; in mcux_i3c_do_one_xfer_write()
1003 uint8_t *buf, size_t buf_sz, in mcux_i3c_do_one_xfer() argument
1014 ret = mcux_i3c_request_emit_start(base, addr, is_i2c, is_read, buf_sz); in mcux_i3c_do_one_xfer()
1022 if ((buf == NULL) || (buf_sz == 0)) { in mcux_i3c_do_one_xfer()
1027 ret = mcux_i3c_do_one_xfer_read(base, buf, buf_sz, false); in mcux_i3c_do_one_xfer()
1029 ret = mcux_i3c_do_one_xfer_write(base, buf, buf_sz, no_ending); in mcux_i3c_do_one_xfer()
[all …]
/Zephyr-latest/subsys/net/lib/dns/
Ddns_pack.c81 static int skip_fqdn(uint8_t *answer, int buf_sz) in skip_fqdn() argument
86 if (i >= buf_sz) { in skip_fqdn()
95 if (i > buf_sz) { in skip_fqdn()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dfmac_main.c717 rx_buf_pools[0].buf_sz = rx1_buf_sz; in nrf_wifi_drv_main_zep()
718 rx_buf_pools[1].buf_sz = rx2_buf_sz; in nrf_wifi_drv_main_zep()
719 rx_buf_pools[2].buf_sz = rx3_buf_sz; in nrf_wifi_drv_main_zep()