Searched refs:pinconfig (Results 1 – 4 of 4) sorted by relevance
274 unsigned long *pinconfig; in sunxi_pctrl_build_pin_config() local289 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() local368 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()[all …]
1818 struct smscore_config_gpio *pinconfig) in smscore_configure_gpio() argument1833 msg.data[1] = pinconfig->pullupdown; in smscore_configure_gpio()1836 msg.data[2] = pinconfig->outputslewrate == 0 ? 3 : 0; in smscore_configure_gpio()1838 switch (pinconfig->outputdriving) { in smscore_configure_gpio()1854 msg.data[4] = pinconfig->direction; in smscore_configure_gpio()
1149 struct smscore_config_gpio *pinconfig);
377 gsta_set_config(chip, i, gpio_pdata->pinconfig[i]); in gsta_probe()