Home
last modified time | relevance | path

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

/drivers/mux/
Dgpio.c55 pins = gpiod_count(dev, "mux"); in mux_gpio_probe()
/drivers/platform/x86/
Dsurface3_button.c195 error = gpiod_count(dev, NULL); in surface3_button_probe()
/drivers/watchdog/
Dmena21_wdt.c141 num_gpios = gpiod_count(dev, NULL); in a21_wdt_probe()
/drivers/leds/
Dleds-netxbig.c356 ret = gpiod_count(gpio_ext_dev, "addr"); in netxbig_gpio_ext_get()
385 ret = gpiod_count(gpio_ext_dev, "data"); in netxbig_gpio_ext_get()
/drivers/i2c/busses/
Di2c-cbus-gpio.c226 if (gpiod_count(&pdev->dev, NULL) != 3) in cbus_i2c_probe()
/drivers/i2c/muxes/
Di2c-mux-gpio.c129 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe()
/drivers/auxdisplay/
Dhd44780.c186 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()
/drivers/regulator/
Dgpio-regulator.c164 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config()
/drivers/input/misc/
Dsoc_button_array.c457 error = gpiod_count(dev, NULL); in soc_button_probe()
/drivers/gpio/
Dgpio-max3191x.c337 int found = gpiod_count(dev, con_id); in devm_gpiod_get_array_optional_count()
Dgpio-aggregator.c530 n = gpiod_count(dev, NULL); in gpio_aggregator_probe()
Dgpiolib.c3843 int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function
3857 EXPORT_SYMBOL_GPL(gpiod_count);
4224 count = gpiod_count(dev, con_id); in gpiod_get_array()
/drivers/hwmon/
Dgpio-fan.c427 fan_data->num_gpios = gpiod_count(dev, NULL); in gpio_fan_get_of_data()
/drivers/spi/
Dspi-fsl-spi.c745 ret = gpiod_count(dev, "cs"); in of_fsl_spi_probe()
Dspi-pxa2xx.c1854 count = gpiod_count(&pdev->dev, "cs"); in pxa2xx_spi_probe()
Dspi.c2567 nb = gpiod_count(dev, "cs"); in spi_get_gpio_descs()
/drivers/video/fbdev/
Datmel_lcdfb.c990 for (i = 0; i < gpiod_count(dev, "atmel,power-control"); i++) { in atmel_lcdfb_of_init()