Home
last modified time | relevance | path

Searched refs:cv1800_pin (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/pinctrl/sophgo/
H A Dpinctrl-cv18xx.h51 struct cv1800_pin { struct
74 int (*get_pull_up)(struct cv1800_pin *pin, const u32 *psmap); argument
75 int (*get_pull_down)(struct cv1800_pin *pin, const u32 *psmap);
76 int (*get_oc_map)(struct cv1800_pin *pin, const u32 *psmap,
78 int (*get_schmitt_map)(struct cv1800_pin *pin, const u32 *psmap,
84 const struct cv1800_pin *pindata;
91 static inline enum cv1800_pin_io_type cv1800_pin_io_type(struct cv1800_pin *pin) in cv1800_pin_io_type()
H A Dpinctrl-cv18xx.c47 struct cv1800_pin *pin;
71 const struct cv1800_pin *pin = pivot; in cv1800_cmp_pin()
98 static struct cv1800_pin *cv1800_get_pin(struct cv1800_pinctrl *pctrl, in cv1800_get_pin()
102 sizeof(struct cv1800_pin), cv1800_cmp_pin); in cv1800_get_pin()
125 struct cv1800_pin *pin = cv1800_get_pin(pctrl, pin_id); in cv1800_pctrl_dbg_show()
386 const struct cv1800_pin *pin = configs[i].pin; in cv1800_pmx_set_mux()
425 struct cv1800_pin *pin) in cv1800_pull_down_typical_resistor()
431 struct cv1800_pin *pin) in cv1800_pull_up_typical_resistor()
437 struct cv1800_pin *pin, u32 target) in cv1800_pinctrl_oc2reg()
455 struct cv1800_pin *pin, u32 reg) in cv1800_pinctrl_reg2oc()
[all …]
H A Dpinctrl-cv1800b.c37 static int cv1800b_get_pull_up(struct cv1800_pin *pin, const u32 *psmap) in cv1800b_get_pull_up()
57 static int cv1800b_get_pull_down(struct cv1800_pin *pin, const u32 *psmap) in cv1800b_get_pull_down()
111 static int cv1800b_get_oc_map(struct cv1800_pin *pin, const u32 *psmap, in cv1800b_get_oc_map()
156 static int cv1800b_get_schmitt_map(struct cv1800_pin *pin, const u32 *psmap, in cv1800b_get_schmitt_map()
239 static const struct cv1800_pin cv1800b_pin_data[ARRAY_SIZE(cv1800b_pins)] = {
H A Dpinctrl-sg2002.c37 static int sg2002_get_pull_up(struct cv1800_pin *pin, const u32 *psmap) in sg2002_get_pull_up()
57 static int sg2002_get_pull_down(struct cv1800_pin *pin, const u32 *psmap) in sg2002_get_pull_down()
111 static int sg2002_get_oc_map(struct cv1800_pin *pin, const u32 *psmap, in sg2002_get_oc_map()
156 static int sg2002_get_schmitt_map(struct cv1800_pin *pin, const u32 *psmap, in sg2002_get_schmitt_map()
255 static const struct cv1800_pin sg2002_pin_data[ARRAY_SIZE(sg2002_pins)] = {
H A Dpinctrl-sg2000.c43 static int sg2000_get_pull_up(struct cv1800_pin *pin, const u32 *psmap) in sg2000_get_pull_up()
63 static int sg2000_get_pull_down(struct cv1800_pin *pin, const u32 *psmap) in sg2000_get_pull_down()
117 static int sg2000_get_oc_map(struct cv1800_pin *pin, const u32 *psmap, in sg2000_get_oc_map()
162 static int sg2000_get_schmitt_map(struct cv1800_pin *pin, const u32 *psmap, in sg2000_get_schmitt_map()
306 static const struct cv1800_pin sg2000_pin_data[ARRAY_SIZE(sg2000_pins)] = {
H A Dpinctrl-cv1812h.c43 static int cv1812h_get_pull_up(struct cv1800_pin *pin, const u32 *psmap) in cv1812h_get_pull_up()
63 static int cv1812h_get_pull_down(struct cv1800_pin *pin, const u32 *psmap) in cv1812h_get_pull_down()
117 static int cv1812h_get_oc_map(struct cv1800_pin *pin, const u32 *psmap, in cv1812h_get_oc_map()
162 static int cv1812h_get_schmitt_map(struct cv1800_pin *pin, const u32 *psmap, in cv1812h_get_schmitt_map()
306 static const struct cv1800_pin cv1812h_pin_data[ARRAY_SIZE(cv1812h_pins)] = {