Lines Matching refs:htc_hdr
210 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()
754 ep_id = htc_hdr->eid; in ath6kl_htc_pipe_tx_complete()
947 struct htc_frame_hdr *htc_hdr; in ath6kl_htc_pipe_rx_complete() local
973 htc_hdr = (struct htc_frame_hdr *) netdata; in ath6kl_htc_pipe_rx_complete()
975 if (htc_hdr->eid >= ENDPOINT_MAX) { in ath6kl_htc_pipe_rx_complete()
978 htc_hdr->eid); in ath6kl_htc_pipe_rx_complete()
982 ep = &target->endpoint[htc_hdr->eid]; in ath6kl_htc_pipe_rx_complete()
984 payload_len = le16_to_cpu(get_unaligned(&htc_hdr->payld_len)); in ath6kl_htc_pipe_rx_complete()
995 hdr_info = htc_hdr->flags; in ath6kl_htc_pipe_rx_complete()
998 hdr_info = htc_hdr->ctrl[0]; in ath6kl_htc_pipe_rx_complete()
1010 trailer = (u8 *) htc_hdr + HTC_HDR_LENGTH + in ath6kl_htc_pipe_rx_complete()
1013 htc_hdr->eid); in ath6kl_htc_pipe_rx_complete()
1023 if (htc_hdr->eid == ENDPOINT_0) { in ath6kl_htc_pipe_rx_complete()
1070 packet->endpoint = htc_hdr->eid; in ath6kl_htc_pipe_rx_complete()