Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/perf/util/
Dvalues.c188 int tindex, cindex; in perf_read_values_add_value() local
190 tindex = perf_read_values__findnew_thread(values, pid, tid); in perf_read_values_add_value()
191 if (tindex < 0) in perf_read_values_add_value()
192 return tindex; in perf_read_values_add_value()
197 values->value[tindex][cindex] += value; in perf_read_values_add_value()
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
Dadm1275.c476 int tindex = -1; in adm1275_probe() local
611 tindex = 8; in adm1275_probe()
682 tindex = 3; in adm1275_probe()
786 if (tindex >= 0) { in adm1275_probe()
787 info->m[PSC_TEMPERATURE] = coefficients[tindex].m; in adm1275_probe()
788 info->b[PSC_TEMPERATURE] = coefficients[tindex].b; in adm1275_probe()
789 info->R[PSC_TEMPERATURE] = coefficients[tindex].R; in adm1275_probe()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_log.c422 int tindex = (unsigned long)table->extra1; in nf_log_proc_dostring() local
438 nf_log_unbind_pf(net, tindex); in nf_log_proc_dostring()
442 logger = __find_logger(tindex, buf); in nf_log_proc_dostring()
447 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring()
454 logger = nft_log_dereference(net->nf.nf_loggers[tindex]); in nf_log_proc_dostring()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()