Lines Matching refs:txq

106 		if (list_empty(&ep->txq))  in get_htc_packet_credit_based()
110 packet = list_first_entry(&ep->txq, struct htc_packet, list); in get_htc_packet_credit_based()
114 __func__, packet, get_queue_depth(&ep->txq)); in get_htc_packet_credit_based()
159 packet = list_first_entry(&ep->txq, struct htc_packet, list); in get_htc_packet_credit_based()
183 if (list_empty(&ep->txq)) in get_htc_packet()
186 packet = list_first_entry(&ep->txq, struct htc_packet, list); in get_htc_packet()
191 __func__, packet, get_queue_depth(&ep->txq)); in get_htc_packet()
303 struct list_head *txq) in htc_try_send() argument
313 __func__, txq, in htc_try_send()
314 (txq == NULL) ? 0 : get_queue_depth(txq)); in htc_try_send()
324 if (txq != NULL) { in htc_try_send()
325 if (list_empty(txq)) { in htc_try_send()
331 txqueue_depth = get_queue_depth(&ep->txq); in htc_try_send()
336 overflow = get_queue_depth(txq); in htc_try_send()
340 overflow += get_queue_depth(txq); in htc_try_send()
359 list_splice_tail_init(txq, &send_queue); in htc_try_send()
361 good_pkts = get_queue_depth(txq) - overflow; in htc_try_send()
371 packet = list_first_entry(txq, in htc_try_send()
384 txq, list) { in htc_try_send()
422 list_splice_tail_init(&send_queue, &ep->txq); in htc_try_send()
452 if (get_queue_depth(&ep->txq) == 0) in htc_try_send()
676 if (ep->cred_dist.credits && get_queue_depth(&ep->txq)) { in htc_process_credit_report()
698 while (get_queue_depth(&ep->txq)) { in htc_flush_tx_endpoint()
699 packet = list_first_entry(&ep->txq, struct htc_packet, list); in htc_flush_tx_endpoint()
1193 INIT_LIST_HEAD(&ep->txq); in reset_endpoint_states()