Lines Matching refs:desc

133 	const struct st7701_panel_desc *desc;  member
160 const struct st7701_panel_desc *desc = st7701->desc; in st7701_vgls_map() local
177 if (desc->vgl_mv == map[i].vgl) in st7701_vgls_map()
197 const struct st7701_panel_desc *desc = st7701->desc; in st7701_init_sequence() local
198 const struct drm_display_mode *mode = desc->mode; in st7701_init_sequence()
215 desc->pv_gamma, ARRAY_SIZE(desc->pv_gamma)); in st7701_init_sequence()
217 desc->nv_gamma, ARRAY_SIZE(desc->nv_gamma)); in st7701_init_sequence()
246 FIELD_PREP(DSI_CMD2_BK0_INVSEL_NLINV_MASK, desc->nlinv), in st7701_init_sequence()
256 DIV_ROUND_CLOSEST(desc->vop_uv - 3537500, 12500))); in st7701_init_sequence()
261 DIV_ROUND_CLOSEST(desc->vcom_uv - 100000, 12500))); in st7701_init_sequence()
266 DIV_ROUND_CLOSEST(clamp(desc->vgh_mv, in st7701_init_sequence()
280 desc->gamma_op_bias) | in st7701_init_sequence()
282 desc->input_op_bias) | in st7701_init_sequence()
284 desc->output_op_bias)); in st7701_init_sequence()
289 DIV_ROUND_CLOSEST(desc->avdd_mv - 6200, 200)) | in st7701_init_sequence()
291 DIV_ROUND_CLOSEST(-4400 - desc->avcl_mv, 200))); in st7701_init_sequence()
297 DIV_ROUND_CLOSEST(desc->t2d_ns, 200))); in st7701_init_sequence()
303 DIV_ROUND_CLOSEST(desc->t3d_ns - 4000, 800))); in st7701_init_sequence()
307 (desc->eot_en ? DSI_CMD2_BK1_MIPISET1_EOT_EN : 0)); in st7701_init_sequence()
444 if (st7701->desc->gip_sequence) in st7701_prepare()
445 st7701->desc->gip_sequence(st7701); in st7701_prepare()
501 const struct drm_display_mode *desc_mode = st7701->desc->mode; in st7701_get_modes()
844 const struct st7701_panel_desc *desc; in st7701_dsi_probe() local
852 desc = of_device_get_match_data(&dsi->dev); in st7701_dsi_probe()
855 dsi->format = desc->format; in st7701_dsi_probe()
856 dsi->lanes = desc->lanes; in st7701_dsi_probe()
888 st7701->sleep_delay = 120 + desc->panel_sleep_delay; in st7701_dsi_probe()
898 st7701->desc = desc; in st7701_dsi_probe()