/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/mmc/core/ |
D | pwrseq_sd8787.c | 39 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()
|
/drivers/bus/ |
D | ts-nbus.c | 116 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 …]
|
/drivers/leds/ |
D | leds-lt3593.c | 38 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()
|
/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/gpu/drm/panel/ |
D | panel-khadas-ts050.c | 590 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()
|
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-ebbg-ft8719.c | 49 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()
|
D | panel-jdi-fhd-r63452.c | 50 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()
|
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-sharp-ls060t1sx01.c | 43 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()
|
D | panel-sony-tulip-truly-nt35521.c | 46 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in truly_nt35521_reset() 48 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in truly_nt35521_reset() 50 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in truly_nt35521_reset() 321 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in truly_nt35521_prepare() 342 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in truly_nt35521_unprepare() 357 gpiod_set_value_cansleep(ctx->blen_gpio, 1); in truly_nt35521_enable() 370 gpiod_set_value_cansleep(ctx->blen_gpio, 0); in truly_nt35521_disable()
|
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()
|
/drivers/gpu/drm/tiny/ |
D | repaper.c | 610 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 …]
|
/drivers/leds/flash/ |
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/ |
D | phy-can-transceiver.c | 42 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()
|
/drivers/phy/ti/ |
D | phy-tusb1210.c | 102 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()
|
/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/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/mfd/ |
D | lp87565.c | 77 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()
|
/drivers/platform/x86/intel/int3472/ |
D | clk_and_regulator.c | 25 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()
|
/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() 255 gpiod_set_value_cansleep(phy->gpiod_fw, 0); in pn544_hci_i2c_disable() 256 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable() 259 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_disable() 262 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable()
|
/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() 229 gpiod_set_value_cansleep(spi_gpio->sck, spi->mode & SPI_CPOL); in spi_gpio_chipselect() 236 gpiod_set_value_cansleep(cs, (spi->mode & SPI_CS_HIGH) ? is_active : !is_active); in spi_gpio_chipselect() 293 gpiod_set_value_cansleep(spi_gpio->sck, in spi_gpio_set_direction() 295 gpiod_set_value_cansleep(spi_gpio->sck, in spi_gpio_set_direction()
|
/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()
|