/kernel/linux/linux-5.10/arch/mips/sgi-ip32/ |
D | ip32-irq.c | 126 crime->imask = crime_mask; in crime_enable_irq() 134 crime->imask = crime_mask; in crime_disable_irq() 178 crime->imask = crime_mask; in enable_macepci_irq() 184 crime->imask = crime_mask; in disable_macepci_irq() 255 crime->imask = crime_mask; in enable_maceisa_irq() 257 mace->perif.ctrl.imask = maceisa_mask; in enable_maceisa_irq() 272 crime->imask = crime_mask; in disable_maceisa_irq() 274 mace->perif.ctrl.imask = maceisa_mask; in disable_maceisa_irq() 313 crime->imask = crime_mask; in enable_mace_irq() 321 crime->imask = crime_mask; in disable_mace_irq() [all …]
|
/kernel/linux/linux-5.10/arch/mips/txx9/jmr3927/ |
D | irq.c | 54 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | common-beacon.c | 128 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()
|
D | wow.c | 253 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()
|
D | htc_drv_beacon.c | 88 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()
|
D | main.c | 534 status &= ah->imask; /* discard unasked-for bits */ in ath_isr() 574 ah->imask &= ~(ATH9K_INT_RXEOL | ATH9K_INT_RXORN); in ath_isr() 697 ah->imask = ATH9K_INT_TX | ATH9K_INT_RXEOL | in ath9k_start() 702 ah->imask |= ATH9K_INT_RXHP | in ath9k_start() 705 ah->imask |= ATH9K_INT_RX; in ath9k_start() 708 ah->imask |= ATH9K_INT_BB_WATCHDOG; in ath9k_start() 715 ah->imask |= ATH9K_INT_GTT; in ath9k_start() 718 ah->imask |= ATH9K_INT_CST; in ath9k_start() 926 ah->imask &= ~ATH9K_INT_GLOBAL; in ath9k_stop() 1168 ah->imask &= ~ATH9K_INT_SWBA; in ath9k_set_offchannel_state() [all …]
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-grgpio.c | 65 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() 358 priv->imask = gc->read_reg(regs + GRGPIO_IMASK); in grgpio_probe()
|
D | gpio-brcmstb.c | 114 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()
|
D | gpio-pch.c | 28 u32 imask; member 171 chip->pch_gpio_reg.imask_reg = ioread32(&chip->reg->imask); in pch_gpio_save_reg_conf() 187 iowrite32(chip->pch_gpio_reg.imask_reg, &chip->reg->imask); in pch_gpio_restore_reg_conf() 291 iowrite32(BIT(d->irq - chip->irq_base), &chip->reg->imask); in pch_irq_mask() 400 iowrite32(BIT(gpio_pins[chip->ioh]) - 1, &chip->reg->imask); in pch_gpio_probe()
|
D | gpio-ml-ioh.c | 27 u32 imask; member 174 ioread32(&chip->reg->regs[chip->ch].imask); in ioh_gpio_save_reg_conf() 200 &chip->reg->regs[chip->ch].imask); in ioh_gpio_restore_reg_conf() 319 &chip->reg->regs[chip->ch].imask); in ioh_irq_mask()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | gianfar.c | 387 gfar_write(®s->imask, IMASK_INIT_CLEAR); in gfar_ints_disable() 397 gfar_write(®s->imask, IMASK_DEFAULT); in gfar_ints_enable() 2335 u32 imask, ievent; in gfar_receive() local 2346 imask = gfar_read(&grp->regs->imask); in gfar_receive() 2347 imask &= IMASK_RX_DISABLED; in gfar_receive() 2348 gfar_write(&grp->regs->imask, imask); in gfar_receive() 2366 u32 imask; in gfar_transmit() local 2370 imask = gfar_read(&grp->regs->imask); in gfar_transmit() 2371 imask &= IMASK_TX_DISABLED; in gfar_transmit() 2372 gfar_write(&grp->regs->imask, imask); in gfar_transmit() [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-altera.c | 308 u32 imask = ALTR_I2C_ISR_RXOF | ALTR_I2C_ISR_ARB | ALTR_I2C_ISR_NACK; in altr_i2c_xfer_msg() local 329 imask |= ALTR_I2C_ISER_RXOF_EN | ALTR_I2C_ISER_RXRDY_EN; in altr_i2c_xfer_msg() 330 altr_i2c_int_enable(idev, imask, true); in altr_i2c_xfer_msg() 334 imask |= ALTR_I2C_ISR_TXRDY; in altr_i2c_xfer_msg() 335 altr_i2c_int_enable(idev, imask, true); in altr_i2c_xfer_msg() 343 altr_i2c_int_enable(idev, imask, false); in altr_i2c_xfer_msg()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
D | fman_memac.c | 193 u32 imask; /* 0x04C Interrupt mask */ member 401 tmp = ioread32be(®s->imask); in set_exception() 407 iowrite32be(tmp, ®s->imask); in set_exception() 640 u32 event, imask; in memac_err_exception() local 643 imask = ioread32be(®s->imask); in memac_err_exception() 650 event &= ((imask & MEMAC_ALL_ERRS_IMASK) >> 16); in memac_err_exception() 666 u32 event, imask; in memac_exception() local 669 imask = ioread32be(®s->imask); in memac_exception() 676 event &= ((imask & MEMAC_ALL_ERRS_IMASK) >> 16); in memac_exception()
|
D | fman_tgec.c | 118 u32 imask; /* 0x060 Interrupt mask */ member 265 iowrite32be(ioread32be(®s->imask) | exception_mask, ®s->imask); in init() 363 event &= ioread32be(®s->imask); in tgec_err_exception() 677 iowrite32be(ioread32be(®s->imask) | bit_mask, ®s->imask); in tgec_set_exception() 679 iowrite32be(ioread32be(®s->imask) & ~bit_mask, ®s->imask); in tgec_set_exception()
|
/kernel/linux/linux-5.10/arch/mips/sibyte/sb1250/ |
D | smp.c | 40 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()
|
D | irq.c | 225 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()
|
/kernel/linux/linux-5.10/arch/mips/sibyte/bcm1480/ |
D | smp.c | 51 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()
|
D | irq.c | 241 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()
|
/kernel/linux/linux-5.10/drivers/of/ |
D | irq.c | 98 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()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | sunxi-mmc.c | 973 u32 imask; in sunxi_mmc_enable_sdio_irq() local 980 imask = mmc_readl(host, REG_IMASK); in sunxi_mmc_enable_sdio_irq() 983 imask |= SDXC_SDIO_INTERRUPT; in sunxi_mmc_enable_sdio_irq() 986 imask &= ~SDXC_SDIO_INTERRUPT; in sunxi_mmc_enable_sdio_irq() 988 mmc_writel(host, REG_IMASK, imask); in sunxi_mmc_enable_sdio_irq() 1010 u32 imask = SDXC_INTERRUPT_ERROR_BIT; in sunxi_mmc_request() local 1035 imask |= SDXC_COMMAND_DONE; in sunxi_mmc_request() 1049 imask |= SDXC_AUTO_COMMAND_DONE; in sunxi_mmc_request() 1052 imask |= SDXC_DATA_OVER; in sunxi_mmc_request() 1060 imask |= SDXC_COMMAND_DONE; in sunxi_mmc_request() [all …]
|
D | pxamci.c | 59 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-fec.c | 330 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()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
D | epn.c | 564 u32 imask, ep_ier; in ast_vhub_epn_disable() local 579 imask = VHUB_EP_IRQ(ep->epn.g_idx); in ast_vhub_epn_disable() 581 ep_ier &= ~imask; in ast_vhub_epn_disable() 583 writel(imask, vhub->regs + AST_VHUB_EP_ACK_ISR); in ast_vhub_epn_disable() 604 u32 ep_conf, ep_ier, imask; in ast_vhub_epn_enable() local 742 imask = VHUB_EP_IRQ(ep->epn.g_idx); in ast_vhub_epn_enable() 743 writel(imask, vhub->regs + AST_VHUB_EP_ACK_ISR); in ast_vhub_epn_enable() 745 ep_ier |= imask; in ast_vhub_epn_enable()
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/irq/ |
D | Makefile | 5 obj-y += imask.o
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | hpilo.c | 78 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()
|