Home
last modified time | relevance | path

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

/external/u-boot/drivers/pinctrl/renesas/
Dpfc.c41 struct sh_pfc *pfc;
56 struct sh_pfc pfc;
60 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index()
122 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read()
127 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_write()
138 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc, in sh_pfc_config_reg_helper()
159 static void sh_pfc_write_config_reg(struct sh_pfc *pfc, in sh_pfc_write_config_reg()
188 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg()
234 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum()
257 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux()
[all …]
Dsh_pfc.h207 struct sh_pfc { struct
222 int (*init)(struct sh_pfc *pfc); argument
223 unsigned int (*get_bias)(struct sh_pfc *pfc, unsigned int pin);
224 void (*set_bias)(struct sh_pfc *pfc, unsigned int pin,
226 int (*pin_to_pocctrl)(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl);
259 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg);
260 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data);
262 sh_pfc_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin,
Dpfc-r8a7795.c5894 static int r8a7795_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7795_pin_to_pocctrl()
6151 static unsigned int r8a7795_pinmux_get_bias(struct sh_pfc *pfc, in r8a7795_pinmux_get_bias()
6169 static void r8a7795_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7795_pinmux_set_bias()
Dpfc-r8a7796.c5836 static int r8a7796_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7796_pin_to_pocctrl()
6093 static unsigned int r8a7796_pinmux_get_bias(struct sh_pfc *pfc, in r8a7796_pinmux_get_bias()
6111 static void r8a7796_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7796_pinmux_set_bias()
Dpfc-r8a77970.c2383 static int r8a77970_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, in r8a77970_pin_to_pocctrl()
Dpfc-r8a77995.c2465 static int r8a77995_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a77995_pin_to_pocctrl()
Dpfc-r8a7794.c5547 static int r8a7794_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7794_pin_to_pocctrl()
Dpfc-r8a7790.c5687 static int r8a7790_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7790_pin_to_pocctrl()
Dpfc-r8a7791.c6602 static int r8a7791_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7791_pin_to_pocctrl()
/external/u-boot/drivers/gpio/
DMakefile40 obj-$(CONFIG_SH_GPIO_PFC) += sh_pfc.o