Lines Matching full: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[] = {
518 const struct coefficients *coefficients; in adm1275_probe() local
610 coefficients = adm1075_coefficients; in adm1275_probe()
638 coefficients = adm1272_coefficients; in adm1275_probe()
677 coefficients = adm1275_coefficients; in adm1275_probe()
696 coefficients = adm1276_coefficients; in adm1275_probe()
714 coefficients = adm1278_coefficients; in adm1275_probe()
739 coefficients = adm1293_coefficients; in adm1275_probe()
825 info->m[PSC_VOLTAGE_IN] = coefficients[vindex].m; in adm1275_probe()
826 info->b[PSC_VOLTAGE_IN] = coefficients[vindex].b; in adm1275_probe()
827 info->R[PSC_VOLTAGE_IN] = coefficients[vindex].R; in adm1275_probe()
830 info->m[PSC_VOLTAGE_OUT] = coefficients[voindex].m; in adm1275_probe()
831 info->b[PSC_VOLTAGE_OUT] = coefficients[voindex].b; in adm1275_probe()
832 info->R[PSC_VOLTAGE_OUT] = coefficients[voindex].R; in adm1275_probe()
837 coefficients[cindex].m * shunt / 1000; in adm1275_probe()
838 info->b[PSC_CURRENT_OUT] = coefficients[cindex].b; in adm1275_probe()
839 info->R[PSC_CURRENT_OUT] = coefficients[cindex].R; in adm1275_probe()
843 coefficients[pindex].m * shunt / 1000; in adm1275_probe()
844 info->b[PSC_POWER] = coefficients[pindex].b; in adm1275_probe()
845 info->R[PSC_POWER] = coefficients[pindex].R; in adm1275_probe()
848 info->m[PSC_TEMPERATURE] = coefficients[tindex].m; in adm1275_probe()
849 info->b[PSC_TEMPERATURE] = coefficients[tindex].b; in adm1275_probe()
850 info->R[PSC_TEMPERATURE] = coefficients[tindex].R; in adm1275_probe()