Lines Matching refs:pinmux_info
134 static int setup_data_reg(struct pinmux_info *gpioc, unsigned gpio) in setup_data_reg()
167 static void setup_data_regs(struct pinmux_info *gpioc) in setup_data_regs()
187 static int get_data_reg(struct pinmux_info *gpioc, unsigned gpio, in get_data_reg()
203 static int get_config_reg(struct pinmux_info *gpioc, pinmux_enum_t enum_id, in get_config_reg()
234 static int get_gpio_enum_id(struct pinmux_info *gpioc, unsigned gpio, in get_gpio_enum_id()
264 static void write_config_reg(struct pinmux_info *gpioc, in write_config_reg()
277 static int check_config_reg(struct pinmux_info *gpioc, in check_config_reg()
296 static int pinmux_config_gpio(struct pinmux_info *gpioc, unsigned gpio, in pinmux_config_gpio()
407 static struct pinmux_info *chip_to_pinmux(struct gpio_chip *chip) in chip_to_pinmux()
409 return container_of(chip, struct pinmux_info, chip); in chip_to_pinmux()
414 struct pinmux_info *gpioc = chip_to_pinmux(chip); in sh_gpio_request()
460 struct pinmux_info *gpioc = chip_to_pinmux(chip); in sh_gpio_free()
477 static int pinmux_direction(struct pinmux_info *gpioc, in pinmux_direction()
521 struct pinmux_info *gpioc = chip_to_pinmux(chip); in sh_gpio_direction_input()
532 static void sh_gpio_set_value(struct pinmux_info *gpioc, in sh_gpio_set_value()
547 struct pinmux_info *gpioc = chip_to_pinmux(chip); in sh_gpio_direction_output()
559 static int sh_gpio_get_value(struct pinmux_info *gpioc, unsigned gpio) in sh_gpio_get_value()
580 int register_pinmux(struct pinmux_info *pip) in register_pinmux()
606 int unregister_pinmux(struct pinmux_info *pip) in unregister_pinmux()