Home
last modified time | relevance | path

Searched refs:of_get_named_gpio_flags (Results 1 – 26 of 26) sorted by relevance

/linux-4.1.27/include/linux/
Dof_gpio.h50 extern int of_get_named_gpio_flags(struct device_node *np,
66 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags() function
123 return of_get_named_gpio_flags(np, "gpios", index, flags); in of_get_gpio_flags()
138 return of_get_named_gpio_flags(np, propname, index, NULL); in of_get_named_gpio()
/linux-4.1.27/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c145 ret = of_get_named_gpio_flags(np, "our-claim-gpio", 0, &gpio_flags); in i2c_arbitrator_probe()
163 ret = of_get_named_gpio_flags(np, "their-claim-gpios", 0, &gpio_flags); in i2c_arbitrator_probe()
/linux-4.1.27/drivers/gpio/
Dgpiolib-of.c107 int of_get_named_gpio_flags(struct device_node *np, const char *list_name, in of_get_named_gpio_flags() function
119 EXPORT_SYMBOL(of_get_named_gpio_flags);
/linux-4.1.27/drivers/clk/
Dclk-gpio-gate.c164 gpio = of_get_named_gpio_flags(data->node, "enable-gpios", 0, in of_clk_gpio_gate_delayed_register_get()
/linux-4.1.27/drivers/gpu/drm/tegra/
Doutput.c129 output->hpd_gpio = of_get_named_gpio_flags(output->of_node, in tegra_output_probe()
/linux-4.1.27/sound/soc/tegra/
Dtegra_rt5640.c182 machine->gpio_hp_det = of_get_named_gpio_flags( in tegra_rt5640_probe()
/linux-4.1.27/sound/soc/generic/
Dsimple-card.c462 priv->gpio_hp_det = of_get_named_gpio_flags(node, in asoc_simple_card_parse_of()
468 priv->gpio_mic_det = of_get_named_gpio_flags(node, in asoc_simple_card_parse_of()
/linux-4.1.27/drivers/usb/host/
Dohci-at91.c469 gpio = of_get_named_gpio_flags(np, "atmel,vbus-gpio", i, &flags); in ohci_at91_of_init()
478 of_get_named_gpio_flags(np, "atmel,oc-gpio", i, &flags); in ohci_at91_of_init()
/linux-4.1.27/sound/soc/codecs/
Dak4104.c298 int gpio = of_get_named_gpio_flags(np, "reset-gpio", 0, &flags); in ak4104_spi_probe()
Dcs4270.c683 int gpio = of_get_named_gpio_flags(np, "reset-gpio", 0, &flags); in cs4270_i2c_probe()
/linux-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_tfp410.c360 tfp410_mod->gpio = of_get_named_gpio_flags(node, "powerdn-gpio", in tfp410_probe()
/linux-4.1.27/drivers/power/
Dbq24735-charger.c224 pdata->status_gpio = of_get_named_gpio_flags(np, "ti,ac-detect-gpios", in bq24735_parse_dt_data()
Dsbs-battery.c777 pdata->battery_detect = of_get_named_gpio_flags(of_node, in sbs_of_populate_pdata()
/linux-4.1.27/drivers/hwmon/
Dgpio-fan.c463 val = of_get_named_gpio_flags(node, "alarm-gpios", 0, &flags); in gpio_fan_get_of_pdata()
/linux-4.1.27/drivers/usb/renesas_usbhs/
Dcommon.c495 gpio = of_get_named_gpio_flags(dev->of_node, "renesas,enable-gpio", 0, in usbhs_parse_dt()
/linux-4.1.27/drivers/usb/gadget/udc/
Dat91_udc.c1792 board->vbus_pin = of_get_named_gpio_flags(np, "atmel,vbus-gpio", 0, in at91udc_of_init()
1796 board->pullup_pin = of_get_named_gpio_flags(np, "atmel,pullup-gpio", 0, in at91udc_of_init()
Datmel_usba_udc.c1945 udc->vbus_pin = of_get_named_gpio_flags(np, "atmel,vbus-gpio", 0, in atmel_udc_of_init()
/linux-4.1.27/drivers/pci/host/
Dpci-mvebu.c1030 port->reset_gpio = of_get_named_gpio_flags(child, in mvebu_pcie_probe()
/linux-4.1.27/drivers/mfd/
Dstmpe.c1129 pdata->irq_gpio = of_get_named_gpio_flags(np, "irq-gpio", 0, in stmpe_of_probe()
/linux-4.1.27/drivers/net/ethernet/micrel/
Dks8851.c1427 gpio = of_get_named_gpio_flags(spi->dev.of_node, "reset-gpios", in ks8851_probe()
/linux-4.1.27/drivers/video/fbdev/
Datmel_lcdfb.c1078 gpio = of_get_named_gpio_flags(display_np, "atmel,power-control-gpio", in atmel_lcdfb_of_init()
/linux-4.1.27/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c1586 ret = of_get_named_gpio_flags(node, prop_names[i], in s5c73m3_parse_gpios()
/linux-4.1.27/drivers/net/ethernet/davicom/
Ddm9000.c1457 reset_gpios = of_get_named_gpio_flags(dev->of_node, "reset-gpios", 0, in dm9000_probe()
/linux-4.1.27/drivers/staging/fbtft/
Dfbtft-core.c170 gpio = of_get_named_gpio_flags(node, name, index, &of_flags); in fbtft_request_one_gpio()
/linux-4.1.27/drivers/tty/serial/
Domap-serial.c1593 up->rts_gpio = of_get_named_gpio_flags(np, "rts-gpio", 0, &flags); in serial_omap_probe_rs485()
/linux-4.1.27/drivers/media/i2c/
Ds5k5baf.c1828 ret = of_get_named_gpio_flags(node, names[i], 0, &flags); in s5k5baf_parse_gpios()