Lines Matching refs:htc_hdr
210 struct htc_frame_hdr *htc_hdr; in htc_issue_packets() local
231 htc_hdr = (struct htc_frame_hdr *) skb_push(skb, in htc_issue_packets()
232 sizeof(*htc_hdr)); in htc_issue_packets()
233 if (!htc_hdr) { in htc_issue_packets()
242 put_unaligned((u16) payload_len, &htc_hdr->payld_len); in htc_issue_packets()
243 htc_hdr->flags = packet->info.tx.flags; in htc_issue_packets()
244 htc_hdr->eid = (u8) packet->endpoint; in htc_issue_packets()
245 htc_hdr->ctrl[0] = 0; in htc_issue_packets()
246 htc_hdr->ctrl[1] = (u8) packet->info.tx.seqno; in htc_issue_packets()
746 struct htc_frame_hdr *htc_hdr; in ath6kl_htc_pipe_tx_complete() local
755 htc_hdr = (struct htc_frame_hdr *) netdata; in ath6kl_htc_pipe_tx_complete()
757 ep_id = htc_hdr->eid; in ath6kl_htc_pipe_tx_complete()
957 struct htc_frame_hdr *htc_hdr; in ath6kl_htc_pipe_rx_complete() local
983 htc_hdr = (struct htc_frame_hdr *) netdata; in ath6kl_htc_pipe_rx_complete()
985 if (htc_hdr->eid >= ENDPOINT_MAX) { in ath6kl_htc_pipe_rx_complete()
988 htc_hdr->eid); in ath6kl_htc_pipe_rx_complete()
992 ep = &target->endpoint[htc_hdr->eid]; in ath6kl_htc_pipe_rx_complete()
994 payload_len = le16_to_cpu(get_unaligned(&htc_hdr->payld_len)); in ath6kl_htc_pipe_rx_complete()
1005 hdr_info = htc_hdr->flags; in ath6kl_htc_pipe_rx_complete()
1008 hdr_info = htc_hdr->ctrl[0]; in ath6kl_htc_pipe_rx_complete()
1020 trailer = (u8 *) htc_hdr + HTC_HDR_LENGTH + in ath6kl_htc_pipe_rx_complete()
1023 htc_hdr->eid); in ath6kl_htc_pipe_rx_complete()
1033 if (htc_hdr->eid == ENDPOINT_0) { in ath6kl_htc_pipe_rx_complete()
1080 packet->endpoint = htc_hdr->eid; in ath6kl_htc_pipe_rx_complete()