Home
last modified time | relevance | path

Searched refs:gpio_flags (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Dtps62360-regulator.c328 int gpio_flags; in tps62360_probe() local
404 gpio_flags = (pdata->vsel0_def_state) ? in tps62360_probe()
406 tps->vsel0_gpio = devm_gpiod_get_optional(&client->dev, "vsel0", gpio_flags); in tps62360_probe()
414 gpio_flags = (pdata->vsel1_def_state) ? in tps62360_probe()
416 tps->vsel1_gpio = devm_gpiod_get_optional(&client->dev, "vsel1", gpio_flags); in tps62360_probe()
H A Dpwm-regulator.c326 enum gpiod_flags gpio_flags; in pwm_regulator_probe() local
363 gpio_flags = GPIOD_OUT_HIGH; in pwm_regulator_probe()
365 gpio_flags = GPIOD_OUT_LOW; in pwm_regulator_probe()
367 gpio_flags); in pwm_regulator_probe()
H A Dmax8973-regulator.c675 int gpio_flags; in max8973_probe() local
678 gpio_flags = (pdata->dvs_def_state) ? in max8973_probe()
681 gpio_flags, "max8973-dvs"); in max8973_probe()
/openbmc/linux/sound/soc/codecs/
H A Dwm0010.c866 unsigned long gpio_flags; in wm0010_spi_probe() local
915 gpio_flags = GPIOF_OUT_INIT_HIGH; in wm0010_spi_probe()
917 gpio_flags = GPIOF_OUT_INIT_LOW; in wm0010_spi_probe()
920 gpio_flags, "wm0010 reset"); in wm0010_spi_probe()
/openbmc/linux/drivers/net/phy/
H A Dsfp.c158 static const enum gpiod_flags gpio_flags[] = { enum
544 if (gpio_flags[i] != GPIOD_IN || !sfp->gpio[i]) in sfp_gpio_get_state()
2993 gpio_names[i], gpio_flags[i]); in sfp_probe()
3037 if (gpio_flags[i] != GPIOD_IN || !sfp->gpio[i]) in sfp_probe()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dpxa27x_udc.c2359 unsigned long gpio_flags; in pxa_udc_probe() local
2362 gpio_flags = mach->gpio_pullup_inverted ? GPIOF_ACTIVE_LOW : 0; in pxa_udc_probe()
2366 gpio_flags, in pxa_udc_probe()