Home
last modified time | relevance | path

Searched refs:gpio_set_value (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/drivers/i2c/busses/
Di2c-cbus-gpio.c54 gpio_set_value(host->dat_gpio, bit ? 1 : 0); in cbus_send_bit()
55 gpio_set_value(host->clk_gpio, 1); in cbus_send_bit()
56 gpio_set_value(host->clk_gpio, 0); in cbus_send_bit()
81 gpio_set_value(host->clk_gpio, 1); in cbus_receive_bit()
83 gpio_set_value(host->clk_gpio, 0); in cbus_receive_bit()
126 gpio_set_value(host->sel_gpio, 0); in cbus_transfer()
149 gpio_set_value(host->clk_gpio, 1); in cbus_transfer()
159 gpio_set_value(host->sel_gpio, 1); in cbus_transfer()
160 gpio_set_value(host->clk_gpio, 1); in cbus_transfer()
161 gpio_set_value(host->clk_gpio, 0); in cbus_transfer()
Di2c-iop3xx.c78 gpio_set_value(7, 0); in iop3xx_i2c_enable()
79 gpio_set_value(6, 0); in iop3xx_i2c_enable()
81 gpio_set_value(5, 0); in iop3xx_i2c_enable()
82 gpio_set_value(4, 0); in iop3xx_i2c_enable()
/linux-4.19.296/drivers/rtc/
Drtc-moxart.c73 gpio_set_value(moxart_rtc->gpio_sclk, 0); in moxart_rtc_write_byte()
74 gpio_set_value(moxart_rtc->gpio_data, ((data & 1) == 1)); in moxart_rtc_write_byte()
76 gpio_set_value(moxart_rtc->gpio_sclk, 1); in moxart_rtc_write_byte()
88 gpio_set_value(moxart_rtc->gpio_sclk, 0); in moxart_rtc_read_byte()
90 gpio_set_value(moxart_rtc->gpio_sclk, 1); in moxart_rtc_read_byte()
108 gpio_set_value(moxart_rtc->gpio_reset, 1); in moxart_rtc_read_register()
114 gpio_set_value(moxart_rtc->gpio_sclk, 0); in moxart_rtc_read_register()
115 gpio_set_value(moxart_rtc->gpio_reset, 0); in moxart_rtc_read_register()
131 gpio_set_value(moxart_rtc->gpio_reset, 1); in moxart_rtc_write_register()
135 gpio_set_value(moxart_rtc->gpio_sclk, 0); in moxart_rtc_write_register()
[all …]
Drtc-ds2404.c105 gpio_set_value(ds2404_gpio[DS2404_RST].gpio, 0); in ds2404_reset()
107 gpio_set_value(ds2404_gpio[DS2404_RST].gpio, 1); in ds2404_reset()
108 gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 0); in ds2404_reset()
119 gpio_set_value(ds2404_gpio[DS2404_DQ].gpio, byte & (1 << i)); in ds2404_write_byte()
121 gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 1); in ds2404_write_byte()
123 gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 0); in ds2404_write_byte()
136 gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 0); in ds2404_read_byte()
140 gpio_set_value(ds2404_gpio[DS2404_CLK].gpio, 1); in ds2404_read_byte()
Drtc-v3020.c138 gpio_set_value(chip->gpio[V3020_CS].gpio, 0); in v3020_gpio_write_bit()
139 gpio_set_value(chip->gpio[V3020_WR].gpio, 0); in v3020_gpio_write_bit()
141 gpio_set_value(chip->gpio[V3020_WR].gpio, 1); in v3020_gpio_write_bit()
142 gpio_set_value(chip->gpio[V3020_CS].gpio, 1); in v3020_gpio_write_bit()
150 gpio_set_value(chip->gpio[V3020_CS].gpio, 0); in v3020_gpio_read_bit()
151 gpio_set_value(chip->gpio[V3020_RD].gpio, 0); in v3020_gpio_read_bit()
155 gpio_set_value(chip->gpio[V3020_RD].gpio, 1); in v3020_gpio_read_bit()
156 gpio_set_value(chip->gpio[V3020_CS].gpio, 1); in v3020_gpio_read_bit()
/linux-4.19.296/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c67 gpio_set_value(arb->our_gpio, !arb->our_gpio_release); in i2c_arbitrator_select()
84 gpio_set_value(arb->our_gpio, arb->our_gpio_release); in i2c_arbitrator_select()
90 gpio_set_value(arb->our_gpio, arb->our_gpio_release); in i2c_arbitrator_select()
106 gpio_set_value(arb->our_gpio, arb->our_gpio_release); in i2c_arbitrator_deselect()
/linux-4.19.296/drivers/misc/eeprom/
Ddigsy_mtc_eeprom.c38 gpio_set_value(GPIO_EEPROM_OE, 0); in digsy_mtc_op_prepare()
44 gpio_set_value(GPIO_EEPROM_OE, 1); in digsy_mtc_op_finish()
/linux-4.19.296/include/linux/
Dgpio.h69 static inline void gpio_set_value(unsigned int gpio, int value) in gpio_set_value() function
169 static inline void gpio_set_value(unsigned gpio, int value) in gpio_set_value() function
/linux-4.19.296/drivers/regulator/
Ds5m8767.c274 gpio_set_value(s5m8767->buck_gpios[0], (temp_index >> 2) & 0x1); in s5m8767_set_high()
275 gpio_set_value(s5m8767->buck_gpios[1], (temp_index >> 1) & 0x1); in s5m8767_set_high()
276 gpio_set_value(s5m8767->buck_gpios[2], temp_index & 0x1); in s5m8767_set_high()
285 gpio_set_value(s5m8767->buck_gpios[2], temp_index & 0x1); in s5m8767_set_low()
286 gpio_set_value(s5m8767->buck_gpios[1], (temp_index >> 1) & 0x1); in s5m8767_set_low()
287 gpio_set_value(s5m8767->buck_gpios[0], (temp_index >> 2) & 0x1); in s5m8767_set_low()
Dlp8788-buck.c116 gpio_set_value(dvs->gpio, pinstate); in lp8788_buck1_set_dvs()
149 gpio_set_value(dvs->gpio[0], pin1); in lp8788_buck2_set_dvs()
152 gpio_set_value(dvs->gpio[1], pin2); in lp8788_buck2_set_dvs()
Dmax8952.c111 gpio_set_value(max8952->pdata->gpio_vid0, max8952->vid0); in max8952_set_voltage_sel()
112 gpio_set_value(max8952->pdata->gpio_vid1, max8952->vid1); in max8952_set_voltage_sel()
Dmax8998.c285 gpio_set_value(gpio1, v & 0x1); in buck1_gpio_set()
286 gpio_set_value(gpio2, (v >> 1) & 0x1); in buck1_gpio_set()
291 gpio_set_value(gpio, v & 0x1); in buck2_gpio_set()
Dmax8997-regulator.c55 gpio_set_value(max8997->buck125_gpios[0], set1); in max8997_set_gpio()
56 gpio_set_value(max8997->buck125_gpios[1], set2); in max8997_set_gpio()
57 gpio_set_value(max8997->buck125_gpios[2], set3); in max8997_set_gpio()
Dlp872x.c262 gpio_set_value(gpio, state); in lp872x_set_dvs()
Dwm831x-dcdc.c244 gpio_set_value(dcdc->dvs_gpio, state); in wm831x_buckv_set_dvs()
/linux-4.19.296/drivers/gpio/
Dgpio-ingenic.c77 static void gpio_set_value(struct ingenic_gpio_chip *jzgc, u8 offset, int value) in gpio_set_value() function
254 gpio_set_value(jzgc, offset, value); in ingenic_gpio_set()
/linux-4.19.296/drivers/char/tpm/st33zp24/
Dst33zp24.c625 gpio_set_value(tpm_dev->io_lpcpd, 0); in st33zp24_pm_suspend()
645 gpio_set_value(tpm_dev->io_lpcpd, 1); in st33zp24_pm_resume()
/linux-4.19.296/drivers/iio/common/ssp_sensors/
Dssp_dev.c74 gpio_set_value(data->mcu_reset_gpio, 0); in ssp_toggle_mcu_reset_gpio()
76 gpio_set_value(data->mcu_reset_gpio, 1); in ssp_toggle_mcu_reset_gpio()
/linux-4.19.296/drivers/iio/adc/
Dad7266.c121 gpio_set_value(st->gpios[i].gpio, (bool)(nr & BIT(i))); in ad7266_select_input()