ADC3XXX_GPIO_PINS
if (offset >= ADC3XXX_GPIO_PINS) {
unsigned int micbias = offset - ADC3XXX_GPIO_PINS;
for (gpio = 0; gpio < ADC3XXX_GPIO_PINS; gpio++) {
unsigned int gpio_cfg[ADC3XXX_GPIO_PINS]; /* value+1 (0 => not set) */
static const unsigned int adc3xxx_gpio_ctrl_reg[ADC3XXX_GPIO_PINS] = {
#define ADC3XXX_GPIOS_MAX (ADC3XXX_MICBIAS_PINS + ADC3XXX_GPIO_PINS)
if (offset < ADC3XXX_GPIO_PINS) {
} else if (offset >= ADC3XXX_GPIO_PINS && offset < ADC3XXX_GPIOS_MAX) {
if (!adc3xxx->micbias_gpo[offset - ADC3XXX_GPIO_PINS])
if (offset >= ADC3XXX_GPIO_PINS) {
unsigned int micbias = offset - ADC3XXX_GPIO_PINS;