Lines Matching refs:vindex
475 int vindex = -1, voindex = -1, cindex = -1, pindex = -1; in adm1275_probe() local
565 vindex = 0; in adm1275_probe()
593 vindex = (config & ADM1275_VRANGE) ? 1 : 0; in adm1275_probe()
643 vindex = (config & ADM1275_VRANGE) ? 0 : 1; in adm1275_probe()
662 vindex = (config & ADM1275_VRANGE) ? 0 : 1; in adm1275_probe()
679 vindex = 0; in adm1275_probe()
718 vindex = 0; in adm1275_probe()
721 vindex = 1; in adm1275_probe()
724 vindex = 2; in adm1275_probe()
745 if (vindex >= 0) in adm1275_probe()
746 pindex = 7 + vindex * 4 + (cindex - 3); in adm1275_probe()
762 voindex = vindex; in adm1275_probe()
763 if (vindex >= 0) { in adm1275_probe()
764 info->m[PSC_VOLTAGE_IN] = coefficients[vindex].m; in adm1275_probe()
765 info->b[PSC_VOLTAGE_IN] = coefficients[vindex].b; in adm1275_probe()
766 info->R[PSC_VOLTAGE_IN] = coefficients[vindex].R; in adm1275_probe()