Home
last modified time | relevance | path

Searched refs:np_config (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/include/linux/pinctrl/
Dpinconf-generic.h194 struct device_node *np_config, struct pinctrl_map **map,
200 struct pinctrl_dev *pctldev, struct device_node *np_config, in pinconf_generic_dt_node_to_map_group() argument
203 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_group()
208 struct pinctrl_dev *pctldev, struct device_node *np_config, in pinconf_generic_dt_node_to_map_pin() argument
211 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_pin()
216 struct pinctrl_dev *pctldev, struct device_node *np_config, in pinconf_generic_dt_node_to_map_all() argument
223 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_all()
Dpinctrl.h119 struct device_node *np_config,
/linux-6.1.9/drivers/pinctrl/
Ddevicetree.c112 struct device_node *np_config) in dt_to_map_one_config() argument
123 np_pctldev = of_node_get(np_config); in dt_to_map_one_config()
164 ret = ops->dt_node_to_map(pctldev, np_config, &map, &num_maps); in dt_to_map_one_config()
206 struct device_node *np_config; in pinctrl_dt_to_map() local
253 np_config = of_find_node_by_phandle(phandle); in pinctrl_dt_to_map()
254 if (!np_config) { in pinctrl_dt_to_map()
264 np_config); in pinctrl_dt_to_map()
265 of_node_put(np_config); in pinctrl_dt_to_map()
Dpinconf-generic.c379 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map() argument
390 ret = pinconf_generic_dt_subnode_to_map(pctldev, np_config, map, in pinconf_generic_dt_node_to_map()
395 for_each_available_child_of_node(np_config, np) { in pinconf_generic_dt_node_to_map()
Dpinctrl-lantiq.c148 struct device_node *np_config, in ltq_pinctrl_dt_node_to_map() argument
156 for_each_child_of_node(np_config, np) in ltq_pinctrl_dt_node_to_map()
164 for_each_child_of_node(np_config, np) in ltq_pinctrl_dt_node_to_map()
Dpinctrl-tb10x.c540 struct device_node *np_config, in tb10x_dt_node_to_map() argument
547 if (of_property_read_string(np_config, "abilis,function", &string)) { in tb10x_dt_node_to_map()
549 np_config); in tb10x_dt_node_to_map()
562 num_maps, string, np_config->name); in tb10x_dt_node_to_map()
Dpinctrl-at91-pio4.c627 struct device_node *np_config, in atmel_pctl_dt_node_to_map() argument
644 ret = atmel_pctl_dt_subnode_to_map(pctldev, np_config, map, in atmel_pctl_dt_node_to_map()
647 for_each_child_of_node(np_config, np) { in atmel_pctl_dt_node_to_map()
660 np_config); in atmel_pctl_dt_node_to_map()
Dpinctrl-single.c326 struct device_node *np_config,
1252 struct device_node *np_config, in pcs_dt_node_to_map() argument
1275 ret = pcs_parse_bits_in_pinctrl_entry(pcs, np_config, map, in pcs_dt_node_to_map()
1279 np_config); in pcs_dt_node_to_map()
1283 ret = pcs_parse_one_pinctrl_entry(pcs, np_config, map, in pcs_dt_node_to_map()
1287 np_config); in pcs_dt_node_to_map()
Dpinctrl-k210.c845 struct device_node *np_config, in k210_pinctrl_dt_node_to_map() argument
857 ret = k210_pinctrl_dt_subnode_to_map(pctldev, np_config, map, in k210_pinctrl_dt_node_to_map()
862 for_each_available_child_of_node(np_config, np) { in k210_pinctrl_dt_node_to_map()
Dpinctrl-rockchip.c3031 struct device_node *np_config; in rockchip_pinctrl_parse_groups() local
3045 np_config = of_find_node_by_phandle(be32_to_cpup(phandle)); in rockchip_pinctrl_parse_groups()
3046 ret = pinconf_generic_parse_dt_config(np_config, NULL, in rockchip_pinctrl_parse_groups()
/linux-6.1.9/drivers/pinctrl/spear/
Dpinctrl-spear.c148 struct device_node *np_config, in spear_pinctrl_dt_node_to_map() argument
159 for_each_child_of_node(np_config, np) { in spear_pinctrl_dt_node_to_map()
184 for_each_child_of_node(np_config, np) { in spear_pinctrl_dt_node_to_map()
/linux-6.1.9/drivers/pinctrl/sunplus/
Dsppctl.c824 static int sppctl_dt_node_to_map(struct pinctrl_dev *pctldev, struct device_node *np_config, in sppctl_dt_node_to_map() argument
828 int nmG = of_property_count_strings(np_config, "groups"); in sppctl_dt_node_to_map()
840 list = of_get_property(np_config, "sunplus,pins", &size); in sppctl_dt_node_to_map()
845 parent = of_get_parent(np_config); in sppctl_dt_node_to_map()
924 if (nmG > 0 && of_property_read_string(np_config, "function", &s_f) == 0) { in sppctl_dt_node_to_map()
925 of_property_for_each_string(np_config, "groups", prop, s_g) { in sppctl_dt_node_to_map()
939 list = of_get_property(np_config, "sunplus,zerofunc", &size); in sppctl_dt_node_to_map()
/linux-6.1.9/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.c1403 struct device_node *np_config; in nmk_pinctrl_dt_subnode_to_map() local
1428 np_config = of_parse_phandle(np, "ste,config", 0); in nmk_pinctrl_dt_subnode_to_map()
1429 if (np_config) { in nmk_pinctrl_dt_subnode_to_map()
1430 has_config |= nmk_pinctrl_dt_get_config(np_config, &configs); in nmk_pinctrl_dt_subnode_to_map()
1431 of_node_put(np_config); in nmk_pinctrl_dt_subnode_to_map()
1462 struct device_node *np_config, in nmk_pinctrl_dt_node_to_map() argument
1473 for_each_child_of_node(np_config, np) { in nmk_pinctrl_dt_node_to_map()
Dpinctrl-abx500.c802 struct device_node *np_config, in abx500_dt_node_to_map() argument
813 for_each_child_of_node(np_config, np) { in abx500_dt_node_to_map()
/linux-6.1.9/drivers/pinctrl/samsung/
Dpinctrl-samsung.c248 struct device_node *np_config, in samsung_dt_node_to_map() argument
263 if (!of_get_child_count(np_config)) in samsung_dt_node_to_map()
265 np_config, map, in samsung_dt_node_to_map()
269 for_each_child_of_node(np_config, np) { in samsung_dt_node_to_map()
/linux-6.1.9/drivers/pinctrl/tegra/
Dpinctrl-tegra.c184 struct device_node *np_config, in tegra_pinctrl_dt_node_to_map() argument
196 for_each_child_of_node(np_config, np) { in tegra_pinctrl_dt_node_to_map()
/linux-6.1.9/drivers/pinctrl/mediatek/
Dpinctrl-paris.c544 struct device_node *np_config, in mtk_pctrl_dt_node_to_map() argument
556 for_each_child_of_node(np_config, np) { in mtk_pctrl_dt_node_to_map()
Dpinctrl-mtk-common.c608 struct device_node *np_config, in mtk_pctrl_dt_node_to_map() argument
619 for_each_child_of_node(np_config, np) { in mtk_pctrl_dt_node_to_map()
/linux-6.1.9/drivers/pinctrl/nuvoton/
Dpinctrl-wpcm450.c841 struct device_node *np_config, in wpcm450_dt_node_to_map() argument
845 return pinconf_generic_dt_node_to_map(pctldev, np_config, in wpcm450_dt_node_to_map()
Dpinctrl-npcm7xx.c1586 struct device_node *np_config, in npcm7xx_dt_node_to_map() argument
1592 dev_dbg(npcm->dev, "dt_node_to_map: %s\n", np_config->name); in npcm7xx_dt_node_to_map()
1593 return pinconf_generic_dt_node_to_map(pctldev, np_config, in npcm7xx_dt_node_to_map()
/linux-6.1.9/drivers/pinctrl/stm32/
Dpinctrl-stm32.c680 struct device_node *np_config, in stm32_pctrl_dt_node_to_map() argument
691 for_each_child_of_node(np_config, np) { in stm32_pctrl_dt_node_to_map()