Lines Matching refs:pktq
451 struct pktq txq; /* Queue length used for flow-control */
2108 struct sk_buff_head *pktq, in brcmf_sdio_txpkt_prep_sg() argument
2124 lastfrm = skb_queue_is_last(pktq, pkt); in brcmf_sdio_txpkt_prep_sg()
2148 __skb_queue_after(pktq, pkt, pkt_pad); in brcmf_sdio_txpkt_prep_sg()
2176 brcmf_sdio_txpkt_prep(struct brcmf_sdio *bus, struct sk_buff_head *pktq, in brcmf_sdio_txpkt_prep() argument
2187 skb_queue_walk(pktq, pkt_next) { in brcmf_sdio_txpkt_prep()
2207 hd_info.lastfrm = skb_queue_is_last(pktq, pkt_next); in brcmf_sdio_txpkt_prep()
2208 if (bus->txglom && pktq->qlen > 1) { in brcmf_sdio_txpkt_prep()
2209 ret = brcmf_sdio_txpkt_prep_sg(bus, pktq, in brcmf_sdio_txpkt_prep()
2238 brcmf_sdio_update_hwhdr(__skb_peek(pktq)->data, total_len); in brcmf_sdio_txpkt_prep()
2252 brcmf_sdio_txpkt_postp(struct brcmf_sdio *bus, struct sk_buff_head *pktq) in brcmf_sdio_txpkt_postp() argument
2260 skb_queue_walk_safe(pktq, pkt_next, tmp) { in brcmf_sdio_txpkt_postp()
2268 __skb_unlink(pkt_next, pktq); in brcmf_sdio_txpkt_postp()
2286 static int brcmf_sdio_txpkt(struct brcmf_sdio *bus, struct sk_buff_head *pktq, in brcmf_sdio_txpkt() argument
2294 ret = brcmf_sdio_txpkt_prep(bus, pktq, chan); in brcmf_sdio_txpkt()
2299 ret = brcmf_sdiod_send_pkt(bus->sdiodev, pktq); in brcmf_sdio_txpkt()
2308 brcmf_sdio_txpkt_postp(bus, pktq); in brcmf_sdio_txpkt()
2310 bus->tx_seq = (bus->tx_seq + pktq->qlen) % SDPCM_SEQ_WRAP; in brcmf_sdio_txpkt()
2311 skb_queue_walk_safe(pktq, pkt_next, tmp) { in brcmf_sdio_txpkt()
2312 __skb_unlink(pkt_next, pktq); in brcmf_sdio_txpkt()
2322 struct sk_buff_head pktq; in brcmf_sdio_sendfromq() local
2341 __skb_queue_head_init(&pktq); in brcmf_sdio_sendfromq()
2348 __skb_queue_tail(&pktq, pkt); in brcmf_sdio_sendfromq()
2354 ret = brcmf_sdio_txpkt(bus, &pktq, SDPCM_DATA_CHANNEL); in brcmf_sdio_sendfromq()
2734 static struct pktq *brcmf_sdio_bus_gettxq(struct device *dev) in brcmf_sdio_bus_gettxq()
2743 static bool brcmf_sdio_prec_enq(struct pktq *q, struct sk_buff *pkt, int prec) in brcmf_sdio_prec_enq()