Home
last modified time | relevance | path

Searched refs:LINE_LEN (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/
Ddrm_debugfs_crc.c248 #define LINE_LEN(values_cnt) (10 + 11 * values_cnt + 1 + 1) macro
249 #define MAX_LINE_LEN (LINE_LEN(DRM_MAX_CRC_NR))
286 if (count < LINE_LEN(crc->values_cnt)) { in crtc_crc_read()
305 if (copy_to_user(user_buf, buf, LINE_LEN(crc->values_cnt))) in crtc_crc_read()
308 return LINE_LEN(crc->values_cnt); in crtc_crc_read()
/Linux-v4.19/tools/power/cpupower/utils/
Dcpufreq-info.c22 #define LINE_LEN 10 macro
27 char value[LINE_LEN]; in count_cpus()
38 if (!fgets(value, LINE_LEN, fp)) in count_cpus()
40 value[LINE_LEN - 1] = '\0'; in count_cpus()
41 if (strlen(value) < (LINE_LEN - 2)) in count_cpus()
Dcpuidle-info.c22 #define LINE_LEN 10 macro