Home
last modified time | relevance | path

Searched refs:IRQ_TYPE_SENSE_MASK (Results 1 – 25 of 78) sorted by relevance

1234

/openbmc/linux/kernel/irq/
H A Dsettings.h75 return desc->status_use_accessors & IRQ_TYPE_SENSE_MASK; in irq_settings_get_trigger_mask()
81 desc->status_use_accessors &= ~IRQ_TYPE_SENSE_MASK; in irq_settings_set_trigger_mask()
82 desc->status_use_accessors |= mask & IRQ_TYPE_SENSE_MASK; in irq_settings_set_trigger_mask()
/openbmc/linux/drivers/irqchip/
H A Dirq-pic32-evic.c143 if (priv->irq_types[hw] & IRQ_TYPE_SENSE_MASK) { in pic32_irq_domain_map()
177 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in pic32_irq_domain_xlate()
179 priv->irq_types[intspec[0]] = intspec[1] & IRQ_TYPE_SENSE_MASK; in pic32_irq_domain_xlate()
H A Dirq-meson-gpio.c311 type &= IRQ_TYPE_SENSE_MASK; in meson8_gpio_irq_set_type()
359 type &= IRQ_TYPE_SENSE_MASK; in meson_s4_gpio_irq_set_type()
383 unsigned int sense = type & IRQ_TYPE_SENSE_MASK; in meson_gpio_irq_type_output()
385 type &= ~IRQ_TYPE_SENSE_MASK; in meson_gpio_irq_type_output()
H A Dirq-atmel-aic-common.c104 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in aic_common_irq_domain_xlate()
251 gc->chip_types[0].type = IRQ_TYPE_SENSE_MASK; in aic_common_of_init()
H A Dirq-csky-mpintc.c106 switch (type & IRQ_TYPE_SENSE_MASK) { in csky_mpintc_set_type()
200 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in csky_irq_domain_xlate_cells()
H A Dirq-al-fic.c72 if (((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_LEVEL_HIGH) && in al_fic_irq_set_type()
73 ((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_EDGE_RISING)) { in al_fic_irq_set_type()
H A Dirq-renesas-irqc.c66 static unsigned char irqc_sense[IRQ_TYPE_SENSE_MASK + 1] = {
78 unsigned char value = irqc_sense[type & IRQ_TYPE_SENSE_MASK]; in irqc_irq_set_type()
H A Dirq-mtk-cirq.c106 switch (type & IRQ_TYPE_SENSE_MASK) { in mtk_cirq_set_type()
163 *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; in mtk_cirq_domain_translate()
H A Dirq-sun6i-r.c206 *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in sun6i_r_intc_domain_translate()
217 *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; in sun6i_r_intc_domain_translate()
H A Dirq-sni-exiu.c153 *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; in exiu_domain_translate()
158 *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in exiu_domain_translate()
H A Dirq-mvebu-icu.c167 *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; in mvebu_icu_irq_domain_translate()
175 *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in mvebu_icu_irq_domain_translate()
H A Dirq-wpcm450-aic.c105 if ((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_LEVEL_HIGH) in wpcm450_aic_set_type()
H A Dirq-loongson-pch-pic.c168 *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in pch_pic_domain_translate()
175 *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in pch_pic_domain_translate()
H A Dirq-mvebu-sei.c123 if ((type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_LEVEL_HIGH) in mvebu_sei_ap_set_type()
151 if ((type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_EDGE_RISING) in mvebu_sei_cp_set_type()
H A Dirq-renesas-rzg2l.c190 switch (type & IRQ_TYPE_SENSE_MASK) { in rzg2l_irq_set_type()
251 switch (type & IRQ_TYPE_SENSE_MASK) { in rzg2l_tint_set_edge()
H A Dirq-renesas-intc-irqpin.c247 static unsigned char intc_irqpin_sense[IRQ_TYPE_SENSE_MASK + 1] = {
257 unsigned char value = intc_irqpin_sense[type & IRQ_TYPE_SENSE_MASK]; in intc_irqpin_irq_set_type()
H A Dirq-uniphier-aidet.c102 *out_type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in uniphier_aidet_domain_translate()
H A Dirq-vf610-mscm-ir.c168 *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in vf610_mscm_ir_domain_translate()
/openbmc/linux/drivers/sh/intc/
H A Dchip.c159 static unsigned char intc_irq_sense_table[IRQ_TYPE_SENSE_MASK + 1] = {
178 unsigned char value = intc_irq_sense_table[type & IRQ_TYPE_SENSE_MASK]; in intc_set_type()
/openbmc/linux/drivers/gpio/
H A Dgpio-em.c114 static unsigned char em_gio_sense_table[IRQ_TYPE_SENSE_MASK + 1] = {
124 unsigned char value = em_gio_sense_table[type & IRQ_TYPE_SENSE_MASK]; in em_gio_irq_set_type()
H A Dgpio-idt3243x.c52 unsigned int sense = flow_type & IRQ_TYPE_SENSE_MASK; in idt_gpio_irq_set_type()
/openbmc/linux/arch/powerpc/sysdev/
H A Dcpm2_pic.c174 if ((flow_type & IRQ_TYPE_SENSE_MASK) == IRQ_TYPE_EDGE_FALLING) in cpm2_set_irq_type()
H A Dehv_pic.c91 switch (type & IRQ_TYPE_SENSE_MASK) { in ehv_pic_type_to_vecpri()
/openbmc/linux/include/linux/
H A Dirq.h85 IRQ_TYPE_SENSE_MASK = 0x0000000f, enumerator
86 IRQ_TYPE_DEFAULT = IRQ_TYPE_SENSE_MASK,
107 (IRQ_TYPE_SENSE_MASK | IRQ_NOPROBE | IRQ_NOREQUEST | \
/openbmc/linux/arch/arm/plat-orion/
H A Dgpio.c367 type &= IRQ_TYPE_SENSE_MASK; in gpio_irq_set_type()
426 if ((type & IRQ_TYPE_SENSE_MASK) == IRQ_TYPE_EDGE_BOTH) { in gpio_irq_handler()

1234