Home
last modified time | relevance | path

Searched refs:intmask (Results 1 – 25 of 45) sorted by relevance

12

/linux/drivers/mmc/host/
A Dalcor.c411 intmask &= AU6601_INT_CMD_END; in alcor_cmd_irq_done()
413 if (!intmask) in alcor_cmd_irq_done()
455 if (!intmask) in alcor_cmd_irq_thread()
460 intmask); in alcor_cmd_irq_thread()
478 if (!intmask) in alcor_data_irq_done()
529 if (!intmask) in alcor_data_irq_thread()
534 intmask); in alcor_data_irq_thread()
573 u32 intmask, tmp; in alcor_irq_thread() local
580 if (unlikely(!intmask || AU6601_INT_ALL_MASK == intmask)) { in alcor_irq_thread()
598 alcor_cd_irq(host, intmask); in alcor_irq_thread()
[all …]
A Dsdhci.c3243 if (intmask & SDHCI_INT_TIMEOUT) in sdhci_cmd_irq()
3388 intmask); in sdhci_data_irq()
3469 if (!intmask || intmask == 0xffffffff) { in sdhci_irq()
3478 intmask = host->ops->irq(host, intmask); in sdhci_irq()
3479 if (!intmask) in sdhci_irq()
3519 sdhci_cmd_irq(host, intmask & SDHCI_INT_CMD_MASK, &intmask); in sdhci_irq()
3528 if (intmask & SDHCI_INT_RETUNE) in sdhci_irq()
3542 if (intmask) { in sdhci_irq()
3543 unexpected |= intmask; in sdhci_irq()
3925 mask = intmask & host->cqe_ier; in sdhci_cqe_irq()
[all …]
A Dbcm2835.c861 if (!(intmask & SDHSTS_ERROR_MASK)) in bcm2835_check_cmd_error()
868 if (intmask & SDHSTS_CRC7_ERROR) { in bcm2835_check_cmd_error()
894 if (intmask & SDHSTS_REW_TIME_OUT) in bcm2835_check_data_error()
925 bcm2835_check_data_error(host, intmask); in bcm2835_data_irq()
978 u32 intmask; in bcm2835_irq() local
982 intmask = readl(host->ioaddr + SDHSTS); in bcm2835_irq()
990 if (intmask & SDHSTS_BLOCK_IRPT) { in bcm2835_irq()
991 bcm2835_check_data_error(host, intmask); in bcm2835_irq()
996 if (intmask & SDHSTS_BUSY_IRPT) { in bcm2835_irq()
1009 if ((intmask & SDHSTS_DATA_FLAG) && in bcm2835_irq()
[all …]
A Dsdhci-brcmstb.c159 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()
A Dvia-sdmmc.c834 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()
A Dsdhci-of-esdhc.c499 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()
A Dsdhci_am654.c388 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()
A Dsdhci-omap.c887 static u32 sdhci_omap_irq(struct sdhci_host *host, u32 intmask) in sdhci_omap_irq() argument
893 (intmask & CMD_ERR_MASK)) { in sdhci_omap_irq()
901 if (intmask & SDHCI_INT_TIMEOUT) in sdhci_omap_irq()
913 sdhci_writel(host, intmask & CMD_MASK, SDHCI_INT_STATUS); in sdhci_omap_irq()
914 intmask &= ~CMD_MASK; in sdhci_omap_irq()
917 return intmask; in sdhci_omap_irq()
A Dsdhci.h631 u32 (*irq)(struct sdhci_host *host, u32 intmask);
650 void (*adma_workaround)(struct sdhci_host *host, u32 intmask);
802 bool sdhci_cqe_irq(struct sdhci_host *host, u32 intmask, int *cmd_error,
A Dsdhci-pci-gli.c749 static u32 sdhci_gl9763e_cqhci_irq(struct sdhci_host *host, u32 intmask) in sdhci_gl9763e_cqhci_irq() argument
754 if (!sdhci_cqe_irq(host, intmask, &cmd_error, &data_error)) in sdhci_gl9763e_cqhci_irq()
755 return intmask; in sdhci_gl9763e_cqhci_irq()
757 cqhci_irq(host->mmc, intmask, cmd_error, data_error); in sdhci_gl9763e_cqhci_irq()
A Dsdhci-of-arasan.c410 static u32 sdhci_arasan_cqhci_irq(struct sdhci_host *host, u32 intmask) in sdhci_arasan_cqhci_irq() argument
415 if (!sdhci_cqe_irq(host, intmask, &cmd_error, &data_error)) in sdhci_arasan_cqhci_irq()
416 return intmask; in sdhci_arasan_cqhci_irq()
418 cqhci_irq(host->mmc, intmask, cmd_error, data_error); in sdhci_arasan_cqhci_irq()
A Dcqhci.h313 irqreturn_t cqhci_irq(struct mmc_host *mmc, u32 intmask, int cmd_error,
/linux/drivers/net/arcnet/
A Darcnet.c592 lp->hw.intmask(dev, 0); in arcnet_open()
599 lp->hw.intmask(dev, lp->intmask); in arcnet_open()
629 lp->hw.intmask(dev, 0); in arcnet_close()
733 lp->hw.intmask(dev, 0); in arcnet_send_packet()
769 lp->hw.intmask(dev, 0); in arcnet_send_packet()
773 lp->hw.intmask(dev, lp->intmask); in arcnet_send_packet()
835 lp->hw.intmask(dev, 0); in arcnet_timeout()
837 lp->hw.intmask(dev, lp->intmask); in arcnet_timeout()
882 lp->hw.intmask(dev, 0); in arcnet_interrupt()
1107 lp->hw.intmask(dev, 0); in arcnet_interrupt()
[all …]
A Darcdevice.h245 intmask; /* current value of INTMASK register */ member
320 void (*intmask)(struct net_device *dev, int mask); member
/linux/drivers/char/tpm/
A Dtpm_tis_core.c412 u32 intmask; in disable_interrupts() local
420 intmask = 0; in disable_interrupts()
422 intmask &= ~TPM_GLOBAL_INT_ENABLE; in disable_interrupts()
778 intmask | TPM_GLOBAL_INT_ENABLE); in tpm_tis_probe_irq_single()
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()
928 u32 intmask; in tpm_tis_core_init() local
996 intmask &= ~TPM_GLOBAL_INT_ENABLE; in tpm_tis_core_init()
1081 tpm_tis_probe_irq(chip, intmask); in tpm_tis_core_init()
1107 u32 intmask; in tpm_tis_reenable_interrupts() local
[all …]
/linux/drivers/gpio/
A Dgpio-altera.c42 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()
/linux/drivers/net/phy/
A Dsmsc.c61 u16 intmask = 0; in smsc_phy_config_intr() local
69 intmask = MII_LAN83C185_ISF_INT4 | MII_LAN83C185_ISF_INT6; in smsc_phy_config_intr()
71 intmask |= MII_LAN83C185_ISF_INT7; in smsc_phy_config_intr()
72 rc = phy_write(phydev, MII_LAN83C185_IM, intmask); in smsc_phy_config_intr()
74 rc = phy_write(phydev, MII_LAN83C185_IM, intmask); in smsc_phy_config_intr()
/linux/drivers/char/tpm/st33zp24/
A Dst33zp24.c514 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()
/linux/drivers/char/hw_random/
A Dks-sa-rng.c77 u32 intmask; member
140 writel(0, &ks_sa_rng->reg_rng->intmask); in ks_sa_rng_init()
/linux/drivers/pinctrl/intel/
A Dpinctrl-intel.c94 u32 *intmask; member
1435 u32 *intmask, *hostown; in intel_pinctrl_pm_init() local
1437 intmask = devm_kcalloc(pctrl->dev, community->ngpps, in intel_pinctrl_pm_init()
1438 sizeof(*intmask), GFP_KERNEL); in intel_pinctrl_pm_init()
1439 if (!intmask) in intel_pinctrl_pm_init()
1442 communities[i].intmask = intmask; in intel_pinctrl_pm_init()
1687 communities[i].intmask[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq()
1813 intel_restore_intmask(pctrl, i, base, gpp, communities[i].intmask[gpp]); in intel_pinctrl_resume_noirq()
/linux/arch/mips/include/asm/sgi/
A Dpi1.h51 volatile u8 intmask; /* enabled low, reset high*/ member
/linux/drivers/memory/tegra/
A Dtegra20-emc.c238 u32 intmask = EMC_REFRESH_OVERFLOW_INT; in tegra_emc_isr() local
241 status = readl_relaxed(emc->regs + EMC_INTSTATUS) & intmask; in tegra_emc_isr()
599 u32 intmask = EMC_REFRESH_OVERFLOW_INT; in emc_setup_hw() local
623 writel_relaxed(intmask, emc->regs + EMC_INTMASK); in emc_setup_hw()
624 writel_relaxed(intmask, emc->regs + EMC_INTSTATUS); in emc_setup_hw()
A Dtegra30-emc.c404 u32 intmask = EMC_REFRESH_OVERFLOW_INT; in tegra_emc_isr() local
407 status = readl_relaxed(emc->regs + EMC_INTSTATUS) & intmask; in tegra_emc_isr()
1040 u32 intmask = EMC_REFRESH_OVERFLOW_INT; in emc_setup_hw() local
1068 writel_relaxed(intmask, emc->regs + EMC_INTMASK); in emc_setup_hw()
/linux/include/soc/tegra/
A Dmc.h200 u32 intmask; member
/linux/drivers/net/wireless/broadcom/brcm80211/include/
A Dchipcommon.h27 u32 intmask; member

Completed in 74 milliseconds

12