/openbmc/linux/scripts/gdb/linux/ |
H A D | interrupts.py | 23 def show_irq_desc(prec, irq): argument 45 text += "%*d: " % (prec, irq) 64 text += " %*lu" % (prec, desc['irq_data']['hwirq']) 66 text += " %*s" % (prec, "") 93 def show_irq_err_count(prec): argument 97 text += "%*s: %10u\n" % (prec, "ERR", cnt['counter']) 100 def x86_show_irqstat(prec, pfx, field, desc): argument 102 text = "%*s: " % (prec, pfx) 109 def x86_show_mce(prec, var, pfx, desc): argument 111 text = "%*s: " % (prec, pfx) [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
H A D | utils.c | 46 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 …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/include/ |
H A D | brcmu_utils.h | 76 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 …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | irq.c | 59 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 …]
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_console.c | 78 static void uint2dec(u32 value, int prec, u16 **buf) in uint2dec() argument 97 if (c || pos != *buf || 10 - i <= prec) in uint2dec() 118 static void int2dec(s32 value, int prec, u16 **buf) in int2dec() argument 129 uint2dec(u, prec, &pos); in int2dec() 148 int prec; in efi_st_printc() local 181 prec = *c - '0'; in efi_st_printc() 184 prec = 0; in efi_st_printc() 191 int2dec(va_arg(args, s32), prec, &pos); in efi_st_printc() 223 uint2dec(va_arg(args, u32), prec, &pos); in efi_st_printc()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | irq.c | 86 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument 92 seq_printf(p, "%*s: ", prec, "TAU"); in arch_show_interrupts() 99 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts() 104 seq_printf(p, "%*s: ", prec, "BCT"); in arch_show_interrupts() 109 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts() 114 seq_printf(p, "%*s: ", prec, "SPU"); in arch_show_interrupts() 119 seq_printf(p, "%*s: ", prec, "PMI"); in arch_show_interrupts() 124 seq_printf(p, "%*s: ", prec, "MCE"); in arch_show_interrupts() 131 seq_printf(p, "%*s: ", prec, "HMI"); in arch_show_interrupts() 138 seq_printf(p, "%*s: ", prec, "NMI"); in arch_show_interrupts() [all …]
|
/openbmc/linux/arch/sh/kernel/cpu/sh4/ |
H A D | fpu.c | 243 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 …]
|
/openbmc/qemu/tests/fp/ |
H A D | fp-bench.c | 147 static void update_random_ops(int n_ops, enum precision prec) in update_random_ops() argument 153 switch (prec) { in update_random_ops() 194 static void fill_random(union fp *ops, int n_ops, enum precision prec, in fill_random() argument 200 switch (prec) { in fill_random() 232 static void bench(enum precision prec, enum op op, int n_ops, bool no_neg) in bench() argument 241 update_random_ops(n_ops, prec); in bench() 242 switch (prec) { in bench() 244 fill_random(ops, n_ops, prec, no_neg); in bench() 279 fill_random(ops, n_ops, prec, no_neg); in bench() 314 fill_random(ops, n_ops, prec, no_neg); in bench() [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | irq.c | 87 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument 90 show_fiq_list(p, prec); in arch_show_interrupts() 93 show_ipi_list(p, prec); in arch_show_interrupts() 95 seq_printf(p, "%*s: %10lu\n", prec, "Err", irq_err_count); in arch_show_interrupts()
|
/openbmc/linux/kernel/irq/ |
H A D | proc.c | 451 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()
|
/openbmc/phosphor-event/test/ |
H A D | utest.cpp | 153 event_record_t *prec; in TEST_F() local 155 EXPECT_EQ(1, eventManager.open(1, &prec)); in TEST_F() 156 EXPECT_STREQ("Testing Message1", prec->message); in TEST_F() 157 eventManager.close(prec); in TEST_F() 159 EXPECT_EQ(2, eventManager.open(2, &prec)); in TEST_F() 160 EXPECT_STREQ("Testing Message2", prec->message); in TEST_F() 161 eventManager.close(prec); in TEST_F()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | irq.c | 131 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument 136 seq_printf(p, "%*s: ", prec, "STK"); in arch_show_interrupts() 141 seq_printf(p, "%*s: ", prec, "IST"); in arch_show_interrupts() 149 seq_printf(p, "%*s: ", prec, "RES"); in arch_show_interrupts() 153 seq_printf(p, "%*s: ", prec, "CAL"); in arch_show_interrupts() 159 seq_printf(p, "%*s: ", prec, "UAH"); in arch_show_interrupts() 163 seq_printf(p, "%*s: ", prec, "FPA"); in arch_show_interrupts() 167 seq_printf(p, "%*s: ", prec, "TLB"); in arch_show_interrupts()
|
/openbmc/linux/arch/sh/kernel/cpu/sh2a/ |
H A D | fpu.c | 468 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()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | irq.c | 35 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()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | irq.c | 46 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument 49 show_ipi_list(p, prec); in arch_show_interrupts() 51 seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count)); in arch_show_interrupts()
|
/openbmc/openbmc/poky/scripts/ |
H A D | buildstats-diff | 139 prec = 1 if dec > 0 else 0 141 prefix[dec], prec=prec) 145 prec = 1 if dec > 0 else 0 147 prefix[dec], prec=prec)
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | irq.c | 52 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument 56 show_ipi_list(p, prec); in arch_show_interrupts() 59 seq_printf(p, "%*s:", prec, "NMI"); in arch_show_interrupts()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | diag.c | 77 int cpu, prec, tmp; in show_diag_stat() local 84 prec = 10; in show_diag_stat() 86 prec--; in show_diag_stat() 87 seq_printf(m, "%*s%d", prec, "CPU", cpu); in show_diag_stat()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | smp.h | 29 void show_ipi_stats(struct seq_file *p, int prec); 78 static inline void show_ipi_stats(struct seq_file *p, int prec) in show_ipi_stats() argument
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | irq.c | 101 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument 103 show_ipi_stats(p, prec); in arch_show_interrupts()
|
H A D | smp.c | 217 void show_ipi_stats(struct seq_file *p, int prec) in show_ipi_stats() argument 222 seq_printf(p, "%*s%u:%s", prec - 1, "IPI", i, in show_ipi_stats() 223 prec >= 4 ? " " : ""); in show_ipi_stats()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | irq.c | 42 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()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | irq.c | 42 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()
|
/openbmc/linux/lib/math/ |
H A D | reciprocal_div.c | 35 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()
|
/openbmc/linux/arch/csky/kernel/ |
H A D | smp.c | 107 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()
|