Home
last modified time | relevance | path

Searched refs:imr (Results 1 – 10 of 10) sorted by relevance

/linux-4.19.296/drivers/parisc/
Dgsc.c112 u32 imr; in gsc_asic_mask_irq() local
115 irq_dev->name, imr); in gsc_asic_mask_irq()
118 imr = gsc_readl(irq_dev->hpa + OFFSET_IMR); in gsc_asic_mask_irq()
119 imr &= ~(1 << local_irq); in gsc_asic_mask_irq()
120 gsc_writel(imr, irq_dev->hpa + OFFSET_IMR); in gsc_asic_mask_irq()
127 u32 imr; in gsc_asic_unmask_irq() local
130 irq_dev->name, imr); in gsc_asic_unmask_irq()
133 imr = gsc_readl(irq_dev->hpa + OFFSET_IMR); in gsc_asic_unmask_irq()
134 imr |= 1 << local_irq; in gsc_asic_unmask_irq()
135 gsc_writel(imr, irq_dev->hpa + OFFSET_IMR); in gsc_asic_unmask_irq()
Ddino.c147 u32 imr; /* IRQ's which are enabled */ member
308 dino_dev->imr &= ~(DINO_MASK_IRQ(local_irq)); in dino_mask_irq()
309 __raw_writel(dino_dev->imr, dino_dev->hba.base_addr+DINO_IMR); in dino_mask_irq()
329 dino_dev->imr |= DINO_MASK_IRQ(local_irq); /* used in dino_isr() */ in dino_unmask_irq()
330 __raw_writel( dino_dev->imr, dino_dev->hba.base_addr+DINO_IMR); in dino_unmask_irq()
423 mask = __raw_readl(dino_dev->hba.base_addr+DINO_ILR) & dino_dev->imr; in dino_isr()
/linux-4.19.296/drivers/rtc/
Drtc-at91sam9.c76 u32 imr; member
510 rtc->imr = mr & (AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN); in at91_rtc_shutdown()
511 rtt_writel(rtc, MR, mr & ~rtc->imr); in at91_rtc_shutdown()
527 rtc->imr = mr & (AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN); in at91_rtc_suspend()
528 if (rtc->imr) { in at91_rtc_suspend()
540 rtt_writel(rtc, MR, mr & ~rtc->imr); in at91_rtc_suspend()
551 if (rtc->imr) { in at91_rtc_resume()
557 rtt_writel(rtc, MR, mr | rtc->imr); in at91_rtc_resume()
Drtc-at91rm9200.c274 unsigned long imr = at91_rtc_read_imr(); in at91_rtc_proc() local
277 (imr & AT91_RTC_ACKUPD) ? "yes" : "no"); in at91_rtc_proc()
279 (imr & AT91_RTC_SECEV) ? "yes" : "no"); in at91_rtc_proc()
/linux-4.19.296/include/linux/
Digmp.h111 extern int ip_mc_join_group(struct sock *sk, struct ip_mreqn *imr);
112 extern int ip_mc_join_group_ssm(struct sock *sk, struct ip_mreqn *imr,
114 extern int ip_mc_leave_group(struct sock *sk, struct ip_mreqn *imr);
/linux-4.19.296/drivers/iio/adc/
Dtwl4030-madc.c182 u8 imr; member
467 ret = twl_i2c_read_u8(TWL4030_MODULE_MADC, &val, madc->imr); in twl4030_madc_disable_irq()
470 madc->imr); in twl4030_madc_disable_irq()
474 ret = twl_i2c_write_u8(TWL4030_MODULE_MADC, val, madc->imr); in twl4030_madc_disable_irq()
477 "unable to write imr register 0x%X\n", madc->imr); in twl4030_madc_disable_irq()
499 ret = twl_i2c_read_u8(TWL4030_MODULE_MADC, &imr_val, madc->imr); in twl4030_madc_threaded_irq_handler()
502 madc->imr); in twl4030_madc_threaded_irq_handler()
807 madc->imr = madc->use_second_irq ? TWL4030_MADC_IMR2 : in twl4030_madc_probe()
Dat91-sama5d2_adc.c1268 u32 imr = at91_adc_readl(st, AT91_SAMA5D2_IMR); in at91_adc_interrupt() local
1272 if (!(status & imr)) in at91_adc_interrupt()
/linux-4.19.296/drivers/clk/at91/
Dpmc.c66 u32 imr; member
123 regmap_read(pmcreg, AT91_PMC_IMR, &pmc_cache.imr); in pmc_suspend()
169 regmap_write(pmcreg, AT91_PMC_IMR, pmc_cache.imr); in pmc_resume()
/linux-4.19.296/drivers/gpio/
Dgpio-mxc.c52 u32 imr; member
538 port->gpio_saved_reg.imr = readl(port->base + GPIO_IMR); in mxc_gpio_save_regs()
551 writel(port->gpio_saved_reg.imr, port->base + GPIO_IMR); in mxc_gpio_restore_regs()
/linux-4.19.296/drivers/i2c/busses/
Di2c-at91.c139 unsigned imr; member
168 dev->imr = at91_twi_read(dev, AT91_TWI_IMR) & AT91_TWI_INT_MASK; in at91_twi_irq_save()
174 at91_twi_write(dev, AT91_TWI_IER, dev->imr); in at91_twi_irq_restore()