Home
last modified time | relevance | path

Searched refs:irqen (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/drivers/rtc/
Drtc-stk17ta8.c64 unsigned int irqen; member
141 writeb(pdata->alrm_mday < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
144 writeb(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
147 writeb(pdata->alrm_min < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
150 writeb(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
153 writeb(pdata->irqen ? RTC_INTS_AIE : 0, ioaddr + RTC_INTERRUPTS); in stk17ta8_rtc_update_alarm()
170 pdata->irqen |= RTC_AF; in stk17ta8_rtc_set_alarm()
185 alrm->enabled = (pdata->irqen & RTC_AF) ? 1 : 0; in stk17ta8_rtc_read_alarm()
218 pdata->irqen |= RTC_AF; in stk17ta8_rtc_alarm_irq_enable()
220 pdata->irqen &= ~RTC_AF; in stk17ta8_rtc_alarm_irq_enable()
Drtc-ds1553.c63 unsigned int irqen; member
134 writeb(pdata->alrm_mday < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
137 writeb(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
140 writeb(pdata->alrm_min < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
143 writeb(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
146 writeb(pdata->irqen ? RTC_INTS_AE : 0, ioaddr + RTC_INTERRUPTS); in ds1553_rtc_update_alarm()
162 pdata->irqen |= RTC_AF; in ds1553_rtc_set_alarm()
177 alrm->enabled = (pdata->irqen & RTC_AF) ? 1 : 0; in ds1553_rtc_read_alarm()
209 pdata->irqen |= RTC_AF; in ds1553_rtc_alarm_irq_enable()
211 pdata->irqen &= ~RTC_AF; in ds1553_rtc_alarm_irq_enable()
Drtc-ds1511.c88 unsigned int irqen; member
294 rtc_write(pdata->alrm_mday < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
297 rtc_write(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
300 rtc_write(pdata->alrm_min < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
303 rtc_write(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
306 rtc_write(rtc_read(RTC_CMD) | (pdata->irqen ? RTC_TIE : 0), RTC_CMD); in ds1511_rtc_update_alarm()
324 pdata->irqen |= RTC_AF; in ds1511_rtc_set_alarm()
342 alrm->enabled = (pdata->irqen & RTC_AF) ? 1 : 0; in ds1511_rtc_read_alarm()
376 pdata->irqen |= RTC_AF; in ds1511_rtc_alarm_irq_enable()
378 pdata->irqen &= ~RTC_AF; in ds1511_rtc_alarm_irq_enable()
Drtc-ds1343.c82 unsigned int irqen; member
327 buf[0] = priv->alarm_sec < 0 || (priv->irqen & RTC_UF) ? in ds1343_update_alarm()
329 buf[1] = priv->alarm_min < 0 || (priv->irqen & RTC_UF) ? in ds1343_update_alarm()
331 buf[2] = priv->alarm_hour < 0 || (priv->irqen & RTC_UF) ? in ds1343_update_alarm()
333 buf[3] = priv->alarm_mday < 0 || (priv->irqen & RTC_UF) ? in ds1343_update_alarm()
340 if (priv->irqen) { in ds1343_update_alarm()
363 alarm->enabled = !!(priv->irqen & RTC_AF); in ds1343_read_alarm()
392 priv->irqen |= RTC_AF; in ds1343_set_alarm()
412 priv->irqen |= RTC_AF; in ds1343_alarm_irq_enable()
414 priv->irqen &= ~RTC_AF; in ds1343_alarm_irq_enable()
[all …]
Drtc-mt6397.c97 u32 irqsta, irqen; in mtk_rtc_irq_handler_thread() local
103 irqen = irqsta & ~RTC_IRQ_EN_AL; in mtk_rtc_irq_handler_thread()
106 irqen) < 0) in mtk_rtc_irq_handler_thread()
207 u32 irqen, pdn2; in mtk_rtc_read_alarm() local
212 ret = regmap_read(rtc->regmap, rtc->addr_base + RTC_IRQ_EN, &irqen); in mtk_rtc_read_alarm()
224 alm->enabled = !!(irqen & RTC_IRQ_EN_AL); in mtk_rtc_read_alarm()
Drtc-rc5t583.c23 u32 irqen; member
282 &rc5t583_rtc->irqen); in rc5t583_rtc_suspend()
293 rc5t583_rtc->irqen); in rc5t583_rtc_resume()
/Linux-v5.4/drivers/soc/ixp4xx/
Dixp4xx-qmgr.c148 en_bitmap = qmgr_regs->irqen[0]; in qmgr_irq1_a0()
173 req_bitmap = qmgr_regs->irqen[1] & qmgr_regs->statne_h; in qmgr_irq2_a0()
210 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) | mask, in qmgr_enable_irq()
211 &qmgr_regs->irqen[half]); in qmgr_enable_irq()
222 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) & ~mask, in qmgr_disable_irq()
223 &qmgr_regs->irqen[half]); in qmgr_disable_irq()
405 __raw_writel(0, &qmgr_regs->irqen[i]); in ixp4xx_qmgr_probe()
/Linux-v5.4/drivers/media/i2c/cx25840/
Dcx25840-ir.c519 u32 cntrl, irqen, stats; in cx25840_ir_irq_handler() local
532 irqen = cx25840_read4(c, CX25840_IR_IRQEN_REG); in cx25840_ir_irq_handler()
534 irqen ^= IRQEN_MSK; in cx25840_ir_irq_handler()
542 tse = irqen & IRQEN_TSE; /* Tx FIFO Service Request IRQ Enable */ in cx25840_ir_irq_handler()
543 rse = irqen & IRQEN_RSE; /* Rx FIFO Service Request IRQ Enable */ in cx25840_ir_irq_handler()
544 rte = irqen & IRQEN_RTE; /* Rx Pulse Width Timer Time Out IRQ Enable */ in cx25840_ir_irq_handler()
545 roe = irqen & IRQEN_ROE; /* Rx FIFO Over Run IRQ Enable */ in cx25840_ir_irq_handler()
1028 u32 cntrl, txclk, rxclk, cduty, stats, irqen, filtr; in cx25840_ir_log_status() local
1039 irqen = cx25840_read4(c, CX25840_IR_IRQEN_REG); in cx25840_ir_log_status()
1041 irqen ^= IRQEN_MSK; in cx25840_ir_log_status()
[all …]
/Linux-v5.4/drivers/media/pci/cx23885/
Dcx23888-ir.c528 u32 irqen = cx23888_ir_read4(dev, CX23888_IR_IRQEN_REG); in cx23888_ir_irq_handler() local
541 tse = irqen & IRQEN_TSE; /* Tx FIFO Service Request IRQ Enable */ in cx23888_ir_irq_handler()
542 rse = irqen & IRQEN_RSE; /* Rx FIFO Service Request IRQ Enable */ in cx23888_ir_irq_handler()
543 rte = irqen & IRQEN_RTE; /* Rx Pulse Width Timer Time Out IRQ Enable */ in cx23888_ir_irq_handler()
544 roe = irqen & IRQEN_ROE; /* Rx FIFO Over Run IRQ Enable */ in cx23888_ir_irq_handler()
948 u32 irqen = cx23888_ir_read4(dev, CX23888_IR_IRQEN_REG); in cx23888_ir_log_status() local
1024 irqen & IRQEN_RTE ? "enabled" : "disabled"); in cx23888_ir_log_status()
1028 irqen & IRQEN_ROE ? "enabled" : "disabled"); in cx23888_ir_log_status()
1034 irqen & IRQEN_RSE ? "enabled" : "disabled"); in cx23888_ir_log_status()
1064 irqen & IRQEN_TSE ? "enabled" : "disabled"); in cx23888_ir_log_status()
/Linux-v5.4/drivers/staging/iio/meter/
Dade7854.c415 u32 irqen; in ade7854_set_irq() local
417 ret = st->read_reg(dev, ADE7854_MASK0, &irqen, 32); in ade7854_set_irq()
422 irqen |= BIT(17); /* 1: interrupt enabled when all periodical in ade7854_set_irq()
426 irqen &= ~BIT(17); in ade7854_set_irq()
428 return st->write_reg(dev, ADE7854_MASK0, irqen, 32); in ade7854_set_irq()
/Linux-v5.4/include/linux/soc/ixp4xx/
Dqmgr.h51 u32 irqen[2]; /* 0x430 - 0x437 IRQ enabled */ member
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-catu.h95 CATU_REG32(irqen, CATU_IRQEN);
Dcoresight-catu.c373 coresight_simple_reg32(struct catu_drvdata, irqen, CATU_IRQEN);
/Linux-v5.4/drivers/mmc/host/
Dcb710-mmc.c619 u32 status, config1, config2, irqen; in cb710_mmc_irq_handler() local
622 irqen = cb710_read_port_32(slot, CB710_MMC_IRQ_ENABLE_PORT); in cb710_mmc_irq_handler()
628 status, irqen, config2, config1); in cb710_mmc_irq_handler()
634 if ((irqen & CB710_MMC_IE_CISTATUS_MASK) in cb710_mmc_irq_handler()
/Linux-v5.4/drivers/gpio/
Dgpio-stmpe.c295 bool irqen; in stmpe_dbg_show_one() local
334 irqen = !!(ret & mask); in stmpe_dbg_show_one()
340 irqen ? "IRQ-enabled" : "IRQ-disabled", in stmpe_dbg_show_one()
/Linux-v5.4/drivers/video/fbdev/
Ds3c2410fb.c458 unsigned long irqen; in schedule_palette_update() local
469 irqen = readl(irq_base + S3C24XX_LCDINTMSK); in schedule_palette_update()
470 irqen &= ~S3C2410_LCDINT_FRSYNC; in schedule_palette_update()
471 writel(irqen, irq_base + S3C24XX_LCDINTMSK); in schedule_palette_update()
/Linux-v5.4/drivers/scsi/
Dgdth.h709 u8 irqen; /* board interrupts enable */ member
727 u8 irqen; /* board interrupts enable */ member
Dgdth.c584 writeb(0x00, &dp6_ptr->io.irqen); in gdth_init_pci()
897 writeb(1, &dp6_ptr->io.irqen); in gdth_enable_int()
/Linux-v5.4/arch/x86/kernel/apic/
Dapic.c330 static void __setup_APIC_LVTT(unsigned int clocks, int oneshot, int irqen) in __setup_APIC_LVTT() argument
343 if (!irqen) in __setup_APIC_LVTT()