/drivers/siox/ |
D | siox-bus-gpio.c | 37 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()
|
/drivers/bus/ |
D | ts-nbus.c | 119 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 …]
|
/drivers/leds/ |
D | leds-lt3593.c | 37 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()
|
D | leds-sgm3140.c | 53 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()
|
/drivers/phy/ti/ |
D | phy-tusb1210.c | 32 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()
|
/drivers/phy/motorola/ |
D | phy-mapphone-mdm6600.c | 116 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 …]
|
/drivers/mmc/core/ |
D | pwrseq_sd8787.c | 38 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()
|
/drivers/gpu/drm/tiny/ |
D | repaper.c | 636 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 …]
|
/drivers/gpu/drm/panel/ |
D | panel-samsung-s6e88a0-ams452ef01.c | 41 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()
|
D | panel-sharp-ls037v7dw01.c | 43 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()
|
D | panel-asus-z00t-tm5p5-n35596.c | 45 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()
|
D | panel-kingdisplay-kd097d04.c | 217 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()
|
D | panel-mantix-mlaf057we51.c | 134 gpiod_set_value_cansleep(ctx->tp_rstn_gpio, 1); in mantix_unprepare() 136 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in mantix_unprepare() 181 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in mantix_prepare() 182 gpiod_set_value_cansleep(ctx->tp_rstn_gpio, 0); in mantix_prepare()
|
D | panel-raydium-rm67191.c | 277 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_prepare() 279 gpiod_set_value_cansleep(rad->reset, 0); in rad_panel_prepare() 302 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_unprepare() 304 gpiod_set_value_cansleep(rad->reset, 0); in rad_panel_unprepare() 396 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_enable()
|
/drivers/watchdog/ |
D | gpio_wdt.c | 41 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()
|
/drivers/spi/ |
D | spi-gpio.c | 91 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()
|
/drivers/gpu/drm/bridge/ |
D | ti-tpd12s015.c | 54 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()
|
/drivers/net/mdio/ |
D | mdio-gpio.c | 64 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()
|
/drivers/nfc/pn544/ |
D | i2c.c | 197 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()
|
/drivers/regulator/ |
D | tps65132-regulator.c | 69 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()
|
/drivers/gpu/drm/gma500/ |
D | tc35876x-dsi-lvds.c | 333 gpiod_set_value_cansleep(bridge_reset, 0); in tc35876x_set_bridge_reset_state() 337 gpiod_set_value_cansleep(bridge_reset, 0); in tc35876x_set_bridge_reset_state() 340 gpiod_set_value_cansleep(bridge_reset, 1); in tc35876x_set_bridge_reset_state() 520 gpiod_set_value_cansleep(bridge_bl_enable, 0); in tc35876x_toshiba_bridge_panel_off() 523 gpiod_set_value_cansleep(backlight_voltage, 0); in tc35876x_toshiba_bridge_panel_off() 536 gpiod_set_value_cansleep(backlight_voltage, 1); in tc35876x_toshiba_bridge_panel_on() 569 gpiod_set_value_cansleep(bridge_bl_enable, 1); in tc35876x_toshiba_bridge_panel_on()
|
/drivers/extcon/ |
D | extcon-ptn5150.c | 86 gpiod_set_value_cansleep(info->vbus_gpiod, 0); in ptn5150_check_state() 93 gpiod_set_value_cansleep(info->vbus_gpiod, 0); in ptn5150_check_state() 95 gpiod_set_value_cansleep(info->vbus_gpiod, 1); in ptn5150_check_state() 135 gpiod_set_value_cansleep(info->vbus_gpiod, 0); in ptn5150_irq_work()
|
/drivers/video/backlight/ |
D | ktd253-backlight.c | 40 gpiod_set_value_cansleep(ktd253->gpiod, 1); in ktd253_backlight_set_max_ratio() 92 gpiod_set_value_cansleep(ktd253->gpiod, 0); in ktd253_backlight_update_status() 120 gpiod_set_value_cansleep(ktd253->gpiod, 0); in ktd253_backlight_update_status()
|
/drivers/clk/ |
D | clk-gpio.c | 84 gpiod_set_value_cansleep(clk->gpiod, 1); in clk_sleeping_gpio_gate_prepare() 93 gpiod_set_value_cansleep(clk->gpiod, 0); in clk_sleeping_gpio_gate_unprepare() 128 gpiod_set_value_cansleep(clk->gpiod, index); in clk_gpio_mux_set_parent()
|
/drivers/video/fbdev/omap2/omapfb/displays/ |
D | panel-sharp-ls037v7dw01.c | 117 gpiod_set_value_cansleep(ddata->resb_gpio, 1); in sharp_ls_enable() 120 gpiod_set_value_cansleep(ddata->ini_gpio, 1); in sharp_ls_enable() 136 gpiod_set_value_cansleep(ddata->ini_gpio, 0); in sharp_ls_disable() 139 gpiod_set_value_cansleep(ddata->resb_gpio, 0); in sharp_ls_disable()
|