Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/bus/
Dts-nbus.c119 gpiod_set_value_cansleep(ts_nbus->csn, 0); in ts_nbus_reset_bus()
120 gpiod_set_value_cansleep(ts_nbus->strobe, 0); in ts_nbus_reset_bus()
121 gpiod_set_value_cansleep(ts_nbus->ale, 0); in ts_nbus_reset_bus()
129 gpiod_set_value_cansleep(ts_nbus->strobe, 1); in ts_nbus_start_transaction()
189 gpiod_set_value_cansleep(ts_nbus->ale, 1); in ts_nbus_write_bus()
208 gpiod_set_value_cansleep(ts_nbus->txrx, 0); in ts_nbus_read()
229 gpiod_set_value_cansleep(ts_nbus->csn, 1); in ts_nbus_read()
254 gpiod_set_value_cansleep(ts_nbus->txrx, 1); in ts_nbus_write()
264 gpiod_set_value_cansleep(ts_nbus->csn, 1); in ts_nbus_write()
266 gpiod_set_value_cansleep(ts_nbus->csn, 0); in ts_nbus_write()
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-lt3593.c37 gpiod_set_value_cansleep(led_dat->gpiod, 0); in lt3593_led_set()
44 gpiod_set_value_cansleep(led_dat->gpiod, 0); in lt3593_led_set()
46 gpiod_set_value_cansleep(led_dat->gpiod, 1); in lt3593_led_set()
50 gpiod_set_value_cansleep(led_dat->gpiod, 1); in lt3593_led_set()
53 gpiod_set_value_cansleep(led_dat->gpiod, 0); in lt3593_led_set()
55 gpiod_set_value_cansleep(led_dat->gpiod, 1); in lt3593_led_set()
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()
/kernel/linux/linux-5.10/drivers/phy/ti/
Dphy-tusb1210.c32 gpiod_set_value_cansleep(tusb->gpio_reset, 1); in tusb1210_power_on()
33 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_power_on()
47 gpiod_set_value_cansleep(tusb->gpio_reset, 0); in tusb1210_power_off()
48 gpiod_set_value_cansleep(tusb->gpio_cs, 0); in tusb1210_power_off()
107 gpiod_set_value_cansleep(tusb->gpio_reset, 1); in tusb1210_probe()
114 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_probe()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Dpwrseq_sd8787.c38 gpiod_set_value_cansleep(pwrseq->reset_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on()
41 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on()
48 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 0); in mmc_pwrseq_sd8787_power_off()
49 gpiod_set_value_cansleep(pwrseq->reset_gpio, 0); in mmc_pwrseq_sd8787_power_off()
/kernel/linux/linux-5.10/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()
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()
Des7241.c39 gpiod_set_value_cansleep(priv->reset, 0); in es7241_set_mode()
42 gpiod_set_value_cansleep(priv->m0, m0); in es7241_set_mode()
43 gpiod_set_value_cansleep(priv->m1, m1); in es7241_set_mode()
46 gpiod_set_value_cansleep(priv->reset, 1); in es7241_set_mode()
Dcs4349.c304 gpiod_set_value_cansleep(cs4349->reset_gpio, 1); in cs4349_i2c_probe()
318 gpiod_set_value_cansleep(cs4349->reset_gpio, 0); in cs4349_i2c_remove()
336 gpiod_set_value_cansleep(cs4349->reset_gpio, 0); in cs4349_runtime_suspend()
350 gpiod_set_value_cansleep(cs4349->reset_gpio, 1); in cs4349_runtime_resume()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
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-kingdisplay-kd097d04.c217 gpiod_set_value_cansleep(kingdisplay->enable_gpio, 0); in kingdisplay_panel_unprepare()
237 gpiod_set_value_cansleep(kingdisplay->enable_gpio, 0); in kingdisplay_panel_prepare()
246 gpiod_set_value_cansleep(kingdisplay->enable_gpio, 1); in kingdisplay_panel_prepare()
283 gpiod_set_value_cansleep(kingdisplay->enable_gpio, 0); in kingdisplay_panel_prepare()
Dpanel-asus-z00t-tm5p5-n35596.c45 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in tm5p5_nt35596_reset()
47 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in tm5p5_nt35596_reset()
49 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in tm5p5_nt35596_reset()
145 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in tm5p5_nt35596_prepare()
168 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in tm5p5_nt35596_unprepare()
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Drepaper.c636 gpiod_set_value_cansleep(epd->reset, 0); in power_off()
637 gpiod_set_value_cansleep(epd->panel_on, 0); in power_off()
639 gpiod_set_value_cansleep(epd->border, 0); in power_off()
645 gpiod_set_value_cansleep(epd->discharge, 1); in power_off()
647 gpiod_set_value_cansleep(epd->discharge, 0); in power_off()
666 gpiod_set_value_cansleep(epd->reset, 0); in repaper_pipe_enable()
667 gpiod_set_value_cansleep(epd->panel_on, 0); in repaper_pipe_enable()
668 gpiod_set_value_cansleep(epd->discharge, 0); in repaper_pipe_enable()
670 gpiod_set_value_cansleep(epd->border, 0); in repaper_pipe_enable()
674 gpiod_set_value_cansleep(epd->panel_on, 1); in repaper_pipe_enable()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-gpio.c91 gpiod_set_value_cansleep(spi_gpio->sck, is_on); in setsck()
98 gpiod_set_value_cansleep(spi_gpio->mosi, is_on); in setmosi()
205 gpiod_set_value_cansleep(spi_gpio->sck, spi->mode & SPI_CPOL); in spi_gpio_chipselect()
212 gpiod_set_value_cansleep(cs, (spi->mode & SPI_CS_HIGH) ? is_active : !is_active); in spi_gpio_chipselect()
269 gpiod_set_value_cansleep(spi_gpio->sck, in spi_gpio_set_direction()
271 gpiod_set_value_cansleep(spi_gpio->sck, in spi_gpio_set_direction()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/regulator/
Dtps65132-regulator.c69 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in tps65132_regulator_enable()
94 gpiod_set_value_cansleep(rpdata->en_gpiod, 0); in tps65132_regulator_disable()
99 gpiod_set_value_cansleep(rpdata->act_dis_gpiod, 1); in tps65132_regulator_disable()
102 gpiod_set_value_cansleep(rpdata->act_dis_gpiod, 0); in tps65132_regulator_disable()
/kernel/linux/linux-5.10/drivers/nfc/pn544/
Di2c.c197 gpiod_set_value_cansleep(phy->gpiod_fw, 0); in pn544_hci_i2c_platform_init()
204 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init()
208 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_platform_init()
227 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init()
233 gpiod_set_value_cansleep(phy->gpiod_fw, run_mode == PN544_FW_MODE ? 1 : 0); in pn544_hci_i2c_enable_mode()
234 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_enable_mode()
257 gpiod_set_value_cansleep(phy->gpiod_fw, 0); in pn544_hci_i2c_disable()
258 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable()
261 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_disable()
264 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable()
/kernel/linux/linux-5.10/drivers/power/reset/
Dgpio-poweroff.c37 gpiod_set_value_cansleep(reset_gpio, 0); in gpio_poweroff_do_poweroff()
41 gpiod_set_value_cansleep(reset_gpio, 1); in gpio_poweroff_do_poweroff()

12345678910