| /linux-6.15/arch/mips/lantiq/xway/ |
| H A D | vmmc.c | 39 gpio_count = gpiod_count(&pdev->dev, NULL); in vmmc_probe()
|
| /linux-6.15/sound/pci/hda/ |
| H A D | cirrus_scodec.c | 36 count = gpiod_count(dev, "spk-id"); in cirrus_scodec_get_speaker_id()
|
| /linux-6.15/drivers/mux/ |
| H A D | gpio.c | 55 pins = gpiod_count(dev, "mux"); in mux_gpio_probe()
|
| /linux-6.15/drivers/input/keyboard/ |
| H A D | matrix_keypad.c | 283 nrow = gpiod_count(&pdev->dev, "row"); in matrix_keypad_init_gpio() 284 ncol = gpiod_count(&pdev->dev, "col"); in matrix_keypad_init_gpio()
|
| H A D | clps711x-keypad.c | 103 priv->row_count = gpiod_count(dev, "row"); in clps711x_keypad_probe()
|
| /linux-6.15/drivers/watchdog/ |
| H A D | mena21_wdt.c | 141 num_gpios = gpiod_count(dev, NULL); in a21_wdt_probe()
|
| /linux-6.15/include/linux/gpio/ |
| H A D | consumer.h | 62 int gpiod_count(struct device *dev, const char *con_id); 189 static inline int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function
|
| /linux-6.15/drivers/platform/surface/ |
| H A D | surface_hotplug.c | 211 if (gpiod_count(&pdev->dev, NULL) < 0) in surface_hotplug_probe()
|
| /linux-6.15/drivers/i2c/busses/ |
| H A D | i2c-cbus-gpio.c | 224 if (gpiod_count(&pdev->dev, NULL) != 3) in cbus_i2c_probe()
|
| /linux-6.15/drivers/leds/ |
| H A 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()
|
| /linux-6.15/drivers/i2c/muxes/ |
| H A D | i2c-mux-gpio.c | 150 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe()
|
| /linux-6.15/drivers/hsi/clients/ |
| H A D | nokia-modem.c | 77 gpio_count = gpiod_count(dev, NULL); in nokia_modem_gpio_probe()
|
| /linux-6.15/drivers/auxdisplay/ |
| H A D | hd44780.c | 210 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()
|
| /linux-6.15/drivers/regulator/ |
| H A D | gpio-regulator.c | 164 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config()
|
| /linux-6.15/drivers/input/misc/ |
| H A D | soc_button_array.c | 455 error = gpiod_count(dev, NULL); in soc_button_probe()
|
| /linux-6.15/drivers/gpio/ |
| H A D | gpio-max3191x.c | 335 int found = gpiod_count(dev, con_id); in devm_gpiod_get_array_optional_count()
|
| H A D | gpio-aggregator.c | 598 n = gpiod_count(dev, NULL); in gpio_aggregator_probe()
|
| H A D | gpiolib.c | 4695 int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function 4712 EXPORT_SYMBOL_GPL(gpiod_count); 4974 count = gpiod_count(dev, con_id); in gpiod_get_array()
|
| /linux-6.15/drivers/spi/ |
| H A D | spi-mpc52xx.c | 444 ms->gpio_cs_count = gpiod_count(&op->dev, NULL); in mpc52xx_spi_probe()
|
| H A D | spi-fsl-spi.c | 672 ret = gpiod_count(dev, "cs"); in of_fsl_spi_probe()
|
| H A D | spi-stm32-qspi.c | 651 if (mode && gpiod_count(qspi->dev, "cs") == -ENOENT) { in stm32_qspi_setup()
|
| /linux-6.15/drivers/platform/surface/aggregator/ |
| H A D | core.c | 645 status = gpiod_count(dev, NULL); in ssam_serial_hub_probe()
|
| /linux-6.15/drivers/hwmon/ |
| H A D | gpio-fan.c | 431 fan_data->num_gpios = gpiod_count(dev, NULL); in gpio_fan_get_of_data()
|
| /linux-6.15/drivers/pci/controller/dwc/ |
| H A D | pcie-kirin.c | 369 ret = gpiod_count(dev, "hisilicon,clken"); in kirin_pcie_get_gpio_enable()
|
| /linux-6.15/drivers/video/fbdev/ |
| H A D | atmel_lcdfb.c | 967 for (i = 0; i < gpiod_count(dev, "atmel,power-control"); i++) { in atmel_lcdfb_of_init()
|