Searched refs:of_gpio_named_count (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/include/linux/ |
D | of_gpio.h | 98 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count() function 111 return of_gpio_named_count(np, "gpios"); in of_gpio_count()
|
/Linux-v5.4/drivers/input/keyboard/ |
D | clps711x-keypad.c | 104 priv->row_count = of_gpio_named_count(np, "row-gpios"); in clps711x_keypad_probe()
|
D | matrix_keypad.c | 419 pdata->num_row_gpios = nrow = of_gpio_named_count(np, "row-gpios"); in matrix_keypad_parse_dt() 420 pdata->num_col_gpios = ncol = of_gpio_named_count(np, "col-gpios"); in matrix_keypad_parse_dt()
|
/Linux-v5.4/drivers/leds/ |
D | leds-netxbig.c | 358 ret = of_gpio_named_count(np, "addr-gpios"); in gpio_ext_get_of_pdata() 378 ret = of_gpio_named_count(np, "data-gpios"); in gpio_ext_get_of_pdata()
|
/Linux-v5.4/drivers/spi/ |
D | spi-npcm-pspi.c | 351 num_cs = of_gpio_named_count(np, "cs-gpios"); in npcm_pspi_probe()
|
D | spi-efm32.c | 328 num_cs = of_gpio_named_count(np, "cs-gpios"); in efm32_spi_probe()
|
D | spi-at91-usart.c | 493 nb = of_gpio_named_count(np, "cs-gpios"); in at91_usart_gpio_setup()
|
D | spi.c | 2250 nb = of_gpio_named_count(np, "cs-gpios"); in of_spi_get_gpio_numbers()
|
/Linux-v5.4/drivers/gpio/ |
D | gpiolib-of.c | 46 ret = of_gpio_named_count(dev->of_node, propname); in of_gpio_get_count()
|