Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Dcore.c98 u32 i, istat; in ast_vhub_irq() local
107 istat = readl(vhub->regs + AST_VHUB_ISR); in ast_vhub_irq()
108 if (!istat) in ast_vhub_irq()
110 writel(istat, vhub->regs + AST_VHUB_ISR); in ast_vhub_irq()
114 istat, in ast_vhub_irq()
119 if (istat & VHUB_IRQ_EP_POOL_ACK_STALL) { in ast_vhub_irq()
133 if (istat & vhub->port_irq_mask) { in ast_vhub_irq()
135 if (istat & VHUB_DEV_IRQ(i)) in ast_vhub_irq()
141 if (istat & (VHUB_IRQ_HUB_EP0_OUT_ACK_STALL | in ast_vhub_irq()
144 if (istat & VHUB_IRQ_HUB_EP0_IN_ACK_STALL) in ast_vhub_irq()
[all …]
Ddev.c34 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() local
36 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq()
38 if (istat & VHUV_DEV_IRQ_EP0_IN_ACK_STALL) in ast_vhub_dev_irq()
40 if (istat & VHUV_DEV_IRQ_EP0_OUT_ACK_STALL) in ast_vhub_dev_irq()
42 if (istat & VHUV_DEV_IRQ_EP0_SETUP) in ast_vhub_dev_irq()
/linux-6.1.9/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()
Dfore200e.h703 u32 istat; /* 1 for interrupt posted */ member
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/tty/serial/
Dmxs-auart.c1097 u32 istat; in mxs_auart_irq_handle() local
1102 istat = mxs_read(s, REG_INTR); in mxs_auart_irq_handle()
1105 mxs_clr(istat & (AUART_INTR_RTIS | AUART_INTR_TXIS | AUART_INTR_RXIS in mxs_auart_irq_handle()
1118 if (istat & AUART_INTR_CTSMIS) { in mxs_auart_irq_handle()
1123 istat &= ~AUART_INTR_CTSMIS; in mxs_auart_irq_handle()
1126 if (istat & (AUART_INTR_RTIS | AUART_INTR_RXIS)) { in mxs_auart_irq_handle()
1129 istat &= ~(AUART_INTR_RTIS | AUART_INTR_RXIS); in mxs_auart_irq_handle()
1132 if (istat & AUART_INTR_TXIS) { in mxs_auart_irq_handle()
1134 istat &= ~AUART_INTR_TXIS; in mxs_auart_irq_handle()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_iba6120.c1516 static noinline void unlikely_6120_intr(struct qib_devdata *dd, u64 istat) in unlikely_6120_intr() argument
1518 if (unlikely(istat & ~QLOGIC_IB_I_BITSEXTANT)) in unlikely_6120_intr()
1520 istat & ~QLOGIC_IB_I_BITSEXTANT); in unlikely_6120_intr()
1522 if (istat & QLOGIC_IB_I_ERROR) { in unlikely_6120_intr()
1530 istat); in unlikely_6120_intr()
1534 if (istat & QLOGIC_IB_I_GPIO) { in unlikely_6120_intr()
1590 u32 istat, ctxtrbits, rmask, crcs = 0; in qib_6120intr() local
1604 istat = qib_read_kreg32(dd, kr_intstatus); in qib_6120intr()
1606 if (unlikely(!istat)) { in qib_6120intr()
1610 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 …]
Dqib_iba7322.c2873 static void sdma_7322_intr(struct qib_devdata *dd, u64 istat) in sdma_7322_intr() argument
2877 u64 intr0 = istat & (INT_MASK_P(SDma, 0) | in sdma_7322_intr()
2879 u64 intr1 = istat & (INT_MASK_P(SDma, 1) | in sdma_7322_intr()
2887 if (istat & INT_MASK_PM(SDmaCleanupDone, 0)) in sdma_7322_intr()
2889 if (istat & INT_MASK_PM(SDmaCleanupDone, 1)) in sdma_7322_intr()
2915 static noinline void unknown_7322_ibits(struct qib_devdata *dd, u64 istat) in unknown_7322_ibits() argument
2920 kills = istat & ~QIB_I_BITSEXTANT; in unknown_7322_ibits()
2996 static noinline void unlikely_7322_intr(struct qib_devdata *dd, u64 istat) in unlikely_7322_intr() argument
2998 if (istat & ~QIB_I_BITSEXTANT) in unlikely_7322_intr()
2999 unknown_7322_ibits(dd, istat); in unlikely_7322_intr()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/
Db44.c870 if (bp->istat & (ISTAT_TX | ISTAT_TO)) { in b44_poll()
875 if (bp->istat & ISTAT_RFO) { /* fast recovery, in ~20msec */ in b44_poll()
876 bp->istat &= ~ISTAT_RFO; in b44_poll()
887 if (bp->istat & ISTAT_RX) in b44_poll()
890 if (bp->istat & ISTAT_ERRORS) { in b44_poll()
912 u32 istat, imask; in b44_interrupt() local
917 istat = br32(bp, B44_ISTAT); in b44_interrupt()
924 istat &= imask; in b44_interrupt()
925 if (istat) { in b44_interrupt()
937 bp->istat = istat; in b44_interrupt()
[all …]
Db44.h361 u32 imask, istat; member
/linux-6.1.9/arch/mips/include/asm/ip32/
Dcrime.h46 volatile unsigned long istat; member
Dmace.h194 volatile unsigned long istat; member
/linux-6.1.9/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 …]
Dsym_fw1.h226 SCR_FROM_REG (istat),
Dsym_fw2.h219 SCR_FROM_REG (istat),
/linux-6.1.9/drivers/mfd/
Dasic3.c164 unsigned long base, istat; in asic3_irq_demux() local
169 istat = asic3_read_register(asic, in asic3_irq_demux()
182 if (!(istat & bit)) in asic3_irq_demux()
/linux-6.1.9/drivers/scsi/
D53c700.c1490 __u8 istat; in NCR_700_intr() local
1502 if((istat = NCR_700_readb(host, ISTAT_REG)) in NCR_700_intr()
1511 if(istat & SCSI_INT_PENDING) { in NCR_700_intr()
1517 if(istat & DMA_INT_PENDING) { in NCR_700_intr()
1527 host->host_no, istat, sstat0, dstat, in NCR_700_intr()
Dncr53c8xx.c5730 u_char istat, dstat; in ncr_exception() local
5741 istat = INB (nc_istat); in ncr_exception()
5742 if (istat & INTF) { in ncr_exception()
5743 OUTB (nc_istat, (istat & SIGP) | INTF); in ncr_exception()
5744 istat = INB (nc_istat); in ncr_exception()
5749 if (!(istat & (SIP|DIP))) in ncr_exception()
5752 if (istat & CABRT) in ncr_exception()
5760 sist = (istat & SIP) ? INW (nc_sist) : 0; in ncr_exception()
5761 dstat = (istat & DIP) ? INB (nc_dstat) : 0; in ncr_exception()
5803 ncr_name(np), istat, dstat, sist); in ncr_exception()