Home
last modified time | relevance | path

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

/drivers/mfd/
Dqcom-pm8xxx.c297 int irq_bit; in pm8xxx_irq_set_type() local
301 irq_bit = pmirq % 8; in pm8xxx_irq_set_type()
303 chip->config[pmirq] = (irq_bit << PM_IRQF_BITS_SHIFT) in pm8xxx_irq_set_type()
330 int irq_bit; in pm8xxx_irq_get_irqchip_state() local
338 irq_bit = pmirq % 8; in pm8xxx_irq_get_irqchip_state()
353 *state = !!(bits & BIT(irq_bit)); in pm8xxx_irq_get_irqchip_state()
408 int irq_bit, rc; in pm8821_irq_mask_ack() local
412 irq_bit = pmirq % 8; in pm8821_irq_mask_ack()
417 BIT(irq_bit), BIT(irq_bit)); in pm8821_irq_mask_ack()
425 BIT(irq_bit), BIT(irq_bit)); in pm8821_irq_mask_ack()
[all …]
/drivers/irqchip/
Dirq-apple-aic.c569 u32 irq_bit = BIT(irqd_to_hwirq(d)); in aic_ipi_mask() local
572 atomic_andnot(irq_bit, this_cpu_ptr(&aic_vipi_enable)); in aic_ipi_mask()
578 u32 irq_bit = BIT(irqd_to_hwirq(d)); in aic_ipi_unmask() local
580 atomic_or(irq_bit, this_cpu_ptr(&aic_vipi_enable)); in aic_ipi_unmask()
592 if (atomic_read(this_cpu_ptr(&aic_vipi_flag)) & irq_bit) in aic_ipi_unmask()
599 u32 irq_bit = BIT(irqd_to_hwirq(d)); in aic_ipi_send_mask() local
612 pending = atomic_fetch_or_release(irq_bit, per_cpu_ptr(&aic_vipi_flag, cpu)); in aic_ipi_send_mask()
620 if (!(pending & irq_bit) && in aic_ipi_send_mask()
621 (atomic_read(per_cpu_ptr(&aic_vipi_enable, cpu)) & irq_bit)) in aic_ipi_send_mask()
/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()
/drivers/pci/controller/
Dpcie-mediatek-gen3.c683 irq_hw_number_t irq_bit = PCIE_INTX_SHIFT; in mtk_pcie_irq_handler() local
688 for_each_set_bit_from(irq_bit, &status, PCI_NUM_INTX + in mtk_pcie_irq_handler()
691 irq_bit - PCIE_INTX_SHIFT); in mtk_pcie_irq_handler()
693 irq_bit = PCIE_MSI_SHIFT; in mtk_pcie_irq_handler()
694 for_each_set_bit_from(irq_bit, &status, PCIE_MSI_SET_NUM + in mtk_pcie_irq_handler()
696 mtk_pcie_msi_handler(port, irq_bit - PCIE_MSI_SHIFT); in mtk_pcie_irq_handler()
698 writel_relaxed(BIT(irq_bit), port->base + PCIE_INT_STATUS_REG); in mtk_pcie_irq_handler()
/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()
/drivers/gpu/drm/mediatek/
Dmtk_dsi.c534 static void mtk_dsi_irq_data_set(struct mtk_dsi *dsi, u32 irq_bit) in mtk_dsi_irq_data_set() argument
536 dsi->irq_data |= irq_bit; in mtk_dsi_irq_data_set()
539 static void mtk_dsi_irq_data_clear(struct mtk_dsi *dsi, u32 irq_bit) in mtk_dsi_irq_data_clear() argument
541 dsi->irq_data &= ~irq_bit; in mtk_dsi_irq_data_clear()
/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c1050 u32 irq_bit = BIT(i % GPIO_PER_REG); in armada_3700_pinctrl_resume() local
1063 if (!(mask & irq_bit)) in armada_3700_pinctrl_resume()
1077 if ((*irq_pol ^ level) & irq_bit) in armada_3700_pinctrl_resume()
1078 *irq_pol ^= irq_bit; in armada_3700_pinctrl_resume()
/drivers/net/fjes/
Dfjes_hw.c995 ulong irq_bit = 0; in fjes_hw_update_zone_task() local
1066 set_bit(epidx, &irq_bit); in fjes_hw_update_zone_task()
1147 if (test_bit(epidx, &irq_bit)) { in fjes_hw_update_zone_task()
1163 if (irq_bit || adapter->unshare_watch_bitmask) { in fjes_hw_update_zone_task()
/drivers/media/pci/cx25821/
Dcx25821-core.c243 .irq_bit = 8,
269 .irq_bit = 9,
294 .irq_bit = 11,
Dcx25821.h345 u32 irq_bit; member