Home
last modified time | relevance | path

Searched refs:gpiod_set_value (Results 1 – 25 of 266) sorted by relevance

1234567891011

/Linux-v6.1/drivers/net/dsa/realtek/
Drealtek-smi.c62 gpiod_set_value(priv->mdc, 1); in realtek_smi_start()
64 gpiod_set_value(priv->mdc, 0); in realtek_smi_start()
68 gpiod_set_value(priv->mdc, 1); in realtek_smi_start()
70 gpiod_set_value(priv->mdio, 0); in realtek_smi_start()
72 gpiod_set_value(priv->mdc, 0); in realtek_smi_start()
74 gpiod_set_value(priv->mdio, 1); in realtek_smi_start()
80 gpiod_set_value(priv->mdio, 0); in realtek_smi_stop()
81 gpiod_set_value(priv->mdc, 1); in realtek_smi_stop()
83 gpiod_set_value(priv->mdio, 1); in realtek_smi_stop()
85 gpiod_set_value(priv->mdc, 1); in realtek_smi_stop()
[all …]
/Linux-v6.1/sound/soc/pxa/
Dcorgi.c54 gpiod_set_value(gpiod_mute_l, 1); in corgi_ext_control()
55 gpiod_set_value(gpiod_mute_r, 1); in corgi_ext_control()
63 gpiod_set_value(gpiod_mute_l, 0); in corgi_ext_control()
64 gpiod_set_value(gpiod_mute_r, 0); in corgi_ext_control()
71 gpiod_set_value(gpiod_mute_l, 0); in corgi_ext_control()
72 gpiod_set_value(gpiod_mute_r, 0); in corgi_ext_control()
79 gpiod_set_value(gpiod_mute_l, 0); in corgi_ext_control()
80 gpiod_set_value(gpiod_mute_r, 1); in corgi_ext_control()
113 gpiod_set_value(gpiod_mute_l, 1); in corgi_shutdown()
114 gpiod_set_value(gpiod_mute_r, 1); in corgi_shutdown()
[all …]
Dspitz.c58 gpiod_set_value(gpiod_mute_l, 1); in spitz_ext_control()
59 gpiod_set_value(gpiod_mute_r, 1); in spitz_ext_control()
67 gpiod_set_value(gpiod_mute_l, 0); in spitz_ext_control()
68 gpiod_set_value(gpiod_mute_r, 0); in spitz_ext_control()
76 gpiod_set_value(gpiod_mute_l, 0); in spitz_ext_control()
77 gpiod_set_value(gpiod_mute_r, 0); in spitz_ext_control()
85 gpiod_set_value(gpiod_mute_l, 0); in spitz_ext_control()
86 gpiod_set_value(gpiod_mute_r, 1); in spitz_ext_control()
95 gpiod_set_value(gpiod_mute_l, 0); in spitz_ext_control()
96 gpiod_set_value(gpiod_mute_r, 0); in spitz_ext_control()
De750_wm9705.c26 gpiod_set_value(gpiod_spk_amp, 1); in e750_spk_amp_event()
28 gpiod_set_value(gpiod_spk_amp, 0); in e750_spk_amp_event()
37 gpiod_set_value(gpiod_hp_amp, 1); in e750_hp_amp_event()
39 gpiod_set_value(gpiod_hp_amp, 0); in e750_hp_amp_event()
De800_wm9712.c25 gpiod_set_value(gpiod_spk_amp, 1); in e800_spk_amp_event()
27 gpiod_set_value(gpiod_spk_amp, 0); in e800_spk_amp_event()
36 gpiod_set_value(gpiod_hp_amp, 1); in e800_hp_amp_event()
38 gpiod_set_value(gpiod_hp_amp, 0); in e800_hp_amp_event()
Dhx4700.c82 gpiod_set_value(gpiod_spk_sd, !SND_SOC_DAPM_EVENT_ON(event)); in hx4700_spk_power()
89 gpiod_set_value(gpiod_hp_driver, !!SND_SOC_DAPM_EVENT_ON(event)); in hx4700_hp_power()
188 gpiod_set_value(gpiod_hp_driver, 0); in hx4700_audio_remove()
189 gpiod_set_value(gpiod_spk_sd, 0); in hx4700_audio_remove()
/Linux-v6.1/drivers/staging/fbtft/
Dfbtft-io.c145 gpiod_set_value(par->gpio.wr, 1); in fbtft_write_gpio8_wr()
150 gpiod_set_value(par->gpio.wr, 1); /* used as delay */ in fbtft_write_gpio8_wr()
154 gpiod_set_value(par->gpio.db[i], in fbtft_write_gpio8_wr()
162 gpiod_set_value(par->gpio.db[i], data & 1); in fbtft_write_gpio8_wr()
168 gpiod_set_value(par->gpio.wr, 0); in fbtft_write_gpio8_wr()
195 gpiod_set_value(par->gpio.wr, 1); in fbtft_write_gpio16_wr()
200 gpiod_set_value(par->gpio.wr, 1); /* used as delay */ in fbtft_write_gpio16_wr()
204 gpiod_set_value(par->gpio.db[i], in fbtft_write_gpio16_wr()
212 gpiod_set_value(par->gpio.db[i], data & 1); in fbtft_write_gpio16_wr()
218 gpiod_set_value(par->gpio.wr, 0); in fbtft_write_gpio16_wr()
Dfb_agm1264k-fl.c184 gpiod_set_value(par->CS0, 0); in write_reg8_bus8()
185 gpiod_set_value(par->CS1, 1); in write_reg8_bus8()
188 gpiod_set_value(par->CS0, 1); in write_reg8_bus8()
189 gpiod_set_value(par->CS1, 0); in write_reg8_bus8()
192 gpiod_set_value(par->RS, 0); /* RS->0 (command mode) */ in write_reg8_bus8()
354 gpiod_set_value(par->RS, 1); /* RS->1 (data mode) */ in write_vmem()
377 gpiod_set_value(par->RS, 1); /* RS->1 (data mode) */ in write_vmem()
387 gpiod_set_value(par->CS0, 0); in write_vmem()
388 gpiod_set_value(par->CS1, 0); in write_vmem()
398 gpiod_set_value(par->RW, 0); /* set write mode */ in write()
[all …]
/Linux-v6.1/drivers/i2c/busses/
Di2c-cbus-gpio.c52 gpiod_set_value(host->dat, bit ? 1 : 0); in cbus_send_bit()
53 gpiod_set_value(host->clk, 1); in cbus_send_bit()
54 gpiod_set_value(host->clk, 0); in cbus_send_bit()
79 gpiod_set_value(host->clk, 1); in cbus_receive_bit()
81 gpiod_set_value(host->clk, 0); in cbus_receive_bit()
124 gpiod_set_value(host->sel, 0); in cbus_transfer()
147 gpiod_set_value(host->clk, 1); in cbus_transfer()
157 gpiod_set_value(host->sel, 1); in cbus_transfer()
158 gpiod_set_value(host->clk, 1); in cbus_transfer()
159 gpiod_set_value(host->clk, 0); in cbus_transfer()
/Linux-v6.1/drivers/hwmon/
Dsht15.c211 gpiod_set_value(data->sck, 0); in sht15_connection_reset()
214 gpiod_set_value(data->sck, 1); in sht15_connection_reset()
216 gpiod_set_value(data->sck, 0); in sht15_connection_reset()
229 gpiod_set_value(data->data, val); in sht15_send_bit()
231 gpiod_set_value(data->sck, 1); in sht15_send_bit()
233 gpiod_set_value(data->sck, 0); in sht15_send_bit()
254 gpiod_set_value(data->sck, 0); in sht15_transmission_start()
256 gpiod_set_value(data->sck, 1); in sht15_transmission_start()
258 gpiod_set_value(data->data, 0); in sht15_transmission_start()
260 gpiod_set_value(data->sck, 0); in sht15_transmission_start()
[all …]
Dnsa320-hwmon.c79 gpiod_set_value(hwmon->act, 1); in nsa320_hwmon_update()
84 gpiod_set_value(hwmon->clk, 0); in nsa320_hwmon_update()
86 gpiod_set_value(hwmon->clk, 1); in nsa320_hwmon_update()
92 gpiod_set_value(hwmon->act, 0); in nsa320_hwmon_update()
/Linux-v6.1/drivers/staging/iio/adc/
Dad7816.c70 gpiod_set_value(chip->rdwr_pin, 1); in ad7816_spi_read()
71 gpiod_set_value(chip->rdwr_pin, 0); in ad7816_spi_read()
77 gpiod_set_value(chip->rdwr_pin, 1); in ad7816_spi_read()
80 gpiod_set_value(chip->convert_pin, 1); in ad7816_spi_read()
81 gpiod_set_value(chip->convert_pin, 0); in ad7816_spi_read()
83 gpiod_set_value(chip->convert_pin, 0); in ad7816_spi_read()
84 gpiod_set_value(chip->convert_pin, 1); in ad7816_spi_read()
92 gpiod_set_value(chip->rdwr_pin, 0); in ad7816_spi_read()
93 gpiod_set_value(chip->rdwr_pin, 1); in ad7816_spi_read()
110 gpiod_set_value(chip->rdwr_pin, 1); in ad7816_spi_write()
[all …]
/Linux-v6.1/drivers/watchdog/
Dmena21_wdt.c57 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start()
66 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop()
75 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping()
77 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 1); in a21_wdt_ping()
99 gpiod_set_value(drv->gpios[GPIO_WD_FAST], 1); in a21_wdt_set_timeout()
101 gpiod_set_value(drv->gpios[GPIO_WD_FAST], 0); in a21_wdt_set_timeout()
205 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_shutdown()
/Linux-v6.1/drivers/ata/
Dpata_palmld.c75 gpiod_set_value(lda->power, 0); in palmld_pata_probe()
80 gpiod_set_value(lda->reset, 1); in palmld_pata_probe()
82 gpiod_set_value(lda->reset, 0); in palmld_pata_probe()
104 gpiod_set_value(lda->power, 0); in palmld_pata_probe()
119 gpiod_set_value(lda->power, 0); in palmld_pata_remove()
/Linux-v6.1/drivers/mtd/nand/raw/
Dams-delta.c52 gpiod_set_value(priv->gpiod_nwe, 1); in gpio_nand_write_commit()
54 gpiod_set_value(priv->gpiod_nwe, 0); in gpio_nand_write_commit()
89 gpiod_set_value(priv->gpiod_nre, 1); in gpio_nand_io_read()
95 gpiod_set_value(priv->gpiod_nre, 0); in gpio_nand_io_read()
136 gpiod_set_value(priv->gpiod_nce, assert); in gpio_nand_ctrl_cs()
154 gpiod_set_value(priv->gpiod_cle, 1); in gpio_nand_exec_op()
156 gpiod_set_value(priv->gpiod_cle, 0); in gpio_nand_exec_op()
160 gpiod_set_value(priv->gpiod_ale, 1); in gpio_nand_exec_op()
163 gpiod_set_value(priv->gpiod_ale, 0); in gpio_nand_exec_op()
370 gpiod_set_value(priv->gpiod_nwp, 0); in gpio_nand_probe()
[all …]
Dgpio.c84 gpiod_set_value(gpiomtd->cle, 1); in gpio_nand_exec_instr()
88 gpiod_set_value(gpiomtd->cle, 0); in gpio_nand_exec_instr()
93 gpiod_set_value(gpiomtd->ale, 1); in gpio_nand_exec_instr()
98 gpiod_set_value(gpiomtd->ale, 0); in gpio_nand_exec_instr()
149 gpiod_set_value(gpiomtd->nce, 0); in gpio_nand_exec_op()
159 gpiod_set_value(gpiomtd->nce, 1); in gpio_nand_exec_op()
280 gpiod_set_value(gpiomtd->nwp, 0); in gpio_nand_remove()
282 gpiod_set_value(gpiomtd->nce, 0); in gpio_nand_remove()
387 gpiod_set_value(gpiomtd->nwp, 0); in gpio_nand_probe()
390 gpiod_set_value(gpiomtd->nce, 0); in gpio_nand_probe()
/Linux-v6.1/drivers/iio/adc/
Dad7606.c55 gpiod_set_value(st->gpio_reset, 1); in ad7606_reset()
57 gpiod_set_value(st->gpio_reset, 0); in ad7606_reset()
136 gpiod_set_value(st->gpio_convst, 1); in ad7606_trigger_handler()
148 gpiod_set_value(st->gpio_convst, 1); in ad7606_scan_direct()
161 gpiod_set_value(st->gpio_convst, 0); in ad7606_scan_direct()
232 gpiod_set_value(st->gpio_range, val); in ad7606_write_scale_hw()
479 gpiod_set_value(st->gpio_convst, 0); in ad7606_interrupt()
503 gpiod_set_value(st->gpio_convst, 1); in ad7606_buffer_postenable()
512 gpiod_set_value(st->gpio_convst, 0); in ad7606_buffer_predisable()
707 gpiod_set_value(st->gpio_range, 1); in ad7606_suspend()
[all …]
/Linux-v6.1/drivers/gpu/drm/panel/
Dpanel-boe-himax8279d.c63 gpiod_set_value(pinfo->enable_gpio, 0); in disable_gpios()
64 gpiod_set_value(pinfo->pp33_gpio, 0); in disable_gpios()
65 gpiod_set_value(pinfo->pp18_gpio, 0); in disable_gpios()
138 gpiod_set_value(pinfo->pp18_gpio, 1); in boe_panel_prepare()
141 gpiod_set_value(pinfo->pp33_gpio, 1); in boe_panel_prepare()
146 gpiod_set_value(pinfo->enable_gpio, 1); in boe_panel_prepare()
150 gpiod_set_value(pinfo->enable_gpio, 0); in boe_panel_prepare()
154 gpiod_set_value(pinfo->enable_gpio, 1); in boe_panel_prepare()
Dpanel-jdi-lt070me05000.c208 gpiod_set_value(jdi->enable_gpio, 0); in jdi_panel_unprepare()
210 gpiod_set_value(jdi->reset_gpio, 1); in jdi_panel_unprepare()
212 gpiod_set_value(jdi->dcdc_en_gpio, 0); in jdi_panel_unprepare()
236 gpiod_set_value(jdi->dcdc_en_gpio, 1); in jdi_panel_prepare()
239 gpiod_set_value(jdi->reset_gpio, 0); in jdi_panel_prepare()
242 gpiod_set_value(jdi->enable_gpio, 1); in jdi_panel_prepare()
266 gpiod_set_value(jdi->enable_gpio, 0); in jdi_panel_prepare()
268 gpiod_set_value(jdi->reset_gpio, 1); in jdi_panel_prepare()
270 gpiod_set_value(jdi->dcdc_en_gpio, 0); in jdi_panel_prepare()
Dpanel-sharp-ls043t1le01.c129 gpiod_set_value(sharp_nt->reset_gpio, 0); in sharp_nt_panel_unprepare()
151 gpiod_set_value(sharp_nt->reset_gpio, 1); in sharp_nt_panel_prepare()
153 gpiod_set_value(sharp_nt->reset_gpio, 0); in sharp_nt_panel_prepare()
155 gpiod_set_value(sharp_nt->reset_gpio, 1); in sharp_nt_panel_prepare()
178 gpiod_set_value(sharp_nt->reset_gpio, 0); in sharp_nt_panel_prepare()
254 gpiod_set_value(sharp_nt->reset_gpio, 0); in sharp_nt_panel_add()
/Linux-v6.1/drivers/video/backlight/
Dlms283gf05.c95 gpiod_set_value(gpiod, 0); /* De-asserted */ in lms283gf05_reset()
97 gpiod_set_value(gpiod, 1); /* Asserted */ in lms283gf05_reset()
99 gpiod_set_value(gpiod, 0); /* De-asserted */ in lms283gf05_reset()
136 gpiod_set_value(st->reset, 1); /* Asserted */ in lms283gf05_power_set()
/Linux-v6.1/drivers/video/fbdev/omap/
Dlcd_ams_delta.c92 gpiod_set_value(gpiod_ndisp, 1); in ams_delta_panel_enable()
93 gpiod_set_value(gpiod_vblen, 1); in ams_delta_panel_enable()
99 gpiod_set_value(gpiod_vblen, 0); in ams_delta_panel_disable()
100 gpiod_set_value(gpiod_ndisp, 0); in ams_delta_panel_disable()
/Linux-v6.1/drivers/input/touchscreen/
Dcolibri-vf50-ts.c58 gpiod_set_value(plate_p, 1); in adc_ts_measure()
59 gpiod_set_value(plate_m, 1); in adc_ts_measure()
76 gpiod_set_value(plate_p, 0); in adc_ts_measure()
77 gpiod_set_value(plate_m, 0); in adc_ts_measure()
88 gpiod_set_value(vf50_ts->gpio_ym, 1); in vf50_ts_enable_touch_detection()
111 gpiod_set_value(vf50_ts->gpio_ym, 0); in vf50_ts_irq_bh()
232 gpiod_set_value(touchdev->gpio_ym, 0); in vf50_ts_close()
/Linux-v6.1/drivers/power/supply/
Dcollie_battery.c61 gpiod_set_value(bat->gpio_bat, 1); in collie_read_bat()
66 gpiod_set_value(bat->gpio_bat, 0); in collie_read_bat()
80 gpiod_set_value(bat->gpio_temp, 1); in collie_read_temp()
85 gpiod_set_value(bat->gpio_temp, 0); in collie_read_temp()
167 gpiod_set_value(bat->gpio_charge_on, 1); in collie_bat_update()
176 gpiod_set_value(bat->gpio_charge_on, 0); in collie_bat_update()
179 gpiod_set_value(bat->gpio_charge_on, 1); in collie_bat_update()
183 gpiod_set_value(bat->gpio_charge_on, 0); in collie_bat_update()
/Linux-v6.1/drivers/w1/masters/
Dw1-gpio.c39 gpiod_set_value(pdata->gpiod, 1); in w1_gpio_set_pullup()
51 gpiod_set_value(pdata->gpiod, bit); in w1_gpio_write_bit()
147 gpiod_set_value(pdata->pullup_gpiod, 1); in w1_gpio_probe()
163 gpiod_set_value(pdata->pullup_gpiod, 0); in w1_gpio_remove()

1234567891011