Searched refs:flow_type (Results 1 - 25 of 25) sorted by relevance

/arch/powerpc/sysdev/
H A Dcpm2_pic.c133 static int cpm2_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
143 if (flow_type == IRQ_TYPE_NONE)
144 flow_type = IRQ_TYPE_EDGE_BOTH;
146 if (flow_type != IRQ_TYPE_EDGE_BOTH &&
147 flow_type != IRQ_TYPE_EDGE_FALLING)
150 if (flow_type == IRQ_TYPE_NONE)
151 flow_type = IRQ_TYPE_LEVEL_LOW;
153 if (flow_type & (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_LEVEL_HIGH))
157 irqd_set_trigger_type(d, flow_type);
158 if (flow_type
[all...]
H A Dmpic.h37 extern int mpic_set_irq_type(struct irq_data *d, unsigned int flow_type);
H A Dehv_pic.c112 int ehv_pic_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
119 if (flow_type == IRQ_TYPE_NONE)
120 flow_type = IRQ_TYPE_LEVEL_LOW;
123 irq_settings_set_trigger_mask(desc, flow_type);
124 if (flow_type & (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW))
127 vecpri = ehv_pic_type_to_vecpri(flow_type);
H A Dmpc8xx_pic.c52 static int mpc8xx_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
55 if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !(irqd_to_hwirq(d) & 1)) {
H A Dipic.c602 static int ipic_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
608 if (flow_type == IRQ_TYPE_NONE)
609 flow_type = IRQ_TYPE_LEVEL_LOW;
613 if (!(flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_EDGE_FALLING))) {
615 flow_type);
619 if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !ipic_info[src].ack) {
626 irqd_set_trigger_type(d, flow_type);
627 if (flow_type & IRQ_TYPE_LEVEL_LOW) {
644 return (flow_type & IRQ_TYPE_LEVEL_LOW) ? 0 : -EINVAL;
647 if ((flow_type
[all...]
H A Dxilinx_intc.c80 static int xilinx_intc_set_type(struct irq_data *d, unsigned int flow_type) argument
H A Dmpic.c863 int mpic_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
870 mpic, d->irq, src, flow_type);
878 if (flow_type == IRQ_TYPE_NONE)
879 flow_type = IRQ_TYPE_DEFAULT;
882 if (flow_type == IRQ_TYPE_DEFAULT) {
887 flow_type = IRQ_TYPE_EDGE_RISING;
891 flow_type = IRQ_TYPE_EDGE_FALLING;
895 flow_type = IRQ_TYPE_LEVEL_HIGH;
899 flow_type = IRQ_TYPE_LEVEL_LOW;
905 irqd_set_trigger_type(d, flow_type);
[all...]
H A Duic.c123 static int uic_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
131 switch (flow_type & IRQ_TYPE_SENSE_MASK) {
/arch/arm/mach-msm/
H A Dirq.c90 static int msm_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
96 if (flow_type & (IRQF_TRIGGER_FALLING | IRQF_TRIGGER_LOW))
98 if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_HIGH))
101 if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) {
105 if (flow_type & (IRQF_TRIGGER_HIGH | IRQF_TRIGGER_LOW)) {
H A Dsirc.c90 static int sirc_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
98 if (flow_type & (IRQF_TRIGGER_LOW | IRQF_TRIGGER_FALLING))
106 if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) {
H A Dirq-vic.c296 static int msm_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
306 if (flow_type & (IRQF_TRIGGER_FALLING | IRQF_TRIGGER_LOW))
308 if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_HIGH))
314 if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) {
318 if (flow_type & (IRQF_TRIGGER_HIGH | IRQF_TRIGGER_LOW)) {
/arch/avr32/mach-at32ap/
H A Dextint.c89 static int eic_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
96 flow_type &= IRQ_TYPE_SENSE_MASK;
97 if (flow_type == IRQ_TYPE_NONE)
98 flow_type = IRQ_TYPE_LEVEL_LOW;
104 switch (flow_type) {
129 irqd_set_trigger_type(d, flow_type);
130 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH))
/arch/mips/bcm63xx/
H A Dirq.c374 unsigned int flow_type)
380 flow_type &= IRQ_TYPE_SENSE_MASK;
382 if (flow_type == IRQ_TYPE_NONE)
383 flow_type = IRQ_TYPE_LEVEL_LOW;
386 switch (flow_type) {
448 irqd_set_trigger_type(d, flow_type);
449 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH))
373 bcm63xx_external_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
/arch/mips/kernel/
H A Dirq_txx9.c112 static int txx9_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
120 if (flow_type & IRQF_TRIGGER_PROBE)
122 switch (flow_type & IRQF_TRIGGER_MASK) {
/arch/openrisc/kernel/
H A Dirq.c101 static int or1k_pic_set_type(struct irq_data *data, unsigned int flow_type) argument
108 return irq_setup_alt_chip(data, flow_type);
/arch/arm/mach-davinci/
H A Dcp_intc.c49 static int cp_intc_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
56 switch (flow_type) {
/arch/arm/mach-vt8500/
H A Dirq.c83 static int vt8500_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
98 switch (flow_type) {
/arch/mips/pnx833x/common/
H A Dinterrupts.c209 static int pnx833x_set_type_gpio_irq(struct irq_data *d, unsigned int flow_type) argument
214 switch (flow_type) {
/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pic.c176 static int mpc52xx_extirq_set_type(struct irq_data *d, unsigned int flow_type) argument
182 pr_debug("%s: irq=%x. l2=%d flow_type=%d\n", __func__,
183 (int) irqd_to_hwirq(d), l2irq, flow_type);
185 switch (flow_type) {
215 static int mpc52xx_null_set_type(struct irq_data *d, unsigned int flow_type) argument
H A Dmpc52xx_gpt.c166 static int mpc52xx_gpt_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
172 dev_dbg(gpt->dev, "%s: virq=%i type=%x\n", __func__, d->irq, flow_type);
176 if (flow_type & IRQF_TRIGGER_RISING)
178 if (flow_type & IRQF_TRIGGER_FALLING)
/arch/mips/txx9/generic/
H A Dirq_tx4939.c104 static int tx4939_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
112 if (flow_type & IRQF_TRIGGER_PROBE)
114 switch (flow_type & IRQF_TRIGGER_MASK) {
/arch/mips/jz4740/
H A Dgpio.c348 static int jz_gpio_irq_set_type(struct irq_data *data, unsigned int flow_type) argument
353 if (flow_type == IRQ_TYPE_EDGE_BOTH) {
356 flow_type = IRQ_TYPE_EDGE_FALLING;
358 flow_type = IRQ_TYPE_EDGE_RISING;
364 switch (flow_type) {
/arch/arm/mach-pxa/
H A Dpxa3xx.c352 static int pxa_set_ext_wakeup_type(struct irq_data *d, unsigned int flow_type) argument
354 if (flow_type & IRQ_TYPE_EDGE_RISING)
357 if (flow_type & IRQ_TYPE_EDGE_FALLING)
/arch/powerpc/platforms/85xx/
H A Dsocrates_fpga_pic.c189 unsigned int flow_type)
199 switch (flow_type & IRQ_TYPE_SENSE_MASK) {
188 socrates_fpga_pic_set_type(struct irq_data *d, unsigned int flow_type) argument
/arch/mips/alchemy/common/
H A Dirq.c427 static int au1x_ic_settype(struct irq_data *d, unsigned int flow_type) argument
451 switch (flow_type) { /* cfgregs 2:1:0 */

Completed in 459 milliseconds