Searched refs:gpiod_count (Results 1 – 17 of 17) sorted by relevance
/drivers/mux/ |
D | gpio.c | 55 pins = gpiod_count(dev, "mux"); in mux_gpio_probe()
|
/drivers/platform/x86/ |
D | surface3_button.c | 195 error = gpiod_count(dev, NULL); in surface3_button_probe()
|
/drivers/watchdog/ |
D | mena21_wdt.c | 141 num_gpios = gpiod_count(dev, NULL); in a21_wdt_probe()
|
/drivers/leds/ |
D | leds-netxbig.c | 356 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/ |
D | i2c-cbus-gpio.c | 226 if (gpiod_count(&pdev->dev, NULL) != 3) in cbus_i2c_probe()
|
/drivers/i2c/muxes/ |
D | i2c-mux-gpio.c | 129 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe()
|
/drivers/auxdisplay/ |
D | hd44780.c | 186 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()
|
/drivers/regulator/ |
D | gpio-regulator.c | 164 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config()
|
/drivers/input/misc/ |
D | soc_button_array.c | 457 error = gpiod_count(dev, NULL); in soc_button_probe()
|
/drivers/gpio/ |
D | gpio-max3191x.c | 337 int found = gpiod_count(dev, con_id); in devm_gpiod_get_array_optional_count()
|
D | gpio-aggregator.c | 530 n = gpiod_count(dev, NULL); in gpio_aggregator_probe()
|
D | gpiolib.c | 3843 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/ |
D | gpio-fan.c | 427 fan_data->num_gpios = gpiod_count(dev, NULL); in gpio_fan_get_of_data()
|
/drivers/spi/ |
D | spi-fsl-spi.c | 745 ret = gpiod_count(dev, "cs"); in of_fsl_spi_probe()
|
D | spi-pxa2xx.c | 1854 count = gpiod_count(&pdev->dev, "cs"); in pxa2xx_spi_probe()
|
D | spi.c | 2567 nb = gpiod_count(dev, "cs"); in spi_get_gpio_descs()
|
/drivers/video/fbdev/ |
D | atmel_lcdfb.c | 990 for (i = 0; i < gpiod_count(dev, "atmel,power-control"); i++) { in atmel_lcdfb_of_init()
|