Home
last modified time | relevance | path

Searched refs:gpiod_direction_output (Results 1 – 25 of 54) sorted by relevance

123

/drivers/leds/
Dleds-ktd2692.c97 gpiod_direction_output(led->ctrl_gpio, KTD2692_HIGH); in ktd2692_expresswire_start()
103 gpiod_direction_output(led->ctrl_gpio, KTD2692_LOW); in ktd2692_expresswire_reset()
109 gpiod_direction_output(led->ctrl_gpio, KTD2692_LOW); in ktd2692_expresswire_end()
111 gpiod_direction_output(led->ctrl_gpio, KTD2692_HIGH); in ktd2692_expresswire_end()
134 gpiod_direction_output(led->ctrl_gpio, KTD2692_LOW); in ktd2692_expresswire_set_bit()
136 gpiod_direction_output(led->ctrl_gpio, KTD2692_HIGH); in ktd2692_expresswire_set_bit()
139 gpiod_direction_output(led->ctrl_gpio, KTD2692_LOW); in ktd2692_expresswire_set_bit()
141 gpiod_direction_output(led->ctrl_gpio, KTD2692_HIGH); in ktd2692_expresswire_set_bit()
166 gpiod_direction_output(led->aux_gpio, KTD2692_LOW); in ktd2692_led_brightness_set()
194 gpiod_direction_output(led->aux_gpio, KTD2692_HIGH); in ktd2692_led_flash_strobe_set()
[all …]
Dleds-aat1290.c100 gpiod_direction_output(led->gpio_fl_en, 0); in aat1290_as2cwire_write()
101 gpiod_direction_output(led->gpio_en_set, 0); in aat1290_as2cwire_write()
108 gpiod_direction_output(led->gpio_en_set, 0); in aat1290_as2cwire_write()
110 gpiod_direction_output(led->gpio_en_set, 1); in aat1290_as2cwire_write()
118 gpiod_direction_output(led->gpio_en_set, 0); in aat1290_as2cwire_write()
120 gpiod_direction_output(led->gpio_en_set, 1); in aat1290_as2cwire_write()
149 gpiod_direction_output(led->gpio_fl_en, 0); in aat1290_led_brightness_set()
150 gpiod_direction_output(led->gpio_en_set, 0); in aat1290_led_brightness_set()
183 gpiod_direction_output(led->gpio_fl_en, 1); in aat1290_led_flash_strobe_set()
185 gpiod_direction_output(led->gpio_fl_en, 0); in aat1290_led_flash_strobe_set()
[all …]
Dleds-lp8860.c254 gpiod_direction_output(led->enable_gpio, 1); in lp8860_init()
298 gpiod_direction_output(led->enable_gpio, 0); in lp8860_init()
454 gpiod_direction_output(led->enable_gpio, 0); in lp8860_remove()
Dleds-lm3692x.c187 gpiod_direction_output(led->enable_gpio, 1); in lm3692x_leds_enable()
285 gpiod_direction_output(led->enable_gpio, 0); in lm3692x_leds_enable()
312 gpiod_direction_output(led->enable_gpio, 0); in lm3692x_leds_disable()
Dleds-lm3697.c165 gpiod_direction_output(priv->enable_gpio, 1); in lm3697_init()
346 gpiod_direction_output(led->enable_gpio, 0); in lm3697_remove()
Dleds-is31fl319x.c358 gpiod_direction_output(is31->shutdown_gpio, 0); in is31fl319x_probe()
360 gpiod_direction_output(is31->shutdown_gpio, 1); in is31fl319x_probe()
/drivers/mfd/
Dene-kb3930.c46 gpiod_direction_output(ddata->off_gpios->desc[EC_GPIO_OFF_MODE], in kb3930_off()
57 gpiod_direction_output(ddata->off_gpios->desc[EC_GPIO_WAVE], 0); in kb3930_off()
59 gpiod_direction_output(ddata->off_gpios->desc[EC_GPIO_WAVE], 1); in kb3930_off()
/drivers/fsi/
Dfsi-master-gpio.c96 gpiod_direction_output(master->gpio_data, value); in set_sda_output()
660 gpiod_direction_output(master->gpio_mux, 1); in fsi_master_gpio_init()
661 gpiod_direction_output(master->gpio_trans, 1); in fsi_master_gpio_init()
662 gpiod_direction_output(master->gpio_enable, 1); in fsi_master_gpio_init()
663 gpiod_direction_output(master->gpio_clk, 1); in fsi_master_gpio_init()
664 gpiod_direction_output(master->gpio_data, 1); in fsi_master_gpio_init()
674 gpiod_direction_output(master->gpio_mux, 0); in fsi_master_gpio_init_external()
675 gpiod_direction_output(master->gpio_trans, 0); in fsi_master_gpio_init_external()
676 gpiod_direction_output(master->gpio_enable, 1); in fsi_master_gpio_init_external()
Dfsi-master-ast-cf.c794 gpiod_direction_output(master->gpio_mux, 1); in setup_gpios_for_copro()
795 gpiod_direction_output(master->gpio_enable, 1); in setup_gpios_for_copro()
1035 gpiod_direction_output(master->gpio_mux, 0); in fsi_master_acf_setup_external()
1036 gpiod_direction_output(master->gpio_trans, 0); in fsi_master_acf_setup_external()
1037 gpiod_direction_output(master->gpio_enable, 1); in fsi_master_acf_setup_external()
/drivers/extcon/
Dextcon-intel-int3496.c69 gpiod_direction_output(data->gpio_usb_mux, id); in int3496_do_usb_id()
72 gpiod_direction_output(data->gpio_vbus_en, !id); in int3496_do_usb_id()
/drivers/hwmon/
Dsht15.c207 err = gpiod_direction_output(data->data, 1); in sht15_connection_reset()
250 err = gpiod_direction_output(data->data, 1); in sht15_transmission_start()
362 err = gpiod_direction_output(data->data, 0); in sht15_ack()
385 err = gpiod_direction_output(data->data, 1); in sht15_end_transmission()
430 err = gpiod_direction_output(data->data, 1); in sht15_send_status()
/drivers/platform/x86/
Dgpd-pocket-fan.c59 gpiod_direction_output(fan->gpio0, !!(speed & 1)); in gpd_pocket_fan_set_speed()
60 gpiod_direction_output(fan->gpio1, !!(speed & 2)); in gpd_pocket_fan_set_speed()
/drivers/net/dsa/
Drealtek-smi-core.c59 gpiod_direction_output(smi->mdc, 0); in realtek_smi_start()
60 gpiod_direction_output(smi->mdio, 1); in realtek_smi_start()
138 gpiod_direction_output(smi->mdio, 0); in realtek_smi_read_bits()
/drivers/iio/proximity/
Dping.c158 ret = gpiod_direction_output(data->gpiod_ping, GPIOD_OUT_LOW); in ping_read()
222 if (gpiod_direction_output(data->gpiod_ping, GPIOD_OUT_LOW)) in ping_read()
/drivers/power/reset/
Dgpio-poweroff.c33 gpiod_direction_output(reset_gpio, 1); in gpio_poweroff_do_poweroff()
Dgpio-restart.c33 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
/drivers/staging/media/atomisp/i2c/
Datomisp-lm3554.c771 ret = gpiod_direction_output(pdata->gpio_reset, 0); in lm3554_gpio_init()
779 ret = gpiod_direction_output(pdata->gpio_strobe, 0); in lm3554_gpio_init()
793 ret = gpiod_direction_output(pdata->gpio_strobe, 0); in lm3554_gpio_uninit()
797 ret = gpiod_direction_output(pdata->gpio_reset, 0); in lm3554_gpio_uninit()
/drivers/input/serio/
Dps2-gpio.c85 gpiod_direction_output(drvdata->gpio_clk, 0); in __ps2_gpio_write()
122 gpiod_direction_output(drvdata->gpio_data, 0); in ps2_gpio_tx_work_fn()
/drivers/spi/
Dspi-gpio.c229 status = gpiod_direction_output(cs, in spi_gpio_setup()
245 return gpiod_direction_output(spi_gpio->mosi, 1); in spi_gpio_set_direction()
/drivers/video/backlight/
Dgpio_backlight.c98 ret = gpiod_direction_output(gbl->gpiod, init_brightness); in gpio_backlight_probe()
/drivers/w1/masters/
Dw1-gpio.c125 gpiod_direction_output(pdata->gpiod, 1); in w1_gpio_probe()
/drivers/staging/olpc_dcon/
Dolpc_dcon_xo_1.c79 gpiod_direction_output(gpios[OLPC_DCON_LOAD], in dcon_init_xo_1()
/drivers/watchdog/
Dgpio_wdt.c73 gpiod_direction_output(priv->gpiod, priv->state); in gpio_wdt_start()
Dmena21_wdt.c170 gpiod_direction_output(drv->gpios[i], val); in a21_wdt_probe()
/drivers/net/mdio/
Dmdio-gpio.c69 gpiod_direction_output(bitbang->mdio, 1); in mdio_dir()

123