Home
last modified time | relevance | path

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

/linux-4.1.27/Documentation/cpu-freq/
Dcpufreq-stats.txt35 - trans_table
49 -r--r--r-- 1 root root 4096 May 14 16:06 trans_table
79 - trans_table
88 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table
117 provides fine grained cpufreq stats by trans_table. The reason for having a
118 separate config option for trans_table is:
119 - trans_table goes against the traditional /sysfs rule of one value per
/linux-4.1.27/drivers/cpufreq/
Dcpufreq_stats.c29 unsigned int *trans_table; member
95 stats->trans_table[i*stats->max_state+j]); in show_trans_table()
105 cpufreq_freq_attr_ro(trans_table);
115 &trans_table.attr,
201 stats->trans_table = stats->freq_table + count; in __cpufreq_stats_create_table()
297 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stat_notifier_trans()
/linux-4.1.27/include/linux/
Ddevfreq.h173 unsigned int *trans_table; member
/linux-4.1.27/drivers/devfreq/
Ddevfreq.c115 devfreq->trans_table[(prev_lev * in devfreq_update_status()
481 devfreq->trans_table = devm_kzalloc(dev, sizeof(unsigned int) * in devfreq_add_device()
1027 devfreq->trans_table[(i * max_state) + j]); in trans_stat_show()
/linux-4.1.27/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-4.1.27/scripts/
Dunifdef.c458 static state_fn * const trans_table[IS_COUNT][LT_COUNT] = { variable
591 trans_table[ifstate[depth]][lineval](); in process()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c139 static const int trans_table[] = { in mlx4_status_to_errno() local
160 if (status >= ARRAY_SIZE(trans_table) || in mlx4_status_to_errno()
161 (status != CMD_STAT_OK && trans_table[status] == 0)) in mlx4_status_to_errno()
164 return trans_table[status]; in mlx4_status_to_errno()