Lines Matching refs:gpio2
359 static inline void __alchemy_gpio2_mod_int(int gpio2, int en)
364 r |= 1 << gpio2;
366 r &= ~(1 << gpio2);
373 * @gpio2: The GPIO2 pin to activate (200...215).
390 * NOTE: 'gpio2' parameter must be in range of the GPIO2 numberspace
393 static inline void alchemy_gpio2_enable_int(int gpio2)
397 gpio2 -= ALCHEMY_GPIO2_BASE;
403 gpio2 -= 8;
407 __alchemy_gpio2_mod_int(gpio2, 1);
413 * @gpio2: The GPIO2 pin to activate (200...215).
417 static inline void alchemy_gpio2_disable_int(int gpio2)
421 gpio2 -= ALCHEMY_GPIO2_BASE;
427 gpio2 -= 8;
431 __alchemy_gpio2_mod_int(gpio2, 0);