Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Drcar-gyroadc.c324 unsigned int adcmode = -1, childmode; in rcar_gyroadc_parse_subdevs() local
337 childmode = (uintptr_t)of_id->data; in rcar_gyroadc_parse_subdevs()
338 switch (childmode) { in rcar_gyroadc_parse_subdevs()
364 if (childmode == RCAR_GYROADC_MODE_SELECT_1_MB88101A) { in rcar_gyroadc_parse_subdevs()
385 if (!first && (adcmode != childmode)) { in rcar_gyroadc_parse_subdevs()
409 adcmode = childmode; in rcar_gyroadc_parse_subdevs()
413 priv->mode = childmode; in rcar_gyroadc_parse_subdevs()
424 if (childmode == RCAR_GYROADC_MODE_SELECT_1_MB88101A) { in rcar_gyroadc_parse_subdevs()