Lines Matching refs:vindex
475 int vindex = -1, voindex = -1, cindex = -1, pindex = -1; in adm1275_probe() local
566 vindex = 0; in adm1275_probe()
594 vindex = (config & ADM1275_VRANGE) ? 1 : 0; in adm1275_probe()
642 vindex = (config & ADM1275_VRANGE) ? 0 : 1; in adm1275_probe()
661 vindex = (config & ADM1275_VRANGE) ? 0 : 1; in adm1275_probe()
678 vindex = 0; in adm1275_probe()
717 vindex = 0; in adm1275_probe()
720 vindex = 1; in adm1275_probe()
723 vindex = 2; in adm1275_probe()
744 if (vindex >= 0) in adm1275_probe()
745 pindex = 7 + vindex * 4 + (cindex - 3); in adm1275_probe()
798 voindex = vindex; in adm1275_probe()
799 if (vindex >= 0) { in adm1275_probe()
800 info->m[PSC_VOLTAGE_IN] = coefficients[vindex].m; in adm1275_probe()
801 info->b[PSC_VOLTAGE_IN] = coefficients[vindex].b; in adm1275_probe()
802 info->R[PSC_VOLTAGE_IN] = coefficients[vindex].R; in adm1275_probe()