Home
last modified time | relevance | path

Searched refs:istat (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.6.21/crypto/
Daead.c93 static inline int crypto_aead_errstat(struct crypto_istat_aead *istat, int err) in crypto_aead_errstat() argument
99 atomic64_inc(&istat->err_cnt); in crypto_aead_errstat()
108 struct crypto_istat_aead *istat; in crypto_aead_encrypt() local
111 istat = aead_get_stat(alg); in crypto_aead_encrypt()
114 atomic64_inc(&istat->encrypt_cnt); in crypto_aead_encrypt()
115 atomic64_add(req->cryptlen, &istat->encrypt_tlen); in crypto_aead_encrypt()
123 return crypto_aead_errstat(istat, ret); in crypto_aead_encrypt()
131 struct crypto_istat_aead *istat; in crypto_aead_decrypt() local
134 istat = aead_get_stat(alg); in crypto_aead_decrypt()
137 atomic64_inc(&istat->encrypt_cnt); in crypto_aead_decrypt()
[all …]
Dkpp.c73 struct crypto_istat_kpp *istat; in crypto_kpp_report_stat() local
76 istat = kpp_get_stat(kpp); in crypto_kpp_report_stat()
82 rkpp.stat_setsecret_cnt = atomic64_read(&istat->setsecret_cnt); in crypto_kpp_report_stat()
84 atomic64_read(&istat->generate_public_key_cnt); in crypto_kpp_report_stat()
86 atomic64_read(&istat->compute_shared_secret_cnt); in crypto_kpp_report_stat()
87 rkpp.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_kpp_report_stat()
134 struct crypto_istat_kpp *istat = kpp_get_stat(alg); in kpp_prepare_alg() local
142 memset(istat, 0, sizeof(*istat)); in kpp_prepare_alg()
Dakcipher.c77 struct crypto_istat_akcipher *istat; in crypto_akcipher_report_stat() local
80 istat = akcipher_get_stat(akcipher); in crypto_akcipher_report_stat()
85 rakcipher.stat_encrypt_cnt = atomic64_read(&istat->encrypt_cnt); in crypto_akcipher_report_stat()
86 rakcipher.stat_encrypt_tlen = atomic64_read(&istat->encrypt_tlen); in crypto_akcipher_report_stat()
87 rakcipher.stat_decrypt_cnt = atomic64_read(&istat->decrypt_cnt); in crypto_akcipher_report_stat()
88 rakcipher.stat_decrypt_tlen = atomic64_read(&istat->decrypt_tlen); in crypto_akcipher_report_stat()
89 rakcipher.stat_sign_cnt = atomic64_read(&istat->sign_cnt); in crypto_akcipher_report_stat()
90 rakcipher.stat_verify_cnt = atomic64_read(&istat->verify_cnt); in crypto_akcipher_report_stat()
91 rakcipher.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_akcipher_report_stat()
134 struct crypto_istat_akcipher *istat = akcipher_get_stat(alg); in akcipher_prepare_alg() local
[all …]
Drng.c98 struct crypto_istat_rng *istat; in crypto_rng_report_stat() local
101 istat = rng_get_stat(rng); in crypto_rng_report_stat()
107 rrng.stat_generate_cnt = atomic64_read(&istat->generate_cnt); in crypto_rng_report_stat()
108 rrng.stat_generate_tlen = atomic64_read(&istat->generate_tlen); in crypto_rng_report_stat()
109 rrng.stat_seed_cnt = atomic64_read(&istat->seed_cnt); in crypto_rng_report_stat()
110 rrng.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_rng_report_stat()
202 struct crypto_istat_rng *istat = rng_get_stat(alg); in crypto_register_rng() local
213 memset(istat, 0, sizeof(*istat)); in crypto_register_rng()
Dacompress.c100 struct crypto_istat_compress *istat = comp_get_stat(calg); in __crypto_acomp_report_stat() local
106 racomp.stat_compress_cnt = atomic64_read(&istat->compress_cnt); in __crypto_acomp_report_stat()
107 racomp.stat_compress_tlen = atomic64_read(&istat->compress_tlen); in __crypto_acomp_report_stat()
108 racomp.stat_decompress_cnt = atomic64_read(&istat->decompress_cnt); in __crypto_acomp_report_stat()
109 racomp.stat_decompress_tlen = atomic64_read(&istat->decompress_tlen); in __crypto_acomp_report_stat()
110 racomp.stat_err_cnt = atomic64_read(&istat->err_cnt); in __crypto_acomp_report_stat()
187 struct crypto_istat_compress *istat = comp_get_stat(alg); in comp_prepare_alg() local
193 memset(istat, 0, sizeof(*istat)); in comp_prepare_alg()
Dhash.h20 struct crypto_istat_hash *istat = hash_get_stat(halg); in crypto_hash_report_stat() local
27 rhash.stat_hash_cnt = atomic64_read(&istat->hash_cnt); in crypto_hash_report_stat()
28 rhash.stat_hash_tlen = atomic64_read(&istat->hash_tlen); in crypto_hash_report_stat()
29 rhash.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_hash_report_stat()
Dskcipher.c101 struct crypto_istat_cipher *istat = skcipher_get_stat(alg); in crypto_skcipher_errstat() local
107 atomic64_inc(&istat->err_cnt); in crypto_skcipher_errstat()
644 struct crypto_istat_cipher *istat = skcipher_get_stat(alg); in crypto_skcipher_encrypt() local
646 atomic64_inc(&istat->encrypt_cnt); in crypto_skcipher_encrypt()
647 atomic64_add(req->cryptlen, &istat->encrypt_tlen); in crypto_skcipher_encrypt()
666 struct crypto_istat_cipher *istat = skcipher_get_stat(alg); in crypto_skcipher_decrypt() local
668 atomic64_inc(&istat->decrypt_cnt); in crypto_skcipher_decrypt()
669 atomic64_add(req->cryptlen, &istat->decrypt_tlen); in crypto_skcipher_decrypt()
754 struct crypto_istat_cipher *istat; in crypto_skcipher_report_stat() local
757 istat = skcipher_get_stat(skcipher); in crypto_skcipher_report_stat()
[all …]
Dshash.c203 struct crypto_istat_hash *istat = shash_get_stat(shash); in crypto_shash_finup() local
205 atomic64_inc(&istat->hash_cnt); in crypto_shash_finup()
206 atomic64_add(len, &istat->hash_tlen); in crypto_shash_finup()
236 struct crypto_istat_hash *istat = shash_get_stat(shash); in crypto_shash_digest() local
238 atomic64_inc(&istat->hash_cnt); in crypto_shash_digest()
239 atomic64_add(len, &istat->hash_tlen); in crypto_shash_digest()
623 struct crypto_istat_hash *istat = hash_get_stat(alg); in hash_prepare_alg() local
632 memset(istat, 0, sizeof(*istat)); in hash_prepare_alg()
Dahash.c320 struct crypto_istat_hash *istat = hash_get_stat(alg); in crypto_ahash_finup() local
322 atomic64_inc(&istat->hash_cnt); in crypto_ahash_finup()
323 atomic64_add(req->nbytes, &istat->hash_tlen); in crypto_ahash_finup()
336 struct crypto_istat_hash *istat = hash_get_stat(alg); in crypto_ahash_digest() local
338 atomic64_inc(&istat->hash_cnt); in crypto_ahash_digest()
339 atomic64_add(req->nbytes, &istat->hash_tlen); in crypto_ahash_digest()
/linux-6.6.21/drivers/usb/gadget/udc/aspeed-vhub/
Dcore.c97 u32 i, istat; in ast_vhub_irq() local
106 istat = readl(vhub->regs + AST_VHUB_ISR); in ast_vhub_irq()
107 if (!istat) in ast_vhub_irq()
109 writel(istat, vhub->regs + AST_VHUB_ISR); in ast_vhub_irq()
113 istat, in ast_vhub_irq()
118 if (istat & VHUB_IRQ_EP_POOL_ACK_STALL) { in ast_vhub_irq()
132 if (istat & vhub->port_irq_mask) { in ast_vhub_irq()
134 if (istat & VHUB_DEV_IRQ(i)) in ast_vhub_irq()
140 if (istat & (VHUB_IRQ_HUB_EP0_OUT_ACK_STALL | in ast_vhub_irq()
143 if (istat & VHUB_IRQ_HUB_EP0_IN_ACK_STALL) in ast_vhub_irq()
[all …]
Ddev.c33 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() local
35 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq()
37 if (istat & VHUV_DEV_IRQ_EP0_IN_ACK_STALL) in ast_vhub_dev_irq()
39 if (istat & VHUV_DEV_IRQ_EP0_OUT_ACK_STALL) in ast_vhub_dev_irq()
41 if (istat & VHUV_DEV_IRQ_EP0_SETUP) in ast_vhub_dev_irq()
/linux-6.6.21/drivers/atm/
Didt77105.c117 unsigned char istat; in idt77105_restart_timer_func() local
126 istat = GET(ISTAT); /* side effect: clears all interrupt status bits */ in idt77105_restart_timer_func()
127 if (istat & IDT77105_ISTAT_GOODSIG) { in idt77105_restart_timer_func()
215 unsigned char istat; in idt77105_int() local
217 istat = GET(ISTAT); /* side effect: clears all interrupt status bits */ in idt77105_int()
219 DPRINTK("IDT77105 generated an interrupt, istat=%02x\n", (unsigned)istat); in idt77105_int()
221 if (istat & IDT77105_ISTAT_RSCC) { in idt77105_int()
223 if (istat & IDT77105_ISTAT_GOODSIG) { /* signal detected again */ in idt77105_int()
244 if (istat & IDT77105_ISTAT_RFO) { in idt77105_int()
251 if (istat & (IDT77105_ISTAT_HECERR | IDT77105_ISTAT_SCR | in idt77105_int()
/linux-6.6.21/include/crypto/
Dacompress.h296 struct crypto_istat_compress *istat = comp_get_stat(alg); in crypto_acomp_compress() local
298 atomic64_inc(&istat->compress_cnt); in crypto_acomp_compress()
299 atomic64_add(req->slen, &istat->compress_tlen); in crypto_acomp_compress()
322 struct crypto_istat_compress *istat = comp_get_stat(alg); in crypto_acomp_decompress() local
324 atomic64_inc(&istat->decompress_cnt); in crypto_acomp_decompress()
325 atomic64_add(req->slen, &istat->decompress_tlen); in crypto_acomp_decompress()
Dakcipher.h342 struct crypto_istat_akcipher *istat = akcipher_get_stat(alg); in crypto_akcipher_encrypt() local
344 atomic64_inc(&istat->encrypt_cnt); in crypto_akcipher_encrypt()
345 atomic64_add(req->src_len, &istat->encrypt_tlen); in crypto_akcipher_encrypt()
367 struct crypto_istat_akcipher *istat = akcipher_get_stat(alg); in crypto_akcipher_decrypt() local
369 atomic64_inc(&istat->decrypt_cnt); in crypto_akcipher_decrypt()
370 atomic64_add(req->src_len, &istat->decrypt_tlen); in crypto_akcipher_decrypt()
Drng.h188 struct crypto_istat_rng *istat = rng_get_stat(alg); in crypto_rng_generate() local
190 atomic64_inc(&istat->generate_cnt); in crypto_rng_generate()
191 atomic64_add(dlen, &istat->generate_tlen); in crypto_rng_generate()
/linux-6.6.21/arch/mips/sgi-ip32/
Dip32-irq.c283 mace_int = mace->perif.ctrl.istat; in mask_and_ack_maceisa_irq()
285 mace->perif.ctrl.istat = mace_int; in mask_and_ack_maceisa_irq()
337 printk("CRIME intr status: %016lx\n", crime->istat); in ip32_unknown_interrupt()
340 printk("MACE ISA intr status: %08lx\n", mace->perif.ctrl.istat); in ip32_unknown_interrupt()
366 crime_int = crime->istat & crime_mask; in ip32_irq0()
375 unsigned long mace_int = mace->perif.ctrl.istat; in ip32_irq0()
435 mace->perif.ctrl.istat = 0; in arch_init_irq()
/linux-6.6.21/drivers/media/pci/ddbridge/
Dddbridge-i2c.c44 u32 istat = ddbreadl(dev, INTERRUPT_STATUS); in ddb_i2c_cmd() local
46 dev_err(dev->dev, "DDBridge IRS %08x\n", istat); in ddb_i2c_cmd()
55 if (istat & 1) { in ddb_i2c_cmd()
56 ddbwritel(dev, istat & 1, INTERRUPT_ACK); in ddb_i2c_cmd()
/linux-6.6.21/drivers/media/dvb-frontends/
Dcxd2099.c491 u8 istat; in campoll() local
493 read_reg(ci, 0x04, &istat); in campoll()
494 if (!istat) in campoll()
496 write_reg(ci, 0x05, istat); in campoll()
498 if (istat & 0x40) in campoll()
500 if (istat & 0x20) in campoll()
503 if (istat & 2) { in campoll()
522 if ((istat & 8) && in campoll()
/linux-6.6.21/drivers/i2c/muxes/
Di2c-mux-pca9541.c189 int istat; in pca9541_arbitrate() local
194 istat = pca9541_reg_read(client, PCA9541_ISTAT); in pca9541_arbitrate()
195 if (!(istat & PCA9541_ISTAT_NMYTEST) in pca9541_arbitrate()
/linux-6.6.21/drivers/tty/serial/
Dmxs-auart.c1083 u32 istat; in mxs_auart_irq_handle() local
1088 istat = mxs_read(s, REG_INTR); in mxs_auart_irq_handle()
1091 mxs_clr(istat & (AUART_INTR_RTIS | AUART_INTR_TXIS | AUART_INTR_RXIS in mxs_auart_irq_handle()
1104 if (istat & AUART_INTR_CTSMIS) { in mxs_auart_irq_handle()
1109 istat &= ~AUART_INTR_CTSMIS; in mxs_auart_irq_handle()
1112 if (istat & (AUART_INTR_RTIS | AUART_INTR_RXIS)) { in mxs_auart_irq_handle()
1115 istat &= ~(AUART_INTR_RTIS | AUART_INTR_RXIS); in mxs_auart_irq_handle()
1118 if (istat & AUART_INTR_TXIS) { in mxs_auart_irq_handle()
1120 istat &= ~AUART_INTR_TXIS; in mxs_auart_irq_handle()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_iba6120.c1513 static noinline void unlikely_6120_intr(struct qib_devdata *dd, u64 istat) in unlikely_6120_intr() argument
1515 if (unlikely(istat & ~QLOGIC_IB_I_BITSEXTANT)) in unlikely_6120_intr()
1517 istat & ~QLOGIC_IB_I_BITSEXTANT); in unlikely_6120_intr()
1519 if (istat & QLOGIC_IB_I_ERROR) { in unlikely_6120_intr()
1527 istat); in unlikely_6120_intr()
1531 if (istat & QLOGIC_IB_I_GPIO) { in unlikely_6120_intr()
1587 u32 istat, ctxtrbits, rmask, crcs = 0; in qib_6120intr() local
1601 istat = qib_read_kreg32(dd, kr_intstatus); in qib_6120intr()
1603 if (unlikely(!istat)) { in qib_6120intr()
1607 if (unlikely(istat == -1)) { in qib_6120intr()
[all …]
Dqib_iba7220.c1793 static void sdma_7220_intr(struct qib_pportdata *ppd, u64 istat) in sdma_7220_intr() argument
1857 static noinline void unlikely_7220_intr(struct qib_devdata *dd, u64 istat) in unlikely_7220_intr() argument
1859 if (unlikely(istat & ~QLOGIC_IB_I_BITSEXTANT)) in unlikely_7220_intr()
1862 istat & ~QLOGIC_IB_I_BITSEXTANT); in unlikely_7220_intr()
1864 if (istat & QLOGIC_IB_I_GPIO) { in unlikely_7220_intr()
1904 if (istat & QLOGIC_IB_I_ERROR) { in unlikely_7220_intr()
1912 istat); in unlikely_7220_intr()
1922 u64 istat; in qib_7220intr() local
1938 istat = qib_read_kreg64(dd, kr_intstatus); in qib_7220intr()
1940 if (unlikely(!istat)) { in qib_7220intr()
[all …]
/linux-6.6.21/drivers/net/ethernet/broadcom/
Db44.c848 if (bp->istat & (ISTAT_TX | ISTAT_TO)) { in b44_poll()
853 if (bp->istat & ISTAT_RFO) { /* fast recovery, in ~20msec */ in b44_poll()
854 bp->istat &= ~ISTAT_RFO; in b44_poll()
865 if (bp->istat & ISTAT_RX) in b44_poll()
868 if (bp->istat & ISTAT_ERRORS) { in b44_poll()
890 u32 istat, imask; in b44_interrupt() local
895 istat = br32(bp, B44_ISTAT); in b44_interrupt()
902 istat &= imask; in b44_interrupt()
903 if (istat) { in b44_interrupt()
915 bp->istat = istat; in b44_interrupt()
[all …]
/linux-6.6.21/arch/mips/include/asm/ip32/
Dcrime.h46 volatile unsigned long istat; member
/linux-6.6.21/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c141 u_char istat = 0; in sym_soft_reset() local
149 istat = INB(np, nc_istat); in sym_soft_reset()
150 if (istat & SIP) { in sym_soft_reset()
153 else if (istat & DIP) { in sym_soft_reset()
162 "ISTAT=0x%02x.\n", sym_name(np), istat); in sym_soft_reset()
2804 u_char istat, istatc; local
2819 istat = INB(np, nc_istat);
2820 if (istat & INTF) {
2821 OUTB(np, nc_istat, (istat & SIGP) | INTF | np->istat_sem);
2822 istat |= INB(np, nc_istat); /* DUMMY READ */
[all …]

12