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()
331 struct htc_frame_hdr *htc_hdr = NULL; in ath9k_htc_txcompletion_cb() local
346 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() local
414 htc_hdr = (struct htc_frame_hdr *) skb->data; in ath9k_htc_rx_msg()
415 epid = htc_hdr->endpoint_id; in ath9k_htc_rx_msg()
434 if (htc_hdr->flags & HTC_FLAGS_RECV_TRAILER) { in ath9k_htc_rx_msg()
437 htc_hdr = (struct htc_frame_hdr *)(skb->data + 4); in ath9k_htc_rx_msg()
441 msg_id = (__be16 *) ((void *) htc_hdr + in ath9k_htc_rx_msg()
447 htc_process_target_rdy(htc_handle, htc_hdr); in ath9k_htc_rx_msg()
450 htc_process_conn_rsp(htc_handle, htc_hdr); in ath9k_htc_rx_msg()
459 if (htc_hdr->flags & HTC_FLAGS_RECV_TRAILER) in ath9k_htc_rx_msg()
460 skb_trim(skb, len - htc_hdr->control[0]); in ath9k_htc_rx_msg()