Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmutil/
Dutils.c47 struct sk_buff *brcmu_pktq_penq(struct pktq *pq, int prec, in brcmu_pktq_penq() argument
52 if (pktq_full(pq) || pktq_pfull(pq, prec)) in brcmu_pktq_penq()
55 q = &pq->q[prec].skblist; in brcmu_pktq_penq()
59 if (pq->hi_prec < prec) in brcmu_pktq_penq()
60 pq->hi_prec = (u8) prec; in brcmu_pktq_penq()
66 struct sk_buff *brcmu_pktq_penq_head(struct pktq *pq, int prec, in brcmu_pktq_penq_head() argument
71 if (pktq_full(pq) || pktq_pfull(pq, prec)) in brcmu_pktq_penq_head()
74 q = &pq->q[prec].skblist; in brcmu_pktq_penq_head()
78 if (pq->hi_prec < prec) in brcmu_pktq_penq_head()
79 pq->hi_prec = (u8) prec; in brcmu_pktq_penq_head()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dirq.c58 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
62 seq_printf(p, "%*s: ", prec, "NMI"); in arch_show_interrupts()
67 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts()
72 seq_printf(p, "%*s: ", prec, "SPU"); in arch_show_interrupts()
76 seq_printf(p, "%*s: ", prec, "PMI"); in arch_show_interrupts()
80 seq_printf(p, "%*s: ", prec, "IWI"); in arch_show_interrupts()
84 seq_printf(p, "%*s: ", prec, "RTR"); in arch_show_interrupts()
89 seq_printf(p, "%*s: ", prec, "PLT"); in arch_show_interrupts()
96 seq_printf(p, "%*s: ", prec, "RES"); in arch_show_interrupts()
100 seq_printf(p, "%*s: ", prec, "CAL"); in arch_show_interrupts()
[all …]
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/
Dfpu.c243 int n, m, prec; in ieee_fpe_handler() local
251 prec = fpscr & FPSCR_DBL_PRECISION; in ieee_fpe_handler()
254 && (prec && ((hx & 0x7fffffff) < 0x00100000 in ieee_fpe_handler()
267 && (!prec && ((hx & 0x7fffffff) < 0x00800000 in ieee_fpe_handler()
281 int n, m, prec; in ieee_fpe_handler() local
289 prec = fpscr & FPSCR_DBL_PRECISION; in ieee_fpe_handler()
292 && (prec && ((hx & 0x7fffffff) < 0x00100000 in ieee_fpe_handler()
308 && (!prec && ((hx & 0x7fffffff) < 0x00800000 in ieee_fpe_handler()
325 int n, m, prec; in ieee_fpe_handler() local
333 prec = fpscr & FPSCR_DBL_PRECISION; in ieee_fpe_handler()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dirq.c550 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
556 seq_printf(p, "%*s: ", prec, "TAU"); in arch_show_interrupts()
563 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts()
568 seq_printf(p, "%*s: ", prec, "BCT"); in arch_show_interrupts()
573 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts()
578 seq_printf(p, "%*s: ", prec, "SPU"); in arch_show_interrupts()
583 seq_printf(p, "%*s: ", prec, "PMI"); in arch_show_interrupts()
588 seq_printf(p, "%*s: ", prec, "MCE"); in arch_show_interrupts()
595 seq_printf(p, "%*s: ", prec, "HMI"); in arch_show_interrupts()
602 seq_printf(p, "%*s: ", prec, "NMI"); in arch_show_interrupts()
[all …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Dirq.c46 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
49 show_fiq_list(p, prec); in arch_show_interrupts()
52 show_ipi_list(p, prec); in arch_show_interrupts()
54 seq_printf(p, "%*s: %10lu\n", prec, "Err", irq_err_count); in arch_show_interrupts()
Dfiq.c92 int show_fiq_list(struct seq_file *p, int prec) in show_fiq_list() argument
95 seq_printf(p, "%*s: %s\n", prec, "FIQ", in show_fiq_list()
/kernel/linux/linux-5.10/kernel/irq/
Dproc.c457 int __weak arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
468 static int prec; in show_interrupts() local
479 return arch_show_interrupts(p, prec); in show_interrupts()
483 for (prec = 3, j = 1000; prec < 10 && j <= nr_irqs; ++prec) in show_interrupts()
486 seq_printf(p, "%*s", prec + 8, ""); in show_interrupts()
504 seq_printf(p, "%*d: ", prec, i); in show_interrupts()
521 seq_printf(p, " %*d", prec, (int) desc->irq_data.hwirq); in show_interrupts()
523 seq_printf(p, " %*s", prec, ""); in show_interrupts()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dirq.c151 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
156 seq_printf(p, "%*s: ", prec, "STK"); in arch_show_interrupts()
161 seq_printf(p, "%*s: ", prec, "IST"); in arch_show_interrupts()
169 seq_printf(p, "%*s: ", prec, "RES"); in arch_show_interrupts()
173 seq_printf(p, "%*s: ", prec, "CAL"); in arch_show_interrupts()
179 seq_printf(p, "%*s: ", prec, "UAH"); in arch_show_interrupts()
183 seq_printf(p, "%*s: ", prec, "FPA"); in arch_show_interrupts()
187 seq_printf(p, "%*s: ", prec, "TLB"); in arch_show_interrupts()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dirq.c13 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
15 show_ipi_stats(p, prec); in arch_show_interrupts()
Dsmp.c197 void show_ipi_stats(struct seq_file *p, int prec) in show_ipi_stats() argument
202 seq_printf(p, "%*s%u:%s", prec - 1, "IPI", i, in show_ipi_stats()
203 prec >= 4 ? " " : ""); in show_ipi_stats()
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh2a/
Dfpu.c468 int n, m, prec; in ieee_fpe_handler() local
476 prec = fpscr & (1 << 19); in ieee_fpe_handler()
479 && (prec && ((hx & 0x7fffffff) < 0x00100000 in ieee_fpe_handler()
495 && (!prec && ((hx & 0x7fffffff) < 0x00800000 in ieee_fpe_handler()
511 int n, m, prec; in ieee_fpe_handler() local
519 prec = fpscr & (1 << 19); in ieee_fpe_handler()
522 && (prec && ((hx & 0x7fffffff) < 0x00100000 in ieee_fpe_handler()
538 && (!prec && ((hx & 0x7fffffff) < 0x00800000 in ieee_fpe_handler()
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dirq.c35 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
37 seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count)); in arch_show_interrupts()
/kernel/linux/linux-5.10/arch/s390/kernel/
Ddiag.c60 int cpu, prec, tmp; in show_diag_stat() local
67 prec = 10; in show_diag_stat()
69 prec--; in show_diag_stat()
70 seq_printf(m, "%*s%d", prec, "CPU", cpu); in show_diag_stat()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dirq.c54 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
58 show_ipi_list(p, prec); in arch_show_interrupts()
61 seq_printf(p, "%*s:", prec, "NMI"); in arch_show_interrupts()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dirq.c41 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
43 seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count)); in arch_show_interrupts()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dsmp.h31 void show_ipi_stats(struct seq_file *p, int prec);
72 static inline void show_ipi_stats(struct seq_file *p, int prec) in show_ipi_stats() argument
/kernel/linux/linux-5.10/lib/math/
Dreciprocal_div.c32 struct reciprocal_value_adv reciprocal_value_adv(u32 d, u8 prec) in reciprocal_value_adv() argument
50 mhigh = (1ULL << (32 + l)) + (1ULL << (32 + l - prec)); in reciprocal_value_adv()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dirq.c41 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
45 seq_printf(p, "%*s: ", prec, "NMI"); in arch_show_interrupts()
50 seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count)); in arch_show_interrupts()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dsmp.c107 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
112 seq_printf(p, "%*s%u:%s", prec - 1, "IPI", i, in arch_show_interrupts()
113 prec >= 4 ? " " : ""); in arch_show_interrupts()
/kernel/linux/linux-5.10/arch/c6x/kernel/
Dirq.c123 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
125 seq_printf(p, "%*s: %10lu\n", prec, "Err", irq_err_count); in arch_show_interrupts()
/kernel/linux/linux-5.10/tools/testing/selftests/timens/
Dprocfs.c100 double prec = MAX_TEST_TIME_SEC; in check_uptime() local
115 if (fabs(difftime(uptime_new.tv_sec, uptime_expected)) > prec) { in check_uptime()
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
Dround.S55 swap %d1 |set up d1.w for round prec.
81 swap %d1 |set up d1 for round prec.
106 swap %d1 |set up d1 for round prec.
116 swap %d1 |set up d1 for round prec.
148 bfextu LOCAL_HI(%a0){#24:#2},%d3 |sgl prec. g-r are 2 bits right
149 movel #30,%d2 |of the sgl prec. limits
160 bfextu LOCAL_LO(%a0){#21:#2},%d3 |dbl-prec. g-r are 2 bits right
161 movel #30,%d2 |of the dbl prec. limits
179 .set ad_1_sgl,0x00000100 | constant to add 1 to l-bit in sgl prec
180 .set ad_1_dbl,0x00000800 | constant to add 1 to l-bit in dbl prec
[all …]
/kernel/linux/linux-5.10/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 …]

123