Lines Matching refs:edge
72 int edge; in mxs_gpio_set_irq_type() local
83 edge = GPIO_INT_FALL_EDGE; in mxs_gpio_set_irq_type()
85 edge = GPIO_INT_RISE_EDGE; in mxs_gpio_set_irq_type()
89 edge = GPIO_INT_RISE_EDGE; in mxs_gpio_set_irq_type()
92 edge = GPIO_INT_FALL_EDGE; in mxs_gpio_set_irq_type()
95 edge = GPIO_INT_LOW_LEV; in mxs_gpio_set_irq_type()
98 edge = GPIO_INT_HIGH_LEV; in mxs_gpio_set_irq_type()
106 if (edge & GPIO_INT_LEV_MASK) { in mxs_gpio_set_irq_type()
116 if (edge & GPIO_INT_POL_MASK) in mxs_gpio_set_irq_type()
128 u32 bit, val, edge; in mxs_flip_edge() local
135 edge = val & bit; in mxs_flip_edge()
137 if (edge) in mxs_flip_edge()