Home
last modified time | relevance | path

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

/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c334 unsigned long *pinconfig; in sunxi_pctrl_build_pin_config() local
349 pinconfig = kcalloc(configlen, sizeof(*pinconfig), GFP_KERNEL); in sunxi_pctrl_build_pin_config()
350 if (!pinconfig) in sunxi_pctrl_build_pin_config()
360 pinconfig[idx++] = pinconf_to_config_packed(PIN_CONFIG_DRIVE_STRENGTH, in sunxi_pctrl_build_pin_config()
375 pinconfig[idx++] = pinconf_to_config_packed(pull, arg); in sunxi_pctrl_build_pin_config()
380 return pinconfig; in sunxi_pctrl_build_pin_config()
383 kfree(pinconfig); in sunxi_pctrl_build_pin_config()
393 unsigned long *pinconfig; in sunxi_pctrl_dt_node_to_map() local
428 pinconfig = sunxi_pctrl_build_pin_config(node, &configlen); in sunxi_pctrl_dt_node_to_map()
429 if (IS_ERR(pinconfig)) { in sunxi_pctrl_dt_node_to_map()
[all …]
/drivers/media/common/siano/
Dsmscoreapi.c1818 struct smscore_config_gpio *pinconfig) in smscore_configure_gpio() argument
1833 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()
Dsmscoreapi.h1149 struct smscore_config_gpio *pinconfig);