Searched refs:tindex (Results 1 – 4 of 4) sorted by relevance
106 st->index = st->tindex = 0; in wf_cpu_pid_run()111 st->tindex = (st->tindex + 1) % 2; in wf_cpu_pid_run()112 st->temps[st->tindex] = new_temp; in wf_cpu_pid_run()126 deriv = st->temps[st->tindex] - in wf_cpu_pid_run()127 st->temps[(st->tindex + 2 - 1) % 2]; in wf_cpu_pid_run()
73 int tindex; /* index of current temp */ member
358 int tindex = -1; in adm1275_probe() local500 tindex = 3; in adm1275_probe()589 if (tindex >= 0) { in adm1275_probe()590 info->m[PSC_TEMPERATURE] = coefficients[tindex].m; in adm1275_probe()591 info->b[PSC_TEMPERATURE] = coefficients[tindex].b; in adm1275_probe()592 info->R[PSC_TEMPERATURE] = coefficients[tindex].R; in adm1275_probe()
848 char * get_container_type(unsigned tindex) in get_container_type() argument850 if (tindex >= ARRAY_SIZE(container_types)) in get_container_type()851 tindex = ARRAY_SIZE(container_types) - 1; in get_container_type()852 return container_types[tindex]; in get_container_type()864 static void setinqstr(struct aac_dev *dev, void *data, int tindex) in setinqstr() argument907 if (tindex < ARRAY_SIZE(container_types)){ in setinqstr()914 if (((findit - str->pid) + strlen(container_types[tindex])) in setinqstr()916 inqstrcpy (container_types[tindex], findit + 1); in setinqstr()