Home
last modified time | relevance | path

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

/Linux-v6.1/sound/soc/codecs/
Dtlv320adc3xxx.c316 struct adc3xxx { struct
958 struct adc3xxx *adc3xxx = gpiochip_get_data(chip); in adc3xxx_gpio_request() local
968 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() local
981 return regmap_update_bits(adc3xxx->regmap, in adc3xxx_gpio_direction_out()
1004 struct adc3xxx *adc3xxx = gpiochip_get_data(chip); in adc3xxx_gpio_get() local
1011 ret = regmap_read(adc3xxx->regmap, adc3xxx_gpio_ctrl_reg[offset], &regval); in adc3xxx_gpio_get()
1027 static void adc3xxx_free_gpio(struct adc3xxx *adc3xxx) in adc3xxx_free_gpio() argument
1030 gpiochip_remove(&adc3xxx->gpio_chip); in adc3xxx_free_gpio()
[all …]