/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | alcor.c | 383 static void alcor_err_irq(struct alcor_sdmmc_host *host, u32 intmask) in alcor_err_irq() argument 385 dev_dbg(host->dev, "ERR IRQ %x\n", intmask); in alcor_err_irq() 388 if (intmask & AU6601_INT_CMD_TIMEOUT_ERR) in alcor_err_irq() 395 if (intmask & AU6601_INT_DATA_TIMEOUT_ERR) in alcor_err_irq() 407 static int alcor_cmd_irq_done(struct alcor_sdmmc_host *host, u32 intmask) in alcor_cmd_irq_done() argument 411 intmask &= AU6601_INT_CMD_END; in alcor_cmd_irq_done() 413 if (!intmask) in alcor_cmd_irq_done() 451 static void alcor_cmd_irq_thread(struct alcor_sdmmc_host *host, u32 intmask) in alcor_cmd_irq_thread() argument 453 intmask &= AU6601_INT_CMD_END; in alcor_cmd_irq_thread() 455 if (!intmask) in alcor_cmd_irq_thread() [all …]
|
D | sdhci.c | 3196 static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask, u32 *intmask_p) in sdhci_cmd_irq() argument 3199 if (intmask & SDHCI_INT_AUTO_CMD_ERR && host->data_cmd) { in sdhci_cmd_irq() 3222 mmc_hostname(host->mmc), (unsigned)intmask); in sdhci_cmd_irq() 3227 if (intmask & (SDHCI_INT_TIMEOUT | SDHCI_INT_CRC | in sdhci_cmd_irq() 3229 if (intmask & SDHCI_INT_TIMEOUT) in sdhci_cmd_irq() 3236 (intmask & (SDHCI_INT_CRC | SDHCI_INT_TIMEOUT)) == in sdhci_cmd_irq() 3248 if (intmask & SDHCI_INT_AUTO_CMD_ERR) { in sdhci_cmd_irq() 3262 if (intmask & SDHCI_INT_RESPONSE) in sdhci_cmd_irq() 3298 static void sdhci_data_irq(struct sdhci_host *host, u32 intmask) in sdhci_data_irq() argument 3303 if (intmask & SDHCI_INT_DATA_AVAIL) { in sdhci_data_irq() [all …]
|
D | bcm2835.c | 857 static bool bcm2835_check_cmd_error(struct bcm2835_host *host, u32 intmask) in bcm2835_check_cmd_error() argument 861 if (!(intmask & SDHSTS_ERROR_MASK)) in bcm2835_check_cmd_error() 867 dev_err(dev, "sdhost_busy_irq: intmask %08x\n", intmask); in bcm2835_check_cmd_error() 868 if (intmask & SDHSTS_CRC7_ERROR) { in bcm2835_check_cmd_error() 870 } else if (intmask & (SDHSTS_CRC16_ERROR | in bcm2835_check_cmd_error() 876 } else if (intmask & SDHSTS_REW_TIME_OUT) { in bcm2835_check_cmd_error() 881 } else if (intmask & SDHSTS_CMD_TIME_OUT) { in bcm2835_check_cmd_error() 888 static void bcm2835_check_data_error(struct bcm2835_host *host, u32 intmask) in bcm2835_check_data_error() argument 892 if (intmask & (SDHSTS_CRC16_ERROR | SDHSTS_FIFO_ERROR)) in bcm2835_check_data_error() 894 if (intmask & SDHSTS_REW_TIME_OUT) in bcm2835_check_data_error() [all …]
|
D | sdhci-brcmstb.c | 159 static u32 sdhci_brcmstb_cqhci_irq(struct sdhci_host *host, u32 intmask) in sdhci_brcmstb_cqhci_irq() argument 164 if (!sdhci_cqe_irq(host, intmask, &cmd_error, &data_error)) in sdhci_brcmstb_cqhci_irq() 165 return intmask; in sdhci_brcmstb_cqhci_irq() 167 cqhci_irq(host->mmc, intmask, cmd_error, data_error); in sdhci_brcmstb_cqhci_irq()
|
D | via-sdmmc.c | 834 static void via_sdc_cmd_isr(struct via_crdr_mmc_host *host, u16 intmask) in via_sdc_cmd_isr() argument 836 BUG_ON(intmask == 0); in via_sdc_cmd_isr() 841 mmc_hostname(host->mmc), intmask); in via_sdc_cmd_isr() 845 if (intmask & VIA_CRDR_SDSTS_CRTO) in via_sdc_cmd_isr() 847 else if (intmask & VIA_CRDR_SDSTS_SC) in via_sdc_cmd_isr() 852 else if (intmask & VIA_CRDR_SDSTS_CRD) in via_sdc_cmd_isr() 856 static void via_sdc_data_isr(struct via_crdr_mmc_host *host, u16 intmask) in via_sdc_data_isr() argument 858 BUG_ON(intmask == 0); in via_sdc_data_isr() 863 if (intmask & VIA_CRDR_SDSTS_DT) in via_sdc_data_isr() 865 else if (intmask & (VIA_CRDR_SDSTS_RC | VIA_CRDR_SDSTS_WC)) in via_sdc_data_isr()
|
D | sdhci-of-esdhc.c | 499 static void esdhc_of_adma_workaround(struct sdhci_host *host, u32 intmask) in esdhc_of_adma_workaround() argument 507 applicable = (intmask & SDHCI_INT_DATA_END) && in esdhc_of_adma_workaround() 508 (intmask & SDHCI_INT_BLK_GAP) && in esdhc_of_adma_workaround() 1207 static u32 esdhc_irq(struct sdhci_host *host, u32 intmask) in esdhc_irq() argument 1218 intmask & SDHCI_INT_DATA_END) { in esdhc_irq() 1219 intmask &= ~SDHCI_INT_DATA_END; in esdhc_irq() 1224 return intmask; in esdhc_irq()
|
D | sdhci_am654.c | 388 static u32 sdhci_am654_cqhci_irq(struct sdhci_host *host, u32 intmask) in sdhci_am654_cqhci_irq() argument 393 if (!sdhci_cqe_irq(host, intmask, &cmd_error, &data_error)) in sdhci_am654_cqhci_irq() 394 return intmask; in sdhci_am654_cqhci_irq() 396 cqhci_irq(host->mmc, intmask, cmd_error, data_error); in sdhci_am654_cqhci_irq()
|
D | sdhci-pci-gli.c | 677 static u32 sdhci_gl9763e_cqhci_irq(struct sdhci_host *host, u32 intmask) in sdhci_gl9763e_cqhci_irq() argument 682 if (!sdhci_cqe_irq(host, intmask, &cmd_error, &data_error)) in sdhci_gl9763e_cqhci_irq() 683 return intmask; in sdhci_gl9763e_cqhci_irq() 685 cqhci_irq(host->mmc, intmask, cmd_error, data_error); in sdhci_gl9763e_cqhci_irq()
|
D | sdhci-omap.c | 829 static u32 sdhci_omap_irq(struct sdhci_host *host, u32 intmask) in sdhci_omap_irq() argument 835 (intmask & CMD_ERR_MASK)) { in sdhci_omap_irq() 843 if (intmask & SDHCI_INT_TIMEOUT) in sdhci_omap_irq() 855 sdhci_writel(host, intmask & CMD_MASK, SDHCI_INT_STATUS); in sdhci_omap_irq() 856 intmask &= ~CMD_MASK; in sdhci_omap_irq() 859 return intmask; in sdhci_omap_irq()
|
D | sdhci.h | 628 u32 (*irq)(struct sdhci_host *host, u32 intmask); 647 void (*adma_workaround)(struct sdhci_host *host, u32 intmask); 799 bool sdhci_cqe_irq(struct sdhci_host *host, u32 intmask, int *cmd_error,
|
D | cqhci.h | 231 irqreturn_t cqhci_irq(struct mmc_host *mmc, u32 intmask, int cmd_error,
|
/kernel/linux/linux-5.10/drivers/net/arcnet/ |
D | arcnet.c | 546 lp->hw.intmask(dev, 0); in arcnet_open() 552 lp->intmask = NORXflag | RECONflag; in arcnet_open() 553 lp->hw.intmask(dev, lp->intmask); in arcnet_open() 583 lp->hw.intmask(dev, 0); in arcnet_close() 683 lp->hw.intmask(dev, 0); in arcnet_send_packet() 719 lp->hw.intmask(dev, 0); in arcnet_send_packet() 722 lp->intmask |= TXFREEflag | EXCNAKflag; in arcnet_send_packet() 723 lp->hw.intmask(dev, lp->intmask); in arcnet_send_packet() 742 lp->hw.status(dev), lp->intmask, lp->next_tx, lp->cur_tx); in go_tx() 760 lp->intmask |= TXFREEflag | EXCNAKflag; in go_tx() [all …]
|
D | arcdevice.h | 245 intmask; /* current value of INTMASK register */ member 316 void (*intmask)(struct net_device *dev, int mask); member
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
D | tpm_tis_core.c | 412 u32 intmask; in disable_interrupts() local 418 rc = tpm_tis_read32(priv, TPM_INT_ENABLE(priv->locality), &intmask); in disable_interrupts() 420 intmask = 0; in disable_interrupts() 422 intmask &= ~TPM_GLOBAL_INT_ENABLE; in disable_interrupts() 423 rc = tpm_tis_write32(priv, TPM_INT_ENABLE(priv->locality), intmask); in disable_interrupts() 742 static int tpm_tis_probe_irq_single(struct tpm_chip *chip, u32 intmask, in tpm_tis_probe_irq_single() argument 778 intmask | TPM_GLOBAL_INT_ENABLE); in tpm_tis_probe_irq_single() 810 static void tpm_tis_probe_irq(struct tpm_chip *chip, u32 intmask) in tpm_tis_probe_irq() argument 824 if (!tpm_tis_probe_irq_single(chip, intmask, 0, in tpm_tis_probe_irq() 827 } else if (!tpm_tis_probe_irq_single(chip, intmask, 0, in tpm_tis_probe_irq() [all …]
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-altera.c | 42 u32 intmask; in altera_gpio_irq_unmask() local 48 intmask = readl(mm_gc->regs + ALTERA_GPIO_IRQ_MASK); in altera_gpio_irq_unmask() 50 intmask |= BIT(irqd_to_hwirq(d)); in altera_gpio_irq_unmask() 51 writel(intmask, mm_gc->regs + ALTERA_GPIO_IRQ_MASK); in altera_gpio_irq_unmask() 60 u32 intmask; in altera_gpio_irq_mask() local 66 intmask = readl(mm_gc->regs + ALTERA_GPIO_IRQ_MASK); in altera_gpio_irq_mask() 68 intmask &= ~BIT(irqd_to_hwirq(d)); in altera_gpio_irq_mask() 69 writel(intmask, mm_gc->regs + ALTERA_GPIO_IRQ_MASK); in altera_gpio_irq_mask()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
D | smsc.c | 54 u16 intmask = 0; in smsc_phy_config_intr() local 58 intmask = MII_LAN83C185_ISF_INT4 | MII_LAN83C185_ISF_INT6; in smsc_phy_config_intr() 60 intmask |= MII_LAN83C185_ISF_INT7; in smsc_phy_config_intr() 63 rc = phy_write(phydev, MII_LAN83C185_IM, intmask); in smsc_phy_config_intr()
|
/kernel/linux/linux-5.10/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 514 u8 intmask = 0; in st33zp24_probe() local 558 intmask |= TPM_INTF_CMD_READY_INT in st33zp24_probe() 563 &intmask, 1); in st33zp24_probe() 567 intmask = TPM_GLOBAL_INT_ENABLE; in st33zp24_probe() 569 &intmask, 1); in st33zp24_probe()
|
/kernel/linux/linux-5.10/drivers/memory/tegra/ |
D | tegra20-emc.c | 164 u32 intmask = EMC_REFRESH_OVERFLOW_INT; in tegra_emc_isr() local 167 status = readl_relaxed(emc->regs + EMC_INTSTATUS) & intmask; in tegra_emc_isr() 410 u32 intmask = EMC_REFRESH_OVERFLOW_INT; in emc_setup_hw() local 431 writel_relaxed(intmask, emc->regs + EMC_INTMASK); in emc_setup_hw() 432 writel_relaxed(intmask, emc->regs + EMC_INTSTATUS); in emc_setup_hw()
|
D | mc.c | 431 status = mc_readl(mc, MC_INTSTATUS) & mc->soc->intmask; in tegra_mc_irq() 528 status = mc_readl(mc, MC_INTSTATUS) & mc->soc->intmask; in tegra20_mc_irq() 669 mc_writel(mc, mc->soc->intmask, MC_INTMASK); in tegra_mc_probe()
|
D | tegra20.c | 288 .intmask = MC_INT_SECURITY_VIOLATION | MC_INT_INVALID_GART_PAGE |
|
D | tegra30-emc.c | 378 u32 intmask = EMC_REFRESH_OVERFLOW_INT; in tegra_emc_isr() local 381 status = readl_relaxed(emc->regs + EMC_INTSTATUS) & intmask; in tegra_emc_isr() 1009 u32 intmask = EMC_REFRESH_OVERFLOW_INT; in emc_setup_hw() local 1037 writel_relaxed(intmask, emc->regs + EMC_INTMASK); in emc_setup_hw()
|
/kernel/linux/linux-5.10/drivers/char/hw_random/ |
D | ks-sa-rng.c | 77 u32 intmask; member 140 writel(0, &ks_sa_rng->reg_rng->intmask); in ks_sa_rng_init()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/sgi/ |
D | pi1.h | 51 volatile u8 intmask; /* enabled low, reset high*/ member
|
/kernel/linux/linux-5.10/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 84 u32 *intmask; member 1407 u32 *intmask, *hostown; in intel_pinctrl_pm_init() local 1409 intmask = devm_kcalloc(pctrl->dev, community->ngpps, in intel_pinctrl_pm_init() 1410 sizeof(*intmask), GFP_KERNEL); in intel_pinctrl_pm_init() 1411 if (!intmask) in intel_pinctrl_pm_init() 1414 communities[i].intmask = intmask; in intel_pinctrl_pm_init() 1632 communities[i].intmask[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq() 1758 intel_restore_intmask(pctrl, i, base, gpp, communities[i].intmask[gpp]); in intel_pinctrl_resume_noirq()
|
/kernel/linux/linux-5.10/include/soc/tegra/ |
D | mc.h | 158 u32 intmask; member
|