Lines Matching refs:dt

58 		struct display_timing *dt)  in of_parse_display_timing()  argument
63 memset(dt, 0, sizeof(*dt)); in of_parse_display_timing()
65 ret |= parse_timing_property(np, "hback-porch", &dt->hback_porch); in of_parse_display_timing()
66 ret |= parse_timing_property(np, "hfront-porch", &dt->hfront_porch); in of_parse_display_timing()
67 ret |= parse_timing_property(np, "hactive", &dt->hactive); in of_parse_display_timing()
68 ret |= parse_timing_property(np, "hsync-len", &dt->hsync_len); in of_parse_display_timing()
69 ret |= parse_timing_property(np, "vback-porch", &dt->vback_porch); in of_parse_display_timing()
70 ret |= parse_timing_property(np, "vfront-porch", &dt->vfront_porch); in of_parse_display_timing()
71 ret |= parse_timing_property(np, "vactive", &dt->vactive); in of_parse_display_timing()
72 ret |= parse_timing_property(np, "vsync-len", &dt->vsync_len); in of_parse_display_timing()
73 ret |= parse_timing_property(np, "clock-frequency", &dt->pixelclock); in of_parse_display_timing()
75 dt->flags = 0; in of_parse_display_timing()
77 dt->flags |= val ? DISPLAY_FLAGS_VSYNC_HIGH : in of_parse_display_timing()
80 dt->flags |= val ? DISPLAY_FLAGS_HSYNC_HIGH : in of_parse_display_timing()
83 dt->flags |= val ? DISPLAY_FLAGS_DE_HIGH : in of_parse_display_timing()
86 dt->flags |= val ? DISPLAY_FLAGS_PIXDATA_POSEDGE : in of_parse_display_timing()
90 dt->flags |= val ? DISPLAY_FLAGS_SYNC_POSEDGE : in of_parse_display_timing()
92 else if (dt->flags & (DISPLAY_FLAGS_PIXDATA_POSEDGE | in of_parse_display_timing()
94 dt->flags |= dt->flags & DISPLAY_FLAGS_PIXDATA_POSEDGE ? in of_parse_display_timing()
99 dt->flags |= DISPLAY_FLAGS_INTERLACED; in of_parse_display_timing()
101 dt->flags |= DISPLAY_FLAGS_DOUBLESCAN; in of_parse_display_timing()
103 dt->flags |= DISPLAY_FLAGS_DOUBLECLK; in of_parse_display_timing()
120 struct display_timing *dt) in of_get_display_timing() argument
132 ret = of_parse_display_timing(timing_np, dt); in of_get_display_timing()
199 struct display_timing *dt; in of_get_display_timings() local
202 dt = kmalloc(sizeof(*dt), GFP_KERNEL); in of_get_display_timings()
203 if (!dt) { in of_get_display_timings()
209 r = of_parse_display_timing(entry, dt); in of_get_display_timings()
217 kfree(dt); in of_get_display_timings()
224 disp->timings[disp->num_timings] = dt; in of_get_display_timings()