Searched refs:gpio_val (Results 1 – 13 of 13) sorted by relevance
/linux-4.19.296/include/linux/mfd/ |
D | max14577.h | 76 int (*set_gpio_pogo_vbatt_en) (int gpio_val); 77 int (*set_gpio_pogo_vbus_en) (int gpio_val);
|
/linux-4.19.296/drivers/iio/dac/ |
D | ad5592r-base.c | 35 val = st->gpio_val; in ad5592r_gpio_get() 54 st->gpio_val |= BIT(offset); in ad5592r_gpio_set() 56 st->gpio_val &= ~BIT(offset); in ad5592r_gpio_set() 58 st->ops->reg_write(st, AD5592R_REG_GPIO_SET, st->gpio_val); in ad5592r_gpio_set() 94 st->gpio_val |= BIT(offset); in ad5592r_gpio_direction_output() 96 st->gpio_val &= ~BIT(offset); in ad5592r_gpio_direction_output() 101 ret = st->ops->reg_write(st, AD5592R_REG_GPIO_SET, st->gpio_val); in ad5592r_gpio_direction_output() 240 st->gpio_val |= BIT(i); in ad5592r_set_channel_modes() 272 ret = ops->reg_write(st, AD5592R_REG_GPIO_SET, st->gpio_val); in ad5592r_set_channel_modes()
|
D | ad5592r-base.h | 66 u8 gpio_val; member
|
/linux-4.19.296/drivers/regulator/ |
D | max8973-regulator.c | 146 int req_vsel, int *vout_reg, int *gpio_val) in find_voltage_set_register() argument 167 *gpio_val = new_vout_reg; in find_voltage_set_register() 194 int gpio_val = max->curr_gpio_val; in max8973_dcdc_set_voltage_sel() local 202 &vout_reg, &gpio_val); in max8973_dcdc_set_voltage_sel() 213 max->curr_vout_val[gpio_val] = vsel; in max8973_dcdc_set_voltage_sel() 218 gpio_set_value_cansleep(max->dvs_gpio, gpio_val & 0x1); in max8973_dcdc_set_voltage_sel() 219 max->curr_gpio_val = gpio_val; in max8973_dcdc_set_voltage_sel()
|
/linux-4.19.296/include/linux/ |
D | ath9k_platform.h | 32 u32 gpio_val; member
|
/linux-4.19.296/drivers/i2c/muxes/ |
D | i2c-arb-gpio-challenge.c | 73 int gpio_val = !!gpio_get_value(arb->their_gpio); in i2c_arbitrator_select() local 75 if (gpio_val == arb->their_gpio_release) { in i2c_arbitrator_select()
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | dib7000m.h | 23 u16 gpio_val; member
|
D | dib7000p.h | 20 u16 gpio_val; member
|
D | dib8000.h | 20 u16 gpio_val; member
|
D | dib7000p.c | 66 u16 gpio_val; member 531 dprintk("gpio dir: %x: val: %x, pwm_pos: %x\n", st->gpio_dir, st->gpio_val, st->cfg.gpio_pwm_pos); in dib7000p_reset_gpio() 534 dib7000p_write_word(st, 1030, st->gpio_val); in dib7000p_reset_gpio() 551 st->gpio_val = dib7000p_read_word(st, 1030); in dib7000p_cfg_gpio() 552 st->gpio_val &= ~(1 << num); /* reset the direction bit */ in dib7000p_cfg_gpio() 553 st->gpio_val |= (val & 0x01) << num; /* set the new value */ in dib7000p_cfg_gpio() 554 dib7000p_write_word(st, 1030, st->gpio_val); in dib7000p_cfg_gpio() 2745 st->gpio_val = cfg->gpio_val; in dib7000p_init()
|
D | dib9000.c | 70 u16 gpio_val; member 1764 st->gpio_val = dib9000_read_word(st, 774); in dib9000_cfg_gpio() 1765 st->gpio_val &= ~(1 << num); /* reset the direction bit */ in dib9000_cfg_gpio() 1766 st->gpio_val |= (val & 0x01) << num; /* set the new value */ in dib9000_cfg_gpio() 1767 dib9000_write_word(st, 774, st->gpio_val); in dib9000_cfg_gpio() 1769 dprintk("gpio dir: %04x: gpio val: %04x\n", st->gpio_dir, st->gpio_val); in dib9000_cfg_gpio() 2496 st->gpio_val = DIB9000_GPIO_DEFAULT_VALUES; in dib9000_attach()
|
D | dib8000.c | 93 u16 gpio_val; member 829 dib8000_write_word(st, 1030, st->cfg.gpio_val); in dib8000_reset_gpio() 846 st->cfg.gpio_val = dib8000_read_word(st, 1030); in dib8000_cfg_gpio() 847 st->cfg.gpio_val &= ~(1 << num); /* reset the direction bit */ in dib8000_cfg_gpio() 848 st->cfg.gpio_val |= (val & 0x01) << num; /* set the new value */ in dib8000_cfg_gpio() 849 dib8000_write_word(st, 1030, st->cfg.gpio_val); in dib8000_cfg_gpio() 851 dprintk("gpio dir: %x: gpio val: %x\n", st->cfg.gpio_dir, st->cfg.gpio_val); in dib8000_cfg_gpio() 4464 state->gpio_val = cfg->gpio_val; in dib8000_init()
|
D | dib7000m.c | 455 dib7000m_write_word(st, 774, st->cfg.gpio_val); in dib7000m_reset_gpio()
|