Lines Matching refs:pipe
251 list_add_tail(&packet->list, &ep->pipe.tx_lookup_queue); in htc_issue_packets()
256 ep->pipe.pipeid_ul, NULL, skb); in htc_issue_packets()
411 if (!ep->pipe.tx_credit_flow_enabled) { in htc_try_send()
414 ep->pipe.pipeid_ul); in htc_try_send()
455 if (ep->pipe.tx_credit_flow_enabled) { in htc_try_send()
485 if (!ep->pipe.tx_credit_flow_enabled) { in htc_try_send()
486 pipeid = ep->pipe.pipeid_ul; in htc_try_send()
562 entry = &target->pipe.txcredit_alloc[0]; in htc_setup_target_buffer_assignments()
640 if (target->pipe.txcredit_alloc[i].service_id != 0) { in htc_setup_target_buffer_assignments()
644 target->pipe.txcredit_alloc[i]. in htc_setup_target_buffer_assignments()
646 target->pipe.txcredit_alloc[i]. in htc_setup_target_buffer_assignments()
727 list_for_each_entry_safe(packet, tmp_pkt, &ep->pipe.tx_lookup_queue, in htc_lookup_tx_packet()
771 if (!ep->pipe.tx_credit_flow_enabled) { in ath6kl_htc_pipe_tx_complete()
821 if (target->pipe.htc_packet_pool == NULL) { in alloc_htc_packet_container()
826 packet = target->pipe.htc_packet_pool; in alloc_htc_packet_container()
827 target->pipe.htc_packet_pool = (struct htc_packet *) packet->list.next; in alloc_htc_packet_container()
842 if (target->pipe.htc_packet_pool == NULL) { in free_htc_packet_container()
843 target->pipe.htc_packet_pool = packet; in free_htc_packet_container()
846 lh = (struct list_head *) target->pipe.htc_packet_pool; in free_htc_packet_container()
848 target->pipe.htc_packet_pool = packet; in free_htc_packet_container()
1054 target->pipe.ctrl_response_valid = true; in ath6kl_htc_pipe_rx_complete()
1055 target->pipe.ctrl_response_len = min_t(int, netlen, in ath6kl_htc_pipe_rx_complete()
1057 memcpy(target->pipe.ctrl_response_buf, netdata, in ath6kl_htc_pipe_rx_complete()
1058 target->pipe.ctrl_response_len); in ath6kl_htc_pipe_rx_complete()
1149 if (target->pipe.ctrl_response_valid) { in htc_wait_recv_ctrl_message()
1150 target->pipe.ctrl_response_valid = false; in htc_wait_recv_ctrl_message()
1194 INIT_LIST_HEAD(&ep->pipe.tx_lookup_queue); in reset_endpoint_states()
1197 ep->pipe.tx_credit_flow_enabled = true; in reset_endpoint_states()
1214 if (target->pipe.txcredit_alloc[i].service_id == service_id) in htc_get_credit_alloc()
1216 target->pipe.txcredit_alloc[i].credit_alloc; in htc_get_credit_alloc()
1321 target->pipe.ctrl_response_buf; in ath6kl_htc_pipe_conn_service()
1324 (target->pipe.ctrl_response_len < sizeof(*resp_msg))) { in ath6kl_htc_pipe_conn_service()
1392 &ep->pipe.pipeid_ul, in ath6kl_htc_pipe_conn_service()
1393 &ep->pipe.pipeid_dl); in ath6kl_htc_pipe_conn_service()
1399 ep->svc_id, ep->pipe.pipeid_ul, in ath6kl_htc_pipe_conn_service()
1400 ep->pipe.pipeid_dl, ep->eid); in ath6kl_htc_pipe_conn_service()
1402 if (disable_credit_flowctrl && ep->pipe.tx_credit_flow_enabled) { in ath6kl_htc_pipe_conn_service()
1403 ep->pipe.tx_credit_flow_enabled = false; in ath6kl_htc_pipe_conn_service()
1456 ath6kl_hif_pipe_get_default(ar, &ep->pipe.pipeid_ul, in ath6kl_htc_pipe_create()
1457 &ep->pipe.pipeid_dl); in ath6kl_htc_pipe_create()
1579 if (target->pipe.ctrl_response_len < sizeof(*ready_msg)) { in ath6kl_htc_pipe_wait_target()
1581 target->pipe.ctrl_response_len); in ath6kl_htc_pipe_wait_target()
1585 ready_msg = (struct htc_ready_ext_msg *) target->pipe.ctrl_response_buf; in ath6kl_htc_pipe_wait_target()