Lines Matching refs:packets
1569 static void htc_ctrl_rx(struct htc_target *context, struct htc_packet *packets) in htc_ctrl_rx() argument
1571 if (packets->endpoint != ENDPOINT_0) { in htc_ctrl_rx()
1576 if (packets->status == -ECANCELED) { in htc_ctrl_rx()
1577 reclaim_rx_ctrl_buf(context, packets); in htc_ctrl_rx()
1581 if (packets->act_len > 0) { in htc_ctrl_rx()
1583 packets->act_len + HTC_HDR_LENGTH); in htc_ctrl_rx()
1587 packets->buf - HTC_HDR_LENGTH, in htc_ctrl_rx()
1588 packets->act_len + HTC_HDR_LENGTH); in htc_ctrl_rx()
1591 htc_reclaim_rxbuf(context, packets, &context->endpoint[0]); in htc_ctrl_rx()
2146 struct htc_packet *packets, *tmp_pkt; in ath6kl_htc_rxmsg_pending_handler() local
2231 list_for_each_entry_safe(packets, tmp_pkt, &comp_pktq, list) { in ath6kl_htc_rxmsg_pending_handler()
2232 list_del(&packets->list); in ath6kl_htc_rxmsg_pending_handler()
2233 htc_reclaim_rxbuf(target, packets, in ath6kl_htc_rxmsg_pending_handler()
2234 &target->endpoint[packets->endpoint]); in ath6kl_htc_rxmsg_pending_handler()