Searched refs:dsim_ddi (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/video/fbdev/exynos/ |
H A D | exynos_mipi_dsi.c | 184 struct mipi_dsim_ddi *dsim_ddi; exynos_mipi_dsi_register_lcd_device() local 191 dsim_ddi = kzalloc(sizeof(struct mipi_dsim_ddi), GFP_KERNEL); exynos_mipi_dsi_register_lcd_device() 192 if (!dsim_ddi) { exynos_mipi_dsi_register_lcd_device() 193 pr_err("failed to allocate dsim_ddi object.\n"); exynos_mipi_dsi_register_lcd_device() 197 dsim_ddi->dsim_lcd_dev = lcd_dev; exynos_mipi_dsi_register_lcd_device() 200 list_add_tail(&dsim_ddi->list, &dsim_ddi_list); exynos_mipi_dsi_register_lcd_device() 209 struct mipi_dsim_ddi *dsim_ddi, *next; exynos_mipi_dsi_find_lcd_device() local 214 list_for_each_entry_safe(dsim_ddi, next, &dsim_ddi_list, list) { exynos_mipi_dsi_find_lcd_device() 215 if (!dsim_ddi) exynos_mipi_dsi_find_lcd_device() 218 lcd_dev = dsim_ddi->dsim_lcd_dev; exynos_mipi_dsi_find_lcd_device() 227 dsim_ddi->bus_id = lcd_dev->bus_id; exynos_mipi_dsi_find_lcd_device() 230 return dsim_ddi; exynos_mipi_dsi_find_lcd_device() 233 list_del(&dsim_ddi->list); exynos_mipi_dsi_find_lcd_device() 234 kfree(dsim_ddi); exynos_mipi_dsi_find_lcd_device() 245 struct mipi_dsim_ddi *dsim_ddi; exynos_mipi_dsi_register_lcd_driver() local 252 dsim_ddi = exynos_mipi_dsi_find_lcd_device(lcd_drv); exynos_mipi_dsi_register_lcd_driver() 253 if (!dsim_ddi) { exynos_mipi_dsi_register_lcd_driver() 258 dsim_ddi->dsim_lcd_drv = lcd_drv; exynos_mipi_dsi_register_lcd_driver() 271 struct mipi_dsim_ddi *dsim_ddi, *next; exynos_mipi_dsi_bind_lcd_ddi() local 278 list_for_each_entry_safe(dsim_ddi, next, &dsim_ddi_list, list) { exynos_mipi_dsi_bind_lcd_ddi() 279 lcd_drv = dsim_ddi->dsim_lcd_drv; exynos_mipi_dsi_bind_lcd_ddi() 280 lcd_dev = dsim_ddi->dsim_lcd_dev; exynos_mipi_dsi_bind_lcd_ddi() 282 (dsim->id != dsim_ddi->bus_id)) exynos_mipi_dsi_bind_lcd_ddi() 311 return dsim_ddi; exynos_mipi_dsi_bind_lcd_ddi() 336 struct mipi_dsim_ddi *dsim_ddi; exynos_mipi_dsi_probe() local 398 dsim_ddi = exynos_mipi_dsi_bind_lcd_ddi(dsim, dsim_pd->lcd_panel_name); exynos_mipi_dsi_probe() 399 if (!dsim_ddi) { exynos_mipi_dsi_probe() 429 if (dsim_ddi->dsim_lcd_drv && dsim_ddi->dsim_lcd_drv->probe) exynos_mipi_dsi_probe() 430 dsim_ddi->dsim_lcd_drv->probe(dsim_ddi->dsim_lcd_dev); exynos_mipi_dsi_probe() 439 if (dsim_ddi->dsim_lcd_drv && dsim_ddi->dsim_lcd_drv->power_on) exynos_mipi_dsi_probe() 440 dsim_ddi->dsim_lcd_drv->power_on(dsim_ddi->dsim_lcd_dev, 1); exynos_mipi_dsi_probe() 450 if (dsim_ddi->dsim_lcd_drv && dsim_ddi->dsim_lcd_drv->set_sequence) exynos_mipi_dsi_probe() 451 dsim_ddi->dsim_lcd_drv->set_sequence(dsim_ddi->dsim_lcd_dev); exynos_mipi_dsi_probe() 471 struct mipi_dsim_ddi *dsim_ddi, *next; exynos_mipi_dsi_remove() local 476 list_for_each_entry_safe(dsim_ddi, next, &dsim_ddi_list, list) { exynos_mipi_dsi_remove() 477 if (dsim_ddi) { exynos_mipi_dsi_remove() 478 if (dsim->id != dsim_ddi->bus_id) exynos_mipi_dsi_remove() 481 dsim_lcd_drv = dsim_ddi->dsim_lcd_drv; exynos_mipi_dsi_remove() 484 dsim_lcd_drv->remove(dsim_ddi->dsim_lcd_dev); exynos_mipi_dsi_remove() 486 kfree(dsim_ddi); exynos_mipi_dsi_remove()
|
Completed in 106 milliseconds