Home
last modified time | relevance | path

Searched refs:gpiod_set_value_cansleep (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/linux-6.1.9/drivers/siox/
Dsiox-bus-gpio.c37 gpiod_set_value_cansleep(ddata->dout, 0); in siox_gpio_pushpull()
38 gpiod_set_value_cansleep(ddata->dclk, 0); in siox_gpio_pushpull()
40 gpiod_set_value_cansleep(ddata->dld, 1); in siox_gpio_pushpull()
42 gpiod_set_value_cansleep(ddata->dld, 0); in siox_gpio_pushpull()
57 gpiod_set_value_cansleep(ddata->dout, !(set & 0x80)); in siox_gpio_pushpull()
60 gpiod_set_value_cansleep(ddata->dclk, 1); in siox_gpio_pushpull()
62 gpiod_set_value_cansleep(ddata->dclk, 0); in siox_gpio_pushpull()
71 gpiod_set_value_cansleep(ddata->dld, 1); in siox_gpio_pushpull()
73 gpiod_set_value_cansleep(ddata->dld, 0); in siox_gpio_pushpull()
82 gpiod_set_value_cansleep(ddata->dout, 0); in siox_gpio_pushpull()
/linux-6.1.9/drivers/bus/
Dts-nbus.c116 gpiod_set_value_cansleep(ts_nbus->csn, 0); in ts_nbus_reset_bus()
117 gpiod_set_value_cansleep(ts_nbus->strobe, 0); in ts_nbus_reset_bus()
118 gpiod_set_value_cansleep(ts_nbus->ale, 0); in ts_nbus_reset_bus()
126 gpiod_set_value_cansleep(ts_nbus->strobe, 1); in ts_nbus_start_transaction()
186 gpiod_set_value_cansleep(ts_nbus->ale, 1); in ts_nbus_write_bus()
205 gpiod_set_value_cansleep(ts_nbus->txrx, 0); in ts_nbus_read()
226 gpiod_set_value_cansleep(ts_nbus->csn, 1); in ts_nbus_read()
251 gpiod_set_value_cansleep(ts_nbus->txrx, 1); in ts_nbus_write()
261 gpiod_set_value_cansleep(ts_nbus->csn, 1); in ts_nbus_write()
263 gpiod_set_value_cansleep(ts_nbus->csn, 0); in ts_nbus_write()
[all …]
/linux-6.1.9/drivers/leds/
Dleds-lt3593.c38 gpiod_set_value_cansleep(led_dat->gpiod, 0); in lt3593_led_set()
45 gpiod_set_value_cansleep(led_dat->gpiod, 0); in lt3593_led_set()
47 gpiod_set_value_cansleep(led_dat->gpiod, 1); in lt3593_led_set()
51 gpiod_set_value_cansleep(led_dat->gpiod, 1); in lt3593_led_set()
54 gpiod_set_value_cansleep(led_dat->gpiod, 0); in lt3593_led_set()
56 gpiod_set_value_cansleep(led_dat->gpiod, 1); in lt3593_led_set()
/linux-6.1.9/drivers/gpu/drm/panel/
Dpanel-khadas-ts050.c590 gpiod_set_value_cansleep(khadas_ts050->enable_gpio, 0); in khadas_ts050_panel_prepare()
596 gpiod_set_value_cansleep(khadas_ts050->enable_gpio, 1); in khadas_ts050_panel_prepare()
600 gpiod_set_value_cansleep(khadas_ts050->reset_gpio, 1); in khadas_ts050_panel_prepare()
604 gpiod_set_value_cansleep(khadas_ts050->reset_gpio, 0); in khadas_ts050_panel_prepare()
657 gpiod_set_value_cansleep(khadas_ts050->enable_gpio, 0); in khadas_ts050_panel_prepare()
658 gpiod_set_value_cansleep(khadas_ts050->reset_gpio, 1); in khadas_ts050_panel_prepare()
681 gpiod_set_value_cansleep(khadas_ts050->enable_gpio, 0); in khadas_ts050_panel_unprepare()
682 gpiod_set_value_cansleep(khadas_ts050->reset_gpio, 1); in khadas_ts050_panel_unprepare()
Dpanel-ebbg-ft8719.c49 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in ebbg_ft8719_reset()
51 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in ebbg_ft8719_reset()
53 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in ebbg_ft8719_reset()
130 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in ebbg_ft8719_prepare()
147 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in ebbg_ft8719_unprepare()
Dpanel-samsung-s6e88a0-ams452ef01.c41 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in s6e88a0_ams452ef01_reset()
43 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6e88a0_ams452ef01_reset()
45 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in s6e88a0_ams452ef01_reset()
140 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6e88a0_ams452ef01_prepare()
163 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6e88a0_ams452ef01_unprepare()
Dpanel-sharp-ls037v7dw01.c43 gpiod_set_value_cansleep(lcd->ini_gpio, 0); in ls037v7dw01_disable()
44 gpiod_set_value_cansleep(lcd->resb_gpio, 0); in ls037v7dw01_disable()
80 gpiod_set_value_cansleep(lcd->resb_gpio, 1); in ls037v7dw01_enable()
81 gpiod_set_value_cansleep(lcd->ini_gpio, 1); in ls037v7dw01_enable()
Dpanel-jdi-fhd-r63452.c50 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in jdi_fhd_r63452_reset()
52 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in jdi_fhd_r63452_reset()
54 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in jdi_fhd_r63452_reset()
184 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in jdi_fhd_r63452_prepare()
205 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in jdi_fhd_r63452_unprepare()
Dpanel-sharp-ls060t1sx01.c43 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in sharp_ls060_reset()
45 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in sharp_ls060_reset()
47 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in sharp_ls060_reset()
167 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in sharp_ls060_prepare()
195 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in sharp_ls060_unprepare()
/linux-6.1.9/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c116 gpiod_set_value_cansleep(enable_gpio, 0); in phy_mdm6600_init()
135 gpiod_set_value_cansleep(enable_gpio, 1); in phy_mdm6600_power_on()
161 gpiod_set_value_cansleep(enable_gpio, 0); in phy_mdm6600_power_off()
391 gpiod_set_value_cansleep(mode_gpio0, 0); in phy_mdm6600_device_power_on()
392 gpiod_set_value_cansleep(mode_gpio1, 0); in phy_mdm6600_device_power_on()
398 gpiod_set_value_cansleep(reset_gpio, 0); in phy_mdm6600_device_power_on()
402 gpiod_set_value_cansleep(power_gpio, 1); in phy_mdm6600_device_power_on()
404 gpiod_set_value_cansleep(power_gpio, 0); in phy_mdm6600_device_power_on()
464 gpiod_set_value_cansleep(reset_gpio, 1); in phy_mdm6600_device_power_off()
500 gpiod_set_value_cansleep(mode_gpio0, 1); in phy_mdm6600_wake_modem()
[all …]
/linux-6.1.9/drivers/mmc/core/
Dpwrseq_sd8787.c40 gpiod_set_value_cansleep(pwrseq->reset_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on()
43 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on()
50 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 0); in mmc_pwrseq_sd8787_power_off()
51 gpiod_set_value_cansleep(pwrseq->reset_gpio, 0); in mmc_pwrseq_sd8787_power_off()
/linux-6.1.9/sound/soc/codecs/
Dmax9759.c32 gpiod_set_value_cansleep(priv->gpiod_shutdown, 0); in pga_event()
34 gpiod_set_value_cansleep(priv->gpiod_shutdown, 1); in pga_event()
74 gpiod_set_value_cansleep(priv->gpiod_gain->desc[0], in speaker_gain_control_put()
77 gpiod_set_value_cansleep(priv->gpiod_gain->desc[1], in speaker_gain_control_put()
102 gpiod_set_value_cansleep(priv->gpiod_mute, priv->is_mute); in speaker_mute_put()
Dbd28623.c57 gpiod_set_value_cansleep(bd->reset_gpio, 0); in bd28623_power_on()
65 gpiod_set_value_cansleep(bd->reset_gpio, 1); in bd28623_power_off()
94 gpiod_set_value_cansleep(bd->mute_gpio, bd->switch_spk ? 0 : 1); in bd28623_set_switch_spk()
115 gpiod_set_value_cansleep(bd->mute_gpio, bd->switch_spk ? 0 : 1); in bd28623_codec_probe()
145 gpiod_set_value_cansleep(bd->mute_gpio, bd->switch_spk ? 0 : 1); in bd28623_codec_resume()
Daw8738.c23 gpiod_set_value_cansleep(aw->gpiod_mode, 0); in aw8738_drv_event()
25 gpiod_set_value_cansleep(aw->gpiod_mode, 1); in aw8738_drv_event()
31 gpiod_set_value_cansleep(aw->gpiod_mode, 0); in aw8738_drv_event()
Duda1334.c52 gpiod_set_value_cansleep(uda1334->deemph, deemph); in uda1334_put_deemph()
110 gpiod_set_value_cansleep(uda1334->mute, 1); in uda1334_startup()
121 gpiod_set_value_cansleep(uda1334->mute, 0); in uda1334_shutdown()
188 gpiod_set_value_cansleep(uda1334->mute, mute); in uda1334_mute_stream()
/linux-6.1.9/drivers/leds/flash/
Dleds-sgm3140.c53 gpiod_set_value_cansleep(priv->flash_gpio, 1); in sgm3140_strobe_set()
54 gpiod_set_value_cansleep(priv->enable_gpio, 1); in sgm3140_strobe_set()
59 gpiod_set_value_cansleep(priv->enable_gpio, 0); in sgm3140_strobe_set()
60 gpiod_set_value_cansleep(priv->flash_gpio, 0); in sgm3140_strobe_set()
117 gpiod_set_value_cansleep(priv->enable_gpio, 1); in sgm3140_brightness_set()
119 gpiod_set_value_cansleep(priv->enable_gpio, 0); in sgm3140_brightness_set()
/linux-6.1.9/drivers/gpu/drm/tiny/
Drepaper.c610 gpiod_set_value_cansleep(epd->reset, 0); in power_off()
611 gpiod_set_value_cansleep(epd->panel_on, 0); in power_off()
613 gpiod_set_value_cansleep(epd->border, 0); in power_off()
619 gpiod_set_value_cansleep(epd->discharge, 1); in power_off()
621 gpiod_set_value_cansleep(epd->discharge, 0); in power_off()
649 gpiod_set_value_cansleep(epd->reset, 0); in repaper_pipe_enable()
650 gpiod_set_value_cansleep(epd->panel_on, 0); in repaper_pipe_enable()
651 gpiod_set_value_cansleep(epd->discharge, 0); in repaper_pipe_enable()
653 gpiod_set_value_cansleep(epd->border, 0); in repaper_pipe_enable()
657 gpiod_set_value_cansleep(epd->panel_on, 1); in repaper_pipe_enable()
[all …]
/linux-6.1.9/drivers/phy/
Dphy-can-transceiver.c42 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 0); in can_transceiver_phy_power_on()
44 gpiod_set_value_cansleep(can_transceiver_phy->enable_gpio, 1); in can_transceiver_phy_power_on()
55 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 1); in can_transceiver_phy_power_off()
57 gpiod_set_value_cansleep(can_transceiver_phy->enable_gpio, 0); in can_transceiver_phy_power_off()
/linux-6.1.9/drivers/watchdog/
Dgpio_wdt.c41 gpiod_set_value_cansleep(priv->gpiod, 1); in gpio_wdt_disable()
56 gpiod_set_value_cansleep(priv->gpiod, priv->state); in gpio_wdt_ping()
60 gpiod_set_value_cansleep(priv->gpiod, 1); in gpio_wdt_ping()
62 gpiod_set_value_cansleep(priv->gpiod, 0); in gpio_wdt_ping()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dti-tpd12s015.c54 gpiod_set_value_cansleep(tpd->ls_oe_gpio, 1); in tpd12s015_attach()
66 gpiod_set_value_cansleep(tpd->ls_oe_gpio, 0); in tpd12s015_detach()
83 gpiod_set_value_cansleep(tpd->ct_cp_hpd_gpio, 1); in tpd12s015_hpd_enable()
90 gpiod_set_value_cansleep(tpd->ct_cp_hpd_gpio, 0); in tpd12s015_hpd_disable()
/linux-6.1.9/drivers/mfd/
Dlp87565.c77 gpiod_set_value_cansleep(lp87565->reset_gpio, 1); in lp87565_probe()
81 gpiod_set_value_cansleep(lp87565->reset_gpio, 0); in lp87565_probe()
109 gpiod_set_value_cansleep(lp87565->reset_gpio, 1); in lp87565_shutdown()
/linux-6.1.9/drivers/net/mdio/
Dmdio-gpio.c64 gpiod_set_value_cansleep(bitbang->mdo, 1); in mdio_dir()
88 gpiod_set_value_cansleep(bitbang->mdo, what); in mdio_set()
90 gpiod_set_value_cansleep(bitbang->mdio, what); in mdio_set()
98 gpiod_set_value_cansleep(bitbang->mdc, what); in mdc_set()
/linux-6.1.9/drivers/phy/ti/
Dphy-tusb1210.c102 gpiod_set_value_cansleep(tusb->gpio_reset, 1); in tusb1210_power_on()
103 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_power_on()
117 gpiod_set_value_cansleep(tusb->gpio_reset, 0); in tusb1210_power_off()
118 gpiod_set_value_cansleep(tusb->gpio_cs, 0); in tusb1210_power_off()
172 gpiod_set_value_cansleep(tusb->gpio_reset, 0); in tusb1210_reset()
174 gpiod_set_value_cansleep(tusb->gpio_reset, 1); in tusb1210_reset()
502 gpiod_set_value_cansleep(tusb->gpio_reset, 1); in tusb1210_probe()
509 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_probe()
/linux-6.1.9/sound/soc/intel/boards/
Dsof_wm8804.c118 gpiod_set_value_cansleep(ctx->gpio_48, !clk_44); in sof_wm8804_hw_params()
119 gpiod_set_value_cansleep(ctx->gpio_44, clk_44); in sof_wm8804_hw_params()
121 gpiod_set_value_cansleep(ctx->gpio_44, clk_44); in sof_wm8804_hw_params()
122 gpiod_set_value_cansleep(ctx->gpio_48, !clk_44); in sof_wm8804_hw_params()
/linux-6.1.9/drivers/platform/x86/intel/int3472/
Dclk_and_regulator.c25 gpiod_set_value_cansleep(clk->ena_gpio, 1); in skl_int3472_clk_prepare()
26 gpiod_set_value_cansleep(clk->led_gpio, 1); in skl_int3472_clk_prepare()
35 gpiod_set_value_cansleep(clk->ena_gpio, 0); in skl_int3472_clk_unprepare()
36 gpiod_set_value_cansleep(clk->led_gpio, 0); in skl_int3472_clk_unprepare()

12345678910>>...14