Searched refs:htc_hdr (Results 1 – 5 of 5) sorted by relevance
210 struct htc_frame_hdr *htc_hdr; in htc_issue_packets() local231 htc_hdr = skb_push(skb, sizeof(*htc_hdr)); in htc_issue_packets()232 if (!htc_hdr) { in htc_issue_packets()240 put_unaligned_le16(payload_len, &htc_hdr->payld_len); in htc_issue_packets()241 htc_hdr->flags = packet->info.tx.flags; in htc_issue_packets()242 htc_hdr->eid = (u8) packet->endpoint; in htc_issue_packets()243 htc_hdr->ctrl[0] = 0; in htc_issue_packets()244 htc_hdr->ctrl[1] = (u8) packet->info.tx.seqno; in htc_issue_packets()744 struct htc_frame_hdr *htc_hdr; in ath6kl_htc_pipe_tx_complete() local751 htc_hdr = (struct htc_frame_hdr *) netdata; in ath6kl_htc_pipe_tx_complete()[all …]
1339 struct htc_frame_hdr *htc_hdr = (struct htc_frame_hdr *)&lk_ahd; in ath6kl_htc_rx_set_indicate() local1341 if (htc_hdr->eid == packet->endpoint) { in ath6kl_htc_rx_set_indicate()1371 struct htc_frame_hdr *htc_hdr = (struct htc_frame_hdr *)lk_ahds; in ath6kl_htc_rx_setup() local1377 le16_to_cpu(htc_hdr->payld_len) + in ath6kl_htc_rx_setup()1378 sizeof(*htc_hdr)); in ath6kl_htc_rx_setup()1382 htc_hdr->eid, htc_hdr->flags, in ath6kl_htc_rx_setup()1383 le16_to_cpu(htc_hdr->payld_len)); in ath6kl_htc_rx_setup()1400 le16_to_cpu(htc_hdr->payld_len); in ath6kl_htc_rx_setup()1461 packet->act_len = le16_to_cpu(htc_hdr->payld_len) + in ath6kl_htc_rx_setup()1475 struct htc_frame_hdr *htc_hdr; in ath6kl_htc_rx_alloc() local[all …]
76 struct ath10k_htc_hdr *htc_hdr = in is_trailer_only_msg() local78 u16 len = __le16_to_cpu(htc_hdr->len); in is_trailer_only_msg()80 if (len == htc_hdr->trailer_len) in is_trailer_only_msg()387 struct ath10k_htc_hdr *htc_hdr = (struct ath10k_htc_hdr *)skb->data; in ath10k_sdio_mbox_rx_process_packet() local388 bool trailer_present = htc_hdr->flags & ATH10K_HTC_FLAG_TRAILER_PRESENT; in ath10k_sdio_mbox_rx_process_packet()394 trailer = skb->data + skb->len - htc_hdr->trailer_len; in ath10k_sdio_mbox_rx_process_packet()396 eid = pipe_id_to_eid(htc_hdr->eid); in ath10k_sdio_mbox_rx_process_packet()400 htc_hdr->trailer_len, in ath10k_sdio_mbox_rx_process_packet()410 skb_trim(skb, skb->len - htc_hdr->trailer_len); in ath10k_sdio_mbox_rx_process_packet()413 skb_pull(skb, sizeof(*htc_hdr)); in ath10k_sdio_mbox_rx_process_packet()[all …]
1506 txbuf->htc_hdr.eid = htt->eid; in ath10k_htt_tx_32()1507 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32()1510 txbuf->htc_hdr.flags = 0; in ath10k_htt_tx_32()1559 sg_items[0].vaddr = &txbuf->htc_hdr; in ath10k_htt_tx_32()1562 sg_items[0].len = sizeof(txbuf->htc_hdr) + in ath10k_htt_tx_32()1713 txbuf->htc_hdr.eid = htt->eid; in ath10k_htt_tx_64()1714 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_64()1717 txbuf->htc_hdr.flags = 0; in ath10k_htt_tx_64()1771 sg_items[0].vaddr = &txbuf->htc_hdr; in ath10k_htt_tx_64()1774 sg_items[0].len = sizeof(txbuf->htc_hdr) + in ath10k_htt_tx_64()
1760 struct ath10k_htc_hdr htc_hdr; member1767 struct ath10k_htc_hdr htc_hdr; member