Searched refs:trans_table (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/Documentation/translations/zh_CN/cpu-freq/ |
D | cpufreq-stats.rst | 50 - trans_table 64 -r--r--r-- 1 root root 4096 May 14 16:06 trans_table 96 - **trans_table** 107 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table 131 time_in_state、total_trans和trans_table的统计数据。
|
/linux-6.12.1/Documentation/translations/zh_TW/cpu-freq/ |
D | cpufreq-stats.rst | 50 - trans_table 64 -r--r--r-- 1 root root 4096 May 14 16:06 trans_table 96 - **trans_table** 107 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table 131 time_in_state、total_trans和trans_table的統計數據。
|
/linux-6.12.1/drivers/cpufreq/ |
D | cpufreq_stats.c | 23 unsigned int *trans_table; member 44 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()
|
/linux-6.12.1/Documentation/cpu-freq/ |
D | cpufreq-stats.rst | 39 - trans_table 55 -r--r--r-- 1 root root 4096 May 14 16:06 trans_table 92 - **trans_table** 108 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table 133 statistics which includes time_in_state, total_trans and trans_table.
|
/linux-6.12.1/drivers/thermal/ |
D | thermal_sysfs.c | 595 unsigned int *trans_table; member 624 stats->trans_table[stats->state * (cdev->max_state + 1) + new_state]++; in thermal_cooling_device_stats_update() 706 memset(stats->trans_table, 0, in reset_store() 707 states * states * sizeof(*stats->trans_table)); in reset_store() 760 stats->trans_table[i * (cdev->max_state + 1) + j]); in trans_table_show() 781 static DEVICE_ATTR_RO(trans_table); 806 var += sizeof(*stats->trans_table) * states * states; in cooling_device_stats_setup() 813 stats->trans_table = (unsigned int *)(stats->time_in_state + states); in cooling_device_stats_setup()
|
/linux-6.12.1/include/linux/ |
D | devfreq.h | 133 unsigned int *trans_table; member
|
/linux-6.12.1/drivers/devfreq/ |
D | devfreq.c | 244 devfreq->stats.trans_table[ in devfreq_update_status() 895 devfreq->stats.trans_table = devm_kzalloc(&devfreq->dev, in devfreq_add_device() 900 if (!devfreq->stats.trans_table) { in devfreq_add_device() 1757 df->stats.trans_table[(i * max_state) + j]); in trans_stat_show() 1796 memset(df->stats.trans_table, 0, array3_size(sizeof(unsigned int), in trans_stat_store()
|
/linux-6.12.1/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 302 static const int trans_table[] = { in mthca_status_to_errno() local 322 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()
|
/linux-6.12.1/scripts/ |
D | unifdef.c | 458 static state_fn * const trans_table[IS_COUNT][LT_COUNT] = { variable 591 trans_table[ifstate[depth]][lineval](); in process()
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-thermal | 250 What: /sys/class/thermal/cooling_deviceX/stats/trans_table
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 141 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-6.12.1/Documentation/driver-api/thermal/ |
D | sysfs-api.rst | 313 |---stats/trans_table: Cooling state transition table
|