Home
last modified time | relevance | path

Searched refs:gpiod_set_value (Results 1 – 25 of 43) sorted by relevance

12

/drivers/input/touchscreen/
Dcolibri-vf50-ts.c64 gpiod_set_value(plate_p, 1); in adc_ts_measure()
65 gpiod_set_value(plate_m, 1); in adc_ts_measure()
82 gpiod_set_value(plate_p, 0); in adc_ts_measure()
83 gpiod_set_value(plate_m, 0); in adc_ts_measure()
94 gpiod_set_value(vf50_ts->gpio_ym, 1); in vf50_ts_enable_touch_detection()
117 gpiod_set_value(vf50_ts->gpio_ym, 0); in vf50_ts_irq_bh()
238 gpiod_set_value(touchdev->gpio_ym, 0); in vf50_ts_close()
Dsis_i2c.c300 gpiod_set_value(ts->reset_gpio, 1); in sis_ts_reset()
302 gpiod_set_value(ts->reset_gpio, 0); in sis_ts_reset()
Dsurface3_spi.c217 gpiod_set_value(data->gpiod_rst[0], on); in surface3_spi_power()
218 gpiod_set_value(data->gpiod_rst[1], on); in surface3_spi_power()
/drivers/gpu/drm/panel/
Dpanel-jdi-lt070me05000.c218 gpiod_set_value(jdi->enable_gpio, 0); in jdi_panel_unprepare()
220 gpiod_set_value(jdi->reset_gpio, 1); in jdi_panel_unprepare()
222 gpiod_set_value(jdi->dcdc_en_gpio, 0); in jdi_panel_unprepare()
246 gpiod_set_value(jdi->dcdc_en_gpio, 1); in jdi_panel_prepare()
249 gpiod_set_value(jdi->reset_gpio, 0); in jdi_panel_prepare()
252 gpiod_set_value(jdi->enable_gpio, 1); in jdi_panel_prepare()
276 gpiod_set_value(jdi->enable_gpio, 0); in jdi_panel_prepare()
278 gpiod_set_value(jdi->reset_gpio, 1); in jdi_panel_prepare()
280 gpiod_set_value(jdi->dcdc_en_gpio, 0); in jdi_panel_prepare()
Dpanel-sharp-ls043t1le01.c146 gpiod_set_value(sharp_nt->reset_gpio, 0); in sharp_nt_panel_unprepare()
168 gpiod_set_value(sharp_nt->reset_gpio, 1); in sharp_nt_panel_prepare()
170 gpiod_set_value(sharp_nt->reset_gpio, 0); in sharp_nt_panel_prepare()
172 gpiod_set_value(sharp_nt->reset_gpio, 1); in sharp_nt_panel_prepare()
195 gpiod_set_value(sharp_nt->reset_gpio, 0); in sharp_nt_panel_prepare()
277 gpiod_set_value(sharp_nt->reset_gpio, 0); in sharp_nt_panel_add()
Dpanel-samsung-ld9040.c207 gpiod_set_value(ctx->reset_gpio, 0); in ld9040_power_on()
209 gpiod_set_value(ctx->reset_gpio, 1); in ld9040_power_on()
Dpanel-samsung-s6e8aa0.c867 gpiod_set_value(ctx->reset_gpio, 0); in s6e8aa0_power_on()
869 gpiod_set_value(ctx->reset_gpio, 1); in s6e8aa0_power_on()
/drivers/hwmon/
Dnsa320-hwmon.c87 gpiod_set_value(hwmon->act, 1); in nsa320_hwmon_update()
92 gpiod_set_value(hwmon->clk, 0); in nsa320_hwmon_update()
94 gpiod_set_value(hwmon->clk, 1); in nsa320_hwmon_update()
100 gpiod_set_value(hwmon->act, 0); in nsa320_hwmon_update()
/drivers/gpu/drm/bridge/
Dnxp-ptn3460.c135 gpiod_set_value(ptn_bridge->gpio_pd_n, 1); in ptn3460_pre_enable()
137 gpiod_set_value(ptn_bridge->gpio_rst_n, 0); in ptn3460_pre_enable()
139 gpiod_set_value(ptn_bridge->gpio_rst_n, 1); in ptn3460_pre_enable()
184 gpiod_set_value(ptn_bridge->gpio_rst_n, 1); in ptn3460_disable()
185 gpiod_set_value(ptn_bridge->gpio_pd_n, 0); in ptn3460_disable()
Dparade-ps8622.c369 gpiod_set_value(ps8622->gpio_rst, 0); in ps8622_pre_enable()
382 gpiod_set_value(ps8622->gpio_slp, 1); in ps8622_pre_enable()
397 gpiod_set_value(ps8622->gpio_rst, 1); in ps8622_pre_enable()
446 gpiod_set_value(ps8622->gpio_slp, 0); in ps8622_post_disable()
462 gpiod_set_value(ps8622->gpio_rst, 0); in ps8622_post_disable()
Dsii902x.c106 gpiod_set_value(sii902x->reset_gpio, 1); in sii902x_reset()
111 gpiod_set_value(sii902x->reset_gpio, 0); in sii902x_reset()
/drivers/power/reset/
Dgpio-poweroff.c36 gpiod_set_value(reset_gpio, 0); in gpio_poweroff_do_poweroff()
40 gpiod_set_value(reset_gpio, 1); in gpio_poweroff_do_poweroff()
Dgpio-restart.c45 gpiod_set_value(gpio_restart->reset_gpio, 0); in gpio_restart_notify()
49 gpiod_set_value(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
Dltc2952-poweroff.c113 gpiod_set_value(data->gpio_watchdog, !state); in ltc2952_poweroff_timer_wde()
167 gpiod_set_value(ltc2952_data->gpio_kill, 1); in ltc2952_poweroff_kill()
/drivers/mmc/core/
Dpwrseq_emmc.c35 gpiod_set_value(pwrseq->reset_gpio, 1); in __mmc_pwrseq_emmc_reset()
37 gpiod_set_value(pwrseq->reset_gpio, 0); in __mmc_pwrseq_emmc_reset()
/drivers/clk/
Dclk-gpio.c40 gpiod_set_value(clk->gpiod, 1); in clk_gpio_gate_enable()
49 gpiod_set_value(clk->gpiod, 0); in clk_gpio_gate_disable()
85 gpiod_set_value(clk->gpiod, index); in clk_gpio_mux_set_parent()
/drivers/usb/phy/
Dphy-generic.c70 gpiod_set_value(nop->gpiod_reset, 1); in nop_reset()
72 gpiod_set_value(nop->gpiod_reset, 0); in nop_reset()
166 gpiod_set_value(nop->gpiod_reset, 1); in usb_gen_phy_shutdown()
/drivers/input/misc/
Ddrv260x.c264 gpiod_set_value(haptics->enable_gpio, 1); in drv260x_worker()
313 gpiod_set_value(haptics->enable_gpio, 0); in drv260x_close()
653 gpiod_set_value(haptics->enable_gpio, 0); in drv260x_suspend()
691 gpiod_set_value(haptics->enable_gpio, 1); in drv260x_resume()
/drivers/bluetooth/
Dhci_bcm.c151 gpiod_set_value(dev->shutdown, powered); in bcm_gpio_set_power()
152 gpiod_set_value(dev->device_wakeup, powered); in bcm_gpio_set_power()
526 gpiod_set_value(bdev->device_wakeup, false); in bcm_suspend_device()
541 gpiod_set_value(bdev->device_wakeup, true); in bcm_resume_device()
/drivers/net/phy/
Dat803x.c350 gpiod_set_value(priv->gpiod_reset, 1); in at803x_link_change_notify()
352 gpiod_set_value(priv->gpiod_reset, 0); in at803x_link_change_notify()
Dspi_ks8995.c477 gpiod_set_value(gpio_to_desc(ks->pdata->reset_gpio), 0); in ks8995_probe()
523 gpiod_set_value(gpio_to_desc(ks->pdata->reset_gpio), 1); in ks8995_remove()
/drivers/media/i2c/
Dadp1653.c319 gpiod_set_value(flash->platform_data->enable_gpio, on); in __adp1653_set_power()
335 gpiod_set_value(flash->platform_data->enable_gpio, 0); in __adp1653_set_power()
Dmt9p031.c313 gpiod_set_value(mt9p031->reset, 1); in mt9p031_power_on()
335 gpiod_set_value(mt9p031->reset, 0); in mt9p031_power_on()
345 gpiod_set_value(mt9p031->reset, 1); in mt9p031_power_off()
/drivers/staging/iio/adc/
Dad7780.c78 gpiod_set_value(st->powerdown_gpio, val); in ad7780_set_mode()
/drivers/pci/host/
Dpcie-qcom.c102 gpiod_set_value(pcie->reset, 1); in qcom_ep_reset_assert()
108 gpiod_set_value(pcie->reset, 0); in qcom_ep_reset_deassert()

12