Home
last modified time | relevance | path

Searched refs:irq_bit (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/arch/m68k/mac/
Dvia.c385 unsigned char irq_bit, events; in via1_irq() local
392 irq_bit = VIA_TIMER_1_INT; in via1_irq()
393 if (events & irq_bit) { in via1_irq()
397 via1[vIFR] = irq_bit; in via1_irq()
401 events &= ~irq_bit; in via1_irq()
407 irq_bit = 1; in via1_irq()
409 if (events & irq_bit) { in via1_irq()
410 via1[vIFR] = irq_bit; in via1_irq()
414 irq_bit <<= 1; in via1_irq()
415 } while (events >= irq_bit); in via1_irq()
[all …]
Dbaboon.c46 short events, irq_bit; in baboon_irq() local
51 irq_bit = 1; in baboon_irq()
53 if (events & irq_bit) { in baboon_irq()
54 events &= ~irq_bit; in baboon_irq()
58 irq_bit <<= 1; in baboon_irq()
Dpsc.c122 unsigned char irq_bit, events; in psc_irq() local
129 irq_bit = 1; in psc_irq()
131 if (events & irq_bit) { in psc_irq()
132 psc_write_byte(pIFR, irq_bit); in psc_irq()
136 irq_bit <<= 1; in psc_irq()
137 } while (events >= irq_bit); in psc_irq()
Doss.c72 u16 events, irq_bit; in oss_nubus_irq() local
77 irq_bit = OSS_IP_NUBUS5; in oss_nubus_irq()
79 if (events & irq_bit) { in oss_nubus_irq()
80 events &= ~irq_bit; in oss_nubus_irq()
84 irq_bit >>= 1; in oss_nubus_irq()
/linux-6.1.9/drivers/mfd/
Dqcom-pm8xxx.c291 int irq_bit; in pm8xxx_irq_set_type() local
295 irq_bit = pmirq % 8; in pm8xxx_irq_set_type()
297 chip->config[pmirq] = (irq_bit << PM_IRQF_BITS_SHIFT) in pm8xxx_irq_set_type()
324 int irq_bit; in pm8xxx_irq_get_irqchip_state() local
332 irq_bit = pmirq % 8; in pm8xxx_irq_get_irqchip_state()
347 *state = !!(bits & BIT(irq_bit)); in pm8xxx_irq_get_irqchip_state()
402 int irq_bit, rc; in pm8821_irq_mask_ack() local
406 irq_bit = pmirq % 8; in pm8821_irq_mask_ack()
411 BIT(irq_bit), BIT(irq_bit)); in pm8821_irq_mask_ack()
419 BIT(irq_bit), BIT(irq_bit)); in pm8821_irq_mask_ack()
[all …]
/linux-6.1.9/sound/soc/amd/acp/
Dacp-i2s.c476 unsigned int irq_bit = 0; in acp_i2s_startup() local
481 irq_bit = BIT(I2S_TX_THRESHOLD(rsrc->offset)); in acp_i2s_startup()
485 irq_bit = BIT(I2S_RX_THRESHOLD(rsrc->offset)); in acp_i2s_startup()
492 irq_bit = BIT(BT_TX_THRESHOLD(rsrc->offset)); in acp_i2s_startup()
496 irq_bit = BIT(BT_RX_THRESHOLD(rsrc->offset)); in acp_i2s_startup()
503 irq_bit = BIT(HS_TX_THRESHOLD(rsrc->offset)); in acp_i2s_startup()
507 irq_bit = BIT(HS_RX_THRESHOLD(rsrc->offset)); in acp_i2s_startup()
520 stream->irq_bit = irq_bit; in acp_i2s_startup()
Dacp-platform.c109 if (ext_intr_stat & stream->irq_bit) { in i2s_irq_handler()
110 writel(stream->irq_bit, in i2s_irq_handler()
116 if (ext_intr_stat1 & stream->irq_bit) { in i2s_irq_handler()
117 writel(stream->irq_bit, ACP_EXTERNAL_INTR_STAT(adata, in i2s_irq_handler()
Dacp-pdm.c158 stream->irq_bit = BIT(PDM_DMA_STAT); in acp_dmic_dai_startup()
Damd.h104 int irq_bit; member
/linux-6.1.9/arch/mips/pci/
Dmsi-octeon.c249 int irq_bit = msi_number & 0x3f; in octeon_irq_msi_enable_pcie() local
253 en |= 1ull << irq_bit; in octeon_irq_msi_enable_pcie()
265 int irq_bit = msi_number & 0x3f; in octeon_irq_msi_disable_pcie() local
269 en &= ~(1ull << irq_bit); in octeon_irq_msi_disable_pcie()
/linux-6.1.9/drivers/gpio/
Dgpio-sodaville.c80 int irq_bit; in sdv_gpio_pub_irq_handler() local
86 for_each_set_bit(irq_bit, &irq_stat, 32) in sdv_gpio_pub_irq_handler()
87 generic_handle_domain_irq(sd->id, irq_bit); in sdv_gpio_pub_irq_handler()
/linux-6.1.9/drivers/irqchip/
Dirq-apple-aic.c756 u32 irq_bit = BIT(irqd_to_hwirq(d)); in aic_ipi_mask() local
759 atomic_andnot(irq_bit, this_cpu_ptr(&aic_vipi_enable)); in aic_ipi_mask()
765 u32 irq_bit = BIT(irqd_to_hwirq(d)); in aic_ipi_unmask() local
767 atomic_or(irq_bit, this_cpu_ptr(&aic_vipi_enable)); in aic_ipi_unmask()
779 if (atomic_read(this_cpu_ptr(&aic_vipi_flag)) & irq_bit) { in aic_ipi_unmask()
790 u32 irq_bit = BIT(irqd_to_hwirq(d)); in aic_ipi_send_mask() local
803 pending = atomic_fetch_or_release(irq_bit, per_cpu_ptr(&aic_vipi_flag, cpu)); in aic_ipi_send_mask()
811 if (!(pending & irq_bit) && in aic_ipi_send_mask()
812 (atomic_read(per_cpu_ptr(&aic_vipi_enable, cpu)) & irq_bit)) { in aic_ipi_send_mask()
/linux-6.1.9/drivers/pci/controller/
Dpcie-mediatek-gen3.c721 irq_hw_number_t irq_bit = PCIE_INTX_SHIFT; in mtk_pcie_irq_handler() local
726 for_each_set_bit_from(irq_bit, &status, PCI_NUM_INTX + in mtk_pcie_irq_handler()
729 irq_bit - PCIE_INTX_SHIFT); in mtk_pcie_irq_handler()
731 irq_bit = PCIE_MSI_SHIFT; in mtk_pcie_irq_handler()
732 for_each_set_bit_from(irq_bit, &status, PCIE_MSI_SET_NUM + in mtk_pcie_irq_handler()
734 mtk_pcie_msi_handler(pcie, irq_bit - PCIE_MSI_SHIFT); in mtk_pcie_irq_handler()
736 writel_relaxed(BIT(irq_bit), pcie->base + PCIE_INT_STATUS_REG); in mtk_pcie_irq_handler()
/linux-6.1.9/drivers/spmi/
Dspmi-pmic-arb.c741 u8 irq_bit = BIT(hwirq_to_irq(d->hwirq)); in qpnpint_irq_set_type() local
745 type.type = irq_bit; in qpnpint_irq_set_type()
747 type.polarity_high = irq_bit; in qpnpint_irq_set_type()
749 type.polarity_low = irq_bit; in qpnpint_irq_set_type()
758 type.polarity_high = irq_bit; in qpnpint_irq_set_type()
760 type.polarity_low = irq_bit; in qpnpint_irq_set_type()
765 mask.type = irq_bit; in qpnpint_irq_set_type()
766 mask.polarity_high = irq_bit; in qpnpint_irq_set_type()
767 mask.polarity_low = irq_bit; in qpnpint_irq_set_type()
/linux-6.1.9/arch/sparc/kernel/
Dperf_event.c169 int irq_bit; member
606 .irq_bit = 0x30,
772 .irq_bit = PCR_N4_TOE,
796 .irq_bit = PCR_N4_TOE,
1062 sparc_pmu->hv_bit | sparc_pmu->irq_bit); in sparc_pmu_disable()
1465 hwc->config_base = sparc_pmu->irq_bit; in sparc_pmu_event_init()
1648 if (sparc_pmu->irq_bit && in perf_event_nmi_handler()
1658 if (sparc_pmu->irq_bit && in perf_event_nmi_handler()
/linux-6.1.9/drivers/input/serio/
Di8042.c404 int irq_bit; in i8042_port_close() local
409 irq_bit = I8042_CTR_AUXINT; in i8042_port_close()
413 irq_bit = I8042_CTR_KBDINT; in i8042_port_close()
418 i8042_ctr &= ~irq_bit; in i8042_port_close()
425 i8042_ctr |= irq_bit; in i8042_port_close()
/linux-6.1.9/arch/x86/kernel/
Dvm86_32.c735 int irq_bit; in irq_handler() local
739 irq_bit = 1 << intno; in irq_handler()
740 if ((irqbits & irq_bit) || !vm86_irqs[intno].tsk) in irq_handler()
742 irqbits |= irq_bit; in irq_handler()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dsi.c546 static void mtk_dsi_irq_data_set(struct mtk_dsi *dsi, u32 irq_bit) in mtk_dsi_irq_data_set() argument
548 dsi->irq_data |= irq_bit; in mtk_dsi_irq_data_set()
551 static void mtk_dsi_irq_data_clear(struct mtk_dsi *dsi, u32 irq_bit) in mtk_dsi_irq_data_clear() argument
553 dsi->irq_data &= ~irq_bit; in mtk_dsi_irq_data_clear()
/linux-6.1.9/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c1049 u32 irq_bit = BIT(i % GPIO_PER_REG); in armada_3700_pinctrl_resume() local
1062 if (!(mask & irq_bit)) in armada_3700_pinctrl_resume()
1076 if ((*irq_pol ^ level) & irq_bit) in armada_3700_pinctrl_resume()
1077 *irq_pol ^= irq_bit; in armada_3700_pinctrl_resume()
/linux-6.1.9/drivers/net/fjes/
Dfjes_hw.c973 ulong irq_bit = 0; in fjes_hw_update_zone_task() local
1044 set_bit(epidx, &irq_bit); in fjes_hw_update_zone_task()
1125 if (test_bit(epidx, &irq_bit)) { in fjes_hw_update_zone_task()
1141 if (irq_bit || adapter->unshare_watch_bitmask) { in fjes_hw_update_zone_task()
/linux-6.1.9/drivers/media/pci/cx25821/
Dcx25821.h345 u32 irq_bit; member
Dcx25821-core.c243 .irq_bit = 8,
269 .irq_bit = 9,
294 .irq_bit = 11,