Home
last modified time | relevance | path

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

/linux/arch/mips/lantiq/xway/
H A Dvmmc.c39 gpio_count = gpiod_count(&pdev->dev, NULL); in vmmc_probe()
/linux/sound/hda/codecs/side-codecs/
H A Dcirrus_scodec.c36 count = gpiod_count(dev, "spk-id"); in cirrus_scodec_get_speaker_id()
H A Dcs35l41_hda.c1742 count = gpiod_count(dev, "spk-id"); in cs35l41_get_speaker_id()
/linux/drivers/mux/
H A Dgpio.c56 pins = gpiod_count(dev, "mux"); in mux_gpio_probe()
/linux/drivers/input/keyboard/
H A Dclps711x-keypad.c103 priv->row_count = gpiod_count(dev, "row"); in clps711x_keypad_probe()
/linux/drivers/watchdog/
H A Dmena21_wdt.c141 num_gpios = gpiod_count(dev, NULL); in a21_wdt_probe()
/linux/drivers/platform/surface/
H A Dsurface_hotplug.c211 if (gpiod_count(&pdev->dev, NULL) < 0) in surface_hotplug_probe()
/linux/drivers/hsi/clients/
H A Dnokia-modem.c77 gpio_count = gpiod_count(dev, NULL); in nokia_modem_gpio_probe()
/linux/drivers/auxdisplay/
H A Dhd44780.c210 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()
/linux/drivers/regulator/
H A Dgpio-regulator.c164 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config()
/linux/drivers/gpio/
H A Dgpio-max3191x.c322 int found = gpiod_count(dev, con_id); in devm_gpiod_get_array_optional_count()
H A Dgpiolib.c4826 int gpiod_count(struct device *dev, const char *con_id) in gpiod_count() function
4843 EXPORT_SYMBOL_GPL(gpiod_count);
5105 count = gpiod_count(dev, con_id); in gpiod_get_array()
H A Dgpio-aggregator.c1593 n = gpiod_count(dev, NULL); in gpio_aggregator_probe()
/linux/drivers/input/misc/
H A Dsoc_button_array.c455 error = gpiod_count(dev, NULL); in soc_button_probe()
/linux/drivers/platform/surface/aggregator/
H A Dcore.c645 status = gpiod_count(dev, NULL); in ssam_serial_hub_probe()
/linux/drivers/spi/
H A Dspi-mpc52xx.c443 ms->gpio_cs_count = gpiod_count(&op->dev, NULL); in mpc52xx_spi_probe()
H A Dspi-fsl-spi.c672 ret = gpiod_count(dev, "cs"); in of_fsl_spi_probe()
H A Dspi.c3282 nb = gpiod_count(dev, "cs"); in spi_get_gpio_descs()
/linux/drivers/hwmon/
H A Dgpio-fan.c456 fan_data->num_gpios = gpiod_count(dev, NULL); in gpio_fan_get_of_data()
/linux/drivers/pci/controller/dwc/
H A Dpcie-kirin.c369 ret = gpiod_count(dev, "hisilicon,clken"); in kirin_pcie_get_gpio_enable()
/linux/drivers/video/fbdev/
H A Datmel_lcdfb.c967 for (i = 0; i < gpiod_count(dev, "atmel,power-control"); i++) { in atmel_lcdfb_of_init()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c5470 ndescs = gpiod_count(dev, "cs"); in rawnand_dt_parse_gpio_cs()