Home
last modified time | relevance | path

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

/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/drivers/hwmon/pmbus/
Dadm1275.c476 int tindex = -1; in adm1275_probe() local
612 tindex = 8; in adm1275_probe()
681 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()
/linux-6.1.9/net/netfilter/
Dnf_log.c412 int tindex = (unsigned long)table->extra1; in nf_log_proc_dostring() local
428 nf_log_unbind_pf(net, tindex); in nf_log_proc_dostring()
432 logger = __find_logger(tindex, buf); in nf_log_proc_dostring()
437 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring()
444 logger = nft_log_dereference(net->nf.nf_loggers[tindex]); in nf_log_proc_dostring()
/linux-6.1.9/drivers/scsi/aacraid/
Daachba.c893 char * get_container_type(unsigned tindex) in get_container_type() argument
895 if (tindex >= ARRAY_SIZE(container_types)) in get_container_type()
896 tindex = ARRAY_SIZE(container_types) - 1; in get_container_type()
897 return container_types[tindex]; in get_container_type()
909 static void setinqstr(struct aac_dev *dev, void *data, int tindex) in setinqstr() argument
957 if (tindex < ARRAY_SIZE(container_types)){ in setinqstr()
964 if (((findit - str->pid) + strlen(container_types[tindex])) in setinqstr()
966 inqstrcpy (container_types[tindex], findit + 1); in setinqstr()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c3504 u32 tmp, val_integerd_b, tindex; in rtw8822c_psd_log2base() local
3516 tindex = tmp / 5; in rtw8822c_psd_log2base()
3518 if (tindex >= ARRAY_SIZE(table_fraction)) in rtw8822c_psd_log2base()
3519 tindex = ARRAY_SIZE(table_fraction) - 1; in rtw8822c_psd_log2base()
3521 val_fractiond_b = table_fraction[tindex]; in rtw8822c_psd_log2base()