Home
last modified time | relevance | path

Searched refs:sh_pfc (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/pinctrl/renesas/
Dcore.h19 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);
Dgpio.c29 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 …]
Dpinctrl.c39 struct sh_pfc *pfc;
326 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_func_set_mux()
372 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_request_enable()
406 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_disable_free()
425 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_set_direction()
461 static u32 sh_pfc_pinconf_find_drive_strength_reg(struct sh_pfc *pfc, in sh_pfc_pinconf_find_drive_strength_reg()
484 static int sh_pfc_pinconf_get_drive_strength(struct sh_pfc *pfc, in sh_pfc_pinconf_get_drive_strength()
504 static int sh_pfc_pinconf_set_drive_strength(struct sh_pfc *pfc, in sh_pfc_pinconf_set_drive_strength()
542 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin, in sh_pfc_pinconf_validate()
573 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_pinconf_get()
[all …]
Dcore.c30 static int sh_pfc_map_resources(struct sh_pfc *pfc, in sh_pfc_map_resources()
87 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg) in sh_pfc_phys_to_virt()
110 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index()
172 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read()
177 static void sh_pfc_unlock_reg(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_unlock_reg()
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()
245 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg()
293 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum()
[all …]
Dsh_pfc.h230 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,
768 unsigned int rcar_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin);
769 void rcar_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin,
772 unsigned int rmobile_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin);
773 void rmobile_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin,
Dpfc-sh73a0.c4027 struct sh_pfc *pfc = reg->reg_data; in sh73a0_vccq_mc0_endisable()
4060 struct sh_pfc *pfc = reg->reg_data; in sh73a0_vccq_mc0_is_enabled()
4122 static int sh73a0_pinmux_soc_init(struct sh_pfc *pfc) in sh73a0_pinmux_soc_init()
Dpfc-r8a77995.c3098 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()
Dpfc-r8a7794.c5823 static int r8a7794_pinmux_soc_init(struct sh_pfc *pfc) in r8a7794_pinmux_soc_init()
Dpfc-r8a7790.c6123 static int r8a7790_pinmux_soc_init(struct sh_pfc *pfc) in r8a7790_pinmux_soc_init()