/linux/Documentation/driver-api/gpio/ |
H A D | board.rst | 42 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH); 43 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH); 44 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH); 46 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH); 162 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH); 163 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH); 164 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH); 166 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH); 182 GPIO_HOG("gpio.0", 10, "foo", GPIO_ACTIVE_LOW, GPIOD_OUT_HIGH),
|
/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 | wm1250-ev1.c | 145 wm1250->clk_sel0 = devm_gpiod_get(&i2c->dev, "clk-sel0", GPIOD_OUT_HIGH); in wm1250_ev1_pdata() 150 wm1250->clk_sel1 = devm_gpiod_get(&i2c->dev, "clk-sel1", GPIOD_OUT_HIGH); in wm1250_ev1_pdata()
|
H A D | max9768.c | 189 GPIOD_OUT_HIGH); in max9768_i2c_probe() 197 GPIOD_OUT_HIGH); in max9768_i2c_probe()
|
H A D | bd28623.c | 202 GPIOD_OUT_HIGH); in bd28623_probe() 210 GPIOD_OUT_HIGH); in bd28623_probe()
|
/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()
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-boe-himax8279d.c | 832 pinfo->pp18_gpio = devm_gpiod_get(dev, "pp18", GPIOD_OUT_HIGH); in panel_add() 838 pinfo->pp33_gpio = devm_gpiod_get(dev, "pp33", GPIOD_OUT_HIGH); in panel_add() 844 pinfo->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_HIGH); in panel_add()
|
H A D | panel-lincolntech-lcd197.c | 206 GPIOD_OUT_HIGH); in lincoln_lcd197_panel_probe() 212 GPIOD_OUT_HIGH); in lincoln_lcd197_panel_probe()
|
H A D | panel-mantix-mlaf057we51.c | 242 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in mantix_probe() 248 ctx->tp_rstn_gpio = devm_gpiod_get(dev, "mantix,tp-rstn", GPIOD_OUT_HIGH); in mantix_probe()
|
/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()
|
/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()
|
/linux/sound/soc/atmel/ |
H A D | tse850-pcm5142.c | 371 tse850->add = devm_gpiod_get(dev, "axentia,add", GPIOD_OUT_HIGH); in tse850_probe() 377 tse850->loop1 = devm_gpiod_get(dev, "axentia,loop1", GPIOD_OUT_HIGH); in tse850_probe() 383 tse850->loop2 = devm_gpiod_get(dev, "axentia,loop2", GPIOD_OUT_HIGH); in tse850_probe()
|
/linux/sound/soc/ti/ |
H A D | ams-delta.c | 491 GPIOD_OUT_HIGH); in ams_delta_cx20442_init() 563 GPIOD_OUT_HIGH); in ams_delta_probe() 568 GPIOD_OUT_HIGH); in ams_delta_probe()
|
/linux/drivers/misc/ |
H A D | hisi_hikey_usb.c | 155 GPIOD_OUT_HIGH); in hisi_hikey_usb_of_role_switch() 172 GPIOD_OUT_HIGH); in hisi_hikey_usb_of_role_switch()
|
/linux/arch/mips/lantiq/xway/ |
H A D | vmmc.c | 42 NULL, --gpio_count, GPIOD_OUT_HIGH); in vmmc_probe()
|
/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()
|
/linux/drivers/platform/x86/ |
H A D | lenovo-yoga-tab2-pro-1380-fastcharger.c | 190 fc->uart3_txd = devm_gpiod_get(dev, "uart3_txd", GPIOD_OUT_HIGH); in yt2_1380_fc_serdev_probe() 194 fc->uart3_rxd = devm_gpiod_get(dev, "uart3_rxd", GPIOD_OUT_HIGH); in yt2_1380_fc_serdev_probe()
|
H A D | meegopad_anx7428.c | 101 gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_HIGH); in anx7428_probe()
|
/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()
|
/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()
|
/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()
|
/linux/arch/arm/mach-mvebu/ |
H A D | pm-board.c | 100 "ctrl", i, GPIOD_OUT_HIGH, in mvebu_armada_pm_init()
|