Lines Matching defs:panel_info
176 DisplayError HWDevice::GetHWPanelInfo(HWPanelInfo *panel_info) {
177 *panel_info = hw_panel_info_;
761 HWPanelInfo panel_info;
762 GetHWPanelInfoByNode(i, &panel_info);
765 if (panel_info.is_primary_panel) {
770 if (panel_info.is_pluggable == true) {
777 if (panel_info.port == kPortWriteBack) {
808 void HWDevice::GetHWPanelNameByNode(int device_node, HWPanelInfo *panel_info) {
824 snprintf(panel_info->panel_name, sizeof(panel_info->panel_name), "%s", tokens[1]);
831 void HWDevice::GetHWPanelInfoByNode(int device_node, HWPanelInfo *panel_info) {
847 panel_info->partial_update = atoi(tokens[1]);
849 panel_info->left_align = atoi(tokens[1]);
851 panel_info->width_align = atoi(tokens[1]);
853 panel_info->top_align = atoi(tokens[1]);
855 panel_info->height_align = atoi(tokens[1]);
857 panel_info->min_roi_width = atoi(tokens[1]);
859 panel_info->min_roi_height = atoi(tokens[1]);
861 panel_info->needs_roi_merge = atoi(tokens[1]);
863 panel_info->dynamic_fps = atoi(tokens[1]);
865 panel_info->dfps_porch_mode = atoi(tokens[1]);
867 panel_info->ping_pong_split = atoi(tokens[1]);
869 panel_info->min_fps = UINT32(atoi(tokens[1]));
871 panel_info->max_fps = UINT32(atoi(tokens[1]));
873 panel_info->is_primary_panel = atoi(tokens[1]);
875 panel_info->is_pluggable = atoi(tokens[1]);
880 GetHWDisplayPortAndMode(device_node, panel_info);
881 GetSplitInfo(device_node, panel_info);
882 GetHWPanelNameByNode(device_node, panel_info);
883 GetHWPanelMaxBrightnessFromNode(panel_info);
886 void HWDevice::GetHWDisplayPortAndMode(int device_node, HWPanelInfo *panel_info) {
887 DisplayPort *port = &panel_info->port;
888 HWDisplayMode *mode = &panel_info->mode;
932 void HWDevice::GetSplitInfo(int device_node, HWPanelInfo *panel_info) {
949 panel_info->split_info.left_split = UINT32(atoi(tokens[0]));
950 panel_info->split_info.right_split = UINT32(atoi(tokens[1]));
955 void HWDevice::GetHWPanelMaxBrightnessFromNode(HWPanelInfo *panel_info) {
962 panel_info->panel_max_brightness = 0;
971 panel_info->panel_max_brightness = atoi(brightness);
972 DLOGI("Max brightness level = %d", panel_info->panel_max_brightness);
1022 HWPanelInfo panel_info;
1023 GetHWPanelInfoByNode(i, &panel_info);
1024 if (panel_info.is_pluggable == true) {