/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-cbus-gpio.c | 54 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()
|
D | i2c-iop3xx.c | 78 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/ |
D | rtc-moxart.c | 73 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 …]
|
D | rtc-ds2404.c | 105 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()
|
D | rtc-v3020.c | 138 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/ |
D | i2c-arb-gpio-challenge.c | 67 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/ |
D | digsy_mtc_eeprom.c | 38 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/ |
D | gpio.h | 69 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/ |
D | s5m8767.c | 274 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()
|
D | lp8788-buck.c | 116 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()
|
D | max8952.c | 111 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()
|
D | max8998.c | 285 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()
|
D | max8997-regulator.c | 55 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()
|
D | lp872x.c | 262 gpio_set_value(gpio, state); in lp872x_set_dvs()
|
D | wm831x-dcdc.c | 244 gpio_set_value(dcdc->dvs_gpio, state); in wm831x_buckv_set_dvs()
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-ingenic.c | 77 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/ |
D | st33zp24.c | 625 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/ |
D | ssp_dev.c | 74 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/ |
D | ad7266.c | 121 gpio_set_value(st->gpios[i].gpio, (bool)(nr & BIT(i))); in ad7266_select_input()
|