Home
last modified time | relevance | path

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

/linux-6.3-rc2/Documentation/translations/zh_CN/cpu-freq/
A Dcpufreq-stats.rst50 - 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.3-rc2/Documentation/translations/zh_TW/cpu-freq/
A Dcpufreq-stats.rst48 - trans_table
62 -r--r--r-- 1 root root 4096 May 14 16:06 trans_table
94 - **trans_table**
105 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table
129 time_in_state、total_trans和trans_table的統計數據。
/linux-6.3-rc2/drivers/cpufreq/
A Dcpufreq_stats.c23 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()
286 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
/linux-6.3-rc2/Documentation/cpu-freq/
A Dcpufreq-stats.rst39 - 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.3-rc2/drivers/thermal/
A Dthermal_sysfs.c670 unsigned int *trans_table; member
697 stats->trans_table[stats->state * (cdev->max_state + 1) + new_state]++; in thermal_cooling_device_stats_update()
752 memset(stats->trans_table, 0, in reset_store()
753 states * states * sizeof(*stats->trans_table)); in reset_store()
793 stats->trans_table[i * (cdev->max_state + 1) + j]); in trans_table_show()
810 static DEVICE_ATTR_RO(trans_table);
835 var += sizeof(*stats->trans_table) * states * states; in cooling_device_stats_setup()
842 stats->trans_table = (unsigned int *)(stats->time_in_state + states); in cooling_device_stats_setup()
/linux-6.3-rc2/include/linux/
A Ddevfreq.h132 unsigned int *trans_table; member
/linux-6.3-rc2/drivers/devfreq/
A Ddevfreq.c244 devfreq->stats.trans_table[ in devfreq_update_status()
873 devfreq->stats.trans_table = devm_kzalloc(&devfreq->dev, in devfreq_add_device()
878 if (!devfreq->stats.trans_table) { in devfreq_add_device()
1725 df->stats.trans_table[(i * max_state) + j]); in trans_stat_show()
1756 memset(df->stats.trans_table, 0, array3_size(sizeof(unsigned int), in trans_stat_store()
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A Dmthca_cmd.c302 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.3-rc2/scripts/
A Dunifdef.c458 static state_fn * const trans_table[IS_COUNT][LT_COUNT] = { variable
591 trans_table[ifstate[depth]][lineval](); in process()
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-class-thermal250 What: /sys/class/thermal/cooling_deviceX/stats/trans_table
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A 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-6.3-rc2/Documentation/driver-api/thermal/
A Dsysfs-api.rst409 |---stats/trans_table: Cooling state transition table

Completed in 26 milliseconds