Searched refs:htc_hdr (Results 1 – 5 of 5) sorted by relevance
24 eid_from_htc_hdr(struct ath10k_htc_hdr *htc_hdr) in eid_from_htc_hdr() argument26 return (enum ath10k_htc_ep_id)htc_hdr->eid; in eid_from_htc_hdr()29 static inline bool is_trailer_only_msg(struct ath10k_htc_hdr *htc_hdr) in is_trailer_only_msg() argument31 return __le16_to_cpu(htc_hdr->len) == htc_hdr->trailer_len; in is_trailer_only_msg()283 struct ath10k_htc_hdr *htc_hdr; in ath10k_usb_tx_complete() local286 htc_hdr = (struct ath10k_htc_hdr *)skb->data; in ath10k_usb_tx_complete()287 ep = &ar->htc.endpoint[htc_hdr->eid]; in ath10k_usb_tx_complete()295 struct ath10k_htc_hdr *htc_hdr; in ath10k_usb_rx_complete() local302 htc_hdr = (struct ath10k_htc_hdr *)skb->data; in ath10k_usb_rx_complete()303 eid = eid_from_htc_hdr(htc_hdr); in ath10k_usb_rx_complete()[all …]
1504 txbuf->htc_hdr.eid = htt->eid; in ath10k_htt_tx_32()1505 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32()1508 txbuf->htc_hdr.flags = 0; in ath10k_htt_tx_32()1557 sg_items[0].vaddr = &txbuf->htc_hdr; in ath10k_htt_tx_32()1560 sg_items[0].len = sizeof(txbuf->htc_hdr) + in ath10k_htt_tx_32()1711 txbuf->htc_hdr.eid = htt->eid; in ath10k_htt_tx_64()1712 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_64()1715 txbuf->htc_hdr.flags = 0; in ath10k_htt_tx_64()1769 sg_items[0].vaddr = &txbuf->htc_hdr; in ath10k_htt_tx_64()1772 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
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 …]