Searched refs:peci_tx_buf (Results 1 – 2 of 2) sorted by relevance
140 struct peci_buf *peci_tx_buf = &msg->tx_buffer; in peci_npcx_transfer() local146 if (peci_tx_buf->len > PECI_NPCX_MAX_TX_BUF_LEN || in peci_npcx_transfer()158 reg->PECI_WR_LENGTH = peci_tx_buf->len; in peci_npcx_transfer()168 if (peci_tx_buf->len != 0) { in peci_npcx_transfer()169 for (int i = 0; i < (peci_tx_buf->len - 1); i++) { in peci_npcx_transfer()170 reg->PECI_DATA_OUT[i] = peci_tx_buf->buf[i]; in peci_npcx_transfer()
247 struct peci_buf *peci_tx_buf = &msg->tx_buffer; in peci_it8xxx2_transfer() local263 peci_regs->HOWRLR = peci_tx_buf->len; in peci_it8xxx2_transfer()268 for (cnt = 0; cnt < (peci_tx_buf->len - 1); cnt++) { in peci_it8xxx2_transfer()269 peci_regs->HOWRDR = peci_tx_buf->buf[cnt]; in peci_it8xxx2_transfer()