/openbmc/linux/drivers/bus/ |
H A D | ts-nbus.c | 46 GPIOD_OUT_HIGH); in ts_nbus_init_pdata() 52 ts_nbus->csn = devm_gpiod_get(&pdev->dev, "ts,csn", GPIOD_OUT_HIGH); in ts_nbus_init_pdata() 58 ts_nbus->txrx = devm_gpiod_get(&pdev->dev, "ts,txrx", GPIOD_OUT_HIGH); in ts_nbus_init_pdata() 64 ts_nbus->strobe = devm_gpiod_get(&pdev->dev, "ts,strobe", GPIOD_OUT_HIGH); in ts_nbus_init_pdata() 70 ts_nbus->ale = devm_gpiod_get(&pdev->dev, "ts,ale", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
|
/openbmc/linux/Documentation/driver-api/gpio/ |
H A D | board.rst | 48 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH); 49 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH); 50 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH); 52 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH); 168 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH); 169 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH); 170 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH); 172 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH); 188 GPIO_HOG("gpio.0", 10, "foo", GPIO_ACTIVE_LOW, GPIOD_OUT_HIGH),
|
/openbmc/linux/sound/soc/codecs/ |
H A D | max9759.c | 151 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown", GPIOD_OUT_HIGH); in max9759_probe() 156 priv->gpiod_mute = devm_gpiod_get(dev, "mute", GPIOD_OUT_HIGH); in max9759_probe() 162 priv->gpiod_gain = devm_gpiod_get_array(dev, "gain", GPIOD_OUT_HIGH); in max9759_probe()
|
H A D | bd28623.c | 202 GPIOD_OUT_HIGH); in bd28623_probe() 210 GPIOD_OUT_HIGH); in bd28623_probe()
|
/openbmc/linux/sound/pci/hda/ |
H A D | cs35l41_hda_property.c | 28 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in lenovo_legion_no_acpi() 61 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 1, GPIOD_OUT_HIGH); in hp_vision_acpi_fix()
|
/openbmc/linux/drivers/regulator/ |
H A D | gpio-regulator.c | 181 config->gflags[i] = GPIOD_OUT_HIGH; in of_get_gpio_regulator_config() 184 val ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in of_get_gpio_regulator_config() 324 if (config->gflags[ptr] == GPIOD_OUT_HIGH) in gpio_regulator_probe() 339 gflags = GPIOD_OUT_HIGH | GPIOD_FLAGS_BIT_NONEXCLUSIVE; in gpio_regulator_probe()
|
H A D | max8952.c | 211 gflags = GPIOD_OUT_HIGH; in max8952_pmic_probe() 238 gflags = max8952->vid0 ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in max8952_pmic_probe() 244 gflags = max8952->vid1 ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in max8952_pmic_probe()
|
H A D | rt4801-regulator.c | 51 GPIOD_OUT_HIGH, in rt4801_of_parse_cb() 201 GPIOD_OUT_HIGH); in rt4801_probe()
|
H A D | lp872x.c | 256 state = dvs_sel == SEL_V1 ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in lp872x_set_dvs() 272 addr = (lp->dvs_pin == GPIOD_OUT_HIGH) ? in lp872x_select_buck_vout_addr() 286 addr = (lp->dvs_pin == GPIOD_OUT_HIGH) ? in lp872x_select_buck_vout_addr() 714 lp->pdata->enable_gpio = devm_gpiod_get_optional(lp->dev, "enable", GPIOD_OUT_HIGH); in lp872x_hw_enable() 843 pdata->dvs->init_state = dvs_state ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in lp872x_populate_pdata_from_dt()
|
/openbmc/linux/drivers/pcmcia/ |
H A D | sa1100_generic.c | 58 skt->gpio_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in sa11x0_cf_hw_init() 63 GPIOD_OUT_HIGH); in sa11x0_cf_hw_init()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | pdata-quirks.c | 105 d = gpiod_get_index(NULL, "reset", idx, GPIOD_OUT_HIGH); in omap3_sbc_t3x_usb_hub_init() 198 d = gpiod_get(NULL, "power", GPIOD_OUT_HIGH); in omap3_sbc_t3517_wifi_init() 206 d = gpiod_get(NULL, "noe", GPIOD_OUT_HIGH); in omap3_sbc_t3517_wifi_init()
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-boe-himax8279d.c | 855 pinfo->pp18_gpio = devm_gpiod_get(dev, "pp18", GPIOD_OUT_HIGH); in panel_add() 863 pinfo->pp33_gpio = devm_gpiod_get(dev, "pp33", GPIOD_OUT_HIGH); in panel_add() 871 pinfo->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_HIGH); in panel_add()
|
H A D | panel-mantix-mlaf057we51.c | 267 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in mantix_probe() 273 ctx->tp_rstn_gpio = devm_gpiod_get(dev, "mantix,tp-rstn", GPIOD_OUT_HIGH); in mantix_probe()
|
/openbmc/linux/drivers/usb/misc/ |
H A D | usb3503.c | 244 flags = GPIOD_OUT_HIGH; in usb3503_probe() 261 hub->bypass = devm_gpiod_get_optional(dev, "bypass", GPIOD_OUT_HIGH); in usb3503_probe() 269 hub->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in usb3503_probe()
|
/openbmc/linux/sound/soc/atmel/ |
H A D | tse850-pcm5142.c | 373 tse850->add = devm_gpiod_get(dev, "axentia,add", GPIOD_OUT_HIGH); in tse850_probe() 379 tse850->loop1 = devm_gpiod_get(dev, "axentia,loop1", GPIOD_OUT_HIGH); in tse850_probe() 385 tse850->loop2 = devm_gpiod_get(dev, "axentia,loop2", GPIOD_OUT_HIGH); in tse850_probe()
|
/openbmc/linux/sound/soc/ti/ |
H A D | ams-delta.c | 493 GPIOD_OUT_HIGH); in ams_delta_cx20442_init() 565 GPIOD_OUT_HIGH); in ams_delta_probe() 570 GPIOD_OUT_HIGH); in ams_delta_probe()
|
/openbmc/linux/arch/mips/lantiq/xway/ |
H A D | vmmc.c | 42 NULL, --gpio_count, GPIOD_OUT_HIGH); in vmmc_probe()
|
/openbmc/linux/drivers/misc/ |
H A D | hisi_hikey_usb.c | 156 GPIOD_OUT_HIGH); in hisi_hikey_usb_of_role_switch() 173 GPIOD_OUT_HIGH); in hisi_hikey_usb_of_role_switch()
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | board-osk.c | 218 GPIO_ACTIVE_HIGH, GPIOD_OUT_HIGH); in osk_tps_setup() 231 GPIO_ACTIVE_HIGH, GPIOD_OUT_HIGH); in osk_tps_setup()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ad7780.c | 284 GPIOD_OUT_HIGH); in ad7780_init_gpios() 293 GPIOD_OUT_HIGH); in ad7780_init_gpios()
|
/openbmc/linux/drivers/reset/ |
H A D | reset-tps380x.c | 85 tps380x->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in tps380x_reset_probe()
|
/openbmc/linux/arch/arm/mach-mvebu/ |
H A D | pm-board.c | 100 "ctrl", i, GPIOD_OUT_HIGH, in mvebu_armada_pm_init()
|
/openbmc/linux/drivers/mfd/ |
H A D | rt4831.c | 52 enable_gpio = devm_gpiod_get_optional(&client->dev, "enable", GPIOD_OUT_HIGH); in rt4831_probe()
|
/openbmc/linux/drivers/power/supply/ |
H A D | max8903_charger.c | 276 flags = (ta_in || usb_in) ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in max8903_setup_gpios() 294 flags = ta_in ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in max8903_setup_gpios()
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-max3355.c | 72 gpiod = devm_gpiod_get(&pdev->dev, "maxim,shdn", GPIOD_OUT_HIGH); in max3355_probe()
|