Home
last modified time | relevance | path

Searched refs:sophgo_pinctrl (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/pinctrl/sophgo/
H A Dpinctrl-sophgo.h17 struct sophgo_pinctrl;
42 struct sophgo_pinctrl *pctrl);
47 struct sophgo_pinctrl *pctrl,
50 int (*compute_pinconf_config)(struct sophgo_pinctrl *pctrl,
55 int (*set_pinconf_config)(struct sophgo_pinctrl *pctrl,
58 void (*set_pinmux_config)(struct sophgo_pinctrl *pctrl,
95 struct sophgo_pinctrl { struct
122 int sophgo_pinctrl_oc2reg(struct sophgo_pinctrl *pctrl,
125 int sophgo_pinctrl_reg2oc(struct sophgo_pinctrl *pctrl,
128 int sophgo_pinctrl_schmitt2reg(struct sophgo_pinctrl *pctrl,
[all …]
H A Dpinctrl-sophgo-common.c42 const struct sophgo_pin *sophgo_get_pin(struct sophgo_pinctrl *pctrl, in sophgo_get_pin()
49 static int sophgo_verify_pinmux_config(struct sophgo_pinctrl *pctrl, in sophgo_verify_pinmux_config()
57 static int sophgo_verify_pin_group(struct sophgo_pinctrl *pctrl, in sophgo_verify_pin_group()
67 struct sophgo_pinctrl *pctrl, in sophgo_dt_node_to_map_post()
80 struct sophgo_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in sophgo_pctrl_dt_node_to_map()
247 static int sophgo_pin_set_config(struct sophgo_pinctrl *pctrl, in sophgo_pin_set_config()
319 int sophgo_pinctrl_oc2reg(struct sophgo_pinctrl *pctrl, in sophgo_pinctrl_oc2reg()
341 int sophgo_pinctrl_reg2oc(struct sophgo_pinctrl *pctrl, in sophgo_pinctrl_reg2oc()
361 int sophgo_pinctrl_schmitt2reg(struct sophgo_pinctrl *pctrl, in sophgo_pinctrl_schmitt2reg()
383 int sophgo_pinctrl_reg2schmitt(struct sophgo_pinctrl *pctrl, in sophgo_pinctrl_reg2schmitt()
[all …]
H A Dpinctrl-sg2042-ops.c52 static inline u32 sg2042_get_pin_reg(struct sophgo_pinctrl *pctrl, in sg2042_get_pin_reg()
65 static int sg2042_set_pin_reg(struct sophgo_pinctrl *pctrl, in sg2042_set_pin_reg()
90 struct sophgo_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in sg2042_pctrl_dbg_show()
109 static void sg2042_set_pinmux_config(struct sophgo_pinctrl *pctrl, in sg2042_set_pinmux_config()
130 struct sophgo_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in sg2042_pconf_get()
190 static int sg2042_pinconf_compute_config(struct sophgo_pinctrl *pctrl, in sg2042_pinconf_compute_config()
273 struct sophgo_pinctrl *pctrl) in sophgo_pinctrl_init()
H A Dpinctrl-cv18xx.c47 static int cv1800_set_power_cfg(struct sophgo_pinctrl *pctrl, in cv1800_set_power_cfg()
63 static int cv1800_get_power_cfg(struct sophgo_pinctrl *pctrl, in cv1800_get_power_cfg()
81 static const char *cv1800_get_power_cfg_desc(struct sophgo_pinctrl *pctrl, in cv1800_get_power_cfg_desc()
90 struct sophgo_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in cv1800_pctrl_dbg_show()
177 struct sophgo_pinctrl *pctrl, in cv1800_dt_node_to_map_post()
205 static void cv1800_set_pinmux_config(struct sophgo_pinctrl *pctrl, in cv1800_set_pinmux_config()
244 struct sophgo_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in cv1800_pconf_get()
310 static int cv1800_pinconf_compute_config(struct sophgo_pinctrl *pctrl, in cv1800_pinconf_compute_config()
387 static int cv1800_set_pinconf_config(struct sophgo_pinctrl *pctrl, in cv1800_set_pinconf_config()
415 struct sophgo_pinctrl *pctrl) in cv1800_pinctrl_init()