Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/espi/
Despi_npcx.c380 static struct espi_taf_pckt taf_pckt; variable
393 taf_pckt.type = taf_head.type; in espi_taf_parse()
394 taf_pckt.len = (((uint16_t)taf_head.tag_hlen & 0xF) << 8) | taf_head.llen; in espi_taf_parse()
395 taf_pckt.tag = taf_head.tag_hlen >> 4; in espi_taf_parse()
397 if ((taf_pckt.len == 0) && (taf_pckt.type == NPCX_ESPI_TAF_REQ_READ)) { in espi_taf_parse()
398 taf_pckt.len = KB(4); in espi_taf_parse()
403 taf_pckt.addr = sys_cpu_to_be32(taf_addr); in espi_taf_parse()
406 if ((taf_pckt.type == NPCX_ESPI_TAF_REQ_WRITE) || in espi_taf_parse()
408 (taf_pckt.type == NPCX_ESPI_TAF_REQ_RPMC_OP1))) { in espi_taf_parse()
409 roundsize = DIV_ROUND_UP(taf_pckt.len, sizeof(uint32_t)); in espi_taf_parse()
[all …]