Lines Matching refs:type
252 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP;
260 new_map[i].type = PIN_MAP_TYPE_CONFIGS_PIN;
1149 unsigned type = irqd_get_trigger_type(d);
1152 if (!(type & IRQ_TYPE_EDGE_BOTH))
1156 if (type & IRQ_TYPE_EDGE_RISING)
1158 if (type & IRQ_TYPE_EDGE_FALLING)
1168 unsigned type = irqd_get_trigger_type(d);
1171 if (!(type & IRQ_TYPE_EDGE_BOTH))
1175 if (type & IRQ_TYPE_EDGE_RISING)
1177 if (type & IRQ_TYPE_EDGE_FALLING)
1183 static int gpio_irq_type(struct irq_data *d, unsigned type)
1185 if ((type & IRQ_TYPE_EDGE_BOTH) == 0) {
1186 pr_warn("OX820: Unsupported type for irq %d\n",
1190 /* seems no way to set trigger type without enable irq, so leave it to unmask time */