Lines Matching refs:src_name
76 static enum dpu_crtc_crc_source dpu_crtc_parse_crc_source(const char *src_name) in dpu_crtc_parse_crc_source() argument
78 if (!src_name || in dpu_crtc_parse_crc_source()
79 !strcmp(src_name, "none")) in dpu_crtc_parse_crc_source()
81 if (!strcmp(src_name, "auto") || in dpu_crtc_parse_crc_source()
82 !strcmp(src_name, "lm")) in dpu_crtc_parse_crc_source()
84 if (!strcmp(src_name, "encoder")) in dpu_crtc_parse_crc_source()
91 const char *src_name, size_t *values_cnt) in dpu_crtc_verify_crc_source() argument
93 enum dpu_crtc_crc_source source = dpu_crtc_parse_crc_source(src_name); in dpu_crtc_verify_crc_source()
97 DRM_DEBUG_DRIVER("Invalid source %s for CRTC%d\n", src_name, crtc->index); in dpu_crtc_verify_crc_source()
139 static int dpu_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name) in dpu_crtc_set_crc_source() argument
141 enum dpu_crtc_crc_source source = dpu_crtc_parse_crc_source(src_name); in dpu_crtc_set_crc_source()
151 DRM_DEBUG_DRIVER("Invalid CRC source %s for CRTC%d\n", src_name, crtc->index); in dpu_crtc_set_crc_source()