Lines Matching refs:timings

163 				 struct display_timing *timings)  in malidp_setup_timings()  argument
165 u32 val = MALIDP_H_SYNCWIDTH(timings->hsync_len.typ) | in malidp_setup_timings()
166 MALIDP_V_SYNCWIDTH(timings->vsync_len.typ); in malidp_setup_timings()
169 val = MALIDP_H_BACKPORCH(timings->hback_porch.typ) | in malidp_setup_timings()
170 MALIDP_H_FRONTPORCH(timings->hfront_porch.typ); in malidp_setup_timings()
173 val = MALIDP_V_BACKPORCH(timings->vback_porch.typ) | in malidp_setup_timings()
174 MALIDP_V_FRONTPORCH(timings->vfront_porch.typ); in malidp_setup_timings()
177 val = MALIDP_H_ACTIVE(timings->hactive.typ) | in malidp_setup_timings()
178 MALIDP_V_ACTIVE(timings->vactive.typ); in malidp_setup_timings()
187 struct display_timing *timings) in malidp_setup_mode() argument
191 if (clk_set_rate(&malidp->pxlclk, timings->pixelclock.typ) == 0) in malidp_setup_mode()
194 malidp_setup_timings(malidp, timings); in malidp_setup_mode()
196 err = display_enable(malidp->display, 8, timings); in malidp_setup_mode()
204 struct display_timing *timings, in malidp_setup_layer() argument
213 val = MALIDP_CMP_V_SIZE(timings->vactive.typ) | in malidp_setup_layer()
214 MALIDP_CMP_H_SIZE(timings->hactive.typ); in malidp_setup_layer()
218 val = MALIDP_IN_V_SIZE(timings->vactive.typ) | in malidp_setup_layer()
219 MALIDP_IN_H_SIZE(timings->hactive.typ); in malidp_setup_layer()
222 writel(timings->hactive.typ << 2, malidp->base_addr + layer_offset + in malidp_setup_layer()
240 struct display_timing *timings) in malidp_update_timings_from_edid() argument
253 err = display_read_timing(disp_dev, timings); in malidp_update_timings_from_edid()
267 struct display_timing timings; in malidp_probe() local
287 err = ofnode_decode_display_timing(dev_ofnode(dev), 1, &timings); in malidp_probe()
293 err = malidp_update_timings_from_edid(dev, &timings); in malidp_probe()
361 err = malidp_setup_mode(priv, &timings); in malidp_probe()
365 malidp_setup_layer(priv, &timings, MALIDP_LAYER_LV1, in malidp_probe()