Lines Matching refs:packets
1567 static void htc_ctrl_rx(struct htc_target *context, struct htc_packet *packets) in htc_ctrl_rx() argument
1569 if (packets->endpoint != ENDPOINT_0) { in htc_ctrl_rx()
1574 if (packets->status == -ECANCELED) { in htc_ctrl_rx()
1575 reclaim_rx_ctrl_buf(context, packets); in htc_ctrl_rx()
1579 if (packets->act_len > 0) { in htc_ctrl_rx()
1581 packets->act_len + HTC_HDR_LENGTH); in htc_ctrl_rx()
1585 packets->buf - HTC_HDR_LENGTH, in htc_ctrl_rx()
1586 packets->act_len + HTC_HDR_LENGTH); in htc_ctrl_rx()
1589 htc_reclaim_rxbuf(context, packets, &context->endpoint[0]); in htc_ctrl_rx()
2144 struct htc_packet *packets, *tmp_pkt; in ath6kl_htc_rxmsg_pending_handler() local
2229 list_for_each_entry_safe(packets, tmp_pkt, &comp_pktq, list) { in ath6kl_htc_rxmsg_pending_handler()
2230 list_del(&packets->list); in ath6kl_htc_rxmsg_pending_handler()
2231 htc_reclaim_rxbuf(target, packets, in ath6kl_htc_rxmsg_pending_handler()
2232 &target->endpoint[packets->endpoint]); in ath6kl_htc_rxmsg_pending_handler()