Home
last modified time | relevance | path

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

12345678910>>...17

/openbmc/linux/drivers/siox/
H A 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()
/openbmc/linux/drivers/mmc/core/
H A Dpwrseq_sd8787.c39 gpiod_set_value_cansleep(pwrseq->reset_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on()
42 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on()
49 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 0); in mmc_pwrseq_sd8787_power_off()
50 gpiod_set_value_cansleep(pwrseq->reset_gpio, 0); in mmc_pwrseq_sd8787_power_off()
58 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 1); in mmc_pwrseq_wilc1000_pre_power_on()
60 gpiod_set_value_cansleep(pwrseq->reset_gpio, 1); in mmc_pwrseq_wilc1000_pre_power_on()
67 gpiod_set_value_cansleep(pwrseq->reset_gpio, 0); in mmc_pwrseq_wilc1000_power_off()
68 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 0); in mmc_pwrseq_wilc1000_power_off()
/openbmc/linux/drivers/leds/
H A 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()
/openbmc/linux/drivers/bus/
H A 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 …]
/openbmc/linux/drivers/leds/flash/
H A 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->flash_gpio, 0); in sgm3140_brightness_set()
118 gpiod_set_value_cansleep(priv->enable_gpio, 1); in sgm3140_brightness_set()
121 gpiod_set_value_cansleep(priv->flash_gpio, 0); in sgm3140_brightness_set()
122 gpiod_set_value_cansleep(priv->enable_gpio, 0); in sgm3140_brightness_set()
/openbmc/linux/drivers/gpu/drm/panel/
H A 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()
H A 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()
H A Dpanel-jdi-fhd-r63452.c34 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in jdi_fhd_r63452_reset()
36 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in jdi_fhd_r63452_reset()
38 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in jdi_fhd_r63452_reset()
168 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in jdi_fhd_r63452_prepare()
189 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in jdi_fhd_r63452_unprepare()
H A Dpanel-samsung-s6e88a0-ams452ef01.c33 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in s6e88a0_ams452ef01_reset()
35 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6e88a0_ams452ef01_reset()
37 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in s6e88a0_ams452ef01_reset()
132 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6e88a0_ams452ef01_prepare()
155 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6e88a0_ams452ef01_unprepare()
H A 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()
H A Dpanel-sharp-ls060t1sx01.c37 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in sharp_ls060_reset()
39 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in sharp_ls060_reset()
41 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in sharp_ls060_reset()
152 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in sharp_ls060_prepare()
180 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in sharp_ls060_unprepare()
/openbmc/linux/drivers/phy/motorola/
H A Dphy-mapphone-mdm6600.c116 gpiod_set_value_cansleep(enable_gpio, 0); in phy_mdm6600_init()
129 gpiod_set_value_cansleep(enable_gpio, 1); in phy_mdm6600_power_on()
155 gpiod_set_value_cansleep(enable_gpio, 0); in phy_mdm6600_power_off()
380 gpiod_set_value_cansleep(mode_gpio0, 0); in phy_mdm6600_device_power_on()
381 gpiod_set_value_cansleep(mode_gpio1, 0); in phy_mdm6600_device_power_on()
387 gpiod_set_value_cansleep(reset_gpio, 0); in phy_mdm6600_device_power_on()
391 gpiod_set_value_cansleep(power_gpio, 1); in phy_mdm6600_device_power_on()
393 gpiod_set_value_cansleep(power_gpio, 0); in phy_mdm6600_device_power_on()
454 gpiod_set_value_cansleep(reset_gpio, 1); in phy_mdm6600_device_power_off()
501 gpiod_set_value_cansleep(mode_gpio0, 1); in phy_mdm6600_wake_modem()
[all …]
/openbmc/linux/drivers/hid/i2c-hid/
H A Di2c-hid-of-elan.c44 gpiod_set_value_cansleep(ihid_elan->reset_gpio, 1); in elan_i2c_hid_power_up()
59 gpiod_set_value_cansleep(ihid_elan->reset_gpio, 0); in elan_i2c_hid_power_up()
70 gpiod_set_value_cansleep(ihid_elan->reset_gpio, 0); in elan_i2c_hid_power_up()
86 gpiod_set_value_cansleep(ihid_elan->reset_gpio, 1); in elan_i2c_hid_power_down()
143 gpiod_set_value_cansleep(ihid_elan->reset_gpio, 0); in i2c_hid_of_elan_probe()
H A Di2c-hid-of-goodix.c47 gpiod_set_value_cansleep(ihid_goodix->reset_gpio, 1); in goodix_i2c_hid_power_up()
60 gpiod_set_value_cansleep(ihid_goodix->reset_gpio, 0); in goodix_i2c_hid_power_up()
73 gpiod_set_value_cansleep(ihid_goodix->reset_gpio, 1); in goodix_i2c_hid_power_down()
/openbmc/linux/sound/soc/codecs/
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/phy/
H A Dphy-can-transceiver.c43 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 0); in can_transceiver_phy_power_on()
45 gpiod_set_value_cansleep(can_transceiver_phy->enable_gpio, 1); in can_transceiver_phy_power_on()
56 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 1); in can_transceiver_phy_power_off()
58 gpiod_set_value_cansleep(can_transceiver_phy->enable_gpio, 0); in can_transceiver_phy_power_off()
/openbmc/linux/drivers/gpu/drm/tiny/
H A 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()
649 gpiod_set_value_cansleep(epd->reset, 0); in repaper_pipe_enable()
653 gpiod_set_value_cansleep(epd->border, 0); in repaper_pipe_enable()
663 gpiod_set_value_cansleep(epd->reset, 1); in repaper_pipe_enable()
665 gpiod_set_value_cansleep(epd->border, 1); in repaper_pipe_enable()
667 gpiod_set_value_cansleep(epd->reset, 0); in repaper_pipe_enable()
669 gpiod_set_value_cansleep(epd->reset, 1); in repaper_pipe_enable()
799 gpiod_set_value_cansleep(epd->border, 0); in repaper_pipe_disable()
[all …]
/openbmc/linux/drivers/watchdog/
H A 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()
/openbmc/linux/drivers/gpu/drm/bridge/
H A 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()
/openbmc/linux/drivers/mfd/
H A Dlp87565.c76 gpiod_set_value_cansleep(lp87565->reset_gpio, 1); in lp87565_probe()
80 gpiod_set_value_cansleep(lp87565->reset_gpio, 0); in lp87565_probe()
108 gpiod_set_value_cansleep(lp87565->reset_gpio, 1); in lp87565_shutdown()
/openbmc/linux/drivers/net/mdio/
H A 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()
/openbmc/linux/drivers/phy/ti/
H A 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()
504 gpiod_set_value_cansleep(tusb->gpio_reset, 1); in tusb1210_probe()
511 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_probe()
/openbmc/linux/sound/soc/intel/boards/
H A 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()

12345678910>>...17