/arch/powerpc/sysdev/ |
H A D | cpm2_pic.c | 133 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 D | mpic.h | 37 extern int mpic_set_irq_type(struct irq_data *d, unsigned int flow_type);
|
H A D | ehv_pic.c | 112 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 D | mpc8xx_pic.c | 52 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 D | ipic.c | 602 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 D | xilinx_intc.c | 80 static int xilinx_intc_set_type(struct irq_data *d, unsigned int flow_type) argument
|
H A D | mpic.c | 863 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 D | uic.c | 123 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 D | irq.c | 90 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 D | sirc.c | 90 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 D | irq-vic.c | 296 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 D | extint.c | 89 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 D | irq.c | 374 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 D | irq_txx9.c | 112 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 D | irq.c | 101 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 D | cp_intc.c | 49 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 D | irq.c | 83 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 D | interrupts.c | 209 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 D | mpc52xx_pic.c | 176 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 D | mpc52xx_gpt.c | 166 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 D | irq_tx4939.c | 104 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 D | gpio.c | 348 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 D | pxa3xx.c | 352 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 D | socrates_fpga_pic.c | 189 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 D | irq.c | 427 static int au1x_ic_settype(struct irq_data *d, unsigned int flow_type) argument 451 switch (flow_type) { /* cfgregs 2:1:0 */
|