Lines Matching refs:htc_hdr
104 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()
444 if (htc_hdr->flags & HTC_FLAGS_RECV_TRAILER) { in ath9k_htc_rx_msg()
447 htc_hdr = (struct htc_frame_hdr *)(skb->data + 4); in ath9k_htc_rx_msg()
455 msg_id = (__be16 *) ((void *) htc_hdr + in ath9k_htc_rx_msg()
463 htc_process_target_rdy(htc_handle, htc_hdr); in ath9k_htc_rx_msg()
469 htc_process_conn_rsp(htc_handle, htc_hdr); in ath9k_htc_rx_msg()
478 if (htc_hdr->flags & HTC_FLAGS_RECV_TRAILER) in ath9k_htc_rx_msg()
479 skb_trim(skb, len - htc_hdr->control[0]); in ath9k_htc_rx_msg()