Home
last modified time | relevance | path

Searched refs:statename (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/pinctrl/
H A Ddevicetree.c65 static int dt_remember_or_free_map(struct pinctrl *p, const char *statename, in dt_remember_or_free_map() argument
81 map[i].name = statename; in dt_remember_or_free_map()
111 const char *statename, in dt_to_map_one_config() argument
174 "there is not valid maps for state %s\n", statename); in dt_to_map_one_config()
179 return dt_remember_or_free_map(p, statename, pctldev, map, num_maps); in dt_to_map_one_config()
193 return dt_remember_or_free_map(p, statename, NULL, map, 1); in dt_remember_dummy_state()
202 const char *statename; in pinctrl_dt_to_map() local
241 state, &statename); in pinctrl_dt_to_map()
248 statename = prop->name + strlen("pinctrl-"); in pinctrl_dt_to_map()
265 ret = dt_to_map_one_config(p, pctldev, statename, in pinctrl_dt_to_map()
[all …]
/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl-uclass.c86 static int pinctrl_select_state_full(struct udevice *dev, const char *statename) in pinctrl_select_state_full() argument
94 state = dev_read_stringlist_search(dev, "pinctrl-names", statename); in pinctrl_select_state_full()
101 state = simple_strtoul(statename, &end, 10); in pinctrl_select_state_full()
180 static int pinctrl_select_state_full(struct udevice *dev, const char *statename) in pinctrl_select_state_full() argument
221 int pinctrl_select_state(struct udevice *dev, const char *statename) in pinctrl_select_state() argument
233 if (pinctrl_select_state_full(dev, statename)) in pinctrl_select_state()
/openbmc/u-boot/include/dm/
H A Dpinctrl.h301 int pinctrl_select_state(struct udevice *dev, const char *statename);
304 const char *statename) in pinctrl_select_state() argument