Lines Matching defs:msm_dsi_host
102 struct msm_dsi_host { struct
103 struct mipi_dsi_host base;
105 struct platform_device *pdev;
106 struct drm_device *dev;
108 int id;
110 void __iomem *ctrl_base;
111 phys_addr_t ctrl_size;
112 struct regulator_bulk_data *supplies;
114 int num_bus_clks;
115 struct clk_bulk_data bus_clks[DSI_BUS_CLK_MAX];
117 struct clk *byte_clk;
118 struct clk *esc_clk;
119 struct clk *pixel_clk;
120 struct clk *byte_intf_clk;
122 unsigned long byte_clk_rate;
123 unsigned long byte_intf_clk_rate;
124 unsigned long pixel_clk_rate;
125 unsigned long esc_clk_rate;
128 struct clk *src_clk;
130 unsigned long src_clk_rate;
132 const struct msm_dsi_cfg_handler *cfg_hnd;
134 struct completion dma_comp;
135 struct completion video_comp;
136 struct mutex dev_mutex;
137 struct mutex cmd_mutex;
138 spinlock_t intr_lock; /* Protect interrupt ctrl register */
140 u32 err_work_state;
141 struct work_struct err_work;
142 struct workqueue_struct *workqueue;
145 struct drm_gem_object *tx_gem_obj;
146 struct msm_gem_address_space *aspace;
149 void *tx_buf;
150 dma_addr_t tx_buf_paddr;
152 int tx_size;
154 u8 *rx_buf;
156 struct regmap *sfpb;
158 struct drm_display_mode *mode;
159 struct drm_dsc_config *dsc;
183 static inline u32 dsi_read(struct msm_dsi_host *msm_host, u32 reg) in dsi_read() argument