Searched defs:irq_stat (Results 1 - 18 of 18) sorted by relevance

/drivers/ata/
H A Dpata_cmd640.c168 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 Dpata_cmd64x.c244 u8 irq_stat; local
247 pci_read_config_byte(pdev, irq_reg, &irq_stat);
249 return irq_stat & irq_mask;
263 u8 irq_stat; local
268 pci_read_config_byte(pdev, irq_reg, &irq_stat);
H A Dlibahci.c1529 static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) argument
1565 ata_ehi_push_desc(host_ehi, "irq_stat 0x%08x", irq_stat);
1574 irq_stat &= ~PORT_IRQ_IF_ERR;
1576 if (irq_stat & PORT_IRQ_TF_ERR) {
1590 if (irq_stat & PORT_IRQ_UNK_FIS) {
1600 if (sata_pmp_attached(ap) && (irq_stat & PORT_IRQ_BAD_PMP)) {
1606 if (irq_stat & (PORT_IRQ_HBUS_ERR | PORT_IRQ_HBUS_DATA_ERR)) {
1612 if (irq_stat & PORT_IRQ_IF_ERR) {
1623 if (irq_stat
1735 u32 irq_stat, irq_masked; local
[all...]
H A Dsata_inic162x.c310 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 Dsata_nv.c881 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 Dsata_sil24.c614 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 Dgpio-adp5588.c43 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 Dgpio-mxs.c114 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 Dgpio-sodaville.c83 u32 irq_stat = readl(sd->gpio_pub_base + GPSTR); local
85 irq_stat &= readl(sd->gpio_pub_base + GPIO_INT);
86 if (!irq_stat)
89 while (irq_stat) {
90 u32 irq_bit = __fls(irq_stat);
92 irq_stat &= ~BIT(irq_bit);
H A Dgpio-mxc.c218 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 Dgpio-pca953x.c80 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 Dcmd64x.c207 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 Dcmd640.c640 u8 irq_stat = get_cmd640_reg(irq_reg); local
642 return (irq_stat & irq_mask) ? 1 : 0;
/drivers/isdn/hardware/mISDN/
H A Dnetjet.c463 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 Domap2.c474 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 Dcx25840-core.c1931 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 Dnsp32.c1057 unsigned short irq_stat; local
1073 irq_stat = nsp32_read2(base, IRQ_STATUS);
1074 nsp32_dbg(NSP32_DEBUG_INIT, "irq_stat 0x%x", irq_stat);
1075 } while (irq_stat & IRQSTATUS_ANY_IRQ);
1166 unsigned short auto_stat, irq_stat, trans_stat; local
1178 irq_stat = nsp32_read2(base, IRQ_STATUS);
1180 "enter IRQ: %d, IRQstatus: 0x%x", irq, irq_stat);
1182 if ((irq_stat & IRQSTATUS_ANY_IRQ) == 0) {
1183 nsp32_dbg(NSP32_DEBUG_INTR, "shared interrupt: irq other 0x%x", irq_stat);
[all...]
/drivers/usb/host/
H A Disp1362.h538 unsigned int irq_stat[NUM_ISP1362_IRQS]; member in struct:isp1362_hcd

Completed in 1084 milliseconds