Lines Matching refs:timing
18 void via_set_primary_timing(const struct via_display_timing *timing) in via_set_primary_timing() argument
22 raw.hor_total = timing->hor_total / 8 - 5; in via_set_primary_timing()
23 raw.hor_addr = timing->hor_addr / 8 - 1; in via_set_primary_timing()
24 raw.hor_blank_start = timing->hor_blank_start / 8 - 1; in via_set_primary_timing()
25 raw.hor_blank_end = timing->hor_blank_end / 8 - 1; in via_set_primary_timing()
26 raw.hor_sync_start = timing->hor_sync_start / 8; in via_set_primary_timing()
27 raw.hor_sync_end = timing->hor_sync_end / 8; in via_set_primary_timing()
28 raw.ver_total = timing->ver_total - 2; in via_set_primary_timing()
29 raw.ver_addr = timing->ver_addr - 1; in via_set_primary_timing()
30 raw.ver_blank_start = timing->ver_blank_start - 1; in via_set_primary_timing()
31 raw.ver_blank_end = timing->ver_blank_end - 1; in via_set_primary_timing()
32 raw.ver_sync_start = timing->ver_sync_start - 1; in via_set_primary_timing()
33 raw.ver_sync_end = timing->ver_sync_end - 1; in via_set_primary_timing()
76 void via_set_secondary_timing(const struct via_display_timing *timing) in via_set_secondary_timing() argument
80 raw.hor_total = timing->hor_total - 1; in via_set_secondary_timing()
81 raw.hor_addr = timing->hor_addr - 1; in via_set_secondary_timing()
82 raw.hor_blank_start = timing->hor_blank_start - 1; in via_set_secondary_timing()
83 raw.hor_blank_end = timing->hor_blank_end - 1; in via_set_secondary_timing()
84 raw.hor_sync_start = timing->hor_sync_start - 1; in via_set_secondary_timing()
85 raw.hor_sync_end = timing->hor_sync_end - 1; in via_set_secondary_timing()
86 raw.ver_total = timing->ver_total - 1; in via_set_secondary_timing()
87 raw.ver_addr = timing->ver_addr - 1; in via_set_secondary_timing()
88 raw.ver_blank_start = timing->ver_blank_start - 1; in via_set_secondary_timing()
89 raw.ver_blank_end = timing->ver_blank_end - 1; in via_set_secondary_timing()
90 raw.ver_sync_start = timing->ver_sync_start - 1; in via_set_secondary_timing()
91 raw.ver_sync_end = timing->ver_sync_end - 1; in via_set_secondary_timing()