Lines Matching refs:coefficients
109 struct coefficients { struct
115 static const struct coefficients adm1075_coefficients[] = { argument
123 static const struct coefficients adm1272_coefficients[] = {
136 static const struct coefficients adm1275_coefficients[] = {
142 static const struct coefficients adm1276_coefficients[] = {
150 static const struct coefficients adm1278_coefficients[] = {
157 static const struct coefficients adm1293_coefficients[] = {
517 const struct coefficients *coefficients; in adm1275_probe() local
608 coefficients = adm1075_coefficients; in adm1275_probe()
636 coefficients = adm1272_coefficients; in adm1275_probe()
675 coefficients = adm1275_coefficients; in adm1275_probe()
694 coefficients = adm1276_coefficients; in adm1275_probe()
711 coefficients = adm1278_coefficients; in adm1275_probe()
736 coefficients = adm1293_coefficients; in adm1275_probe()
822 info->m[PSC_VOLTAGE_IN] = coefficients[vindex].m; in adm1275_probe()
823 info->b[PSC_VOLTAGE_IN] = coefficients[vindex].b; in adm1275_probe()
824 info->R[PSC_VOLTAGE_IN] = coefficients[vindex].R; in adm1275_probe()
827 info->m[PSC_VOLTAGE_OUT] = coefficients[voindex].m; in adm1275_probe()
828 info->b[PSC_VOLTAGE_OUT] = coefficients[voindex].b; in adm1275_probe()
829 info->R[PSC_VOLTAGE_OUT] = coefficients[voindex].R; in adm1275_probe()
834 coefficients[cindex].m * shunt / 1000; in adm1275_probe()
835 info->b[PSC_CURRENT_OUT] = coefficients[cindex].b; in adm1275_probe()
836 info->R[PSC_CURRENT_OUT] = coefficients[cindex].R; in adm1275_probe()
840 coefficients[pindex].m * shunt / 1000; in adm1275_probe()
841 info->b[PSC_POWER] = coefficients[pindex].b; in adm1275_probe()
842 info->R[PSC_POWER] = coefficients[pindex].R; in adm1275_probe()
845 info->m[PSC_TEMPERATURE] = coefficients[tindex].m; in adm1275_probe()
846 info->b[PSC_TEMPERATURE] = coefficients[tindex].b; in adm1275_probe()
847 info->R[PSC_TEMPERATURE] = coefficients[tindex].R; in adm1275_probe()