Home
last modified time | relevance | path

Searched refs:gpiod_count (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/mux/
Dgpio.c55 pins = gpiod_count(dev, "mux"); in mux_gpio_probe()
/Linux-v5.4/drivers/watchdog/
Dmena21_wdt.c141 num_gpios = gpiod_count(dev, NULL); in a21_wdt_probe()
/Linux-v5.4/drivers/platform/x86/
Dsurface3_button.c195 error = gpiod_count(dev, NULL); in surface3_button_probe()
/Linux-v5.4/include/linux/gpio/
Dconsumer.h61 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/
Di2c-cbus-gpio.c225 if (gpiod_count(&pdev->dev, NULL) != 3) in cbus_i2c_probe()
/Linux-v5.4/drivers/i2c/muxes/
Di2c-mux-gpio.c129 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe()
/Linux-v5.4/drivers/auxdisplay/
Dhd44780.c186 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()
/Linux-v5.4/drivers/regulator/
Dgpio-regulator.c157 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config()
/Linux-v5.4/drivers/input/misc/
Dsoc_button_array.c345 error = gpiod_count(dev, NULL); in soc_button_probe()
/Linux-v5.4/drivers/gpio/
Dgpio-max3191x.c336 int found = gpiod_count(dev, con_id); in devm_gpiod_get_array_optional_count()
Dgpiolib.c4364 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/
Dgpio-fan.c424 fan_data->num_gpios = gpiod_count(dev, NULL); in gpio_fan_get_of_data()
/Linux-v5.4/drivers/video/fbdev/
Datmel_lcdfb.c991 for (i = 0; i < gpiod_count(dev, "atmel,power-control"); i++) { in atmel_lcdfb_of_init()
/Linux-v5.4/drivers/spi/
Dspi-sh-msiof.c1135 ret = gpiod_count(dev, "cs"); in sh_msiof_get_cs_gpios()
Dspi-pxa2xx.c1791 count = gpiod_count(&pdev->dev, "cs"); in pxa2xx_spi_probe()
Dspi.c2291 nb = gpiod_count(dev, "cs"); in spi_get_gpio_descs()