Searched refs:adc3xxx (Results 1 – 1 of 1) sorted by relevance
316 struct adc3xxx { struct958 struct adc3xxx *adc3xxx = gpiochip_get_data(chip); in adc3xxx_gpio_request() local968 if (adc3xxx->gpio_cfg[offset] != 0 && in adc3xxx_gpio_request()969 adc3xxx->gpio_cfg[offset] != ADC3XXX_GPIO_GPO + 1) in adc3xxx_gpio_request()978 struct adc3xxx *adc3xxx = gpiochip_get_data(chip); in adc3xxx_gpio_direction_out() local981 return regmap_update_bits(adc3xxx->regmap, in adc3xxx_gpio_direction_out()1004 struct adc3xxx *adc3xxx = gpiochip_get_data(chip); in adc3xxx_gpio_get() local1011 ret = regmap_read(adc3xxx->regmap, adc3xxx_gpio_ctrl_reg[offset], ®val); in adc3xxx_gpio_get()1027 static void adc3xxx_free_gpio(struct adc3xxx *adc3xxx) in adc3xxx_free_gpio() argument1030 gpiochip_remove(&adc3xxx->gpio_chip); in adc3xxx_free_gpio()[all …]