Home
last modified time | relevance | path

Searched refs:imask (Results 1 – 25 of 79) sorted by relevance

1234

/Linux-v5.4/arch/mips/sgi-ip32/
Dip32-irq.c136 crime->imask = crime_mask; in crime_enable_irq()
144 crime->imask = crime_mask; in crime_disable_irq()
188 crime->imask = crime_mask; in enable_macepci_irq()
194 crime->imask = crime_mask; in disable_macepci_irq()
265 crime->imask = crime_mask; in enable_maceisa_irq()
267 mace->perif.ctrl.imask = maceisa_mask; in enable_maceisa_irq()
282 crime->imask = crime_mask; in disable_maceisa_irq()
284 mace->perif.ctrl.imask = maceisa_mask; in disable_maceisa_irq()
323 crime->imask = crime_mask; in enable_mace_irq()
331 crime->imask = crime_mask; in disable_mace_irq()
[all …]
/Linux-v5.4/arch/mips/txx9/jmr3927/
Dirq.c54 unsigned char imask = jmr3927_ioc_reg_in(JMR3927_IOC_INTM_ADDR); in mask_irq_ioc() local
56 jmr3927_ioc_reg_out(imask & ~bit, JMR3927_IOC_INTM_ADDR); in mask_irq_ioc()
64 unsigned char imask = jmr3927_ioc_reg_in(JMR3927_IOC_INTM_ADDR); in unmask_irq_ioc() local
66 jmr3927_ioc_reg_out(imask | bit, JMR3927_IOC_INTM_ADDR); in unmask_irq_ioc()
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dcommon-beacon.c128 ah->imask |= ATH9K_INT_SWBA; in ath9k_cmn_beacon_config_adhoc()
130 ah->imask &= ~ATH9K_INT_SWBA; in ath9k_cmn_beacon_config_adhoc()
157 ah->imask |= ATH9K_INT_SWBA; in ath9k_cmn_beacon_config_ap()
159 ah->imask &= ~ATH9K_INT_SWBA; in ath9k_cmn_beacon_config_ap()
Dwow.c253 sc->wow_intr_before_sleep = ah->imask; in ath9k_suspend()
254 ah->imask &= ~ATH9K_INT_GLOBAL; in ath9k_suspend()
256 ah->imask = ATH9K_INT_BMISS | ATH9K_INT_GLOBAL; in ath9k_suspend()
294 ah->imask = sc->wow_intr_before_sleep; in ath9k_resume()
Dhtc_drv_beacon.c88 htc_imask = cpu_to_be32(ah->imask); in ath9k_htc_beacon_init()
96 enum ath9k_int imask = 0; in ath9k_htc_beacon_config_sta() local
106 imask |= ATH9K_INT_BMISS; in ath9k_htc_beacon_config_sta()
107 htc_imask = cpu_to_be32(imask); in ath9k_htc_beacon_config_sta()
115 ah->imask = 0; in ath9k_htc_beacon_config_ap()
125 ah->imask = 0; in ath9k_htc_beacon_config_adhoc()
Dmain.c526 status &= ah->imask; /* discard unasked-for bits */ in ath_isr()
564 ah->imask &= ~(ATH9K_INT_RXEOL | ATH9K_INT_RXORN); in ath_isr()
687 ah->imask = ATH9K_INT_TX | ATH9K_INT_RXEOL | in ath9k_start()
692 ah->imask |= ATH9K_INT_RXHP | in ath9k_start()
695 ah->imask |= ATH9K_INT_RX; in ath9k_start()
698 ah->imask |= ATH9K_INT_BB_WATCHDOG; in ath9k_start()
705 ah->imask |= ATH9K_INT_GTT; in ath9k_start()
708 ah->imask |= ATH9K_INT_CST; in ath9k_start()
848 ah->imask &= ~ATH9K_INT_GLOBAL; in ath9k_stop()
1082 ah->imask &= ~ATH9K_INT_SWBA; in ath9k_set_offchannel_state()
[all …]
/Linux-v5.4/arch/mips/pmcs-msp71xx/
Dmsp_irq_cic.c131 unsigned long imask = (1 << (d->irq - MSP_CIC_INTBASE)); in msp_cic_irq_set_affinity() local
141 cic_mask[cpu] |= imask; in msp_cic_irq_set_affinity()
143 cic_mask[cpu] &= ~imask; in msp_cic_irq_set_affinity()
/Linux-v5.4/drivers/gpio/
Dgpio-grgpio.c65 u32 imask; /* irq mask shadow register */ member
96 priv->imask |= BIT(offset); in grgpio_set_imask()
98 priv->imask &= ~BIT(offset); in grgpio_set_imask()
99 gc->write_reg(priv->regs + GRGPIO_IMASK, priv->imask); in grgpio_set_imask()
211 if (priv->imask & BIT(i) && lirq->index >= 0 && in grgpio_irq_handler()
356 priv->imask = gc->read_reg(regs + GRGPIO_IMASK); in grgpio_probe()
Dgpio-brcmstb.c114 u32 imask; in brcmstb_gpio_set_imask() local
118 imask = gc->read_reg(priv->reg_base + GIO_MASK(bank->id)); in brcmstb_gpio_set_imask()
120 imask |= mask; in brcmstb_gpio_set_imask()
122 imask &= ~mask; in brcmstb_gpio_set_imask()
123 gc->write_reg(priv->reg_base + GIO_MASK(bank->id), imask); in brcmstb_gpio_set_imask()
529 u32 imask; in brcmstb_gpio_quiesce() local
543 imask = bank->wake_active; in brcmstb_gpio_quiesce()
545 imask = 0; in brcmstb_gpio_quiesce()
547 imask); in brcmstb_gpio_quiesce()
Dgpio-pch.c27 u32 imask; member
168 chip->pch_gpio_reg.imask_reg = ioread32(&chip->reg->imask); in pch_gpio_save_reg_conf()
184 iowrite32(chip->pch_gpio_reg.imask_reg, &chip->reg->imask); in pch_gpio_restore_reg_conf()
288 iowrite32(1 << (d->irq - chip->irq_base), &chip->reg->imask); in pch_irq_mask()
397 iowrite32(msk, &chip->reg->imask); in pch_gpio_probe()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dgianfar.c385 gfar_write(&regs->imask, IMASK_INIT_CLEAR); in gfar_ints_disable()
395 gfar_write(&regs->imask, IMASK_DEFAULT); in gfar_ints_enable()
2330 u32 imask, ievent; in gfar_receive() local
2341 imask = gfar_read(&grp->regs->imask); in gfar_receive()
2342 imask &= IMASK_RX_DISABLED; in gfar_receive()
2343 gfar_write(&grp->regs->imask, imask); in gfar_receive()
2361 u32 imask; in gfar_transmit() local
2365 imask = gfar_read(&grp->regs->imask); in gfar_transmit()
2366 imask &= IMASK_TX_DISABLED; in gfar_transmit()
2367 gfar_write(&grp->regs->imask, imask); in gfar_transmit()
[all …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-altera.c310 u32 imask = ALTR_I2C_ISR_RXOF | ALTR_I2C_ISR_ARB | ALTR_I2C_ISR_NACK; in altr_i2c_xfer_msg() local
330 imask |= ALTR_I2C_ISER_RXOF_EN | ALTR_I2C_ISER_RXRDY_EN; in altr_i2c_xfer_msg()
331 altr_i2c_int_enable(idev, imask, true); in altr_i2c_xfer_msg()
335 imask |= ALTR_I2C_ISR_TXRDY; in altr_i2c_xfer_msg()
336 altr_i2c_int_enable(idev, imask, true); in altr_i2c_xfer_msg()
342 altr_i2c_int_enable(idev, imask, false); in altr_i2c_xfer_msg()
/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dfman_memac.c193 u32 imask; /* 0x04C Interrupt mask */ member
401 tmp = ioread32be(&regs->imask); in set_exception()
407 iowrite32be(tmp, &regs->imask); in set_exception()
644 u32 event, imask; in memac_err_exception() local
647 imask = ioread32be(&regs->imask); in memac_err_exception()
654 event &= ((imask & MEMAC_ALL_ERRS_IMASK) >> 16); in memac_err_exception()
670 u32 event, imask; in memac_exception() local
673 imask = ioread32be(&regs->imask); in memac_exception()
680 event &= ((imask & MEMAC_ALL_ERRS_IMASK) >> 16); in memac_exception()
Dfman_tgec.c118 u32 imask; /* 0x060 Interrupt mask */ member
265 iowrite32be(ioread32be(&regs->imask) | exception_mask, &regs->imask); in init()
367 event &= ioread32be(&regs->imask); in tgec_err_exception()
681 iowrite32be(ioread32be(&regs->imask) | bit_mask, &regs->imask); in tgec_set_exception()
683 iowrite32be(ioread32be(&regs->imask) & ~bit_mask, &regs->imask); in tgec_set_exception()
/Linux-v5.4/arch/mips/sibyte/sb1250/
Dsmp.c40 unsigned int imask = STATUSF_IP4 | STATUSF_IP3 | STATUSF_IP2 | in sb1250_smp_init() local
44 change_c0_status(ST0_IM, imask); in sb1250_smp_init()
Dirq.c225 unsigned int imask = STATUSF_IP4 | STATUSF_IP3 | STATUSF_IP2 | in arch_init_irq() local
272 change_c0_status(ST0_IM, imask); in arch_init_irq()
/Linux-v5.4/arch/mips/sibyte/bcm1480/
Dsmp.c51 unsigned int imask = STATUSF_IP4 | STATUSF_IP3 | STATUSF_IP2 | in bcm1480_smp_init() local
55 change_c0_status(ST0_IM, imask); in bcm1480_smp_init()
Dirq.c241 unsigned int imask = STATUSF_IP4 | STATUSF_IP3 | STATUSF_IP2 | in arch_init_irq() local
302 change_c0_status(ST0_IM, imask); in arch_init_irq()
/Linux-v5.4/drivers/of/
Dirq.c98 const __be32 *tmp, *imap, *imask, dummy_imask[] = { [0 ... MAX_PHANDLE_ARGS] = cpu_to_be32(~0) }; in of_irq_parse_raw() local
187 imask = of_get_property(ipar, "interrupt-map-mask", NULL); in of_irq_parse_raw()
188 if (!imask) in of_irq_parse_raw()
189 imask = dummy_imask; in of_irq_parse_raw()
197 match &= !((match_array[i] ^ *imap++) & imask[i]); in of_irq_parse_raw()
/Linux-v5.4/drivers/mmc/host/
Dsunxi-mmc.c969 u32 imask; in sunxi_mmc_enable_sdio_irq() local
976 imask = mmc_readl(host, REG_IMASK); in sunxi_mmc_enable_sdio_irq()
979 imask |= SDXC_SDIO_INTERRUPT; in sunxi_mmc_enable_sdio_irq()
982 imask &= ~SDXC_SDIO_INTERRUPT; in sunxi_mmc_enable_sdio_irq()
984 mmc_writel(host, REG_IMASK, imask); in sunxi_mmc_enable_sdio_irq()
1006 u32 imask = SDXC_INTERRUPT_ERROR_BIT; in sunxi_mmc_request() local
1031 imask |= SDXC_COMMAND_DONE; in sunxi_mmc_request()
1045 imask |= SDXC_AUTO_COMMAND_DONE; in sunxi_mmc_request()
1048 imask |= SDXC_DATA_OVER; in sunxi_mmc_request()
1056 imask |= SDXC_COMMAND_DONE; in sunxi_mmc_request()
[all …]
Dpxamci.c59 unsigned int imask; member
142 host->imask &= ~mask; in pxamci_enable_irq()
143 writel(host->imask, host->base + MMC_I_MASK); in pxamci_enable_irq()
152 host->imask |= mask; in pxamci_disable_irq()
153 writel(host->imask, host->base + MMC_I_MASK); in pxamci_disable_irq()
689 host->imask = MMC_I_MASK_ALL; in pxamci_probe()
704 writel(host->imask, host->base + MMC_I_MASK); in pxamci_probe()
/Linux-v5.4/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c330 FW(fecp, imask, FEC_ENET_TXF | FEC_ENET_TXB | in restart()
363 FW(fecp, imask, 0); in stop()
392 FS(fecp, imask, FEC_NAPI_EVENT_MSK); in napi_enable_fs()
400 FC(fecp, imask, FEC_NAPI_EVENT_MSK); in napi_disable_fs()
424 return FR(fecp, ievent) & FR(fecp, imask); in get_int_events()
/Linux-v5.4/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c561 u32 imask, ep_ier; in ast_vhub_epn_disable() local
576 imask = VHUB_EP_IRQ(ep->epn.g_idx); in ast_vhub_epn_disable()
578 ep_ier &= ~imask; in ast_vhub_epn_disable()
580 writel(imask, vhub->regs + AST_VHUB_EP_ACK_ISR); in ast_vhub_epn_disable()
601 u32 ep_conf, ep_ier, imask; in ast_vhub_epn_enable() local
739 imask = VHUB_EP_IRQ(ep->epn.g_idx); in ast_vhub_epn_enable()
740 writel(imask, vhub->regs + AST_VHUB_EP_ACK_ISR); in ast_vhub_epn_enable()
742 ep_ier |= imask; in ast_vhub_epn_enable()
/Linux-v5.4/arch/sh/kernel/cpu/irq/
DMakefile5 obj-$(CONFIG_SUPERH32) += imask.o
/Linux-v5.4/drivers/misc/
Dhpilo.c78 if (!(fifo_q->fifobar[(fifo_q->tail + 1) & fifo_q->imask] in fifo_enqueue()
80 fifo_q->fifobar[fifo_q->tail & fifo_q->imask] |= in fifo_enqueue()
98 c = fifo_q->fifobar[fifo_q->head & fifo_q->imask]; in fifo_dequeue()
103 fifo_q->fifobar[fifo_q->head & fifo_q->imask] = in fifo_dequeue()
121 c = fifo_q->fifobar[fifo_q->head & fifo_q->imask]; in fifo_check_recv()
223 fifo_q->imask = nr_entry - 1; in fifo_setup()

1234