Lines Matching refs:gpio2
359 static inline void __alchemy_gpio2_mod_int(int gpio2, int en) in __alchemy_gpio2_mod_int() argument
364 r |= 1 << gpio2; in __alchemy_gpio2_mod_int()
366 r &= ~(1 << gpio2); in __alchemy_gpio2_mod_int()
393 static inline void alchemy_gpio2_enable_int(int gpio2) in alchemy_gpio2_enable_int() argument
397 gpio2 -= ALCHEMY_GPIO2_BASE; in alchemy_gpio2_enable_int()
403 gpio2 -= 8; in alchemy_gpio2_enable_int()
407 __alchemy_gpio2_mod_int(gpio2, 1); in alchemy_gpio2_enable_int()
417 static inline void alchemy_gpio2_disable_int(int gpio2) in alchemy_gpio2_disable_int() argument
421 gpio2 -= ALCHEMY_GPIO2_BASE; in alchemy_gpio2_disable_int()
427 gpio2 -= 8; in alchemy_gpio2_disable_int()
431 __alchemy_gpio2_mod_int(gpio2, 0); in alchemy_gpio2_disable_int()