Lines Matching defs:msm_dsi_host
95 struct msm_dsi_host { struct
96 struct mipi_dsi_host base;
98 struct platform_device *pdev;
99 struct drm_device *dev;
101 int id;
103 void __iomem *ctrl_base;
104 struct regulator_bulk_data supplies[DSI_DEV_REGULATOR_MAX];
106 struct clk *bus_clks[DSI_BUS_CLK_MAX];
108 struct clk *byte_clk;
109 struct clk *esc_clk;
110 struct clk *pixel_clk;
111 struct clk *byte_clk_src;
112 struct clk *pixel_clk_src;
113 struct clk *byte_intf_clk;
115 struct opp_table *opp_table;
116 bool has_opp_table;
118 u32 byte_clk_rate;
119 u32 pixel_clk_rate;
120 u32 esc_clk_rate;
123 struct clk *src_clk;
124 struct clk *esc_clk_src;
125 struct clk *dsi_clk_src;
127 u32 src_clk_rate;
129 struct gpio_desc *disp_en_gpio;
130 struct gpio_desc *te_gpio;
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 work_struct hpd_work;
143 struct workqueue_struct *workqueue;
146 struct drm_gem_object *tx_gem_obj;
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;
161 struct device_node *device_node;
162 unsigned int channel;
163 unsigned int lanes;
164 enum mipi_dsi_pixel_format format;
165 unsigned long mode_flags;
190 static inline u32 dsi_read(struct msm_dsi_host *msm_host, u32 reg) in dsi_read() argument