Searched refs:gpiod_count (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.4/drivers/mux/ |
D | gpio.c | 55 pins = gpiod_count(dev, "mux"); in mux_gpio_probe()
|
/Linux-v5.4/drivers/watchdog/ |
D | mena21_wdt.c | 141 num_gpios = gpiod_count(dev, NULL); in a21_wdt_probe()
|
/Linux-v5.4/drivers/platform/x86/ |
D | surface3_button.c | 195 error = gpiod_count(dev, NULL); in surface3_button_probe()
|
/Linux-v5.4/include/linux/gpio/ |
D | consumer.h | 61 int gpiod_count(struct device *dev, const char *con_id); 187 static inline int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function
|
/Linux-v5.4/drivers/i2c/busses/ |
D | i2c-cbus-gpio.c | 225 if (gpiod_count(&pdev->dev, NULL) != 3) in cbus_i2c_probe()
|
/Linux-v5.4/drivers/i2c/muxes/ |
D | i2c-mux-gpio.c | 129 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe()
|
/Linux-v5.4/drivers/auxdisplay/ |
D | hd44780.c | 186 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()
|
/Linux-v5.4/drivers/regulator/ |
D | gpio-regulator.c | 157 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config()
|
/Linux-v5.4/drivers/input/misc/ |
D | soc_button_array.c | 345 error = gpiod_count(dev, NULL); in soc_button_probe()
|
/Linux-v5.4/drivers/gpio/ |
D | gpio-max3191x.c | 336 int found = gpiod_count(dev, con_id); in devm_gpiod_get_array_optional_count()
|
D | gpiolib.c | 4364 int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function 4378 EXPORT_SYMBOL_GPL(gpiod_count); 4740 count = gpiod_count(dev, con_id); in gpiod_get_array()
|
/Linux-v5.4/drivers/hwmon/ |
D | gpio-fan.c | 424 fan_data->num_gpios = gpiod_count(dev, NULL); in gpio_fan_get_of_data()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | atmel_lcdfb.c | 991 for (i = 0; i < gpiod_count(dev, "atmel,power-control"); i++) { in atmel_lcdfb_of_init()
|
/Linux-v5.4/drivers/spi/ |
D | spi-sh-msiof.c | 1135 ret = gpiod_count(dev, "cs"); in sh_msiof_get_cs_gpios()
|
D | spi-pxa2xx.c | 1791 count = gpiod_count(&pdev->dev, "cs"); in pxa2xx_spi_probe()
|
D | spi.c | 2291 nb = gpiod_count(dev, "cs"); in spi_get_gpio_descs()
|