Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/ath/ath9k/
Dhtc_hst.c104 struct htc_frame_hdr *htc_hdr) in htc_process_conn_rsp() argument
113 ((void *) htc_hdr + sizeof(struct htc_frame_hdr)); in htc_process_conn_rsp()
331 struct htc_frame_hdr *htc_hdr = NULL; in ath9k_htc_txcompletion_cb() local
346 htc_hdr = (struct htc_frame_hdr *) skb->data; in ath9k_htc_txcompletion_cb()
347 if (htc_hdr->endpoint_id >= ARRAY_SIZE(htc_handle->endpoint)) in ath9k_htc_txcompletion_cb()
349 endpoint = &htc_handle->endpoint[htc_hdr->endpoint_id]; in ath9k_htc_txcompletion_cb()
354 skb, htc_hdr->endpoint_id, in ath9k_htc_txcompletion_cb()
406 struct htc_frame_hdr *htc_hdr; in ath9k_htc_rx_msg() local
414 htc_hdr = (struct htc_frame_hdr *) skb->data; in ath9k_htc_rx_msg()
415 epid = htc_hdr->endpoint_id; in ath9k_htc_rx_msg()
[all …]
/linux-5.19.10/drivers/net/wireless/ath/ath10k/
Dusb.c24 eid_from_htc_hdr(struct ath10k_htc_hdr *htc_hdr) in eid_from_htc_hdr() argument
26 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() argument
31 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() local
286 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() local
302 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 …]
Dsdio.c75 struct ath10k_htc_hdr *htc_hdr = in is_trailer_only_msg() local
77 u16 len = __le16_to_cpu(htc_hdr->len); in is_trailer_only_msg()
79 if (len == htc_hdr->trailer_len) in is_trailer_only_msg()
386 struct ath10k_htc_hdr *htc_hdr = (struct ath10k_htc_hdr *)skb->data; in ath10k_sdio_mbox_rx_process_packet() local
387 bool trailer_present = htc_hdr->flags & ATH10K_HTC_FLAG_TRAILER_PRESENT; in ath10k_sdio_mbox_rx_process_packet()
393 trailer = skb->data + skb->len - htc_hdr->trailer_len; in ath10k_sdio_mbox_rx_process_packet()
395 eid = pipe_id_to_eid(htc_hdr->eid); in ath10k_sdio_mbox_rx_process_packet()
399 htc_hdr->trailer_len, in ath10k_sdio_mbox_rx_process_packet()
409 skb_trim(skb, skb->len - htc_hdr->trailer_len); in ath10k_sdio_mbox_rx_process_packet()
412 skb_pull(skb, sizeof(*htc_hdr)); in ath10k_sdio_mbox_rx_process_packet()
[all …]
Dhtt_tx.c1502 txbuf->htc_hdr.eid = htt->eid; in ath10k_htt_tx_32()
1503 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32()
1506 txbuf->htc_hdr.flags = 0; in ath10k_htt_tx_32()
1555 sg_items[0].vaddr = &txbuf->htc_hdr; in ath10k_htt_tx_32()
1558 sg_items[0].len = sizeof(txbuf->htc_hdr) + in ath10k_htt_tx_32()
1706 txbuf->htc_hdr.eid = htt->eid; in ath10k_htt_tx_64()
1707 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_64()
1710 txbuf->htc_hdr.flags = 0; in ath10k_htt_tx_64()
1764 sg_items[0].vaddr = &txbuf->htc_hdr; in ath10k_htt_tx_64()
1767 sg_items[0].len = sizeof(txbuf->htc_hdr) + in ath10k_htt_tx_64()
Dhtt.h1754 struct ath10k_htc_hdr htc_hdr; member
1761 struct ath10k_htc_hdr htc_hdr; member
/linux-5.19.10/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c210 struct htc_frame_hdr *htc_hdr; in htc_issue_packets() local
231 htc_hdr = skb_push(skb, sizeof(*htc_hdr)); in htc_issue_packets()
232 if (!htc_hdr) { in htc_issue_packets()
241 put_unaligned((u16) payload_len, &htc_hdr->payld_len); in htc_issue_packets()
242 htc_hdr->flags = packet->info.tx.flags; in htc_issue_packets()
243 htc_hdr->eid = (u8) packet->endpoint; in htc_issue_packets()
244 htc_hdr->ctrl[0] = 0; in htc_issue_packets()
245 htc_hdr->ctrl[1] = (u8) packet->info.tx.seqno; in htc_issue_packets()
745 struct htc_frame_hdr *htc_hdr; in ath6kl_htc_pipe_tx_complete() local
752 htc_hdr = (struct htc_frame_hdr *) netdata; in ath6kl_htc_pipe_tx_complete()
[all …]
Dhtc_mbox.c1340 struct htc_frame_hdr *htc_hdr = (struct htc_frame_hdr *)&lk_ahd; in ath6kl_htc_rx_set_indicate() local
1342 if (htc_hdr->eid == packet->endpoint) { in ath6kl_htc_rx_set_indicate()
1372 struct htc_frame_hdr *htc_hdr = (struct htc_frame_hdr *)lk_ahds; in ath6kl_htc_rx_setup() local
1378 le16_to_cpu(htc_hdr->payld_len) + in ath6kl_htc_rx_setup()
1379 sizeof(*htc_hdr)); in ath6kl_htc_rx_setup()
1383 htc_hdr->eid, htc_hdr->flags, in ath6kl_htc_rx_setup()
1384 le16_to_cpu(htc_hdr->payld_len)); in ath6kl_htc_rx_setup()
1401 le16_to_cpu(htc_hdr->payld_len); in ath6kl_htc_rx_setup()
1462 packet->act_len = le16_to_cpu(htc_hdr->payld_len) + in ath6kl_htc_rx_setup()
1476 struct htc_frame_hdr *htc_hdr; in ath6kl_htc_rx_alloc() local
[all …]