dsi.c (0054ac2c7e6c02cfd2f81554184ff9af4fe70818) | dsi.c (0f40ba48de3b8a4c5793013768cd62805033869c) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (c) 2015, The Linux Foundation. All rights reserved. 4 */ 5 6#include "dsi.h" 7#include "dsi_cfg.h" 8 --- 7 unchanged lines hidden (view full) --- 16 17bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi) 18{ 19 unsigned long host_flags = msm_dsi_host_get_mode_flags(msm_dsi->host); 20 21 return !(host_flags & MIPI_DSI_MODE_VIDEO); 22} 23 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (c) 2015, The Linux Foundation. All rights reserved. 4 */ 5 6#include "dsi.h" 7#include "dsi_cfg.h" 8 --- 7 unchanged lines hidden (view full) --- 16 17bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi) 18{ 19 unsigned long host_flags = msm_dsi_host_get_mode_flags(msm_dsi->host); 20 21 return !(host_flags & MIPI_DSI_MODE_VIDEO); 22} 23 |
24struct msm_display_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi) 25{ 26 return msm_dsi_host_get_dsc_config(msm_dsi->host); 27} 28 |
|
24static int dsi_get_phy(struct msm_dsi *msm_dsi) 25{ 26 struct platform_device *pdev = msm_dsi->pdev; 27 struct platform_device *phy_pdev; 28 struct device_node *phy_node; 29 30 phy_node = of_parse_phandle(pdev->dev.of_node, "phys", 0); 31 if (!phy_node) { --- 268 unchanged lines hidden --- | 29static int dsi_get_phy(struct msm_dsi *msm_dsi) 30{ 31 struct platform_device *pdev = msm_dsi->pdev; 32 struct platform_device *phy_pdev; 33 struct device_node *phy_node; 34 35 phy_node = of_parse_phandle(pdev->dev.of_node, "phys", 0); 36 if (!phy_node) { --- 268 unchanged lines hidden --- |