• Home
  • Raw
  • Download

Lines Matching refs:dt

60 		struct display_timing *dt)  in of_parse_display_timing()  argument
65 memset(dt, 0, sizeof(*dt)); in of_parse_display_timing()
67 ret |= parse_timing_property(np, "hback-porch", &dt->hback_porch); in of_parse_display_timing()
68 ret |= parse_timing_property(np, "hfront-porch", &dt->hfront_porch); in of_parse_display_timing()
69 ret |= parse_timing_property(np, "hactive", &dt->hactive); in of_parse_display_timing()
70 ret |= parse_timing_property(np, "hsync-len", &dt->hsync_len); in of_parse_display_timing()
71 ret |= parse_timing_property(np, "vback-porch", &dt->vback_porch); in of_parse_display_timing()
72 ret |= parse_timing_property(np, "vfront-porch", &dt->vfront_porch); in of_parse_display_timing()
73 ret |= parse_timing_property(np, "vactive", &dt->vactive); in of_parse_display_timing()
74 ret |= parse_timing_property(np, "vsync-len", &dt->vsync_len); in of_parse_display_timing()
75 ret |= parse_timing_property(np, "clock-frequency", &dt->pixelclock); in of_parse_display_timing()
77 dt->flags = 0; in of_parse_display_timing()
79 dt->flags |= val ? DISPLAY_FLAGS_VSYNC_HIGH : in of_parse_display_timing()
82 dt->flags |= val ? DISPLAY_FLAGS_HSYNC_HIGH : in of_parse_display_timing()
85 dt->flags |= val ? DISPLAY_FLAGS_DE_HIGH : in of_parse_display_timing()
88 dt->flags |= val ? DISPLAY_FLAGS_PIXDATA_POSEDGE : in of_parse_display_timing()
92 dt->flags |= DISPLAY_FLAGS_INTERLACED; in of_parse_display_timing()
94 dt->flags |= DISPLAY_FLAGS_DOUBLESCAN; in of_parse_display_timing()
96 dt->flags |= DISPLAY_FLAGS_DOUBLECLK; in of_parse_display_timing()
114 struct display_timing *dt) in of_get_display_timing() argument
128 return of_parse_display_timing(timing_np, dt); in of_get_display_timing()
195 struct display_timing *dt; in of_get_display_timings() local
198 dt = kzalloc(sizeof(*dt), GFP_KERNEL); in of_get_display_timings()
199 if (!dt) { in of_get_display_timings()
205 r = of_parse_display_timing(entry, dt); in of_get_display_timings()
213 kfree(dt); in of_get_display_timings()
220 disp->timings[disp->num_timings] = dt; in of_get_display_timings()