Searched refs:sh_pfc (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/drivers/pinctrl/renesas/ |
| H A D | core.h | 19 int sh_pfc_register_gpiochip(struct sh_pfc *pfc); 21 int sh_pfc_register_pinctrl(struct sh_pfc *pfc); 26 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg); 27 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data); 29 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin); 30 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type);
|
| H A D | gpio.c | 29 struct sh_pfc *pfc; 37 static struct sh_pfc *gpio_to_pfc(struct gpio_chip *gc) in gpio_to_pfc() 74 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_reg() 96 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_regs() 132 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_pin_request() 199 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_pin_to_irq() 216 struct sh_pfc *pfc = chip->pfc; in gpio_pin_setup() 254 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_function_request() 274 struct sh_pfc *pfc = chip->pfc; in gpio_function_setup() 293 sh_pfc_add_gpiochip(struct sh_pfc *pfc, int(*setup)(struct sh_pfc_chip *), in sh_pfc_add_gpiochip() [all …]
|
| H A D | pinctrl.c | 39 struct sh_pfc *pfc; 322 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_func_set_mux() 368 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_request_enable() 402 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_disable_free() 421 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_set_direction() 480 static int sh_pfc_pinconf_get_drive_strength(struct sh_pfc *pfc, in sh_pfc_pinconf_get_drive_strength() 500 static int sh_pfc_pinconf_set_drive_strength(struct sh_pfc *pfc, in sh_pfc_pinconf_set_drive_strength() 569 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_pinconf_get() 644 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_pinconf_set() 781 int sh_pfc_register_pinctrl(struct sh_pfc *pfc) in sh_pfc_register_pinctrl() [all …]
|
| H A D | core.c | 30 static int sh_pfc_map_resources(struct sh_pfc *pfc, in sh_pfc_map_resources() 172 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read() 193 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_write() 199 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc, in sh_pfc_config_reg_helper() 220 static void sh_pfc_write_config_reg(struct sh_pfc *pfc, in sh_pfc_write_config_reg() 398 static int sh_pfc_init_ranges(struct sh_pfc *pfc) in sh_pfc_init_ranges() 672 static unsigned int sh_pfc_walk_regs(struct sh_pfc *pfc, in sh_pfc_walk_regs() 701 static int sh_pfc_suspend_init(struct sh_pfc *pfc) in sh_pfc_suspend_init() 725 struct sh_pfc *pfc = dev_get_drvdata(dev); in sh_pfc_suspend_noirq() 734 struct sh_pfc *pfc = dev_get_drvdata(dev); in sh_pfc_resume_noirq() [all …]
|
| H A D | sh_pfc.h | 230 struct sh_pfc { struct 250 int (*init)(struct sh_pfc *pfc); argument 251 unsigned int (*get_bias)(struct sh_pfc *pfc, unsigned int pin); 252 void (*set_bias)(struct sh_pfc *pfc, unsigned int pin, 769 unsigned int rcar_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin); 770 void rcar_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, 773 unsigned int rmobile_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin); 774 void rmobile_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin,
|
| H A D | pfc-sh73a0.c | 4027 struct sh_pfc *pfc = rdev_get_drvdata(reg); in sh73a0_vccq_mc0_endisable() 4060 struct sh_pfc *pfc = rdev_get_drvdata(reg); in sh73a0_vccq_mc0_is_enabled() 4122 static int sh73a0_pinmux_soc_init(struct sh_pfc *pfc) in sh73a0_pinmux_soc_init()
|
| H A D | pfc-r8a77995.c | 3098 r8a77995_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin, in r8a77995_pin_to_bias_reg() 3128 static unsigned int r8a77995_pinmux_get_bias(struct sh_pfc *pfc, in r8a77995_pinmux_get_bias() 3146 static void r8a77995_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a77995_pinmux_set_bias()
|
| H A D | pfc-r8a7794.c | 5823 static int r8a7794_pinmux_soc_init(struct sh_pfc *pfc) in r8a7794_pinmux_soc_init()
|
| H A D | pfc-r8a7790.c | 6123 static int r8a7790_pinmux_soc_init(struct sh_pfc *pfc) in r8a7790_pinmux_soc_init()
|