Home
last modified time | relevance | path

Searched refs:peci_rx_buf (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/drivers/peci/
Dpeci_npcx.c139 struct peci_buf *peci_rx_buf = &msg->rx_buffer; in peci_npcx_transfer() local
147 peci_rx_buf->len > PECI_NPCX_MAX_RX_BUF_LEN) { in peci_npcx_transfer()
159 reg->PECI_RD_LENGTH = peci_rx_buf->len; in peci_npcx_transfer()
183 for (i = 0; i < peci_rx_buf->len; i++) { in peci_npcx_transfer()
184 peci_rx_buf->buf[i] = reg->PECI_DATA_IN[i]; in peci_npcx_transfer()
191 peci_rx_buf->buf[i] = reg->PECI_RD_FCS; in peci_npcx_transfer()
Dpeci_ite_it8xxx2.c246 struct peci_buf *peci_rx_buf = &msg->rx_buffer; in peci_it8xxx2_transfer() local
264 peci_regs->HORDLR = peci_rx_buf->len; in peci_it8xxx2_transfer()
280 if (peci_rx_buf->len) { in peci_it8xxx2_transfer()
281 for (cnt = 0; cnt < (peci_rx_buf->len); cnt++) { in peci_it8xxx2_transfer()
282 peci_rx_buf->buf[cnt] = peci_regs->HORDDR; in peci_it8xxx2_transfer()