Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c1103 struct ptp_pin_desc pin_desc[MAX_PTP_GPIO_COUNT]; in aq_ptp_gpio_init() local
1108 memset(pin_desc, 0, sizeof(pin_desc)); in aq_ptp_gpio_init()
1113 snprintf(pin_desc[out_pin_cnt].name, in aq_ptp_gpio_init()
1114 sizeof(pin_desc[out_pin_cnt].name), in aq_ptp_gpio_init()
1116 pin_desc[out_pin_cnt].index = out_pin_cnt; in aq_ptp_gpio_init()
1117 pin_desc[out_pin_cnt].chan = out_pin_cnt; in aq_ptp_gpio_init()
1118 pin_desc[out_pin_cnt++].func = PTP_PF_PEROUT; in aq_ptp_gpio_init()
1127 snprintf(pin_desc[out_pin_cnt].name, in aq_ptp_gpio_init()
1128 sizeof(pin_desc[out_pin_cnt].name), in aq_ptp_gpio_init()
1130 pin_desc[out_pin_cnt].index = out_pin_cnt; in aq_ptp_gpio_init()
[all …]
/linux-5.19.10/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.c450 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_altcx_set_mode() local
472 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_altcx_set_mode()
481 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
482 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
483 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
496 if (pin_desc->altcx[alt_index].used == false) { in nmk_prcm_altcx_set_mode()
510 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
511 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
512 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
522 reg = gpiocr_regs[pin_desc->altcx[alt_index].reg_index]; in nmk_prcm_altcx_set_mode()
[all …]
/linux-5.19.10/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-core.c75 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()
/linux-5.19.10/drivers/pinctrl/
Dcore.h159 struct pin_desc { struct
229 static inline struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, in pin_desc_get()
Dpinctrl-at91-pio4.c1044 struct pinctrl_pin_desc *pin_desc; in atmel_pinctrl_probe() local
1090 pin_desc = devm_kcalloc(dev, atmel_pioctrl->npins, sizeof(*pin_desc), in atmel_pinctrl_probe()
1092 if (!pin_desc) in atmel_pinctrl_probe()
1094 atmel_pinctrl_desc.pins = pin_desc; in atmel_pinctrl_probe()
1126 pin_desc[i].number = i; in atmel_pinctrl_probe()
1128 pin_desc[i].name = kasprintf(GFP_KERNEL, "P%c%d", in atmel_pinctrl_probe()
1131 group->name = group_names[i] = pin_desc[i].name; in atmel_pinctrl_probe()
1132 group->pin = pin_desc[i].number; in atmel_pinctrl_probe()
Dpinmux.c86 struct pin_desc *desc = pin_desc_get(pctldev, pin); in pinmux_can_be_used_for_gpio()
112 struct pin_desc *desc; in pin_request()
211 struct pin_desc *desc; in pin_free()
414 struct pin_desc *desc; in pinmux_enable_setting()
494 struct pin_desc *desc; in pinmux_disable_setting()
603 struct pin_desc *desc; in pinmux_pins_show()
Dpinconf.c264 struct pin_desc *desc; in pinconf_show_setting()
314 struct pin_desc *desc; in pinconf_pins_show()
Dcore.c150 struct pin_desc *desc; in pin_get_from_name()
169 const struct pin_desc *desc; in pin_get_name()
190 struct pin_desc *pindesc; in pinctrl_free_pindescs()
207 struct pin_desc *pindesc; in pinctrl_register_one_pin()
1640 struct pin_desc *desc; in pinctrl_pins_show()
Dpinctrl-amd.c882 const struct pin_desc *pd = pin_desc_get(gpio_dev->pctrl, pin); in amd_gpio_irq_init()
900 const struct pin_desc *pd = pin_desc_get(gpio_dev->pctrl, pin); in amd_gpio_should_save()
Dpinctrl-falcon.c325 struct pin_desc *desc; in falcon_pinconf_dbg_show()
Dpinctrl-single.c342 struct pin_desc *pdesc = pin_desc_get(pctldev, pin); in pcs_get_function()
/linux-5.19.10/drivers/pinctrl/sprd/
Dpinctrl-sprd.c1049 struct pinctrl_pin_desc *pin_desc; in sprd_pinctrl_core_probe() local
1083 pin_desc = devm_kcalloc(&pdev->dev, in sprd_pinctrl_core_probe()
1087 if (!pin_desc) in sprd_pinctrl_core_probe()
1091 pin_desc[i].number = pinctrl_info->pins[i].number; in sprd_pinctrl_core_probe()
1092 pin_desc[i].name = pinctrl_info->pins[i].name; in sprd_pinctrl_core_probe()
1093 pin_desc[i].drv_data = pinctrl_info; in sprd_pinctrl_core_probe()
1096 sprd_pinctrl_desc.pins = pin_desc; in sprd_pinctrl_core_probe()
/linux-5.19.10/drivers/pinctrl/stm32/
Dpinctrl-stm32.c1197 const struct stm32_desc_pin *pin_desc; in stm32_pconf_dbg_show() local
1252 pin_desc = stm32_pconf_get_pin_desc_by_pin_number(pctl, pin); in stm32_pconf_dbg_show()
1253 if (!pin_desc) in stm32_pconf_dbg_show()
1257 pin_desc->functions[alt + 1].name, in stm32_pconf_dbg_show()
1636 const struct pin_desc *desc = pin_desc_get(pctl->pctl_dev, pin); in stm32_pinctrl_restore_gpio_regs()
/linux-5.19.10/drivers/pinctrl/intel/
Dpinctrl-intel.c1676 const struct pin_desc *pd = pin_desc_get(pctrl->pctldev, pin); in intel_pinctrl_should_save()