Home
last modified time | relevance | path

Searched refs:tindex (Results 1 – 4 of 4) sorted by relevance

/drivers/macintosh/
Dwindfarm_pid.c106 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()
Dwindfarm_pid.h73 int tindex; /* index of current temp */ member
/drivers/hwmon/pmbus/
Dadm1275.c358 int tindex = -1; in adm1275_probe() local
500 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()
/drivers/scsi/aacraid/
Daachba.c848 char * get_container_type(unsigned tindex) in get_container_type() argument
850 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() argument
907 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()