Searched refs:tindex (Results 1 – 5 of 5) sorted by relevance
105 st->index = st->tindex = 0; in wf_cpu_pid_run()110 st->tindex = (st->tindex + 1) % 2; in wf_cpu_pid_run()111 st->temps[st->tindex] = new_temp; in wf_cpu_pid_run()125 deriv = st->temps[st->tindex] - in wf_cpu_pid_run()126 st->temps[(st->tindex + 2 - 1) % 2]; in wf_cpu_pid_run()
72 int tindex; /* index of current temp */ member
495 int tindex = -1; in adm1275_probe() local631 tindex = 8; in adm1275_probe()691 tindex = 3; in adm1275_probe()822 if (tindex >= 0) { in adm1275_probe()823 info->m[PSC_TEMPERATURE] = coefficients[tindex].m; in adm1275_probe()824 info->b[PSC_TEMPERATURE] = coefficients[tindex].b; in adm1275_probe()825 info->R[PSC_TEMPERATURE] = coefficients[tindex].R; in adm1275_probe()
880 char * get_container_type(unsigned tindex) in get_container_type() argument882 if (tindex >= ARRAY_SIZE(container_types)) in get_container_type()883 tindex = ARRAY_SIZE(container_types) - 1; in get_container_type()884 return container_types[tindex]; in get_container_type()896 static void setinqstr(struct aac_dev *dev, void *data, int tindex) in setinqstr() argument944 if (tindex < ARRAY_SIZE(container_types)){ in setinqstr()951 if (((findit - str->pid) + strlen(container_types[tindex])) in setinqstr()953 inqstrcpy (container_types[tindex], findit + 1); in setinqstr()
2688 u32 tmp, val_integerd_b, tindex; in rtw8822c_psd_log2base() local2700 tindex = tmp / 5; in rtw8822c_psd_log2base()2702 if (tindex >= ARRAY_SIZE(table_fraction)) in rtw8822c_psd_log2base()2703 tindex = ARRAY_SIZE(table_fraction) - 1; in rtw8822c_psd_log2base()2705 val_fractiond_b = table_fraction[tindex]; in rtw8822c_psd_log2base()