Lines Matching defs:msm_dsi_host

99 struct msm_dsi_host {  struct
100 struct mipi_dsi_host base;
102 struct platform_device *pdev;
103 struct drm_device *dev;
105 int id;
107 void __iomem *ctrl_base;
108 phys_addr_t ctrl_size;
109 struct regulator_bulk_data supplies[DSI_DEV_REGULATOR_MAX];
111 int num_bus_clks;
112 struct clk_bulk_data bus_clks[DSI_BUS_CLK_MAX];
114 struct clk *byte_clk;
115 struct clk *esc_clk;
116 struct clk *pixel_clk;
117 struct clk *byte_clk_src;
118 struct clk *pixel_clk_src;
119 struct clk *byte_intf_clk;
121 unsigned long byte_clk_rate;
122 unsigned long pixel_clk_rate;
123 unsigned long esc_clk_rate;
126 struct clk *src_clk;
127 struct clk *esc_clk_src;
128 struct clk *dsi_clk_src;
130 unsigned long src_clk_rate;
132 struct gpio_desc *disp_en_gpio;
133 struct gpio_desc *te_gpio;
135 const struct msm_dsi_cfg_handler *cfg_hnd;
137 struct completion dma_comp;
138 struct completion video_comp;
139 struct mutex dev_mutex;
140 struct mutex cmd_mutex;
141 spinlock_t intr_lock; /* Protect interrupt ctrl register */
143 u32 err_work_state;
144 struct work_struct err_work;
145 struct work_struct hpd_work;
146 struct workqueue_struct *workqueue;
149 struct drm_gem_object *tx_gem_obj;
152 void *tx_buf;
153 dma_addr_t tx_buf_paddr;
155 int tx_size;
157 u8 *rx_buf;
159 struct regmap *sfpb;
161 struct drm_display_mode *mode;
162 struct msm_display_dsc_config *dsc;
165 struct device_node *device_node;
166 unsigned int channel;
167 unsigned int lanes;
168 enum mipi_dsi_pixel_format format;
169 unsigned long mode_flags;
172 int dlane_swap;
173 int num_data_lanes;
197 static inline u32 dsi_read(struct msm_dsi_host *msm_host, u32 reg) in dsi_read() argument