Lines Matching defs:src_name
66 static enum dpu_crtc_crc_source dpu_crtc_parse_crc_source(const char *src_name)
68 if (!src_name ||
69 !strcmp(src_name, "none"))
71 if (!strcmp(src_name, "auto") ||
72 !strcmp(src_name, "lm"))
74 if (!strcmp(src_name, "encoder"))
81 const char *src_name, size_t *values_cnt)
83 enum dpu_crtc_crc_source source = dpu_crtc_parse_crc_source(src_name);
87 DRM_DEBUG_DRIVER("Invalid source %s for CRTC%d\n", src_name, crtc->index);
129 static int dpu_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name)
131 enum dpu_crtc_crc_source source = dpu_crtc_parse_crc_source(src_name);
141 DRM_DEBUG_DRIVER("Invalid CRC source %s for CRTC%d\n", src_name, crtc->index);