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

/linux-master/drivers/pinctrl/renesas/
H A Dcore.h12 #include "sh_pfc.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 Dgpio.c29 struct sh_pfc *pfc;
37 static struct sh_pfc *gpio_to_pfc(struct gpio_chip *gc)
74 struct sh_pfc *pfc = chip->pfc;
96 struct sh_pfc *pfc = chip->pfc;
132 struct sh_pfc *pfc = gpio_to_pfc(gc);
199 struct sh_pfc *pfc = gpio_to_pfc(gc);
216 struct sh_pfc *pfc = chip->pfc;
254 struct sh_pfc *pfc = gpio_to_pfc(gc);
274 struct sh_pfc *pfc = chip->pfc;
293 sh_pfc_add_gpiochip(struct sh_pfc *pf
[all...]
H A Dpinctrl.c39 struct sh_pfc *pfc;
326 struct sh_pfc *pfc = pmx->pfc;
372 struct sh_pfc *pfc = pmx->pfc;
406 struct sh_pfc *pfc = pmx->pfc;
425 struct sh_pfc *pfc = pmx->pfc;
461 static u32 sh_pfc_pinconf_find_drive_strength_reg(struct sh_pfc *pfc,
484 static int sh_pfc_pinconf_get_drive_strength(struct sh_pfc *pfc,
504 static int sh_pfc_pinconf_set_drive_strength(struct sh_pfc *pfc,
542 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin,
573 struct sh_pfc *pf
[all...]
H A Dcore.c30 static int sh_pfc_map_resources(struct sh_pfc *pfc,
87 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg)
110 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin)
172 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg)
177 static void sh_pfc_unlock_reg(struct sh_pfc *pfc, u32 reg, u32 data)
193 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data)
199 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc,
220 static void sh_pfc_write_config_reg(struct sh_pfc *pfc,
245 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id,
293 static int sh_pfc_mark_to_enum(struct sh_pfc *pf
[all...]
H A Dsh_pfc.h230 struct sh_pfc { struct
250 int (*init)(struct sh_pfc *pfc);
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 Dpfc-r8a77995.c18 #include "sh_pfc.h"
3098 r8a77995_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin,
3128 static unsigned int r8a77995_pinmux_get_bias(struct sh_pfc *pfc,
3146 static void r8a77995_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin,
H A Dpfc-sh73a0.c16 #include "sh_pfc.h"
4027 struct sh_pfc *pfc = reg->reg_data;
4060 struct sh_pfc *pfc = reg->reg_data;
4122 static int sh73a0_pinmux_soc_init(struct sh_pfc *pfc)
H A Dpfc-r8a7790.c17 #include "sh_pfc.h"
6123 static int r8a7790_pinmux_soc_init(struct sh_pfc *pfc)
H A Dpfc-r8a7794.c15 #include "sh_pfc.h"
5823 static int r8a7794_pinmux_soc_init(struct sh_pfc *pfc)

Completed in 213 milliseconds