Home
last modified time | relevance | path

Searched refs:prec (Results 1 – 9 of 9) sorted by relevance

/drivers/net/wireless/broadcom/brcm80211/brcmutil/
Dutils.c46 struct sk_buff *brcmu_pktq_penq(struct pktq *pq, int prec, in brcmu_pktq_penq() argument
51 if (pktq_full(pq) || pktq_pfull(pq, prec)) in brcmu_pktq_penq()
54 q = &pq->q[prec].skblist; in brcmu_pktq_penq()
58 if (pq->hi_prec < prec) in brcmu_pktq_penq()
59 pq->hi_prec = (u8) prec; in brcmu_pktq_penq()
65 struct sk_buff *brcmu_pktq_penq_head(struct pktq *pq, int prec, in brcmu_pktq_penq_head() argument
70 if (pktq_full(pq) || pktq_pfull(pq, prec)) in brcmu_pktq_penq_head()
73 q = &pq->q[prec].skblist; in brcmu_pktq_penq_head()
77 if (pq->hi_prec < prec) in brcmu_pktq_penq_head()
78 pq->hi_prec = (u8) prec; in brcmu_pktq_penq_head()
[all …]
/drivers/net/wireless/broadcom/brcm80211/include/
Dbrcmu_utils.h76 static inline int pktq_plen(struct pktq *pq, int prec) in pktq_plen() argument
78 return pq->q[prec].skblist.qlen; in pktq_plen()
81 static inline int pktq_pavail(struct pktq *pq, int prec) in pktq_pavail() argument
83 return pq->q[prec].max - pq->q[prec].skblist.qlen; in pktq_pavail()
86 static inline bool pktq_pfull(struct pktq *pq, int prec) in pktq_pfull() argument
88 return pq->q[prec].skblist.qlen >= pq->q[prec].max; in pktq_pfull()
91 static inline bool pktq_pempty(struct pktq *pq, int prec) in pktq_pempty() argument
93 return skb_queue_empty(&pq->q[prec].skblist); in pktq_pempty()
96 static inline struct sk_buff *pktq_ppeek(struct pktq *pq, int prec) in pktq_ppeek() argument
98 return skb_peek(&pq->q[prec].skblist); in pktq_ppeek()
[all …]
Dbrcmu_wifi.h189 static inline bool ac_bitmap_tst(u8 bitmap, int prec) in ac_bitmap_tst() argument
191 return (bitmap & (1 << (prec))) != 0; in ac_bitmap_tst()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c627 int prec; in brcmf_fws_psq_flush() local
632 for (prec = 0; prec < q->num_prec; prec++) { in brcmf_fws_psq_flush()
633 skb = brcmu_pktq_pdeq_match(q, prec, matchfn, &ifidx); in brcmf_fws_psq_flush()
642 skb = brcmu_pktq_pdeq_match(q, prec, matchfn, &ifidx); in brcmf_fws_psq_flush()
813 int prec; in brcmf_fws_bus_txq_cleanup() local
822 for (prec = 0; prec < txq->num_prec; prec++) { in brcmf_fws_bus_txq_cleanup()
823 skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); in brcmf_fws_bus_txq_cleanup()
830 skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); in brcmf_fws_bus_txq_cleanup()
1237 int prec = 2 * fifo; in brcmf_fws_enq() local
1255 prec += 1; in brcmf_fws_enq()
[all …]
Dsdio.c2756 static bool brcmf_sdio_prec_enq(struct pktq *q, struct sk_buff *pkt, int prec) in brcmf_sdio_prec_enq() argument
2764 if (!pktq_pfull(q, prec) && !pktq_full(q)) { in brcmf_sdio_prec_enq()
2765 brcmu_pktq_penq(q, prec, pkt); in brcmf_sdio_prec_enq()
2770 if (pktq_pfull(q, prec)) { in brcmf_sdio_prec_enq()
2771 eprec = prec; in brcmf_sdio_prec_enq()
2774 if (eprec > prec) in brcmf_sdio_prec_enq()
2781 if (eprec == prec) in brcmf_sdio_prec_enq()
2791 p = brcmu_pktq_penq(q, prec, pkt); in brcmf_sdio_prec_enq()
2801 uint prec; in brcmf_sdio_bus_txdata() local
2819 prec = brcmf_map_prio_to_prec(bus_if->drvr->config, in brcmf_sdio_bus_txdata()
[all …]
/drivers/usb/gadget/function/
Df_hid.c1054 #define F_HID_OPT(name, prec, limit) \ argument
1072 u##prec num; \
1080 ret = kstrtou##prec(page, 0, &num); \
/drivers/net/wireless/marvell/libertas/
Dhost.h961 u8 prec[ETH_ALEN]; member
/drivers/input/
Djoydev.c975 joydev->corr[i].prec = input_abs_get_fuzz(dev, j); in joydev_connect()
/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y683 | '-' expression %prec UMINUS