dsi.h (ed9976a09b486d85ae537b5cd73e947d7dfbb136) dsi.h (8b03ad30e314691f7bfccc0f9fae0dffd498b667)
1/*
2 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 86 unchanged lines hidden (view full) ---

95void msm_dsi_manager_bridge_destroy(struct drm_bridge *bridge);
96struct drm_connector *msm_dsi_manager_connector_init(u8 id);
97struct drm_connector *msm_dsi_manager_ext_bridge_init(u8 id);
98int msm_dsi_manager_cmd_xfer(int id, const struct mipi_dsi_msg *msg);
99bool msm_dsi_manager_cmd_xfer_trigger(int id, u32 dma_base, u32 len);
100void msm_dsi_manager_attach_dsi_device(int id, u32 device_flags);
101int msm_dsi_manager_register(struct msm_dsi *msm_dsi);
102void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi);
1/*
2 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 86 unchanged lines hidden (view full) ---

95void msm_dsi_manager_bridge_destroy(struct drm_bridge *bridge);
96struct drm_connector *msm_dsi_manager_connector_init(u8 id);
97struct drm_connector *msm_dsi_manager_ext_bridge_init(u8 id);
98int msm_dsi_manager_cmd_xfer(int id, const struct mipi_dsi_msg *msg);
99bool msm_dsi_manager_cmd_xfer_trigger(int id, u32 dma_base, u32 len);
100void msm_dsi_manager_attach_dsi_device(int id, u32 device_flags);
101int msm_dsi_manager_register(struct msm_dsi *msm_dsi);
102void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi);
103bool msm_dsi_manager_validate_current_config(u8 id);
103
104/* msm dsi */
105static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi)
106{
107 return msm_dsi->panel || msm_dsi->external_bridge;
108}
109
110struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi);

--- 119 unchanged lines hidden ---
104
105/* msm dsi */
106static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi)
107{
108 return msm_dsi->panel || msm_dsi->external_bridge;
109}
110
111struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi);

--- 119 unchanged lines hidden ---