Home
last modified time | relevance | path

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

/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()
/drivers/devfreq/
Ddevfreq.c115 devfreq->trans_table[(prev_lev * in devfreq_update_status()
477 devfreq->trans_table = devm_kzalloc(dev, sizeof(unsigned int) * in devfreq_add_device()
1024 devfreq->trans_table[(i * max_state) + j]); in trans_stat_show()
/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()
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c140 static const int trans_table[] = { in mlx4_status_to_errno() local
161 if (status >= ARRAY_SIZE(trans_table) || in mlx4_status_to_errno()
162 (status != CMD_STAT_OK && trans_table[status] == 0)) in mlx4_status_to_errno()
165 return trans_table[status]; in mlx4_status_to_errno()