Searched refs:trans_table (Results 1 – 5 of 5) sorted by relevance
23 unsigned int *trans_table; member44 memset(stats->trans_table, 0, count * count * sizeof(int)); in cpufreq_stats_reset_table()156 count = stats->trans_table[i * stats->max_state + j]; in show_trans_table()171 cpufreq_freq_attr_ro(trans_table);177 &trans_table.attr,240 stats->trans_table = stats->freq_table + count; in cpufreq_stats_create_table()287 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
590 unsigned int *trans_table; member619 stats->trans_table[stats->state * (cdev->max_state + 1) + new_state]++; in thermal_cooling_device_stats_update()695 memset(stats->trans_table, 0, in reset_store()696 states * states * sizeof(*stats->trans_table)); in reset_store()742 stats->trans_table[i * (cdev->max_state + 1) + j]); in trans_table_show()760 static DEVICE_ATTR_RO(trans_table);785 var += sizeof(*stats->trans_table) * states * states; in cooling_device_stats_setup()792 stats->trans_table = (unsigned int *)(stats->time_in_state + states); in cooling_device_stats_setup()
241 devfreq->stats.trans_table[ in devfreq_update_status()890 devfreq->stats.trans_table = devm_kzalloc(&devfreq->dev, in devfreq_add_device()895 if (!devfreq->stats.trans_table) { in devfreq_add_device()1748 df->stats.trans_table[(i * max_state) + j]); in trans_stat_show()1787 memset(df->stats.trans_table, 0, array3_size(sizeof(unsigned int), in trans_stat_store()
302 static const int trans_table[] = { in mthca_status_to_errno() local322 if (status >= ARRAY_SIZE(trans_table) || in mthca_status_to_errno()324 && trans_table[status] == 0)) in mthca_status_to_errno()327 return trans_table[status]; in mthca_status_to_errno()
141 static const int trans_table[] = { in mlx4_status_to_errno() local162 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()
Completed in 20 milliseconds