Home
last modified time | relevance | path

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

/drivers/macintosh/
Dwindfarm_pid.c105 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()
Dwindfarm_pid.h72 int tindex; /* index of current temp */ member
/drivers/hwmon/pmbus/
Dadm1275.c495 int tindex = -1; in adm1275_probe() local
631 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()
/drivers/scsi/aacraid/
Daachba.c880 char * get_container_type(unsigned tindex) in get_container_type() argument
882 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() argument
944 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()
/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c2688 u32 tmp, val_integerd_b, tindex; in rtw8822c_psd_log2base() local
2700 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()