Searched refs:pin_desc (Results 1 – 13 of 13) sorted by relevance
/drivers/pinctrl/nomadik/ |
D | pinctrl-nomadik.c | 453 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_altcx_set_mode() local 475 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_altcx_set_mode() 484 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode() 485 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode() 486 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode() 499 if (pin_desc->altcx[alt_index].used == false) { in nmk_prcm_altcx_set_mode() 513 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode() 514 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode() 515 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode() 525 reg = gpiocr_regs[pin_desc->altcx[alt_index].reg_index]; in nmk_prcm_altcx_set_mode() [all …]
|
/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-core.c | 75 const struct pin_desc *desc = pin_desc_get(pctldev, offset); in uniphier_pctl_pin_dbg_show() 153 const struct pin_desc *desc = pin_desc_get(pctldev, pin); in uniphier_conf_get_drvctrl_data() 209 const struct pin_desc *desc = pin_desc_get(pctldev, pin); in uniphier_conf_pin_bias_get() 285 const struct pin_desc *desc = pin_desc_get(pctldev, pin); in uniphier_conf_pin_input_enable_get() 346 const struct pin_desc *desc = pin_desc_get(pctldev, pin); in uniphier_conf_pin_bias_set() 420 const struct pin_desc *desc = pin_desc_get(pctldev, pin); in uniphier_conf_pin_drive_set() 458 const struct pin_desc *desc = pin_desc_get(pctldev, pin); in uniphier_conf_pin_input_enable()
|
/drivers/pinctrl/ |
D | pinctrl-at91-pio4.c | 934 struct pinctrl_pin_desc *pin_desc; in atmel_pinctrl_probe() local 976 pin_desc = devm_kcalloc(dev, atmel_pioctrl->npins, sizeof(*pin_desc), in atmel_pinctrl_probe() 978 if (!pin_desc) in atmel_pinctrl_probe() 980 atmel_pinctrl_desc.pins = pin_desc; in atmel_pinctrl_probe() 1012 pin_desc[i].number = i; in atmel_pinctrl_probe() 1014 pin_desc[i].name = kasprintf(GFP_KERNEL, "P%c%d", in atmel_pinctrl_probe() 1017 group->name = group_names[i] = pin_desc[i].name; in atmel_pinctrl_probe() 1018 group->pin = pin_desc[i].number; in atmel_pinctrl_probe()
|
D | pinmux.c | 84 struct pin_desc *desc = pin_desc_get(pctldev, pin); in pinmux_can_be_used_for_gpio() 109 struct pin_desc *desc; in pin_request() 208 struct pin_desc *desc; in pin_free() 410 struct pin_desc *desc; in pinmux_enable_setting() 490 struct pin_desc *desc; in pinmux_disable_setting() 599 struct pin_desc *desc; in pinmux_pins_show()
|
D | core.h | 159 struct pin_desc { struct 229 static inline struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, in pin_desc_get()
|
D | pinconf.c | 264 struct pin_desc *desc; in pinconf_show_setting() 314 struct pin_desc *desc; in pinconf_pins_show()
|
D | core.c | 149 struct pin_desc *desc; in pin_get_from_name() 168 const struct pin_desc *desc; in pin_get_name() 188 struct pin_desc *pindesc; in pinctrl_free_pindescs() 205 struct pin_desc *pindesc; in pinctrl_register_one_pin() 1614 struct pin_desc *desc; in pinctrl_pins_show()
|
D | pinctrl-falcon.c | 325 struct pin_desc *desc; in falcon_pinconf_dbg_show()
|
D | pinctrl-amd.c | 783 const struct pin_desc *pd = pin_desc_get(gpio_dev->pctrl, pin); in amd_gpio_should_save()
|
D | pinctrl-single.c | 315 struct pin_desc *pdesc = pin_desc_get(pctldev, pin); in pcs_get_function()
|
/drivers/pinctrl/sprd/ |
D | pinctrl-sprd.c | 1012 struct pinctrl_pin_desc *pin_desc; in sprd_pinctrl_core_probe() local 1046 pin_desc = devm_kcalloc(&pdev->dev, in sprd_pinctrl_core_probe() 1050 if (!pin_desc) in sprd_pinctrl_core_probe() 1054 pin_desc[i].number = pinctrl_info->pins[i].number; in sprd_pinctrl_core_probe() 1055 pin_desc[i].name = pinctrl_info->pins[i].name; in sprd_pinctrl_core_probe() 1056 pin_desc[i].drv_data = pinctrl_info; in sprd_pinctrl_core_probe() 1059 sprd_pinctrl_desc.pins = pin_desc; in sprd_pinctrl_core_probe()
|
/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 1502 const struct pin_desc *pd = pin_desc_get(pctrl->pctldev, pin); in intel_pinctrl_should_save()
|
/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 1489 const struct pin_desc *desc = pin_desc_get(pctl->pctl_dev, pin); in stm32_pinctrl_restore_gpio_regs()
|