Lines Matching refs:irq_type
85 unsigned int irq_type[BCM2711_NUM_GPIOS];
492 switch (pc->irq_type[offset]) {
562 pc->irq_type[offset] = type;
577 if (pc->irq_type[offset] != type) {
579 pc->irq_type[offset] = type;
584 if (pc->irq_type[offset] == IRQ_TYPE_EDGE_BOTH) {
586 pc->irq_type[offset] = IRQ_TYPE_EDGE_FALLING;
588 pc->irq_type[offset] = type;
589 } else if (pc->irq_type[offset] != type) {
591 pc->irq_type[offset] = type;
597 if (pc->irq_type[offset] == IRQ_TYPE_EDGE_BOTH) {
599 pc->irq_type[offset] = IRQ_TYPE_EDGE_RISING;
601 pc->irq_type[offset] = type;
602 } else if (pc->irq_type[offset] != type) {
604 pc->irq_type[offset] = type;
610 if (pc->irq_type[offset] == IRQ_TYPE_EDGE_RISING) {
612 pc->irq_type[offset] = IRQ_TYPE_EDGE_FALLING;
614 pc->irq_type[offset] = type;
615 } else if (pc->irq_type[offset] == IRQ_TYPE_EDGE_FALLING) {
617 pc->irq_type[offset] = IRQ_TYPE_EDGE_RISING;
619 pc->irq_type[offset] = type;
620 } else if (pc->irq_type[offset] != type) {
622 pc->irq_type[offset] = type;
629 if (pc->irq_type[offset] != type) {
631 pc->irq_type[offset] = type;
752 irq, irq_type_names[pc->irq_type[offset]]);