Lines Matching refs:oob_data
943 uint32_t oob_data; in espi_npcx_send_oob() local
983 oob_data = 0; in espi_npcx_send_oob()
985 oob_data |= (oob_buf[i] << (8 * i)); in espi_npcx_send_oob()
987 inst->OOBTXBUF[idx_tx_buf + 1] = oob_data; in espi_npcx_send_oob()
994 oob_data = inst->OOBCTL & ~(BIT(NPCX_OOBCTL_OOB_FREE)); in espi_npcx_send_oob()
995 oob_data |= BIT(NPCX_OOBCTL_OOB_AVAIL); in espi_npcx_send_oob()
996 inst->OOBCTL = oob_data; in espi_npcx_send_oob()
1011 uint32_t oob_data; in espi_npcx_receive_oob() local
1041 oob_data = inst->OOBRXBUF[0]; in espi_npcx_receive_oob()
1043 sz_oob_rx = NPCX_OOB_RX_PACKAGE_LEN(oob_data); in espi_npcx_receive_oob()
1056 oob_data = inst->OOBRXBUF[idx_rx_buf + 1]; in espi_npcx_receive_oob()
1058 *(oob_buf++) = oob_data & 0xFF; in espi_npcx_receive_oob()
1059 *(oob_buf++) = (oob_data >> 8) & 0xFF; in espi_npcx_receive_oob()
1060 *(oob_buf++) = (oob_data >> 16) & 0xFF; in espi_npcx_receive_oob()
1061 *(oob_buf++) = (oob_data >> 24) & 0xFF; in espi_npcx_receive_oob()
1068 oob_data = inst->OOBRXBUF[idx_rx_buf + 1]; in espi_npcx_receive_oob()
1070 *(oob_buf++) = (oob_data >> (8 * i)) & 0xFF; in espi_npcx_receive_oob()