Lines Matching refs:pinconfig
274 unsigned long *pinconfig; in sunxi_pctrl_build_pin_config() local
289 pinconfig = kcalloc(configlen, sizeof(*pinconfig), GFP_KERNEL); in sunxi_pctrl_build_pin_config()
290 if (!pinconfig) in sunxi_pctrl_build_pin_config()
300 pinconfig[idx++] = pinconf_to_config_packed(PIN_CONFIG_DRIVE_STRENGTH, in sunxi_pctrl_build_pin_config()
315 pinconfig[idx++] = pinconf_to_config_packed(pull, arg); in sunxi_pctrl_build_pin_config()
320 return pinconfig; in sunxi_pctrl_build_pin_config()
323 kfree(pinconfig); in sunxi_pctrl_build_pin_config()
333 unsigned long *pinconfig; in sunxi_pctrl_dt_node_to_map() local
368 pinconfig = sunxi_pctrl_build_pin_config(node, &configlen); in sunxi_pctrl_dt_node_to_map()
369 if (IS_ERR(pinconfig)) { in sunxi_pctrl_dt_node_to_map()
370 ret = PTR_ERR(pinconfig); in sunxi_pctrl_dt_node_to_map()
397 if (pinconfig) { in sunxi_pctrl_dt_node_to_map()
400 (*map)[i].data.configs.configs = pinconfig; in sunxi_pctrl_dt_node_to_map()