Home
last modified time | relevance | path

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

/linux/drivers/macintosh/
H A 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()
H A Dwindfarm_pid.h75 int tindex; /* index of current temp */ member
/linux/drivers/hwmon/pmbus/
H A Dadm1275.c552 int tindex = -1; in adm1275_probe() local
690 tindex = 8; in adm1275_probe()
735 tindex = 8; in adm1275_probe()
798 tindex = 3; in adm1275_probe()
828 tindex = 3; in adm1275_probe()
969 if (tindex >= 0) { in adm1275_probe()
970 info->m[PSC_TEMPERATURE] = coefficients[tindex].m; in adm1275_probe()
971 info->b[PSC_TEMPERATURE] = coefficients[tindex].b; in adm1275_probe()
972 info->R[PSC_TEMPERATURE] = coefficients[tindex].R; in adm1275_probe()
/linux/net/netfilter/
H A Dnf_log.c443 int tindex = (unsigned long)table->extra1; in nf_log_proc_dostring() local
459 nf_log_unbind_pf(net, tindex); in nf_log_proc_dostring()
463 logger = __find_logger(tindex, buf); in nf_log_proc_dostring()
468 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring()
475 logger = nft_log_dereference(net->nf.nf_loggers[tindex]); in nf_log_proc_dostring()
/linux/drivers/scsi/aacraid/
H A Daachba.c894 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()
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8822c.c3488 u32 tmp, val_integerd_b, tindex; in rtw8822c_psd_log2base() local
3500 tindex = tmp / 5; in rtw8822c_psd_log2base()
3502 if (tindex >= ARRAY_SIZE(table_fraction)) in rtw8822c_psd_log2base()
3503 tindex = ARRAY_SIZE(table_fraction) - 1; in rtw8822c_psd_log2base()
3505 val_fractiond_b = table_fraction[tindex]; in rtw8822c_psd_log2base()