Lines Matching refs:htc_handle
333 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle, in ath9k_htc_txcompletion_cb() argument
339 if (htc_handle->htc_flags & HTC_OP_CONFIG_PIPE_CREDITS) { in ath9k_htc_txcompletion_cb()
340 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
341 htc_handle->htc_flags &= ~HTC_OP_CONFIG_PIPE_CREDITS; in ath9k_htc_txcompletion_cb()
345 if (htc_handle->htc_flags & HTC_OP_START_WAIT) { in ath9k_htc_txcompletion_cb()
346 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
347 htc_handle->htc_flags &= ~HTC_OP_START_WAIT; 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()
372 static void ath9k_htc_fw_panic_report(struct htc_target *htc_handle, in ath9k_htc_fw_panic_report() argument
380 dev_err(htc_handle->dev, "ath: firmware panic! " in ath9k_htc_fw_panic_report()
389 dev_err(htc_handle->dev, "ath: firmware panic! " in ath9k_htc_fw_panic_report()
393 dev_err(htc_handle->dev, "ath: unknown panic pattern!\n"); in ath9k_htc_fw_panic_report()
403 void ath9k_htc_rx_msg(struct htc_target *htc_handle, in ath9k_htc_rx_msg() argument
411 if (!htc_handle || !skb) in ath9k_htc_rx_msg()
427 ath9k_htc_fw_panic_report(htc_handle, skb, len); 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()
483 endpoint = &htc_handle->endpoint[epid]; in ath9k_htc_rx_msg()