Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.15-rc3 39 lines 1.1 kB view raw
1/* 2 * Copyright (C) STMicroelectronics SA 2017 3 * 4 * Authors: Philippe Cornu <philippe.cornu@st.com> 5 * Yannick Fertre <yannick.fertre@st.com> 6 * 7 * License terms: GNU General Public License (GPL), version 2 8 */ 9 10#ifndef __DW_MIPI_DSI__ 11#define __DW_MIPI_DSI__ 12 13struct dw_mipi_dsi_phy_ops { 14 int (*init)(void *priv_data); 15 int (*get_lane_mbps)(void *priv_data, struct drm_display_mode *mode, 16 unsigned long mode_flags, u32 lanes, u32 format, 17 unsigned int *lane_mbps); 18}; 19 20struct dw_mipi_dsi_plat_data { 21 void __iomem *base; 22 unsigned int max_data_lanes; 23 24 enum drm_mode_status (*mode_valid)(void *priv_data, 25 const struct drm_display_mode *mode); 26 27 const struct dw_mipi_dsi_phy_ops *phy_ops; 28 29 void *priv_data; 30}; 31 32int dw_mipi_dsi_probe(struct platform_device *pdev, 33 const struct dw_mipi_dsi_plat_data *plat_data); 34void dw_mipi_dsi_remove(struct platform_device *pdev); 35int dw_mipi_dsi_bind(struct platform_device *pdev, struct drm_encoder *encoder, 36 const struct dw_mipi_dsi_plat_data *plat_data); 37void dw_mipi_dsi_unbind(struct device *dev); 38 39#endif /* __DW_MIPI_DSI__ */