Searched refs:gpiod_count (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/mux/ |
D | gpio.c | 57 pins = gpiod_count(dev, "mux"); in mux_gpio_probe()
|
/Linux-v4.19/include/linux/gpio/ |
D | consumer.h | 51 int gpiod_count(struct device *dev, const char *con_id); 172 static inline int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function
|
/Linux-v4.19/drivers/platform/x86/ |
D | surface3_button.c | 199 error = gpiod_count(dev, NULL); in surface3_button_probe()
|
/Linux-v4.19/drivers/auxdisplay/ |
D | hd44780.c | 206 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()
|
/Linux-v4.19/drivers/input/misc/ |
D | soc_button_array.c | 331 error = gpiod_count(dev, NULL); in soc_button_probe()
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-max3191x.c | 336 int found = gpiod_count(dev, con_id); in devm_gpiod_get_array_optional_count()
|
D | gpiolib.c | 3746 int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function 3760 EXPORT_SYMBOL_GPL(gpiod_count); 4176 count = gpiod_count(dev, con_id); in gpiod_get_array()
|
/Linux-v4.19/drivers/hwmon/ |
D | gpio-fan.c | 437 fan_data->num_gpios = gpiod_count(dev, NULL); in gpio_fan_get_of_data()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | atmel_lcdfb.c | 1074 for (i = 0; i < gpiod_count(dev, "atmel,power-control"); i++) { in atmel_lcdfb_of_init()
|
/Linux-v4.19/drivers/spi/ |
D | spi-sh-msiof.c | 1131 ret = gpiod_count(dev, "cs"); in sh_msiof_get_cs_gpios()
|
D | spi-pxa2xx.c | 1674 count = gpiod_count(&pdev->dev, "cs"); in pxa2xx_spi_probe()
|