Searched refs:htc_hdr (Results 1 – 7 of 7) sorted by relevance
104 struct htc_frame_hdr *htc_hdr) in htc_process_conn_rsp() argument113 ((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() local346 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() local414 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 …]
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 …]
75 struct ath10k_htc_hdr *htc_hdr = in is_trailer_only_msg() local77 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() local387 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 …]
1502 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()
1754 struct ath10k_htc_hdr htc_hdr; member1761 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()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() local752 htc_hdr = (struct htc_frame_hdr *) netdata; in ath6kl_htc_pipe_tx_complete()[all …]
1340 struct htc_frame_hdr *htc_hdr = (struct htc_frame_hdr *)&lk_ahd; in ath6kl_htc_rx_set_indicate() local1342 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() local1378 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 …]