Home
last modified time | relevance | path

Searched refs:of_gpio_named_count (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/include/linux/
Dof_gpio.h98 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/
Dclps711x-keypad.c104 priv->row_count = of_gpio_named_count(np, "row-gpios"); in clps711x_keypad_probe()
Dmatrix_keypad.c419 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/
Dleds-netxbig.c358 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/
Dspi-npcm-pspi.c351 num_cs = of_gpio_named_count(np, "cs-gpios"); in npcm_pspi_probe()
Dspi-efm32.c328 num_cs = of_gpio_named_count(np, "cs-gpios"); in efm32_spi_probe()
Dspi-at91-usart.c493 nb = of_gpio_named_count(np, "cs-gpios"); in at91_usart_gpio_setup()
Dspi.c2250 nb = of_gpio_named_count(np, "cs-gpios"); in of_spi_get_gpio_numbers()
/Linux-v5.4/drivers/gpio/
Dgpiolib-of.c46 ret = of_gpio_named_count(dev->of_node, propname); in of_gpio_get_count()