Lines Matching refs:gc
55 static int xgene_gpio_get(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_get() argument
57 struct xgene_gpio *chip = to_xgene_gpio(gc); in xgene_gpio_get()
66 static void __xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in __xgene_gpio_set() argument
68 struct xgene_gpio *chip = to_xgene_gpio(gc); in __xgene_gpio_set()
83 static void xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in xgene_gpio_set() argument
85 struct xgene_gpio *chip = to_xgene_gpio(gc); in xgene_gpio_set()
89 __xgene_gpio_set(gc, offset, val); in xgene_gpio_set()
93 static int xgene_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_dir_in() argument
95 struct xgene_gpio *chip = to_xgene_gpio(gc); in xgene_gpio_dir_in()
113 static int xgene_gpio_dir_out(struct gpio_chip *gc, in xgene_gpio_dir_out() argument
116 struct xgene_gpio *chip = to_xgene_gpio(gc); in xgene_gpio_dir_out()
128 __xgene_gpio_set(gc, offset, val); in xgene_gpio_dir_out()