Home
last modified time | relevance | path

Searched refs:trans_table (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/cpufreq/
Dcpufreq_stats.c27 unsigned int *trans_table; member
45 memset(stats->trans_table, 0, count * count * sizeof(int)); in cpufreq_stats_clear_table()
114 stats->trans_table[i*stats->max_state+j]); in show_trans_table()
127 cpufreq_freq_attr_ro(trans_table);
137 &trans_table.attr,
200 stats->trans_table = stats->freq_table + count; in cpufreq_stats_create_table()
246 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
/Linux-v4.19/Documentation/cpu-freq/
Dcpufreq-stats.txt35 - trans_table
50 -r--r--r-- 1 root root 4096 May 14 16:06 trans_table
85 - trans_table
97 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table
122 statistics which includes time_in_state, total_trans and trans_table.
/Linux-v4.19/drivers/thermal/
Dthermal_sysfs.c752 unsigned int *trans_table; member
776 stats->trans_table[stats->state * stats->max_states + new_state]++; in thermal_cooling_device_stats_update()
831 memset(stats->trans_table, 0, in reset_store()
832 states * states * sizeof(*stats->trans_table)); in reset_store()
872 stats->trans_table[i * stats->max_states + j]); in trans_table_show()
889 static DEVICE_ATTR_RO(trans_table);
917 var += sizeof(*stats->trans_table) * states * states; in cooling_device_stats_setup()
924 stats->trans_table = (unsigned int *)(stats->time_in_state + states); in cooling_device_stats_setup()
/Linux-v4.19/include/linux/
Ddevfreq.h172 unsigned int *trans_table; member
/Linux-v4.19/drivers/devfreq/
Ddevfreq.c187 devfreq->trans_table[(prev_lev * in devfreq_update_status()
632 devfreq->trans_table = in devfreq_add_device()
1253 devfreq->trans_table[(i * max_state) + j]); in trans_stat_show()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_cmd.c308 static const int trans_table[] = { in mthca_status_to_errno() local
328 if (status >= ARRAY_SIZE(trans_table) || in mthca_status_to_errno()
330 && trans_table[status] == 0)) in mthca_status_to_errno()
333 return trans_table[status]; in mthca_status_to_errno()
/Linux-v4.19/scripts/
Dunifdef.c458 static state_fn * const trans_table[IS_COUNT][LT_COUNT] = { variable
591 trans_table[ifstate[depth]][lineval](); in process()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c141 static const int trans_table[] = { in mlx4_status_to_errno() local
162 if (status >= ARRAY_SIZE(trans_table) || in mlx4_status_to_errno()
163 (status != CMD_STAT_OK && trans_table[status] == 0)) in mlx4_status_to_errno()
166 return trans_table[status]; in mlx4_status_to_errno()
/Linux-v4.19/Documentation/thermal/
Dsysfs-api.txt294 |---stats/trans_table: Cooing state transition table
516 stats/trans_table: