Lines Matching full:full

949 	a.full = dfixed_const(100);  in rv515_crtc_bandwidth_compute()
950 sclk.full = dfixed_const(selected_sclk); in rv515_crtc_bandwidth_compute()
951 sclk.full = dfixed_div(sclk, a); in rv515_crtc_bandwidth_compute()
953 if (crtc->vsc.full > dfixed_const(2)) in rv515_crtc_bandwidth_compute()
954 wm->num_line_pair.full = dfixed_const(2); in rv515_crtc_bandwidth_compute()
956 wm->num_line_pair.full = dfixed_const(1); in rv515_crtc_bandwidth_compute()
958 b.full = dfixed_const(mode->crtc_hdisplay); in rv515_crtc_bandwidth_compute()
959 c.full = dfixed_const(256); in rv515_crtc_bandwidth_compute()
960 a.full = dfixed_div(b, c); in rv515_crtc_bandwidth_compute()
961 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rv515_crtc_bandwidth_compute()
962 request_fifo_depth.full = dfixed_ceil(request_fifo_depth); in rv515_crtc_bandwidth_compute()
963 if (a.full < dfixed_const(4)) { in rv515_crtc_bandwidth_compute()
975 a.full = dfixed_const(mode->clock); in rv515_crtc_bandwidth_compute()
976 b.full = dfixed_const(1000); in rv515_crtc_bandwidth_compute()
977 a.full = dfixed_div(a, b); in rv515_crtc_bandwidth_compute()
978 pclk.full = dfixed_div(b, a); in rv515_crtc_bandwidth_compute()
980 b.full = dfixed_const(2); in rv515_crtc_bandwidth_compute()
981 if (crtc->vsc.full > b.full) in rv515_crtc_bandwidth_compute()
982 b.full = crtc->vsc.full; in rv515_crtc_bandwidth_compute()
983 b.full = dfixed_mul(b, crtc->hsc); in rv515_crtc_bandwidth_compute()
984 c.full = dfixed_const(2); in rv515_crtc_bandwidth_compute()
985 b.full = dfixed_div(b, c); in rv515_crtc_bandwidth_compute()
986 consumption_time.full = dfixed_div(pclk, b); in rv515_crtc_bandwidth_compute()
988 consumption_time.full = pclk.full; in rv515_crtc_bandwidth_compute()
990 a.full = dfixed_const(1); in rv515_crtc_bandwidth_compute()
991 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rv515_crtc_bandwidth_compute()
999 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rv515_crtc_bandwidth_compute()
1000 line_time.full = dfixed_mul(a, pclk); in rv515_crtc_bandwidth_compute()
1007 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rv515_crtc_bandwidth_compute()
1008 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rv515_crtc_bandwidth_compute()
1009 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute()
1010 wm->active_time.full = dfixed_div(wm->active_time, a); in rv515_crtc_bandwidth_compute()
1017 a.full = dfixed_const(600 * 1000); in rv515_crtc_bandwidth_compute()
1018 chunk_time.full = dfixed_div(a, sclk); in rv515_crtc_bandwidth_compute()
1019 read_delay_latency.full = dfixed_const(1000); in rv515_crtc_bandwidth_compute()
1030 a.full = dfixed_const(3); in rv515_crtc_bandwidth_compute()
1031 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rv515_crtc_bandwidth_compute()
1032 wm->worst_case_latency.full += read_delay_latency.full; in rv515_crtc_bandwidth_compute()
1034 wm->worst_case_latency.full = chunk_time.full + read_delay_latency.full; in rv515_crtc_bandwidth_compute()
1048 tolerable_latency.full = line_time.full; in rv515_crtc_bandwidth_compute()
1050 tolerable_latency.full = dfixed_const(wm->lb_request_fifo_depth - 2); in rv515_crtc_bandwidth_compute()
1051 tolerable_latency.full = request_fifo_depth.full - tolerable_latency.full; in rv515_crtc_bandwidth_compute()
1052 tolerable_latency.full = dfixed_mul(tolerable_latency, chunk_time); in rv515_crtc_bandwidth_compute()
1053 tolerable_latency.full = line_time.full - tolerable_latency.full; in rv515_crtc_bandwidth_compute()
1056 wm->dbpp.full = dfixed_const(2 * 16); in rv515_crtc_bandwidth_compute()
1061 a.full = dfixed_const(16); in rv515_crtc_bandwidth_compute()
1062 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rv515_crtc_bandwidth_compute()
1063 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a); in rv515_crtc_bandwidth_compute()
1064 wm->priority_mark_max.full = dfixed_ceil(wm->priority_mark_max); in rv515_crtc_bandwidth_compute()
1067 estimated_width.full = tolerable_latency.full - wm->worst_case_latency.full; in rv515_crtc_bandwidth_compute()
1068 estimated_width.full = dfixed_div(estimated_width, consumption_time); in rv515_crtc_bandwidth_compute()
1070 wm->priority_mark.full = wm->priority_mark_max.full; in rv515_crtc_bandwidth_compute()
1072 a.full = dfixed_const(16); in rv515_crtc_bandwidth_compute()
1073 wm->priority_mark.full = dfixed_div(estimated_width, a); in rv515_crtc_bandwidth_compute()
1074 wm->priority_mark.full = dfixed_ceil(wm->priority_mark); in rv515_crtc_bandwidth_compute()
1075 wm->priority_mark.full = wm->priority_mark_max.full - wm->priority_mark.full; in rv515_crtc_bandwidth_compute()
1095 a.full = dfixed_div(wm0->dbpp, wm0->num_line_pair); in rv515_compute_mode_priority()
1097 a.full = wm0->num_line_pair.full; in rv515_compute_mode_priority()
1099 b.full = dfixed_div(wm1->dbpp, wm1->num_line_pair); in rv515_compute_mode_priority()
1101 b.full = wm1->num_line_pair.full; in rv515_compute_mode_priority()
1102 a.full += b.full; in rv515_compute_mode_priority()
1103 fill_rate.full = dfixed_div(wm0->sclk, a); in rv515_compute_mode_priority()
1104 if (wm0->consumption_rate.full > fill_rate.full) { in rv515_compute_mode_priority()
1105 b.full = wm0->consumption_rate.full - fill_rate.full; in rv515_compute_mode_priority()
1106 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority()
1107 a.full = dfixed_const(16); in rv515_compute_mode_priority()
1108 b.full = dfixed_div(b, a); in rv515_compute_mode_priority()
1109 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority()
1111 priority_mark02.full = a.full + b.full; in rv515_compute_mode_priority()
1113 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority()
1115 b.full = dfixed_const(16 * 1000); in rv515_compute_mode_priority()
1116 priority_mark02.full = dfixed_div(a, b); in rv515_compute_mode_priority()
1118 if (wm1->consumption_rate.full > fill_rate.full) { in rv515_compute_mode_priority()
1119 b.full = wm1->consumption_rate.full - fill_rate.full; in rv515_compute_mode_priority()
1120 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority()
1121 a.full = dfixed_const(16); in rv515_compute_mode_priority()
1122 b.full = dfixed_div(b, a); in rv515_compute_mode_priority()
1123 a.full = dfixed_mul(wm1->worst_case_latency, in rv515_compute_mode_priority()
1125 priority_mark12.full = a.full + b.full; in rv515_compute_mode_priority()
1127 a.full = dfixed_mul(wm1->worst_case_latency, in rv515_compute_mode_priority()
1129 b.full = dfixed_const(16 * 1000); in rv515_compute_mode_priority()
1130 priority_mark12.full = dfixed_div(a, b); in rv515_compute_mode_priority()
1132 if (wm0->priority_mark.full > priority_mark02.full) in rv515_compute_mode_priority()
1133 priority_mark02.full = wm0->priority_mark.full; in rv515_compute_mode_priority()
1134 if (wm0->priority_mark_max.full > priority_mark02.full) in rv515_compute_mode_priority()
1135 priority_mark02.full = wm0->priority_mark_max.full; in rv515_compute_mode_priority()
1136 if (wm1->priority_mark.full > priority_mark12.full) in rv515_compute_mode_priority()
1137 priority_mark12.full = wm1->priority_mark.full; in rv515_compute_mode_priority()
1138 if (wm1->priority_mark_max.full > priority_mark12.full) in rv515_compute_mode_priority()
1139 priority_mark12.full = wm1->priority_mark_max.full; in rv515_compute_mode_priority()
1148 a.full = dfixed_div(wm0->dbpp, wm0->num_line_pair); in rv515_compute_mode_priority()
1150 a.full = wm0->num_line_pair.full; in rv515_compute_mode_priority()
1151 fill_rate.full = dfixed_div(wm0->sclk, a); in rv515_compute_mode_priority()
1152 if (wm0->consumption_rate.full > fill_rate.full) { in rv515_compute_mode_priority()
1153 b.full = wm0->consumption_rate.full - fill_rate.full; in rv515_compute_mode_priority()
1154 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority()
1155 a.full = dfixed_const(16); in rv515_compute_mode_priority()
1156 b.full = dfixed_div(b, a); in rv515_compute_mode_priority()
1157 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority()
1159 priority_mark02.full = a.full + b.full; in rv515_compute_mode_priority()
1161 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority()
1163 b.full = dfixed_const(16); in rv515_compute_mode_priority()
1164 priority_mark02.full = dfixed_div(a, b); in rv515_compute_mode_priority()
1166 if (wm0->priority_mark.full > priority_mark02.full) in rv515_compute_mode_priority()
1167 priority_mark02.full = wm0->priority_mark.full; in rv515_compute_mode_priority()
1168 if (wm0->priority_mark_max.full > priority_mark02.full) in rv515_compute_mode_priority()
1169 priority_mark02.full = wm0->priority_mark_max.full; in rv515_compute_mode_priority()
1175 a.full = dfixed_div(wm1->dbpp, wm1->num_line_pair); in rv515_compute_mode_priority()
1177 a.full = wm1->num_line_pair.full; in rv515_compute_mode_priority()
1178 fill_rate.full = dfixed_div(wm1->sclk, a); in rv515_compute_mode_priority()
1179 if (wm1->consumption_rate.full > fill_rate.full) { in rv515_compute_mode_priority()
1180 b.full = wm1->consumption_rate.full - fill_rate.full; in rv515_compute_mode_priority()
1181 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority()
1182 a.full = dfixed_const(16); in rv515_compute_mode_priority()
1183 b.full = dfixed_div(b, a); in rv515_compute_mode_priority()
1184 a.full = dfixed_mul(wm1->worst_case_latency, in rv515_compute_mode_priority()
1186 priority_mark12.full = a.full + b.full; in rv515_compute_mode_priority()
1188 a.full = dfixed_mul(wm1->worst_case_latency, in rv515_compute_mode_priority()
1190 b.full = dfixed_const(16 * 1000); in rv515_compute_mode_priority()
1191 priority_mark12.full = dfixed_div(a, b); in rv515_compute_mode_priority()
1193 if (wm1->priority_mark.full > priority_mark12.full) in rv515_compute_mode_priority()
1194 priority_mark12.full = wm1->priority_mark.full; in rv515_compute_mode_priority()
1195 if (wm1->priority_mark_max.full > priority_mark12.full) in rv515_compute_mode_priority()
1196 priority_mark12.full = wm1->priority_mark_max.full; in rv515_compute_mode_priority()