/drivers/ata/ |
H A D | pata_cmd640.c | 168 u8 irq_stat, irq_mask = ap->port_no ? 0x10 : 0x04; local 170 pci_read_config_byte(pdev, irq_reg, &irq_stat); 172 return irq_stat & irq_mask;
|
H A D | libahci.c | 1524 static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) argument 1560 ata_ehi_push_desc(host_ehi, "irq_stat 0x%08x", irq_stat); 1569 irq_stat &= ~PORT_IRQ_IF_ERR; 1571 if (irq_stat & PORT_IRQ_TF_ERR) { 1585 if (irq_stat & PORT_IRQ_UNK_FIS) { 1595 if (sata_pmp_attached(ap) && (irq_stat & PORT_IRQ_BAD_PMP)) { 1601 if (irq_stat & (PORT_IRQ_HBUS_ERR | PORT_IRQ_HBUS_DATA_ERR)) { 1607 if (irq_stat & PORT_IRQ_IF_ERR) { 1618 if (irq_stat 1730 u32 irq_stat, irq_masked; local [all...] |
H A D | sata_inic162x.c | 310 static void inic_host_err_intr(struct ata_port *ap, u8 irq_stat, u16 idma_stat) argument 318 ata_ehi_push_desc(ehi, "irq_stat=0x%x idma_stat=0x%x", 319 irq_stat, idma_stat); 323 if (irq_stat & (PIRQ_OFFLINE | PIRQ_ONLINE)) { 370 u8 irq_stat; local 374 irq_stat = readb(port_base + PORT_IRQ_STAT); 375 writeb(irq_stat, port_base + PORT_IRQ_STAT); 378 if (unlikely((irq_stat & PIRQ_ERR) || (idma_stat & IDMA_STAT_ERR))) 379 inic_host_err_intr(ap, irq_stat, idma_stat); 399 ata_port_warn(ap, "unhandled interrupt: cmd=0x%x irq_stat [all...] |
H A D | sata_nv.c | 881 static int nv_host_intr(struct ata_port *ap, u8 irq_stat) argument 886 if (unlikely(irq_stat & (NV_INT_ADDED | NV_INT_REMOVED))) { 892 if (!(irq_stat & NV_INT_DEV)) 925 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) local 927 handled += nv_host_intr(ap, irq_stat); 933 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) local 940 irq_stat |= NV_INT_DEV; 941 handled += nv_host_intr(ap, irq_stat); 1507 static irqreturn_t nv_do_interrupt(struct ata_host *host, u8 irq_stat) argument 1512 handled += nv_host_intr(host->ports[i], irq_stat); 1522 u8 irq_stat; local 1536 u8 irq_stat; local 2328 u32 irq_stat; local [all...] |
H A D | sata_sil24.c | 614 u32 irq_enabled, irq_mask, irq_stat; local 633 irq_stat = ata_wait_register(ap, port + PORT_IRQ_STAT, irq_mask, 0x0, 637 irq_stat >>= PORT_IRQ_RAW_SHIFT; 639 if (irq_stat & PORT_IRQ_COMPLETE) 645 if (irq_stat & PORT_IRQ_ERROR) 987 u32 irq_stat; local 990 irq_stat = readl(port + PORT_IRQ_STAT); 991 writel(irq_stat, port + PORT_IRQ_STAT); 998 ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); [all...] |
/drivers/gpio/ |
H A D | gpio-adp5588.c | 43 uint8_t irq_stat[3]; member in struct:adp5588_gpio 251 ret = adp5588_gpio_read_intstat(dev->client, dev->irq_stat); 253 memset(dev->irq_stat, 0, ARRAY_SIZE(dev->irq_stat)); 257 pending = dev->irq_stat[bank] & dev->irq_mask[bank]; 285 adp5588_gpio_read_intstat(client, dev->irq_stat); /* read to clear */
|
H A D | gpio-mxs.c | 114 u32 irq_stat; local 120 irq_stat = readl(port->base + PINCTRL_IRQSTAT(port->id)) & 123 while (irq_stat != 0) { 124 int irqoffset = fls(irq_stat) - 1; 126 irq_stat &= ~(1 << irqoffset);
|
H A D | gpio-mxc.c | 218 static void mxc_gpio_irq_handler(struct mxc_gpio_port *port, u32 irq_stat) argument 222 while (irq_stat != 0) { 223 int irqoffset = fls(irq_stat) - 1; 230 irq_stat &= ~(1 << irqoffset); 237 u32 irq_stat; local 243 irq_stat = readl(port->base + GPIO_ISR) & readl(port->base + GPIO_IMR); 245 mxc_gpio_irq_handler(port, irq_stat); 253 u32 irq_msk, irq_stat; local 262 irq_stat = readl(port->base + GPIO_ISR) & irq_msk; 263 if (irq_stat) [all...] |
H A D | gpio-pca953x.c | 80 uint16_t irq_stat; member in struct:pca953x_chip 410 old_stat = chip->irq_stat; 416 chip->irq_stat = cur_stat; 465 ret = pca953x_read_reg(chip, offset, &chip->irq_stat); 474 chip->irq_stat &= chip->reg_direction;
|
/drivers/ide/ |
H A D | cmd64x.c | 207 u8 irq_stat = 0; local 209 (void) pci_read_config_byte(dev, irq_reg, &irq_stat); 211 (void) pci_write_config_byte(dev, irq_reg, irq_stat | irq_mask); 234 u8 irq_stat = 0; local 236 (void) pci_read_config_byte(dev, irq_reg, &irq_stat); 238 pr_debug("%s: irq_stat: 0x%02x irq_mask: 0x%02x\n", 239 hwif->name, irq_stat, irq_mask); 241 return (irq_stat & irq_mask) ? 1 : 0;
|
H A D | cmd640.c | 640 u8 irq_stat = get_cmd640_reg(irq_reg); local 642 return (irq_stat & irq_mask) ? 1 : 0;
|
/drivers/isdn/hardware/mISDN/ |
H A D | netjet.c | 463 recv_tiger(struct tiger_hw *card, u8 irq_stat) argument 470 card->last_is0 |= (irq_stat & NJ_IRQM0_WR_MASK); 472 if (irq_stat & NJ_IRQM0_WR_END) 646 send_tiger(struct tiger_hw *card, u8 irq_stat) argument 651 if ((irq_stat & card->last_is0) & NJ_IRQM0_RD_MASK) { 653 card->name, irq_stat, card->last_is0); 657 card->last_is0 |= (irq_stat & NJ_IRQM0_RD_MASK);
|
/drivers/mtd/nand/ |
H A D | omap2.c | 474 u32 irq_stat; local 476 irq_stat = gpmc_read_status(GPMC_GET_IRQ_STATUS); 480 if (irq_stat & 0x2) 497 if (irq_stat & 0x2) 500 gpmc_cs_configure(info->gpmc_cs, GPMC_SET_IRQ_STATUS, irq_stat); 510 gpmc_cs_configure(info->gpmc_cs, GPMC_SET_IRQ_STATUS, irq_stat);
|
/drivers/media/video/cx25840/ |
H A D | cx25840-core.c | 1931 u8 irq_stat, aud_stat, aud_en, ir_stat, ir_en; local 1936 irq_stat = cx25840_read(c, CX23885_PIN_CTRL_IRQ_REG); 1938 irq_stat & CX23885_PIN_CTRL_IRQ_IR_STAT ? "ir" : " ", 1939 irq_stat & CX23885_PIN_CTRL_IRQ_AUD_STAT ? "aud" : " ", 1940 irq_stat & CX23885_PIN_CTRL_IRQ_VID_STAT ? "vid" : " "); 1948 if (irq_stat & CX23885_PIN_CTRL_IRQ_IR_STAT) { 1967 if (irq_stat & CX23885_PIN_CTRL_IRQ_AUD_STAT) { 1979 if (irq_stat & CX23885_PIN_CTRL_IRQ_VID_STAT) { 1986 irq_stat = cx25840_read(c, CX23885_PIN_CTRL_IRQ_REG); 1988 irq_stat [all...] |
/drivers/scsi/ |
H A D | nsp32.c | 1058 unsigned short irq_stat; local 1074 irq_stat = nsp32_read2(base, IRQ_STATUS); 1075 nsp32_dbg(NSP32_DEBUG_INIT, "irq_stat 0x%x", irq_stat); 1076 } while (irq_stat & IRQSTATUS_ANY_IRQ); 1167 unsigned short auto_stat, irq_stat, trans_stat; local 1179 irq_stat = nsp32_read2(base, IRQ_STATUS); 1181 "enter IRQ: %d, IRQstatus: 0x%x", irq, irq_stat); 1183 if ((irq_stat & IRQSTATUS_ANY_IRQ) == 0) { 1184 nsp32_dbg(NSP32_DEBUG_INTR, "shared interrupt: irq other 0x%x", irq_stat); [all...] |
/drivers/usb/host/ |
H A D | isp1362.h | 538 unsigned int irq_stat[NUM_ISP1362_IRQS]; member in struct:isp1362_hcd
|