Searched refs:irq_bit (Results 1 – 11 of 11) sorted by relevance
/drivers/mfd/ |
D | qcom-pm8xxx.c | 291 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 …]
|
/drivers/irqchip/ |
D | irq-apple-aic.c | 756 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()
|
/drivers/gpio/ |
D | gpio-sodaville.c | 80 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/ |
D | pcie-mediatek-gen3.c | 736 irq_hw_number_t irq_bit = PCIE_INTX_SHIFT; in mtk_pcie_irq_handler() local 741 for_each_set_bit_from(irq_bit, &status, PCI_NUM_INTX + in mtk_pcie_irq_handler() 744 irq_bit - PCIE_INTX_SHIFT); in mtk_pcie_irq_handler() 746 irq_bit = PCIE_MSI_SHIFT; in mtk_pcie_irq_handler() 747 for_each_set_bit_from(irq_bit, &status, PCIE_MSI_SET_NUM + in mtk_pcie_irq_handler() 749 mtk_pcie_msi_handler(pcie, irq_bit - PCIE_MSI_SHIFT); in mtk_pcie_irq_handler() 751 writel_relaxed(BIT(irq_bit), pcie->base + PCIE_INT_STATUS_REG); in mtk_pcie_irq_handler()
|
/drivers/spmi/ |
D | spmi-pmic-arb.c | 741 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()
|
/drivers/input/serio/ |
D | i8042.c | 404 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/ |
D | mtk_dsi.c | 546 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()
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 1049 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()
|
/drivers/net/fjes/ |
D | fjes_hw.c | 996 ulong irq_bit = 0; in fjes_hw_update_zone_task() local 1067 set_bit(epidx, &irq_bit); in fjes_hw_update_zone_task() 1148 if (test_bit(epidx, &irq_bit)) { in fjes_hw_update_zone_task() 1164 if (irq_bit || adapter->unshare_watch_bitmask) { in fjes_hw_update_zone_task()
|
/drivers/media/pci/cx25821/ |
D | cx25821-core.c | 243 .irq_bit = 8, 269 .irq_bit = 9, 294 .irq_bit = 11,
|
D | cx25821.h | 345 u32 irq_bit; member
|