Searched refs:kmb_dsi (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/kmb/ |
D | kmb_dsi.c | 176 static void kmb_dsi_clk_disable(struct kmb_dsi *kmb_dsi) in kmb_dsi_clk_disable() argument 178 clk_disable_unprepare(kmb_dsi->clk_mipi); in kmb_dsi_clk_disable() 179 clk_disable_unprepare(kmb_dsi->clk_mipi_ecfg); in kmb_dsi_clk_disable() 180 clk_disable_unprepare(kmb_dsi->clk_mipi_cfg); in kmb_dsi_clk_disable() 183 void kmb_dsi_host_unregister(struct kmb_dsi *kmb_dsi) in kmb_dsi_host_unregister() argument 185 kmb_dsi_clk_disable(kmb_dsi); in kmb_dsi_host_unregister() 186 mipi_dsi_host_unregister(kmb_dsi->host); in kmb_dsi_host_unregister() 385 static u32 mipi_tx_fg_section_cfg_regs(struct kmb_dsi *kmb_dsi, in mipi_tx_fg_section_cfg_regs() argument 412 dev_dbg(kmb_dsi->dev, in mipi_tx_fg_section_cfg_regs() 415 kmb_write_mipi(kmb_dsi, in mipi_tx_fg_section_cfg_regs() [all …]
|
D | kmb_dsi.h | 65 #define to_kmb_dsi(x) container_of(x, struct kmb_dsi, base) 67 struct kmb_dsi { struct 338 static inline void kmb_write_mipi(struct kmb_dsi *kmb_dsi, in kmb_write_mipi() argument 341 writel(value, (kmb_dsi->mipi_mmio + reg)); in kmb_write_mipi() 344 static inline u32 kmb_read_mipi(struct kmb_dsi *kmb_dsi, unsigned int reg) in kmb_read_mipi() argument 346 return readl(kmb_dsi->mipi_mmio + reg); in kmb_read_mipi() 349 static inline void kmb_write_bits_mipi(struct kmb_dsi *kmb_dsi, in kmb_write_bits_mipi() argument 353 u32 reg_val = kmb_read_mipi(kmb_dsi, reg); in kmb_write_bits_mipi() 360 kmb_write_mipi(kmb_dsi, reg, reg_val); in kmb_write_bits_mipi() 363 static inline void kmb_set_bit_mipi(struct kmb_dsi *kmb_dsi, in kmb_set_bit_mipi() argument [all …]
|
D | kmb_drv.c | 61 ret = kmb_dsi_clk_init(kmb->kmb_dsi); in kmb_initialize_clocks() 126 ret = kmb_dsi_map_mmio(kmb->kmb_dsi); in kmb_hw_init() 189 ret = kmb_dsi_encoder_init(drm, kmb->kmb_dsi); in kmb_setup_mode_config() 474 kmb_dsi_host_unregister(kmb->kmb_dsi); in kmb_remove() 535 kmb->kmb_dsi = kmb_dsi_init(dsi_pdev); in kmb_probe() 536 if (IS_ERR(kmb->kmb_dsi)) { in kmb_probe() 538 ret = PTR_ERR(kmb->kmb_dsi); in kmb_probe() 542 kmb->kmb_dsi->dev = &dsi_pdev->dev; in kmb_probe() 543 kmb->kmb_dsi->pdev = dsi_pdev; in kmb_probe() 578 kmb_dsi_host_unregister(kmb->kmb_dsi); in kmb_probe()
|
D | kmb_drv.h | 42 struct kmb_dsi; 51 struct kmb_dsi *kmb_dsi; member
|
D | Makefile | 1 kmb-drm-y := kmb_crtc.o kmb_drv.o kmb_plane.o kmb_dsi.o
|
D | kmb_crtc.c | 78 kmb_dsi_mode_set(kmb->kmb_dsi, m, kmb->sys_clk_mhz, old_state); in kmb_crtc_set_mode()
|