Searched refs:tindex (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/macintosh/ |
H A D | windfarm_pid.c | 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()
|
H A D | windfarm_pid.h | 75 int tindex; /* index of current temp */ member
|
/linux/tools/perf/util/ |
H A D | values.c | 172 int tindex, cindex; in perf_read_values__findnew_counter() 174 tindex = perf_read_values__findnew_thread(values, pid, tid); in perf_read_values__findnew_counter() 175 if (tindex < 0) in perf_read_values__findnew_counter() 176 return tindex; in perf_read_values__findnew_counter() 181 values->value[tindex][cindex] += value; in perf_read_values__findnew_counter() 188 int tindex, cindex; perf_read_values_add_value() local
|
/linux/drivers/hwmon/pmbus/ |
H A D | adm1275.c | 521 int tindex = -1; in adm1275_probe() local 659 tindex = 8; in adm1275_probe() 720 tindex = 3; in adm1275_probe() 849 if (tindex >= 0) { in adm1275_probe() 850 info->m[PSC_TEMPERATURE] = coefficients[tindex].m; in adm1275_probe() 851 info->b[PSC_TEMPERATURE] = coefficients[tindex].b; in adm1275_probe() 852 info->R[PSC_TEMPERATURE] = coefficients[tindex].R; in adm1275_probe()
|
/linux/net/netfilter/ |
H A D | nf_log.c | 417 int tindex = (unsigned long)table->extra1; in nf_log_proc_dostring() local 433 nf_log_unbind_pf(net, tindex); in nf_log_proc_dostring() 437 logger = __find_logger(tindex, buf); in nf_log_proc_dostring() 442 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring() 449 logger = nft_log_dereference(net->nf.nf_loggers[tindex]); in nf_log_proc_dostring()
|
/linux/drivers/scsi/aacraid/ |
H A D | aachba.c | 894 char * get_container_type(unsigned tindex) in get_container_type() argument 896 if (tindex >= ARRAY_SIZE(container_types)) in get_container_type() 897 tindex = ARRAY_SIZE(container_types) - 1; in get_container_type() 898 return container_types[tindex]; in get_container_type() 910 static void setinqstr(struct aac_dev *dev, void *data, int tindex) in setinqstr() argument 958 if (tindex < ARRAY_SIZE(container_types)){ in setinqstr() 965 if (((findit - str->pid) + strlen(container_types[tindex])) in setinqstr() 967 inqstrcpy (container_types[tindex], findit + 1); in setinqstr()
|