Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c275 unsigned int configlen = 0, idx = 0; in sunxi_pctrl_build_pin_config() local
279 configlen++; in sunxi_pctrl_build_pin_config()
281 configlen++; in sunxi_pctrl_build_pin_config()
286 if (!configlen) in sunxi_pctrl_build_pin_config()
289 pinconfig = kcalloc(configlen, sizeof(*pinconfig), GFP_KERNEL); in sunxi_pctrl_build_pin_config()
319 *len = configlen; in sunxi_pctrl_build_pin_config()
337 int ret, npins, nmaps, configlen = 0, i = 0; in sunxi_pctrl_dt_node_to_map() local
368 pinconfig = sunxi_pctrl_build_pin_config(node, &configlen); in sunxi_pctrl_dt_node_to_map()
401 (*map)[i].data.configs.num_configs = configlen; in sunxi_pctrl_dt_node_to_map()