Home
last modified time | relevance | path

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

/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()
337 struct htc_frame_hdr *htc_hdr = NULL; in ath9k_htc_txcompletion_cb() local
352 htc_hdr = (struct htc_frame_hdr *) skb->data; in ath9k_htc_txcompletion_cb()
353 if (htc_hdr->endpoint_id >= ARRAY_SIZE(htc_handle->endpoint)) in ath9k_htc_txcompletion_cb()
355 endpoint = &htc_handle->endpoint[htc_hdr->endpoint_id]; in ath9k_htc_txcompletion_cb()
360 skb, htc_hdr->endpoint_id, in ath9k_htc_txcompletion_cb()
406 struct htc_frame_hdr *htc_hdr; in ath9k_htc_rx_msg() local
423 htc_hdr = (struct htc_frame_hdr *) skb->data; in ath9k_htc_rx_msg()
424 epid = htc_hdr->endpoint_id; in ath9k_htc_rx_msg()
[all …]
/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.c1522 txbuf->htc_hdr.eid = htt->eid; in ath10k_htt_tx_32()
1523 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32()
1526 txbuf->htc_hdr.flags = 0; in ath10k_htt_tx_32()
1575 sg_items[0].vaddr = &txbuf->htc_hdr; in ath10k_htt_tx_32()
1578 sg_items[0].len = sizeof(txbuf->htc_hdr) + in ath10k_htt_tx_32()
1726 txbuf->htc_hdr.eid = htt->eid; in ath10k_htt_tx_64()
1727 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_64()
1730 txbuf->htc_hdr.flags = 0; in ath10k_htt_tx_64()
1784 sg_items[0].vaddr = &txbuf->htc_hdr; in ath10k_htt_tx_64()
1787 sg_items[0].len = sizeof(txbuf->htc_hdr) + in ath10k_htt_tx_64()
Dhtt.h1867 struct ath10k_htc_hdr htc_hdr; member
1874 struct ath10k_htc_hdr htc_hdr; member
/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 …]