Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/leds/flash/
H A 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()
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()
197 gpiod_direction_output(led->aux_gpio, KTD2692_LOW); in ktd2692_led_flash_strobe_set()
[all …]
H A 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 …]
/openbmc/linux/drivers/mfd/
H A 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()
/openbmc/linux/drivers/fsi/
H A 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()
/openbmc/linux/drivers/usb/host/
H A Dfhci-hub.c131 gpiod_direction_output(fhci->gpiods[GPIO_USBOE], 0); in fhci_io_port_generate_reset()
132 gpiod_direction_output(fhci->gpiods[GPIO_USBTP], 0); in fhci_io_port_generate_reset()
133 gpiod_direction_output(fhci->gpiods[GPIO_USBTN], 0); in fhci_io_port_generate_reset()
/openbmc/linux/net/rfkill/
H A Drfkill-gpio.c129 ret = gpiod_direction_output(rfkill->reset_gpio, true); in rfkill_gpio_probe()
133 ret = gpiod_direction_output(rfkill->shutdown_gpio, true); in rfkill_gpio_probe()
/openbmc/linux/drivers/platform/x86/
H A Dgpd-pocket-fan.c60 gpiod_direction_output(fan->gpio0, !!(speed & 1)); in gpd_pocket_fan_set_speed()
61 gpiod_direction_output(fan->gpio1, !!(speed & 2)); in gpd_pocket_fan_set_speed()
/openbmc/linux/drivers/extcon/
H A Dextcon-intel-int3496.c94 gpiod_direction_output(data->gpio_usb_mux, id); in int3496_do_usb_id()
97 gpiod_direction_output(data->gpio_vbus_en, !id); in int3496_do_usb_id()
/openbmc/linux/drivers/leds/
H A Dleds-lp8860.c252 gpiod_direction_output(led->enable_gpio, 1); in lp8860_init()
295 gpiod_direction_output(led->enable_gpio, 0); in lp8860_init()
449 gpiod_direction_output(led->enable_gpio, 0); in lp8860_remove()
H A Dleds-lm3692x.c186 gpiod_direction_output(led->enable_gpio, 1); in lm3692x_leds_enable()
284 gpiod_direction_output(led->enable_gpio, 0); in lm3692x_leds_enable()
311 gpiod_direction_output(led->enable_gpio, 0); in lm3692x_leds_disable()
H A Dleds-lm3697.c174 gpiod_direction_output(priv->enable_gpio, 1); in lm3697_init()
351 gpiod_direction_output(led->enable_gpio, 0); in lm3697_remove()
/openbmc/linux/drivers/rtc/
H A Drtc-ds2404.c63 gpiod_direction_output(chip->dq_gpiod, 0); in ds2404_reset()
71 gpiod_direction_output(chip->dq_gpiod, 1); in ds2404_write_byte()
H A Drtc-moxart.c107 gpiod_direction_output(moxart_rtc->gpio_data, 0); in moxart_rtc_read_register()
130 gpiod_direction_output(moxart_rtc->gpio_data, 0); in moxart_rtc_write_register()
/openbmc/linux/drivers/regulator/
H A Drt6245-regulator.c47 gpiod_direction_output(priv->enable_gpio, 1); in rt6245_enable()
70 gpiod_direction_output(priv->enable_gpio, 0); in rt6245_disable()
/openbmc/linux/drivers/hwmon/
H A 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()
/openbmc/linux/drivers/iio/proximity/
H A Dping.c157 ret = gpiod_direction_output(data->gpiod_ping, GPIOD_OUT_LOW); in ping_read()
221 if (gpiod_direction_output(data->gpiod_ping, GPIOD_OUT_LOW)) in ping_read()
/openbmc/linux/drivers/power/reset/
H A Dgpio-poweroff.c34 gpiod_direction_output(reset_gpio, 1); in gpio_poweroff_do_poweroff()
H A Dgpio-restart.c33 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
/openbmc/linux/drivers/net/dsa/realtek/
H A Drealtek-smi.c56 gpiod_direction_output(priv->mdc, 0); in realtek_smi_start()
57 gpiod_direction_output(priv->mdio, 1); in realtek_smi_start()
135 gpiod_direction_output(priv->mdio, 0); in realtek_smi_read_bits()
/openbmc/linux/drivers/platform/x86/intel/int3472/
H A Dled.c38 gpiod_direction_output(int3472->pled.gpio, 0); in skl_int3472_register_pled()
H A Dclk_and_regulator.c189 gpiod_direction_output(int3472->clock.ena_gpio, 0); in skl_int3472_register_gpio_clock()
326 gpiod_direction_output(int3472->regulator.gpio, 0); in skl_int3472_register_regulator()
/openbmc/linux/drivers/video/backlight/
H A Dgpio_backlight.c98 ret = gpiod_direction_output(gbl->gpiod, init_brightness); in gpio_backlight_probe()
/openbmc/linux/drivers/staging/media/atomisp/i2c/
H A Datomisp-lm3554.c771 ret = gpiod_direction_output(pdata->gpio_reset, 0); in lm3554_gpio_init()
778 ret = gpiod_direction_output(pdata->gpio_strobe, 0); in lm3554_gpio_init()
792 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()
/openbmc/linux/drivers/w1/masters/
H A Dw1-gpio.c123 gpiod_direction_output(pdata->gpiod, 1); in w1_gpio_probe()
/openbmc/linux/drivers/spi/
H A Dspi-gpio.c252 status = gpiod_direction_output(cs, in spi_gpio_setup()
268 return gpiod_direction_output(spi_gpio->mosi, 1); in spi_gpio_set_direction()

1234