Searched refs:taf_head (Results 1 – 2 of 2) sorted by relevance
299 struct npcx_taf_head taf_head; in taf_npcx_completion_handler() local303 taf_head.pkt_len = NPCX_TAF_CMP_HEADER_LEN + len; in taf_npcx_completion_handler()304 taf_head.type = type; in taf_npcx_completion_handler()305 taf_head.tag_hlen = (tag << 4) | ((len & 0xF00) >> 8); in taf_npcx_completion_handler()306 taf_head.llen = len & 0xFF; in taf_npcx_completion_handler()308 memcpy(&tx_buf[0], &taf_head, sizeof(struct npcx_taf_head)); in taf_npcx_completion_handler()
388 struct npcx_taf_head taf_head; in espi_taf_parse() local394 taf_head = *(struct npcx_taf_head *)&head_data; in espi_taf_parse()396 taf_pckt.type = taf_head.type; in espi_taf_parse()397 taf_pckt.len = (((uint16_t)taf_head.tag_hlen & 0xF) << 8) | taf_head.llen; in espi_taf_parse()398 taf_pckt.tag = taf_head.tag_hlen >> 4; in espi_taf_parse()