aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorValentin Caron <valentin.caron@foss.st.com>2023-06-20 12:43:49 +0200
committerLinus Walleij <linus.walleij@linaro.org>2023-08-10 10:12:39 +0200
commit32c170ff15b044579b1f8b8cdabf543406dde9da (patch)
tree9a28cabee216a1cea24f9ecfab393f712f7b6a21 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentfc8a2041bee341e1fc07df9685cd0be4ffc80a91 (diff)
pinctrl: stm32: set default gpio line names using pin names
Add stm32_pctrl_get_desc_pin_from_gpio function to find a stm32 pin descriptor which is matching with a gpio. Most of the time pin number is equal to pin index in array. So the first part of the function is useful to speed up. And during gpio bank register, we set default gpio names with pin names. Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> Acked-by: Alexandre TORGUE <alexandre.torgue@foss.st.com> Link: https://lore.kernel.org/r/20230620104349.834687-1-valentin.caron@foss.st.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions