Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_debugfs_crc.c281 #define LINE_LEN(values_cnt) (10 + 11 * values_cnt + 1 + 1) macro
282 #define MAX_LINE_LEN (LINE_LEN(DRM_MAX_CRC_NR))
319 if (count < LINE_LEN(crc->values_cnt)) { in crtc_crc_read()
338 if (copy_to_user(user_buf, buf, LINE_LEN(crc->values_cnt))) in crtc_crc_read()
341 return LINE_LEN(crc->values_cnt); in crtc_crc_read()
/kernel/linux/linux-5.10/tools/power/cpupower/utils/
Dcpufreq-info.c21 #define LINE_LEN 10 macro
26 char value[LINE_LEN]; in count_cpus()
37 if (!fgets(value, LINE_LEN, fp)) in count_cpus()
39 value[LINE_LEN - 1] = '\0'; in count_cpus()
40 if (strlen(value) < (LINE_LEN - 2)) in count_cpus()
Dcpuidle-info.c21 #define LINE_LEN 10 macro