Lines Matching refs:pin_desc
1185 const struct stm32_desc_pin *pin_desc; in stm32_pconf_dbg_show() local
1240 pin_desc = stm32_pconf_get_pin_desc_by_pin_number(pctl, pin); in stm32_pconf_dbg_show()
1241 if (!pin_desc) in stm32_pconf_dbg_show()
1245 pin_desc->functions[alt + 1].name, in stm32_pconf_dbg_show()
1269 struct stm32_desc_pin *pin_desc; in stm32_pctrl_get_desc_pin_from_gpio() local
1274 pin_desc = pctl->pins + stm32_pin_nb; in stm32_pctrl_get_desc_pin_from_gpio()
1275 if (pin_desc->pin.number == stm32_pin_nb) in stm32_pctrl_get_desc_pin_from_gpio()
1276 return pin_desc; in stm32_pctrl_get_desc_pin_from_gpio()
1281 pin_desc = pctl->pins + i; in stm32_pctrl_get_desc_pin_from_gpio()
1282 if (pin_desc->pin.number == stm32_pin_nb) in stm32_pctrl_get_desc_pin_from_gpio()
1283 return pin_desc; in stm32_pctrl_get_desc_pin_from_gpio()
1666 const struct pin_desc *desc = pin_desc_get(pctl->pctl_dev, pin); in stm32_pinctrl_restore_gpio_regs()