Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/rtc/
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
288 rtc_write(pdata->alrm_mday < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
291 rtc_write(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
294 rtc_write(pdata->alrm_min < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
297 rtc_write(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
300 rtc_write(rtc_read(RTC_CMD) | (pdata->irqen ? RTC_TIE : 0), RTC_CMD); in ds1511_rtc_update_alarm()
318 pdata->irqen |= RTC_AF; in ds1511_rtc_set_alarm()
336 alrm->enabled = (pdata->irqen & RTC_AF) ? 1 : 0; in ds1511_rtc_read_alarm()
370 pdata->irqen |= RTC_AF; in ds1511_rtc_alarm_irq_enable()
372 pdata->irqen &= ~RTC_AF; in ds1511_rtc_alarm_irq_enable()
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-mt2712.c197 u16 irqen; in mt2712_rtc_read_alarm() local
199 irqen = mt2712_readl(mt2712_rtc, MT2712_IRQ_EN); in mt2712_rtc_read_alarm()
200 alm->enabled = !!(irqen & MT2712_IRQ_EN_AL); in mt2712_rtc_read_alarm()
218 u16 irqen; in mt2712_rtc_alarm_irq_enable() local
220 irqen = mt2712_readl(mt2712_rtc, MT2712_IRQ_EN); in mt2712_rtc_alarm_irq_enable()
222 irqen |= MT2712_IRQ_EN_AL; in mt2712_rtc_alarm_irq_enable()
224 irqen &= ~MT2712_IRQ_EN_AL; in mt2712_rtc_alarm_irq_enable()
225 mt2712_writel(mt2712_rtc, MT2712_IRQ_EN, irqen); in mt2712_rtc_alarm_irq_enable()
Drtc-mt6397.c43 u32 irqsta, irqen; in mtk_rtc_irq_handler_thread() local
49 irqen = irqsta & ~RTC_IRQ_EN_AL; in mtk_rtc_irq_handler_thread()
52 irqen) == 0) in mtk_rtc_irq_handler_thread()
153 u32 irqen, pdn2; in mtk_rtc_read_alarm() local
158 ret = regmap_read(rtc->regmap, rtc->addr_base + RTC_IRQ_EN, &irqen); in mtk_rtc_read_alarm()
170 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-6.1.9/drivers/soc/ixp4xx/
Dixp4xx-qmgr.c149 en_bitmap = __raw_readl(&qmgr_regs->irqen[0]); in qmgr_irq1_a0()
174 req_bitmap = __raw_readl(&qmgr_regs->irqen[1]) & in qmgr_irq2_a0()
212 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) | mask, in qmgr_enable_irq()
213 &qmgr_regs->irqen[half]); in qmgr_enable_irq()
224 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) & ~mask, in qmgr_disable_irq()
225 &qmgr_regs->irqen[half]); in qmgr_disable_irq()
407 __raw_writel(0, &qmgr_regs->irqen[i]); in ixp4xx_qmgr_probe()
/linux-6.1.9/drivers/media/i2c/cx25840/
Dcx25840-ir.c499 u32 cntrl, irqen, stats; in cx25840_ir_irq_handler() local
512 irqen = cx25840_read4(c, CX25840_IR_IRQEN_REG); in cx25840_ir_irq_handler()
514 irqen ^= IRQEN_MSK; in cx25840_ir_irq_handler()
522 tse = irqen & IRQEN_TSE; /* Tx FIFO Service Request IRQ Enable */ in cx25840_ir_irq_handler()
523 rse = irqen & IRQEN_RSE; /* Rx FIFO Service Request IRQ Enable */ in cx25840_ir_irq_handler()
524 rte = irqen & IRQEN_RTE; /* Rx Pulse Width Timer Time Out IRQ Enable */ in cx25840_ir_irq_handler()
525 roe = irqen & IRQEN_ROE; /* Rx FIFO Over Run IRQ Enable */ in cx25840_ir_irq_handler()
1008 u32 cntrl, txclk, rxclk, cduty, stats, irqen, filtr; in cx25840_ir_log_status() local
1019 irqen = cx25840_read4(c, CX25840_IR_IRQEN_REG); in cx25840_ir_log_status()
1021 irqen ^= IRQEN_MSK; in cx25840_ir_log_status()
[all …]
/linux-6.1.9/drivers/media/pci/cx23885/
Dcx23888-ir.c508 u32 irqen = cx23888_ir_read4(dev, CX23888_IR_IRQEN_REG); in cx23888_ir_irq_handler() local
521 tse = irqen & IRQEN_TSE; /* Tx FIFO Service Request IRQ Enable */ in cx23888_ir_irq_handler()
522 rse = irqen & IRQEN_RSE; /* Rx FIFO Service Request IRQ Enable */ in cx23888_ir_irq_handler()
523 rte = irqen & IRQEN_RTE; /* Rx Pulse Width Timer Time Out IRQ Enable */ in cx23888_ir_irq_handler()
524 roe = irqen & IRQEN_ROE; /* Rx FIFO Over Run IRQ Enable */ in cx23888_ir_irq_handler()
928 u32 irqen = cx23888_ir_read4(dev, CX23888_IR_IRQEN_REG); in cx23888_ir_log_status() local
1004 irqen & IRQEN_RTE ? "enabled" : "disabled"); in cx23888_ir_log_status()
1008 irqen & IRQEN_ROE ? "enabled" : "disabled"); in cx23888_ir_log_status()
1014 irqen & IRQEN_RSE ? "enabled" : "disabled"); in cx23888_ir_log_status()
1044 irqen & IRQEN_TSE ? "enabled" : "disabled"); in cx23888_ir_log_status()
/linux-6.1.9/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-6.1.9/include/linux/soc/ixp4xx/
Dqmgr.h51 u32 irqen[2]; /* 0x430 - 0x437 IRQ enabled */ member
/linux-6.1.9/drivers/mmc/host/
Dcb710-mmc.c621 u32 status, config1, config2, irqen; in cb710_mmc_irq_handler() local
624 irqen = cb710_read_port_32(slot, CB710_MMC_IRQ_ENABLE_PORT); in cb710_mmc_irq_handler()
630 status, irqen, config2, config1); in cb710_mmc_irq_handler()
636 if ((irqen & CB710_MMC_IE_CISTATUS_MASK) in cb710_mmc_irq_handler()
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-catu.h95 CATU_REG32(irqen, CATU_IRQEN);
Dcoresight-catu.c374 coresight_simple_reg32(irqen, CATU_IRQEN),
/linux-6.1.9/drivers/gpio/
Dgpio-stmpe.c298 bool irqen; in stmpe_dbg_show_one() local
337 irqen = !!(ret & mask); in stmpe_dbg_show_one()
343 irqen ? "IRQ-enabled" : "IRQ-disabled", in stmpe_dbg_show_one()
/linux-6.1.9/drivers/video/fbdev/
Ds3c2410fb.c453 unsigned long irqen; in schedule_palette_update() local
464 irqen = readl(irq_base + S3C24XX_LCDINTMSK); in schedule_palette_update()
465 irqen &= ~S3C2410_LCDINT_FRSYNC; in schedule_palette_update()
466 writel(irqen, irq_base + S3C24XX_LCDINTMSK); in schedule_palette_update()
/linux-6.1.9/arch/x86/kernel/apic/
Dapic.c337 static void __setup_APIC_LVTT(unsigned int clocks, int oneshot, int irqen) in __setup_APIC_LVTT() argument
356 if (!irqen) in __setup_APIC_LVTT()