/linux-5.19.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.c | 1103 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/ |
D | pinctrl-nomadik.c | 450 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/ |
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()
|
/linux-5.19.10/drivers/pinctrl/ |
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 | pinctrl-at91-pio4.c | 1044 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()
|
D | pinmux.c | 86 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()
|
D | pinconf.c | 264 struct pin_desc *desc; in pinconf_show_setting() 314 struct pin_desc *desc; in pinconf_pins_show()
|
D | core.c | 150 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()
|
D | pinctrl-amd.c | 882 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()
|
D | pinctrl-falcon.c | 325 struct pin_desc *desc; in falcon_pinconf_dbg_show()
|
D | pinctrl-single.c | 342 struct pin_desc *pdesc = pin_desc_get(pctldev, pin); in pcs_get_function()
|
/linux-5.19.10/drivers/pinctrl/sprd/ |
D | pinctrl-sprd.c | 1049 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/ |
D | pinctrl-stm32.c | 1197 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/ |
D | pinctrl-intel.c | 1676 const struct pin_desc *pd = pin_desc_get(pctrl->pctldev, pin); in intel_pinctrl_should_save()
|