Home
last modified time | relevance | path

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

123

/linux-5.19.10/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 …]
/linux-5.19.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 …]
/linux-5.19.10/arch/x86/kernel/
Dirq.c59 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
63 seq_printf(p, "%*s: ", prec, "NMI"); in arch_show_interrupts()
68 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts()
73 seq_printf(p, "%*s: ", prec, "SPU"); in arch_show_interrupts()
77 seq_printf(p, "%*s: ", prec, "PMI"); in arch_show_interrupts()
81 seq_printf(p, "%*s: ", prec, "IWI"); in arch_show_interrupts()
85 seq_printf(p, "%*s: ", prec, "RTR"); in arch_show_interrupts()
90 seq_printf(p, "%*s: ", prec, "PLT"); in arch_show_interrupts()
97 seq_printf(p, "%*s: ", prec, "RES"); in arch_show_interrupts()
101 seq_printf(p, "%*s: ", prec, "CAL"); in arch_show_interrupts()
[all …]
/linux-5.19.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 …]
/linux-5.19.10/arch/powerpc/kernel/
Dirq.c496 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
502 seq_printf(p, "%*s: ", prec, "TAU"); in arch_show_interrupts()
509 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts()
514 seq_printf(p, "%*s: ", prec, "BCT"); in arch_show_interrupts()
519 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts()
524 seq_printf(p, "%*s: ", prec, "SPU"); in arch_show_interrupts()
529 seq_printf(p, "%*s: ", prec, "PMI"); in arch_show_interrupts()
534 seq_printf(p, "%*s: ", prec, "MCE"); in arch_show_interrupts()
541 seq_printf(p, "%*s: ", prec, "HMI"); in arch_show_interrupts()
548 seq_printf(p, "%*s: ", prec, "NMI"); in arch_show_interrupts()
[all …]
/linux-5.19.10/arch/arm/kernel/
Dirq.c86 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
89 show_fiq_list(p, prec); in arch_show_interrupts()
92 show_ipi_list(p, prec); in arch_show_interrupts()
94 seq_printf(p, "%*s: %10lu\n", prec, "Err", irq_err_count); in arch_show_interrupts()
Dfiq.c85 int show_fiq_list(struct seq_file *p, int prec) in show_fiq_list() argument
88 seq_printf(p, "%*s: %s\n", prec, "FIQ", in show_fiq_list()
/linux-5.19.10/kernel/irq/
Dproc.c451 int __weak arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
462 static int prec; in show_interrupts() local
473 return arch_show_interrupts(p, prec); in show_interrupts()
477 for (prec = 3, j = 1000; prec < 10 && j <= nr_irqs; ++prec) in show_interrupts()
480 seq_printf(p, "%*s", prec + 8, ""); in show_interrupts()
499 seq_printf(p, "%*d: ", prec, i); in show_interrupts()
516 seq_printf(p, " %*lu", prec, desc->irq_data.hwirq); in show_interrupts()
518 seq_printf(p, " %*s", prec, ""); in show_interrupts()
/linux-5.19.10/arch/loongarch/kernel/
Dirq.c50 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
53 show_ipi_list(p, prec); in arch_show_interrupts()
55 seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count)); in arch_show_interrupts()
/linux-5.19.10/arch/parisc/kernel/
Dirq.c134 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
139 seq_printf(p, "%*s: ", prec, "STK"); in arch_show_interrupts()
144 seq_printf(p, "%*s: ", prec, "IST"); in arch_show_interrupts()
152 seq_printf(p, "%*s: ", prec, "RES"); in arch_show_interrupts()
156 seq_printf(p, "%*s: ", prec, "CAL"); in arch_show_interrupts()
162 seq_printf(p, "%*s: ", prec, "UAH"); in arch_show_interrupts()
166 seq_printf(p, "%*s: ", prec, "FPA"); in arch_show_interrupts()
170 seq_printf(p, "%*s: ", prec, "TLB"); in arch_show_interrupts()
/linux-5.19.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.c189 void show_ipi_stats(struct seq_file *p, int prec) in show_ipi_stats() argument
194 seq_printf(p, "%*s%u:%s", prec - 1, "IPI", i, in show_ipi_stats()
195 prec >= 4 ? " " : ""); in show_ipi_stats()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/arch/s390/kernel/
Ddiag.c70 int cpu, prec, tmp; in show_diag_stat() local
77 prec = 10; in show_diag_stat()
79 prec--; in show_diag_stat()
80 seq_printf(m, "%*s%d", prec, "CPU", cpu); in show_diag_stat()
/linux-5.19.10/arch/xtensa/kernel/
Dirq.c51 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
55 show_ipi_list(p, prec); in arch_show_interrupts()
58 seq_printf(p, "%*s:", prec, "NMI"); in arch_show_interrupts()
/linux-5.19.10/arch/riscv/include/asm/
Dsmp.h31 void show_ipi_stats(struct seq_file *p, int prec);
69 static inline void show_ipi_stats(struct seq_file *p, int prec) in show_ipi_stats() argument
/linux-5.19.10/arch/mips/kernel/
Dirq.c42 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
44 seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count)); in arch_show_interrupts()
/linux-5.19.10/lib/math/
Dreciprocal_div.c35 struct reciprocal_value_adv reciprocal_value_adv(u32 d, u8 prec) in reciprocal_value_adv() argument
53 mhigh = (1ULL << (32 + l)) + (1ULL << (32 + l - prec)); in reciprocal_value_adv()
/linux-5.19.10/arch/sh/kernel/
Dirq.c42 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
46 seq_printf(p, "%*s: ", prec, "NMI"); in arch_show_interrupts()
51 seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count)); in arch_show_interrupts()
/linux-5.19.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()
/linux-5.19.10/tools/testing/selftests/timens/
Dprocfs.c125 double prec = MAX_TEST_TIME_SEC; in check_uptime() local
140 if (fabs(difftime(uptime_new.tv_sec, uptime_expected)) > prec) { in check_uptime()
/linux-5.19.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 …]
Dres_func.S776 bfextu FPCR_MODE(%a6){#0:#2},%d0 |inst not forced - use fpcr prec
783 | or.l #inex2_mask,USER_FPSR(%a6) ;if prec is s or d, set inex2
894 bsrl round |round result to users rmode & prec
918 bsrl round |round result to users rmode & prec
944 bsrl round |round result to users rmode & prec
1069 bsrl round |round result to users rmode & prec
1102 bsrl round |round result to users rmode & prec
1125 bsrl round |round result to users rmode & prec
1244 bfextu FPCR_MODE(%a6){#0:#2},%d0 |inst not forced - use fpcr prec
1497 | 41dfffffffc00000 in dbl prec = 401d0000fffffffe00000000 in ext prec
[all …]
/linux-5.19.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