Home
last modified time | relevance | path

Searched refs:kmb_clk (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/kmb/
A Dkmb_drv.c31 ret = clk_prepare_enable(kmb->kmb_clk.clk_lcd); in kmb_display_clk_enable()
45 kmb->kmb_clk.clk_lcd = devm_clk_get(dev, "clk_lcd"); in kmb_initialize_clocks()
46 if (IS_ERR(kmb->kmb_clk.clk_lcd)) { in kmb_initialize_clocks()
48 return PTR_ERR(kmb->kmb_clk.clk_lcd); in kmb_initialize_clocks()
51 kmb->kmb_clk.clk_pll0 = devm_clk_get(dev, "clk_pll0"); in kmb_initialize_clocks()
52 if (IS_ERR(kmb->kmb_clk.clk_pll0)) { in kmb_initialize_clocks()
54 return PTR_ERR(kmb->kmb_clk.clk_pll0); in kmb_initialize_clocks()
56 kmb->sys_clk_mhz = clk_get_rate(kmb->kmb_clk.clk_pll0) / 1000000; in kmb_initialize_clocks()
62 clk_set_rate(kmb->kmb_clk.clk_lcd, KMB_LCD_DEFAULT_CLK); in kmb_initialize_clocks()
63 if (clk_get_rate(kmb->kmb_clk.clk_lcd) != KMB_LCD_DEFAULT_CLK) { in kmb_initialize_clocks()
[all …]
A Dkmb_crtc.c141 clk_prepare_enable(kmb->kmb_clk.clk_lcd); in kmb_crtc_atomic_enable()
156 clk_disable_unprepare(kmb->kmb_clk.clk_lcd); in kmb_crtc_atomic_disable()
A Dkmb_drv.h53 struct kmb_clock kmb_clk; member

Completed in 4 milliseconds