Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/mips/lantiq/xway/
Dvmmc.c38 gpio_count = gpiod_count(&pdev->dev, NULL); in vmmc_probe()
/linux-6.1.9/drivers/mux/
Dgpio.c57 pins = gpiod_count(dev, "mux"); in mux_gpio_probe()
/linux-6.1.9/drivers/input/keyboard/
Dclps711x-keypad.c103 priv->row_count = gpiod_count(dev, "row"); in clps711x_keypad_probe()
Dmatrix_keypad.c420 pdata->num_row_gpios = nrow = gpiod_count(dev, "row"); in matrix_keypad_parse_dt()
421 pdata->num_col_gpios = ncol = gpiod_count(dev, "col"); in matrix_keypad_parse_dt()
/linux-6.1.9/drivers/watchdog/
Dmena21_wdt.c141 num_gpios = gpiod_count(dev, NULL); in a21_wdt_probe()
/linux-6.1.9/include/linux/gpio/
Dconsumer.h59 int gpiod_count(struct device *dev, const char *con_id);
191 static inline int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function
/linux-6.1.9/drivers/i2c/busses/
Di2c-cbus-gpio.c226 if (gpiod_count(&pdev->dev, NULL) != 3) in cbus_i2c_probe()
/linux-6.1.9/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()
/linux-6.1.9/drivers/platform/surface/
Dsurface_hotplug.c220 if (gpiod_count(&pdev->dev, NULL) < 0) in surface_hotplug_probe()
/linux-6.1.9/drivers/i2c/muxes/
Di2c-mux-gpio.c144 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe()
/linux-6.1.9/drivers/hsi/clients/
Dnokia-modem.c77 gpio_count = gpiod_count(dev, NULL); in nokia_modem_gpio_probe()
/linux-6.1.9/drivers/auxdisplay/
Dhd44780.c210 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()
/linux-6.1.9/drivers/regulator/
Dgpio-regulator.c164 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config()
/linux-6.1.9/drivers/input/misc/
Dsoc_button_array.c422 error = gpiod_count(dev, NULL); in soc_button_probe()
/linux-6.1.9/drivers/gpio/
Dgpio-max3191x.c337 int found = gpiod_count(dev, con_id); in devm_gpiod_get_array_optional_count()
Dgpio-aggregator.c479 n = gpiod_count(dev, NULL); in gpio_aggregator_probe()
Dgpiolib.c3935 int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function
3950 EXPORT_SYMBOL_GPL(gpiod_count);
4246 count = gpiod_count(dev, con_id); in gpiod_get_array()
/linux-6.1.9/drivers/platform/surface/aggregator/
Dcore.c623 if (gpiod_count(&serdev->dev, NULL) < 0) in ssam_serial_hub_probe()
/linux-6.1.9/drivers/spi/
Dspi-mpc52xx.c443 ms->gpio_cs_count = gpiod_count(&op->dev, NULL); in mpc52xx_spi_probe()
Dspi-fsl-spi.c688 ret = gpiod_count(dev, "cs"); in of_fsl_spi_probe()
Dspi-stm32-qspi.c659 gpiod_count(qspi->dev, "cs") == -ENOENT)) { in stm32_qspi_setup()
/linux-6.1.9/drivers/hwmon/
Dgpio-fan.c425 fan_data->num_gpios = gpiod_count(dev, NULL); in gpio_fan_get_of_data()
/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-kirin.c374 ret = gpiod_count(dev, "hisilicon,clken"); in kirin_pcie_get_gpio_enable()
/linux-6.1.9/drivers/video/fbdev/
Datmel_lcdfb.c990 for (i = 0; i < gpiod_count(dev, "atmel,power-control"); i++) { in atmel_lcdfb_of_init()
/linux-6.1.9/sound/pci/hda/
Dcs35l41_hda.c1187 count = gpiod_count(dev, "spk-id"); in cs35l41_get_speaker_id()

12