Lines Matching refs:sh_pfc

52 	struct sh_pfc *pfc;
63 struct sh_pfc pfc;
67 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index()
129 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read()
134 static void sh_pfc_unlock_reg(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_unlock_reg()
150 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_write()
156 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc, in sh_pfc_config_reg_helper()
177 static void sh_pfc_write_config_reg(struct sh_pfc *pfc, in sh_pfc_write_config_reg()
202 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg()
248 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum()
271 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux()
352 sh_pfc_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin, in sh_pfc_pin_to_bias_reg()
371 static int sh_pfc_init_ranges(struct sh_pfc *pfc) in sh_pfc_init_ranges()
466 struct sh_pfc *pfc = &priv->pfc; in sh_pfc_pinctrl_get_pin_muxing()
504 struct sh_pfc *pfc = &priv->pfc; in sh_pfc_gpio_request_enable()
547 struct sh_pfc *pfc = &priv->pfc; in sh_pfc_gpio_disable_free()
577 struct sh_pfc *pfc = &priv->pfc; in sh_pfc_pinctrl_pin_set()
607 struct sh_pfc *pfc = &priv->pfc; in sh_pfc_pinctrl_group_set()
659 sh_pfc_pinconf_find_drive_strength_reg(struct sh_pfc *pfc, unsigned int pin, in sh_pfc_pinconf_find_drive_strength_reg()
682 static int sh_pfc_pinconf_set_drive_strength(struct sh_pfc *pfc, in sh_pfc_pinconf_set_drive_strength()
716 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin, in sh_pfc_pinconf_validate()
747 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_pinconf_set()
812 struct sh_pfc *pfc = &priv->pfc; in sh_pfc_pinconf_pin_set()
826 struct sh_pfc *pfc = &priv->pfc; in sh_pfc_pinconf_group_set()
860 static int sh_pfc_map_pins(struct sh_pfc *pfc, struct sh_pfc_pinctrl *pmx) in sh_pfc_map_pins()