Lines Matching refs:dsim_ddi

41 	struct mipi_dsim_ddi *dsim_ddi;  in exynos_mipi_dsi_register_lcd_device()  local
53 dsim_ddi = kzalloc(sizeof(struct mipi_dsim_ddi), GFP_KERNEL); in exynos_mipi_dsi_register_lcd_device()
54 if (!dsim_ddi) { in exynos_mipi_dsi_register_lcd_device()
59 dsim_ddi->dsim_lcd_dev = lcd_dev; in exynos_mipi_dsi_register_lcd_device()
61 list_add_tail(&dsim_ddi->list, &dsim_ddi_list); in exynos_mipi_dsi_register_lcd_device()
69 struct mipi_dsim_ddi *dsim_ddi; in exynos_mipi_dsi_find_lcd_device() local
72 list_for_each_entry(dsim_ddi, &dsim_ddi_list, list) { in exynos_mipi_dsi_find_lcd_device()
73 lcd_dev = dsim_ddi->dsim_lcd_dev; in exynos_mipi_dsi_find_lcd_device()
84 dsim_ddi->bus_id = lcd_dev->bus_id; in exynos_mipi_dsi_find_lcd_device()
86 return dsim_ddi; in exynos_mipi_dsi_find_lcd_device()
94 dsim_ddi->bus_id = lcd_dev->bus_id; in exynos_mipi_dsi_find_lcd_device()
96 return dsim_ddi; in exynos_mipi_dsi_find_lcd_device()
100 kfree(dsim_ddi); in exynos_mipi_dsi_find_lcd_device()
109 struct mipi_dsim_ddi *dsim_ddi; in exynos_mipi_dsi_register_lcd_driver() local
121 dsim_ddi = exynos_mipi_dsi_find_lcd_device(lcd_drv); in exynos_mipi_dsi_register_lcd_driver()
122 if (!dsim_ddi) { in exynos_mipi_dsi_register_lcd_driver()
127 dsim_ddi->dsim_lcd_drv = lcd_drv; in exynos_mipi_dsi_register_lcd_driver()
140 struct mipi_dsim_ddi *dsim_ddi; in exynos_mipi_dsi_bind_lcd_ddi() local
144 list_for_each_entry(dsim_ddi, &dsim_ddi_list, list) { in exynos_mipi_dsi_bind_lcd_ddi()
145 lcd_drv = dsim_ddi->dsim_lcd_drv; in exynos_mipi_dsi_bind_lcd_ddi()
146 lcd_dev = dsim_ddi->dsim_lcd_dev; in exynos_mipi_dsi_bind_lcd_ddi()
159 return dsim_ddi; in exynos_mipi_dsi_bind_lcd_ddi()
177 struct mipi_dsim_ddi *dsim_ddi; in exynos_mipi_dsi_init() local
197 dsim_ddi = exynos_mipi_dsi_bind_lcd_ddi(dsim, dsim_pd->lcd_panel_name); in exynos_mipi_dsi_init()
198 if (!dsim_ddi) { in exynos_mipi_dsi_init()
222 if (dsim_ddi->dsim_lcd_drv && dsim_ddi->dsim_lcd_drv->mipi_panel_init) { in exynos_mipi_dsi_init()
223 dsim_ddi->dsim_lcd_drv->mipi_panel_init(dsim); in exynos_mipi_dsi_init()
224 dsim_ddi->dsim_lcd_drv->mipi_display_on(dsim); in exynos_mipi_dsi_init()