Lines Matching refs:sh_pfc_chip
28 struct sh_pfc_chip { struct
39 struct sh_pfc_chip *chip = gpiochip_get_data(gc); in gpio_to_pfc() argument
43 static void gpio_get_data_reg(struct sh_pfc_chip *chip, unsigned int offset, in gpio_get_data_reg()
54 static u32 gpio_read_data_reg(struct sh_pfc_chip *chip, in gpio_read_data_reg()
63 static void gpio_write_data_reg(struct sh_pfc_chip *chip, in gpio_write_data_reg()
72 static void gpio_setup_data_reg(struct sh_pfc_chip *chip, unsigned idx) in gpio_setup_data_reg()
94 static int gpio_setup_data_regs(struct sh_pfc_chip *chip) in gpio_setup_data_regs()
146 static void gpio_pin_set_value(struct sh_pfc_chip *chip, unsigned offset, in gpio_pin_set_value()
180 struct sh_pfc_chip *chip = gpiochip_get_data(gc); in gpio_pin_get()
214 static int gpio_pin_setup(struct sh_pfc_chip *chip) in gpio_pin_setup()
272 static int gpio_function_setup(struct sh_pfc_chip *chip) in gpio_function_setup()
292 static struct sh_pfc_chip *
293 sh_pfc_add_gpiochip(struct sh_pfc *pfc, int(*setup)(struct sh_pfc_chip *), in sh_pfc_add_gpiochip() argument
296 struct sh_pfc_chip *chip; in sh_pfc_add_gpiochip()
323 struct sh_pfc_chip *chip; in sh_pfc_register_gpiochip()