Searched refs:full (Results 1 - 200 of 3577) sorted by relevance

1234567891011>>

/linux-4.1.27/drivers/gpu/drm/radeon/
H A Drs690.c80 tmp.full = dfixed_const(100); rs690_pm_info()
81 rdev->pm.igp_sideport_mclk.full = dfixed_const(le32_to_cpu(info->info.ulBootUpMemoryClock)); rs690_pm_info()
82 rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); rs690_pm_info()
84 rdev->pm.igp_system_mclk.full = dfixed_const(le16_to_cpu(info->info.usK8MemoryClock)); rs690_pm_info()
86 rdev->pm.igp_system_mclk.full = dfixed_const(rdev->clock.default_mclk); rs690_pm_info()
87 rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); rs690_pm_info()
89 rdev->pm.igp_system_mclk.full = dfixed_const(400); rs690_pm_info()
90 rdev->pm.igp_ht_link_clk.full = dfixed_const(le16_to_cpu(info->info.usFSBClock)); rs690_pm_info()
91 rdev->pm.igp_ht_link_width.full = dfixed_const(info->info.ucHTLinkWidth); rs690_pm_info()
94 tmp.full = dfixed_const(100); rs690_pm_info()
95 rdev->pm.igp_sideport_mclk.full = dfixed_const(le32_to_cpu(info->info_v2.ulBootUpSidePortClock)); rs690_pm_info()
96 rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); rs690_pm_info()
98 rdev->pm.igp_system_mclk.full = dfixed_const(le32_to_cpu(info->info_v2.ulBootUpUMAClock)); rs690_pm_info()
100 rdev->pm.igp_system_mclk.full = dfixed_const(rdev->clock.default_mclk); rs690_pm_info()
102 rdev->pm.igp_system_mclk.full = dfixed_const(66700); rs690_pm_info()
103 rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); rs690_pm_info()
104 rdev->pm.igp_ht_link_clk.full = dfixed_const(le32_to_cpu(info->info_v2.ulHTLinkFreq)); rs690_pm_info()
105 rdev->pm.igp_ht_link_clk.full = dfixed_div(rdev->pm.igp_ht_link_clk, tmp); rs690_pm_info()
106 rdev->pm.igp_ht_link_width.full = dfixed_const(le16_to_cpu(info->info_v2.usMinHTLinkWidth)); rs690_pm_info()
110 rdev->pm.igp_sideport_mclk.full = dfixed_const(200); rs690_pm_info()
111 rdev->pm.igp_system_mclk.full = dfixed_const(200); rs690_pm_info()
112 rdev->pm.igp_ht_link_clk.full = dfixed_const(1000); rs690_pm_info()
113 rdev->pm.igp_ht_link_width.full = dfixed_const(8); rs690_pm_info()
119 rdev->pm.igp_sideport_mclk.full = dfixed_const(200); rs690_pm_info()
120 rdev->pm.igp_system_mclk.full = dfixed_const(200); rs690_pm_info()
121 rdev->pm.igp_ht_link_clk.full = dfixed_const(1000); rs690_pm_info()
122 rdev->pm.igp_ht_link_width.full = dfixed_const(8); rs690_pm_info()
127 tmp.full = dfixed_const(4); rs690_pm_info()
128 rdev->pm.k8_bandwidth.full = dfixed_mul(rdev->pm.igp_system_mclk, tmp); rs690_pm_info()
132 tmp.full = dfixed_const(5); rs690_pm_info()
133 rdev->pm.ht_bandwidth.full = dfixed_mul(rdev->pm.igp_ht_link_clk, rs690_pm_info()
135 rdev->pm.ht_bandwidth.full = dfixed_div(rdev->pm.ht_bandwidth, tmp); rs690_pm_info()
136 if (tmp.full < rdev->pm.max_bandwidth.full) { rs690_pm_info()
138 rdev->pm.max_bandwidth.full = tmp.full; rs690_pm_info()
143 tmp.full = dfixed_const(14); rs690_pm_info()
144 rdev->pm.sideport_bandwidth.full = dfixed_mul(rdev->pm.igp_sideport_mclk, tmp); rs690_pm_info()
145 tmp.full = dfixed_const(10); rs690_pm_info()
146 rdev->pm.sideport_bandwidth.full = dfixed_div(rdev->pm.sideport_bandwidth, tmp); rs690_pm_info()
286 a.full = dfixed_const(100); rs690_crtc_bandwidth_compute()
287 sclk.full = dfixed_const(selected_sclk); rs690_crtc_bandwidth_compute()
288 sclk.full = dfixed_div(sclk, a); rs690_crtc_bandwidth_compute()
291 a.full = dfixed_const(16); rs690_crtc_bandwidth_compute()
292 core_bandwidth.full = dfixed_div(rdev->pm.sclk, a); rs690_crtc_bandwidth_compute()
294 if (crtc->vsc.full > dfixed_const(2)) rs690_crtc_bandwidth_compute()
295 wm->num_line_pair.full = dfixed_const(2); rs690_crtc_bandwidth_compute()
297 wm->num_line_pair.full = dfixed_const(1); rs690_crtc_bandwidth_compute()
299 b.full = dfixed_const(mode->crtc_hdisplay); rs690_crtc_bandwidth_compute()
300 c.full = dfixed_const(256); rs690_crtc_bandwidth_compute()
301 a.full = dfixed_div(b, c); rs690_crtc_bandwidth_compute()
302 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); rs690_crtc_bandwidth_compute()
303 request_fifo_depth.full = dfixed_ceil(request_fifo_depth); rs690_crtc_bandwidth_compute()
304 if (a.full < dfixed_const(4)) { rs690_crtc_bandwidth_compute()
316 a.full = dfixed_const(mode->clock); rs690_crtc_bandwidth_compute()
317 b.full = dfixed_const(1000); rs690_crtc_bandwidth_compute()
318 a.full = dfixed_div(a, b); rs690_crtc_bandwidth_compute()
319 pclk.full = dfixed_div(b, a); rs690_crtc_bandwidth_compute()
321 b.full = dfixed_const(2); rs690_crtc_bandwidth_compute()
322 if (crtc->vsc.full > b.full) rs690_crtc_bandwidth_compute()
323 b.full = crtc->vsc.full; rs690_crtc_bandwidth_compute()
324 b.full = dfixed_mul(b, crtc->hsc); rs690_crtc_bandwidth_compute()
325 c.full = dfixed_const(2); rs690_crtc_bandwidth_compute()
326 b.full = dfixed_div(b, c); rs690_crtc_bandwidth_compute()
327 consumption_time.full = dfixed_div(pclk, b); rs690_crtc_bandwidth_compute()
329 consumption_time.full = pclk.full; rs690_crtc_bandwidth_compute()
331 a.full = dfixed_const(1); rs690_crtc_bandwidth_compute()
332 wm->consumption_rate.full = dfixed_div(a, consumption_time); rs690_crtc_bandwidth_compute()
340 a.full = dfixed_const(crtc->base.mode.crtc_htotal); rs690_crtc_bandwidth_compute()
341 line_time.full = dfixed_mul(a, pclk); rs690_crtc_bandwidth_compute()
348 a.full = dfixed_const(crtc->base.mode.crtc_htotal); rs690_crtc_bandwidth_compute()
349 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay); rs690_crtc_bandwidth_compute()
350 wm->active_time.full = dfixed_mul(line_time, b); rs690_crtc_bandwidth_compute()
351 wm->active_time.full = dfixed_div(wm->active_time, a); rs690_crtc_bandwidth_compute()
356 if (max_bandwidth.full > rdev->pm.sideport_bandwidth.full && rs690_crtc_bandwidth_compute()
357 rdev->pm.sideport_bandwidth.full) rs690_crtc_bandwidth_compute()
359 read_delay_latency.full = dfixed_const(370 * 800); rs690_crtc_bandwidth_compute()
360 a.full = dfixed_const(1000); rs690_crtc_bandwidth_compute()
361 b.full = dfixed_div(rdev->pm.igp_sideport_mclk, a); rs690_crtc_bandwidth_compute()
362 read_delay_latency.full = dfixed_div(read_delay_latency, b); rs690_crtc_bandwidth_compute()
363 read_delay_latency.full = dfixed_mul(read_delay_latency, a); rs690_crtc_bandwidth_compute()
365 if (max_bandwidth.full > rdev->pm.k8_bandwidth.full && rs690_crtc_bandwidth_compute()
366 rdev->pm.k8_bandwidth.full) rs690_crtc_bandwidth_compute()
368 if (max_bandwidth.full > rdev->pm.ht_bandwidth.full && rs690_crtc_bandwidth_compute()
369 rdev->pm.ht_bandwidth.full) rs690_crtc_bandwidth_compute()
371 read_delay_latency.full = dfixed_const(5000); rs690_crtc_bandwidth_compute()
375 a.full = dfixed_const(16); rs690_crtc_bandwidth_compute()
376 sclk.full = dfixed_mul(max_bandwidth, a); rs690_crtc_bandwidth_compute()
377 a.full = dfixed_const(1000); rs690_crtc_bandwidth_compute()
378 sclk.full = dfixed_div(a, sclk); rs690_crtc_bandwidth_compute()
384 a.full = dfixed_const(256 * 13); rs690_crtc_bandwidth_compute()
385 chunk_time.full = dfixed_mul(sclk, a); rs690_crtc_bandwidth_compute()
386 a.full = dfixed_const(10); rs690_crtc_bandwidth_compute()
387 chunk_time.full = dfixed_div(chunk_time, a); rs690_crtc_bandwidth_compute()
398 a.full = dfixed_const(3); rs690_crtc_bandwidth_compute()
399 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); rs690_crtc_bandwidth_compute()
400 wm->worst_case_latency.full += read_delay_latency.full; rs690_crtc_bandwidth_compute()
402 a.full = dfixed_const(2); rs690_crtc_bandwidth_compute()
403 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); rs690_crtc_bandwidth_compute()
404 wm->worst_case_latency.full += read_delay_latency.full; rs690_crtc_bandwidth_compute()
418 tolerable_latency.full = line_time.full; rs690_crtc_bandwidth_compute()
420 tolerable_latency.full = dfixed_const(wm->lb_request_fifo_depth - 2); rs690_crtc_bandwidth_compute()
421 tolerable_latency.full = request_fifo_depth.full - tolerable_latency.full; rs690_crtc_bandwidth_compute()
422 tolerable_latency.full = dfixed_mul(tolerable_latency, chunk_time); rs690_crtc_bandwidth_compute()
423 tolerable_latency.full = line_time.full - tolerable_latency.full; rs690_crtc_bandwidth_compute()
426 wm->dbpp.full = dfixed_const(4 * 8); rs690_crtc_bandwidth_compute()
431 a.full = dfixed_const(16); rs690_crtc_bandwidth_compute()
432 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay); rs690_crtc_bandwidth_compute()
433 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a); rs690_crtc_bandwidth_compute()
434 wm->priority_mark_max.full = dfixed_ceil(wm->priority_mark_max); rs690_crtc_bandwidth_compute()
437 estimated_width.full = tolerable_latency.full - wm->worst_case_latency.full; rs690_crtc_bandwidth_compute()
438 estimated_width.full = dfixed_div(estimated_width, consumption_time); rs690_crtc_bandwidth_compute()
440 wm->priority_mark.full = dfixed_const(10); rs690_crtc_bandwidth_compute()
442 a.full = dfixed_const(16); rs690_crtc_bandwidth_compute()
443 wm->priority_mark.full = dfixed_div(estimated_width, a); rs690_crtc_bandwidth_compute()
444 wm->priority_mark.full = dfixed_ceil(wm->priority_mark); rs690_crtc_bandwidth_compute()
445 wm->priority_mark.full = wm->priority_mark_max.full - wm->priority_mark.full; rs690_crtc_bandwidth_compute()
465 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); rs690_compute_mode_priority()
467 a.full = wm0->num_line_pair.full; rs690_compute_mode_priority()
469 b.full = dfixed_mul(wm1->dbpp, wm1->num_line_pair); rs690_compute_mode_priority()
471 b.full = wm1->num_line_pair.full; rs690_compute_mode_priority()
472 a.full += b.full; rs690_compute_mode_priority()
473 fill_rate.full = dfixed_div(wm0->sclk, a); rs690_compute_mode_priority()
474 if (wm0->consumption_rate.full > fill_rate.full) { rs690_compute_mode_priority()
475 b.full = wm0->consumption_rate.full - fill_rate.full; rs690_compute_mode_priority()
476 b.full = dfixed_mul(b, wm0->active_time); rs690_compute_mode_priority()
477 a.full = dfixed_mul(wm0->worst_case_latency, rs690_compute_mode_priority()
479 a.full = a.full + b.full; rs690_compute_mode_priority()
480 b.full = dfixed_const(16 * 1000); rs690_compute_mode_priority()
481 priority_mark02.full = dfixed_div(a, b); rs690_compute_mode_priority()
483 a.full = dfixed_mul(wm0->worst_case_latency, rs690_compute_mode_priority()
485 b.full = dfixed_const(16 * 1000); rs690_compute_mode_priority()
486 priority_mark02.full = dfixed_div(a, b); rs690_compute_mode_priority()
488 if (wm1->consumption_rate.full > fill_rate.full) { rs690_compute_mode_priority()
489 b.full = wm1->consumption_rate.full - fill_rate.full; rs690_compute_mode_priority()
490 b.full = dfixed_mul(b, wm1->active_time); rs690_compute_mode_priority()
491 a.full = dfixed_mul(wm1->worst_case_latency, rs690_compute_mode_priority()
493 a.full = a.full + b.full; rs690_compute_mode_priority()
494 b.full = dfixed_const(16 * 1000); rs690_compute_mode_priority()
495 priority_mark12.full = dfixed_div(a, b); rs690_compute_mode_priority()
497 a.full = dfixed_mul(wm1->worst_case_latency, rs690_compute_mode_priority()
499 b.full = dfixed_const(16 * 1000); rs690_compute_mode_priority()
500 priority_mark12.full = dfixed_div(a, b); rs690_compute_mode_priority()
502 if (wm0->priority_mark.full > priority_mark02.full) rs690_compute_mode_priority()
503 priority_mark02.full = wm0->priority_mark.full; rs690_compute_mode_priority()
504 if (wm0->priority_mark_max.full > priority_mark02.full) rs690_compute_mode_priority()
505 priority_mark02.full = wm0->priority_mark_max.full; rs690_compute_mode_priority()
506 if (wm1->priority_mark.full > priority_mark12.full) rs690_compute_mode_priority()
507 priority_mark12.full = wm1->priority_mark.full; rs690_compute_mode_priority()
508 if (wm1->priority_mark_max.full > priority_mark12.full) rs690_compute_mode_priority()
509 priority_mark12.full = wm1->priority_mark_max.full; rs690_compute_mode_priority()
518 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); rs690_compute_mode_priority()
520 a.full = wm0->num_line_pair.full; rs690_compute_mode_priority()
521 fill_rate.full = dfixed_div(wm0->sclk, a); rs690_compute_mode_priority()
522 if (wm0->consumption_rate.full > fill_rate.full) { rs690_compute_mode_priority()
523 b.full = wm0->consumption_rate.full - fill_rate.full; rs690_compute_mode_priority()
524 b.full = dfixed_mul(b, wm0->active_time); rs690_compute_mode_priority()
525 a.full = dfixed_mul(wm0->worst_case_latency, rs690_compute_mode_priority()
527 a.full = a.full + b.full; rs690_compute_mode_priority()
528 b.full = dfixed_const(16 * 1000); rs690_compute_mode_priority()
529 priority_mark02.full = dfixed_div(a, b); rs690_compute_mode_priority()
531 a.full = dfixed_mul(wm0->worst_case_latency, rs690_compute_mode_priority()
533 b.full = dfixed_const(16 * 1000); rs690_compute_mode_priority()
534 priority_mark02.full = dfixed_div(a, b); rs690_compute_mode_priority()
536 if (wm0->priority_mark.full > priority_mark02.full) rs690_compute_mode_priority()
537 priority_mark02.full = wm0->priority_mark.full; rs690_compute_mode_priority()
538 if (wm0->priority_mark_max.full > priority_mark02.full) rs690_compute_mode_priority()
539 priority_mark02.full = wm0->priority_mark_max.full; rs690_compute_mode_priority()
545 a.full = dfixed_mul(wm1->dbpp, wm1->num_line_pair); rs690_compute_mode_priority()
547 a.full = wm1->num_line_pair.full; rs690_compute_mode_priority()
548 fill_rate.full = dfixed_div(wm1->sclk, a); rs690_compute_mode_priority()
549 if (wm1->consumption_rate.full > fill_rate.full) { rs690_compute_mode_priority()
550 b.full = wm1->consumption_rate.full - fill_rate.full; rs690_compute_mode_priority()
551 b.full = dfixed_mul(b, wm1->active_time); rs690_compute_mode_priority()
552 a.full = dfixed_mul(wm1->worst_case_latency, rs690_compute_mode_priority()
554 a.full = a.full + b.full; rs690_compute_mode_priority()
555 b.full = dfixed_const(16 * 1000); rs690_compute_mode_priority()
556 priority_mark12.full = dfixed_div(a, b); rs690_compute_mode_priority()
558 a.full = dfixed_mul(wm1->worst_case_latency, rs690_compute_mode_priority()
560 b.full = dfixed_const(16 * 1000); rs690_compute_mode_priority()
561 priority_mark12.full = dfixed_div(a, b); rs690_compute_mode_priority()
563 if (wm1->priority_mark.full > priority_mark12.full) rs690_compute_mode_priority()
564 priority_mark12.full = wm1->priority_mark.full; rs690_compute_mode_priority()
565 if (wm1->priority_mark_max.full > priority_mark12.full) rs690_compute_mode_priority()
566 priority_mark12.full = wm1->priority_mark_max.full; rs690_compute_mode_priority()
H A Drv515.c979 a.full = dfixed_const(100); rv515_crtc_bandwidth_compute()
980 sclk.full = dfixed_const(selected_sclk); rv515_crtc_bandwidth_compute()
981 sclk.full = dfixed_div(sclk, a); rv515_crtc_bandwidth_compute()
983 if (crtc->vsc.full > dfixed_const(2)) rv515_crtc_bandwidth_compute()
984 wm->num_line_pair.full = dfixed_const(2); rv515_crtc_bandwidth_compute()
986 wm->num_line_pair.full = dfixed_const(1); rv515_crtc_bandwidth_compute()
988 b.full = dfixed_const(mode->crtc_hdisplay); rv515_crtc_bandwidth_compute()
989 c.full = dfixed_const(256); rv515_crtc_bandwidth_compute()
990 a.full = dfixed_div(b, c); rv515_crtc_bandwidth_compute()
991 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); rv515_crtc_bandwidth_compute()
992 request_fifo_depth.full = dfixed_ceil(request_fifo_depth); rv515_crtc_bandwidth_compute()
993 if (a.full < dfixed_const(4)) { rv515_crtc_bandwidth_compute()
1005 a.full = dfixed_const(mode->clock); rv515_crtc_bandwidth_compute()
1006 b.full = dfixed_const(1000); rv515_crtc_bandwidth_compute()
1007 a.full = dfixed_div(a, b); rv515_crtc_bandwidth_compute()
1008 pclk.full = dfixed_div(b, a); rv515_crtc_bandwidth_compute()
1010 b.full = dfixed_const(2); rv515_crtc_bandwidth_compute()
1011 if (crtc->vsc.full > b.full) rv515_crtc_bandwidth_compute()
1012 b.full = crtc->vsc.full; rv515_crtc_bandwidth_compute()
1013 b.full = dfixed_mul(b, crtc->hsc); rv515_crtc_bandwidth_compute()
1014 c.full = dfixed_const(2); rv515_crtc_bandwidth_compute()
1015 b.full = dfixed_div(b, c); rv515_crtc_bandwidth_compute()
1016 consumption_time.full = dfixed_div(pclk, b); rv515_crtc_bandwidth_compute()
1018 consumption_time.full = pclk.full; rv515_crtc_bandwidth_compute()
1020 a.full = dfixed_const(1); rv515_crtc_bandwidth_compute()
1021 wm->consumption_rate.full = dfixed_div(a, consumption_time); rv515_crtc_bandwidth_compute()
1029 a.full = dfixed_const(crtc->base.mode.crtc_htotal); rv515_crtc_bandwidth_compute()
1030 line_time.full = dfixed_mul(a, pclk); rv515_crtc_bandwidth_compute()
1037 a.full = dfixed_const(crtc->base.mode.crtc_htotal); rv515_crtc_bandwidth_compute()
1038 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay); rv515_crtc_bandwidth_compute()
1039 wm->active_time.full = dfixed_mul(line_time, b); rv515_crtc_bandwidth_compute()
1040 wm->active_time.full = dfixed_div(wm->active_time, a); rv515_crtc_bandwidth_compute()
1047 a.full = dfixed_const(600 * 1000); rv515_crtc_bandwidth_compute()
1048 chunk_time.full = dfixed_div(a, sclk); rv515_crtc_bandwidth_compute()
1049 read_delay_latency.full = dfixed_const(1000); rv515_crtc_bandwidth_compute()
1060 a.full = dfixed_const(3); rv515_crtc_bandwidth_compute()
1061 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); rv515_crtc_bandwidth_compute()
1062 wm->worst_case_latency.full += read_delay_latency.full; rv515_crtc_bandwidth_compute()
1064 wm->worst_case_latency.full = chunk_time.full + read_delay_latency.full; rv515_crtc_bandwidth_compute()
1078 tolerable_latency.full = line_time.full; rv515_crtc_bandwidth_compute()
1080 tolerable_latency.full = dfixed_const(wm->lb_request_fifo_depth - 2); rv515_crtc_bandwidth_compute()
1081 tolerable_latency.full = request_fifo_depth.full - tolerable_latency.full; rv515_crtc_bandwidth_compute()
1082 tolerable_latency.full = dfixed_mul(tolerable_latency, chunk_time); rv515_crtc_bandwidth_compute()
1083 tolerable_latency.full = line_time.full - tolerable_latency.full; rv515_crtc_bandwidth_compute()
1086 wm->dbpp.full = dfixed_const(2 * 16); rv515_crtc_bandwidth_compute()
1091 a.full = dfixed_const(16); rv515_crtc_bandwidth_compute()
1092 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay); rv515_crtc_bandwidth_compute()
1093 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a); rv515_crtc_bandwidth_compute()
1094 wm->priority_mark_max.full = dfixed_ceil(wm->priority_mark_max); rv515_crtc_bandwidth_compute()
1097 estimated_width.full = tolerable_latency.full - wm->worst_case_latency.full; rv515_crtc_bandwidth_compute()
1098 estimated_width.full = dfixed_div(estimated_width, consumption_time); rv515_crtc_bandwidth_compute()
1100 wm->priority_mark.full = wm->priority_mark_max.full; rv515_crtc_bandwidth_compute()
1102 a.full = dfixed_const(16); rv515_crtc_bandwidth_compute()
1103 wm->priority_mark.full = dfixed_div(estimated_width, a); rv515_crtc_bandwidth_compute()
1104 wm->priority_mark.full = dfixed_ceil(wm->priority_mark); rv515_crtc_bandwidth_compute()
1105 wm->priority_mark.full = wm->priority_mark_max.full - wm->priority_mark.full; rv515_crtc_bandwidth_compute()
1125 a.full = dfixed_div(wm0->dbpp, wm0->num_line_pair); rv515_compute_mode_priority()
1127 a.full = wm0->num_line_pair.full; rv515_compute_mode_priority()
1129 b.full = dfixed_div(wm1->dbpp, wm1->num_line_pair); rv515_compute_mode_priority()
1131 b.full = wm1->num_line_pair.full; rv515_compute_mode_priority()
1132 a.full += b.full; rv515_compute_mode_priority()
1133 fill_rate.full = dfixed_div(wm0->sclk, a); rv515_compute_mode_priority()
1134 if (wm0->consumption_rate.full > fill_rate.full) { rv515_compute_mode_priority()
1135 b.full = wm0->consumption_rate.full - fill_rate.full; rv515_compute_mode_priority()
1136 b.full = dfixed_mul(b, wm0->active_time); rv515_compute_mode_priority()
1137 a.full = dfixed_const(16); rv515_compute_mode_priority()
1138 b.full = dfixed_div(b, a); rv515_compute_mode_priority()
1139 a.full = dfixed_mul(wm0->worst_case_latency, rv515_compute_mode_priority()
1141 priority_mark02.full = a.full + b.full; rv515_compute_mode_priority()
1143 a.full = dfixed_mul(wm0->worst_case_latency, rv515_compute_mode_priority()
1145 b.full = dfixed_const(16 * 1000); rv515_compute_mode_priority()
1146 priority_mark02.full = dfixed_div(a, b); rv515_compute_mode_priority()
1148 if (wm1->consumption_rate.full > fill_rate.full) { rv515_compute_mode_priority()
1149 b.full = wm1->consumption_rate.full - fill_rate.full; rv515_compute_mode_priority()
1150 b.full = dfixed_mul(b, wm1->active_time); rv515_compute_mode_priority()
1151 a.full = dfixed_const(16); rv515_compute_mode_priority()
1152 b.full = dfixed_div(b, a); rv515_compute_mode_priority()
1153 a.full = dfixed_mul(wm1->worst_case_latency, rv515_compute_mode_priority()
1155 priority_mark12.full = a.full + b.full; rv515_compute_mode_priority()
1157 a.full = dfixed_mul(wm1->worst_case_latency, rv515_compute_mode_priority()
1159 b.full = dfixed_const(16 * 1000); rv515_compute_mode_priority()
1160 priority_mark12.full = dfixed_div(a, b); rv515_compute_mode_priority()
1162 if (wm0->priority_mark.full > priority_mark02.full) rv515_compute_mode_priority()
1163 priority_mark02.full = wm0->priority_mark.full; rv515_compute_mode_priority()
1164 if (wm0->priority_mark_max.full > priority_mark02.full) rv515_compute_mode_priority()
1165 priority_mark02.full = wm0->priority_mark_max.full; rv515_compute_mode_priority()
1166 if (wm1->priority_mark.full > priority_mark12.full) rv515_compute_mode_priority()
1167 priority_mark12.full = wm1->priority_mark.full; rv515_compute_mode_priority()
1168 if (wm1->priority_mark_max.full > priority_mark12.full) rv515_compute_mode_priority()
1169 priority_mark12.full = wm1->priority_mark_max.full; rv515_compute_mode_priority()
1178 a.full = dfixed_div(wm0->dbpp, wm0->num_line_pair); rv515_compute_mode_priority()
1180 a.full = wm0->num_line_pair.full; rv515_compute_mode_priority()
1181 fill_rate.full = dfixed_div(wm0->sclk, a); rv515_compute_mode_priority()
1182 if (wm0->consumption_rate.full > fill_rate.full) { rv515_compute_mode_priority()
1183 b.full = wm0->consumption_rate.full - fill_rate.full; rv515_compute_mode_priority()
1184 b.full = dfixed_mul(b, wm0->active_time); rv515_compute_mode_priority()
1185 a.full = dfixed_const(16); rv515_compute_mode_priority()
1186 b.full = dfixed_div(b, a); rv515_compute_mode_priority()
1187 a.full = dfixed_mul(wm0->worst_case_latency, rv515_compute_mode_priority()
1189 priority_mark02.full = a.full + b.full; rv515_compute_mode_priority()
1191 a.full = dfixed_mul(wm0->worst_case_latency, rv515_compute_mode_priority()
1193 b.full = dfixed_const(16); rv515_compute_mode_priority()
1194 priority_mark02.full = dfixed_div(a, b); rv515_compute_mode_priority()
1196 if (wm0->priority_mark.full > priority_mark02.full) rv515_compute_mode_priority()
1197 priority_mark02.full = wm0->priority_mark.full; rv515_compute_mode_priority()
1198 if (wm0->priority_mark_max.full > priority_mark02.full) rv515_compute_mode_priority()
1199 priority_mark02.full = wm0->priority_mark_max.full; rv515_compute_mode_priority()
1205 a.full = dfixed_div(wm1->dbpp, wm1->num_line_pair); rv515_compute_mode_priority()
1207 a.full = wm1->num_line_pair.full; rv515_compute_mode_priority()
1208 fill_rate.full = dfixed_div(wm1->sclk, a); rv515_compute_mode_priority()
1209 if (wm1->consumption_rate.full > fill_rate.full) { rv515_compute_mode_priority()
1210 b.full = wm1->consumption_rate.full - fill_rate.full; rv515_compute_mode_priority()
1211 b.full = dfixed_mul(b, wm1->active_time); rv515_compute_mode_priority()
1212 a.full = dfixed_const(16); rv515_compute_mode_priority()
1213 b.full = dfixed_div(b, a); rv515_compute_mode_priority()
1214 a.full = dfixed_mul(wm1->worst_case_latency, rv515_compute_mode_priority()
1216 priority_mark12.full = a.full + b.full; rv515_compute_mode_priority()
1218 a.full = dfixed_mul(wm1->worst_case_latency, rv515_compute_mode_priority()
1220 b.full = dfixed_const(16 * 1000); rv515_compute_mode_priority()
1221 priority_mark12.full = dfixed_div(a, b); rv515_compute_mode_priority()
1223 if (wm1->priority_mark.full > priority_mark12.full) rv515_compute_mode_priority()
1224 priority_mark12.full = wm1->priority_mark.full; rv515_compute_mode_priority()
1225 if (wm1->priority_mark_max.full > priority_mark12.full) rv515_compute_mode_priority()
1226 priority_mark12.full = wm1->priority_mark_max.full; rv515_compute_mode_priority()
H A Dr100.c3236 min_mem_eff.full = dfixed_const_8(0); r100_bandwidth_update()
3257 temp_ff.full = dfixed_const(temp); r100_bandwidth_update()
3258 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); r100_bandwidth_update()
3260 pix_clk.full = 0; r100_bandwidth_update()
3261 pix_clk2.full = 0; r100_bandwidth_update()
3262 peak_disp_bw.full = 0; r100_bandwidth_update()
3264 temp_ff.full = dfixed_const(1000); r100_bandwidth_update()
3265 pix_clk.full = dfixed_const(mode1->clock); /* convert to fixed point */ r100_bandwidth_update()
3266 pix_clk.full = dfixed_div(pix_clk, temp_ff); r100_bandwidth_update()
3267 temp_ff.full = dfixed_const(pixel_bytes1); r100_bandwidth_update()
3268 peak_disp_bw.full += dfixed_mul(pix_clk, temp_ff); r100_bandwidth_update()
3271 temp_ff.full = dfixed_const(1000); r100_bandwidth_update()
3272 pix_clk2.full = dfixed_const(mode2->clock); /* convert to fixed point */ r100_bandwidth_update()
3273 pix_clk2.full = dfixed_div(pix_clk2, temp_ff); r100_bandwidth_update()
3274 temp_ff.full = dfixed_const(pixel_bytes2); r100_bandwidth_update()
3275 peak_disp_bw.full += dfixed_mul(pix_clk2, temp_ff); r100_bandwidth_update()
3278 mem_bw.full = dfixed_mul(mem_bw, min_mem_eff); r100_bandwidth_update()
3279 if (peak_disp_bw.full >= mem_bw.full) { r100_bandwidth_update()
3320 trcd_ff.full = dfixed_const(mem_trcd); r100_bandwidth_update()
3321 trp_ff.full = dfixed_const(mem_trp); r100_bandwidth_update()
3322 tras_ff.full = dfixed_const(mem_tras); r100_bandwidth_update()
3340 tcas_ff.full += dfixed_const(data); r100_bandwidth_update()
3370 tcas_ff.full += trbs_ff.full; r100_bandwidth_update()
3373 sclk_eff_ff.full = sclk_ff.full; r100_bandwidth_update()
3377 agpmode_ff.full = dfixed_const(radeon_agpmode); r100_bandwidth_update()
3378 temp_ff.full = dfixed_const_666(16); r100_bandwidth_update()
3379 sclk_eff_ff.full -= dfixed_mul(agpmode_ff, temp_ff); r100_bandwidth_update()
3384 sclk_delay_ff.full = dfixed_const(250); r100_bandwidth_update()
3389 sclk_delay_ff.full = dfixed_const(41); r100_bandwidth_update()
3391 sclk_delay_ff.full = dfixed_const(33); r100_bandwidth_update()
3394 sclk_delay_ff.full = dfixed_const(57); r100_bandwidth_update()
3396 sclk_delay_ff.full = dfixed_const(41); r100_bandwidth_update()
3400 mc_latency_sclk.full = dfixed_div(sclk_delay_ff, sclk_eff_ff); r100_bandwidth_update()
3404 k1.full = dfixed_const(40); r100_bandwidth_update()
3407 k1.full = dfixed_const(20); r100_bandwidth_update()
3411 k1.full = dfixed_const(40); r100_bandwidth_update()
3415 temp_ff.full = dfixed_const(2); r100_bandwidth_update()
3416 mc_latency_mclk.full = dfixed_mul(trcd_ff, temp_ff); r100_bandwidth_update()
3417 temp_ff.full = dfixed_const(c); r100_bandwidth_update()
3418 mc_latency_mclk.full += dfixed_mul(tcas_ff, temp_ff); r100_bandwidth_update()
3419 temp_ff.full = dfixed_const(4); r100_bandwidth_update()
3420 mc_latency_mclk.full += dfixed_mul(tras_ff, temp_ff); r100_bandwidth_update()
3421 mc_latency_mclk.full += dfixed_mul(trp_ff, temp_ff); r100_bandwidth_update()
3422 mc_latency_mclk.full += k1.full; r100_bandwidth_update()
3424 mc_latency_mclk.full = dfixed_div(mc_latency_mclk, mclk_ff); r100_bandwidth_update()
3425 mc_latency_mclk.full += dfixed_div(temp_ff, sclk_eff_ff); r100_bandwidth_update()
3428 HW cursor time assuming worst case of full size colour cursor. r100_bandwidth_update()
3430 temp_ff.full = dfixed_const((2 * (cur_size - (rdev->mc.vram_is_ddr + 1)))); r100_bandwidth_update()
3431 temp_ff.full += trcd_ff.full; r100_bandwidth_update()
3432 if (temp_ff.full < tras_ff.full) r100_bandwidth_update()
3433 temp_ff.full = tras_ff.full; r100_bandwidth_update()
3434 cur_latency_mclk.full = dfixed_div(temp_ff, mclk_ff); r100_bandwidth_update()
3436 temp_ff.full = dfixed_const(cur_size); r100_bandwidth_update()
3437 cur_latency_sclk.full = dfixed_div(temp_ff, sclk_eff_ff); r100_bandwidth_update()
3441 disp_latency_overhead.full = dfixed_const(8); r100_bandwidth_update()
3442 disp_latency_overhead.full = dfixed_div(disp_latency_overhead, sclk_ff); r100_bandwidth_update()
3443 mc_latency_mclk.full += disp_latency_overhead.full + cur_latency_mclk.full; r100_bandwidth_update()
3444 mc_latency_sclk.full += disp_latency_overhead.full + cur_latency_sclk.full; r100_bandwidth_update()
3446 if (mc_latency_mclk.full > mc_latency_sclk.full) r100_bandwidth_update()
3447 disp_latency.full = mc_latency_mclk.full; r100_bandwidth_update()
3449 disp_latency.full = mc_latency_sclk.full; r100_bandwidth_update()
3470 temp_ff.full = dfixed_const((16/pixel_bytes1)); r100_bandwidth_update()
3471 disp_drain_rate.full = dfixed_div(pix_clk, temp_ff); r100_bandwidth_update()
3476 crit_point_ff.full = dfixed_mul(disp_drain_rate, disp_latency); r100_bandwidth_update()
3477 crit_point_ff.full += dfixed_const_half(0); r100_bandwidth_update()
3550 temp_ff.full = dfixed_const((16/pixel_bytes2)); r100_bandwidth_update()
3551 disp_drain_rate2.full = dfixed_div(pix_clk2, temp_ff); r100_bandwidth_update()
3572 temp_ff.full = dfixed_const(temp); r100_bandwidth_update()
3573 temp_ff.full = dfixed_mul(mclk_ff, temp_ff); r100_bandwidth_update()
3574 if (sclk_ff.full < temp_ff.full) r100_bandwidth_update()
3575 temp_ff.full = sclk_ff.full; r100_bandwidth_update()
3577 read_return_rate.full = temp_ff.full; r100_bandwidth_update()
3580 temp_ff.full = read_return_rate.full - disp_drain_rate.full; r100_bandwidth_update()
3581 time_disp1_drop_priority.full = dfixed_div(crit_point_ff, temp_ff); r100_bandwidth_update()
3583 time_disp1_drop_priority.full = 0; r100_bandwidth_update()
3585 crit_point_ff.full = disp_latency.full + time_disp1_drop_priority.full + disp_latency.full; r100_bandwidth_update()
3586 crit_point_ff.full = dfixed_mul(crit_point_ff, disp_drain_rate2); r100_bandwidth_update()
3587 crit_point_ff.full += dfixed_const_half(0); r100_bandwidth_update()
H A Devergreen.c2003 a.full = dfixed_const(1000); evergreen_dram_bandwidth()
2004 yclk.full = dfixed_const(wm->yclk); evergreen_dram_bandwidth()
2005 yclk.full = dfixed_div(yclk, a); evergreen_dram_bandwidth()
2006 dram_channels.full = dfixed_const(wm->dram_channels * 4); evergreen_dram_bandwidth()
2007 a.full = dfixed_const(10); evergreen_dram_bandwidth()
2008 dram_efficiency.full = dfixed_const(7); evergreen_dram_bandwidth()
2009 dram_efficiency.full = dfixed_div(dram_efficiency, a); evergreen_dram_bandwidth()
2010 bandwidth.full = dfixed_mul(dram_channels, yclk); evergreen_dram_bandwidth()
2011 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); evergreen_dram_bandwidth()
2023 a.full = dfixed_const(1000); evergreen_dram_bandwidth_for_display()
2024 yclk.full = dfixed_const(wm->yclk); evergreen_dram_bandwidth_for_display()
2025 yclk.full = dfixed_div(yclk, a); evergreen_dram_bandwidth_for_display()
2026 dram_channels.full = dfixed_const(wm->dram_channels * 4); evergreen_dram_bandwidth_for_display()
2027 a.full = dfixed_const(10); evergreen_dram_bandwidth_for_display()
2028 disp_dram_allocation.full = dfixed_const(3); /* XXX worse case value 0.3 */ evergreen_dram_bandwidth_for_display()
2029 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); evergreen_dram_bandwidth_for_display()
2030 bandwidth.full = dfixed_mul(dram_channels, yclk); evergreen_dram_bandwidth_for_display()
2031 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); evergreen_dram_bandwidth_for_display()
2043 a.full = dfixed_const(1000); evergreen_data_return_bandwidth()
2044 sclk.full = dfixed_const(wm->sclk); evergreen_data_return_bandwidth()
2045 sclk.full = dfixed_div(sclk, a); evergreen_data_return_bandwidth()
2046 a.full = dfixed_const(10); evergreen_data_return_bandwidth()
2047 return_efficiency.full = dfixed_const(8); evergreen_data_return_bandwidth()
2048 return_efficiency.full = dfixed_div(return_efficiency, a); evergreen_data_return_bandwidth()
2049 a.full = dfixed_const(32); evergreen_data_return_bandwidth()
2050 bandwidth.full = dfixed_mul(a, sclk); evergreen_data_return_bandwidth()
2051 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); evergreen_data_return_bandwidth()
2063 a.full = dfixed_const(1000); evergreen_dmif_request_bandwidth()
2064 disp_clk.full = dfixed_const(wm->disp_clk); evergreen_dmif_request_bandwidth()
2065 disp_clk.full = dfixed_div(disp_clk, a); evergreen_dmif_request_bandwidth()
2066 a.full = dfixed_const(10); evergreen_dmif_request_bandwidth()
2067 disp_clk_request_efficiency.full = dfixed_const(8); evergreen_dmif_request_bandwidth()
2068 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); evergreen_dmif_request_bandwidth()
2069 a.full = dfixed_const(32); evergreen_dmif_request_bandwidth()
2070 bandwidth.full = dfixed_mul(a, disp_clk); evergreen_dmif_request_bandwidth()
2071 bandwidth.full = dfixed_mul(bandwidth, disp_clk_request_efficiency); evergreen_dmif_request_bandwidth()
2098 a.full = dfixed_const(1000); evergreen_average_bandwidth()
2099 line_time.full = dfixed_const(wm->active_time + wm->blank_time); evergreen_average_bandwidth()
2100 line_time.full = dfixed_div(line_time, a); evergreen_average_bandwidth()
2101 bpp.full = dfixed_const(wm->bytes_per_pixel); evergreen_average_bandwidth()
2102 src_width.full = dfixed_const(wm->src_width); evergreen_average_bandwidth()
2103 bandwidth.full = dfixed_mul(src_width, bpp); evergreen_average_bandwidth()
2104 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); evergreen_average_bandwidth()
2105 bandwidth.full = dfixed_div(bandwidth, line_time); evergreen_average_bandwidth()
2127 a.full = dfixed_const(2); evergreen_latency_watermark()
2128 b.full = dfixed_const(1); evergreen_latency_watermark()
2129 if ((wm->vsc.full > a.full) || evergreen_latency_watermark()
2130 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || evergreen_latency_watermark()
2132 ((wm->vsc.full >= a.full) && wm->interlaced)) evergreen_latency_watermark()
2137 a.full = dfixed_const(available_bandwidth); evergreen_latency_watermark()
2138 b.full = dfixed_const(wm->num_heads); evergreen_latency_watermark()
2139 a.full = dfixed_div(a, b); evergreen_latency_watermark()
2141 b.full = dfixed_const(1000); evergreen_latency_watermark()
2142 c.full = dfixed_const(wm->disp_clk); evergreen_latency_watermark()
2143 b.full = dfixed_div(c, b); evergreen_latency_watermark()
2144 c.full = dfixed_const(wm->bytes_per_pixel); evergreen_latency_watermark()
2145 b.full = dfixed_mul(b, c); evergreen_latency_watermark()
2149 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); evergreen_latency_watermark()
2150 b.full = dfixed_const(1000); evergreen_latency_watermark()
2151 c.full = dfixed_const(lb_fill_bw); evergreen_latency_watermark()
2152 b.full = dfixed_div(c, b); evergreen_latency_watermark()
2153 a.full = dfixed_div(a, b); evergreen_latency_watermark()
2189 a.full = dfixed_const(1); evergreen_check_latency_hiding()
2190 if (wm->vsc.full > a.full) evergreen_check_latency_hiding()
2307 a.full = dfixed_const(1000); evergreen_program_watermarks()
2308 b.full = dfixed_const(mode->clock); evergreen_program_watermarks()
2309 b.full = dfixed_div(b, a); evergreen_program_watermarks()
2310 c.full = dfixed_const(latency_watermark_a); evergreen_program_watermarks()
2311 c.full = dfixed_mul(c, b); evergreen_program_watermarks()
2312 c.full = dfixed_mul(c, radeon_crtc->hsc); evergreen_program_watermarks()
2313 c.full = dfixed_div(c, a); evergreen_program_watermarks()
2314 a.full = dfixed_const(16); evergreen_program_watermarks()
2315 c.full = dfixed_div(c, a); evergreen_program_watermarks()
2319 a.full = dfixed_const(1000); evergreen_program_watermarks()
2320 b.full = dfixed_const(mode->clock); evergreen_program_watermarks()
2321 b.full = dfixed_div(b, a); evergreen_program_watermarks()
2322 c.full = dfixed_const(latency_watermark_b); evergreen_program_watermarks()
2323 c.full = dfixed_mul(c, b); evergreen_program_watermarks()
2324 c.full = dfixed_mul(c, radeon_crtc->hsc); evergreen_program_watermarks()
2325 c.full = dfixed_div(c, a); evergreen_program_watermarks()
2326 a.full = dfixed_const(16); evergreen_program_watermarks()
2327 c.full = dfixed_div(c, a); evergreen_program_watermarks()
H A Dsi.c2020 a.full = dfixed_const(1000); dce6_dram_bandwidth()
2021 yclk.full = dfixed_const(wm->yclk); dce6_dram_bandwidth()
2022 yclk.full = dfixed_div(yclk, a); dce6_dram_bandwidth()
2023 dram_channels.full = dfixed_const(wm->dram_channels * 4); dce6_dram_bandwidth()
2024 a.full = dfixed_const(10); dce6_dram_bandwidth()
2025 dram_efficiency.full = dfixed_const(7); dce6_dram_bandwidth()
2026 dram_efficiency.full = dfixed_div(dram_efficiency, a); dce6_dram_bandwidth()
2027 bandwidth.full = dfixed_mul(dram_channels, yclk); dce6_dram_bandwidth()
2028 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); dce6_dram_bandwidth()
2040 a.full = dfixed_const(1000); dce6_dram_bandwidth_for_display()
2041 yclk.full = dfixed_const(wm->yclk); dce6_dram_bandwidth_for_display()
2042 yclk.full = dfixed_div(yclk, a); dce6_dram_bandwidth_for_display()
2043 dram_channels.full = dfixed_const(wm->dram_channels * 4); dce6_dram_bandwidth_for_display()
2044 a.full = dfixed_const(10); dce6_dram_bandwidth_for_display()
2045 disp_dram_allocation.full = dfixed_const(3); /* XXX worse case value 0.3 */ dce6_dram_bandwidth_for_display()
2046 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); dce6_dram_bandwidth_for_display()
2047 bandwidth.full = dfixed_mul(dram_channels, yclk); dce6_dram_bandwidth_for_display()
2048 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); dce6_dram_bandwidth_for_display()
2060 a.full = dfixed_const(1000); dce6_data_return_bandwidth()
2061 sclk.full = dfixed_const(wm->sclk); dce6_data_return_bandwidth()
2062 sclk.full = dfixed_div(sclk, a); dce6_data_return_bandwidth()
2063 a.full = dfixed_const(10); dce6_data_return_bandwidth()
2064 return_efficiency.full = dfixed_const(8); dce6_data_return_bandwidth()
2065 return_efficiency.full = dfixed_div(return_efficiency, a); dce6_data_return_bandwidth()
2066 a.full = dfixed_const(32); dce6_data_return_bandwidth()
2067 bandwidth.full = dfixed_mul(a, sclk); dce6_data_return_bandwidth()
2068 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); dce6_data_return_bandwidth()
2086 a.full = dfixed_const(1000); dce6_dmif_request_bandwidth()
2087 disp_clk.full = dfixed_const(wm->disp_clk); dce6_dmif_request_bandwidth()
2088 disp_clk.full = dfixed_div(disp_clk, a); dce6_dmif_request_bandwidth()
2089 a.full = dfixed_const(dce6_get_dmif_bytes_per_request(wm) / 2); dce6_dmif_request_bandwidth()
2090 b1.full = dfixed_mul(a, disp_clk); dce6_dmif_request_bandwidth()
2092 a.full = dfixed_const(1000); dce6_dmif_request_bandwidth()
2093 sclk.full = dfixed_const(wm->sclk); dce6_dmif_request_bandwidth()
2094 sclk.full = dfixed_div(sclk, a); dce6_dmif_request_bandwidth()
2095 a.full = dfixed_const(dce6_get_dmif_bytes_per_request(wm)); dce6_dmif_request_bandwidth()
2096 b2.full = dfixed_mul(a, sclk); dce6_dmif_request_bandwidth()
2098 a.full = dfixed_const(10); dce6_dmif_request_bandwidth()
2099 disp_clk_request_efficiency.full = dfixed_const(8); dce6_dmif_request_bandwidth()
2100 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); dce6_dmif_request_bandwidth()
2104 a.full = dfixed_const(min_bandwidth); dce6_dmif_request_bandwidth()
2105 bandwidth.full = dfixed_mul(a, disp_clk_request_efficiency); dce6_dmif_request_bandwidth()
2132 a.full = dfixed_const(1000); dce6_average_bandwidth()
2133 line_time.full = dfixed_const(wm->active_time + wm->blank_time); dce6_average_bandwidth()
2134 line_time.full = dfixed_div(line_time, a); dce6_average_bandwidth()
2135 bpp.full = dfixed_const(wm->bytes_per_pixel); dce6_average_bandwidth()
2136 src_width.full = dfixed_const(wm->src_width); dce6_average_bandwidth()
2137 bandwidth.full = dfixed_mul(src_width, bpp); dce6_average_bandwidth()
2138 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); dce6_average_bandwidth()
2139 bandwidth.full = dfixed_div(bandwidth, line_time); dce6_average_bandwidth()
2162 a.full = dfixed_const(2); dce6_latency_watermark()
2163 b.full = dfixed_const(1); dce6_latency_watermark()
2164 if ((wm->vsc.full > a.full) || dce6_latency_watermark()
2165 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || dce6_latency_watermark()
2167 ((wm->vsc.full >= a.full) && wm->interlaced)) dce6_latency_watermark()
2172 a.full = dfixed_const(available_bandwidth); dce6_latency_watermark()
2173 b.full = dfixed_const(wm->num_heads); dce6_latency_watermark()
2174 a.full = dfixed_div(a, b); dce6_latency_watermark()
2176 b.full = dfixed_const(mc_latency + 512); dce6_latency_watermark()
2177 c.full = dfixed_const(wm->disp_clk); dce6_latency_watermark()
2178 b.full = dfixed_div(b, c); dce6_latency_watermark()
2180 c.full = dfixed_const(dmif_size); dce6_latency_watermark()
2181 b.full = dfixed_div(c, b); dce6_latency_watermark()
2185 b.full = dfixed_const(1000); dce6_latency_watermark()
2186 c.full = dfixed_const(wm->disp_clk); dce6_latency_watermark()
2187 b.full = dfixed_div(c, b); dce6_latency_watermark()
2188 c.full = dfixed_const(wm->bytes_per_pixel); dce6_latency_watermark()
2189 b.full = dfixed_mul(b, c); dce6_latency_watermark()
2193 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); dce6_latency_watermark()
2194 b.full = dfixed_const(1000); dce6_latency_watermark()
2195 c.full = dfixed_const(lb_fill_bw); dce6_latency_watermark()
2196 b.full = dfixed_div(c, b); dce6_latency_watermark()
2197 a.full = dfixed_div(a, b); dce6_latency_watermark()
2233 a.full = dfixed_const(1); dce6_check_latency_hiding()
2234 if (wm->vsc.full > a.full) dce6_check_latency_hiding()
2356 a.full = dfixed_const(1000); dce6_program_watermarks()
2357 b.full = dfixed_const(mode->clock); dce6_program_watermarks()
2358 b.full = dfixed_div(b, a); dce6_program_watermarks()
2359 c.full = dfixed_const(latency_watermark_a); dce6_program_watermarks()
2360 c.full = dfixed_mul(c, b); dce6_program_watermarks()
2361 c.full = dfixed_mul(c, radeon_crtc->hsc); dce6_program_watermarks()
2362 c.full = dfixed_div(c, a); dce6_program_watermarks()
2363 a.full = dfixed_const(16); dce6_program_watermarks()
2364 c.full = dfixed_div(c, a); dce6_program_watermarks()
2368 a.full = dfixed_const(1000); dce6_program_watermarks()
2369 b.full = dfixed_const(mode->clock); dce6_program_watermarks()
2370 b.full = dfixed_div(b, a); dce6_program_watermarks()
2371 c.full = dfixed_const(latency_watermark_b); dce6_program_watermarks()
2372 c.full = dfixed_mul(c, b); dce6_program_watermarks()
2373 c.full = dfixed_mul(c, radeon_crtc->hsc); dce6_program_watermarks()
2374 c.full = dfixed_div(c, a); dce6_program_watermarks()
2375 a.full = dfixed_const(16); dce6_program_watermarks()
2376 c.full = dfixed_div(c, a); dce6_program_watermarks()
/linux-4.1.27/arch/microblaze/kernel/cpu/
H A DMakefile12 obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o
/linux-4.1.27/arch/mips/include/asm/mach-bcm63xx/
H A Dbcm63xx_dev_usb_usbd.h8 /* board can only support full speed (USB 1.1) */
/linux-4.1.27/include/uapi/linux/netfilter/ipset/
H A Dip_set_hash.h6 /* Hash is full */
H A Dip_set_list.h14 /* Set is full */
/linux-4.1.27/include/drm/
H A Ddrm_sysfs.h6 * don't want to include the full drmP.h file.
H A Ddrm_fixed.h31 u32 full; member in union:dfixed
39 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12)
40 #define dfixed_init(A) { .full = dfixed_const((A)) }
41 #define dfixed_init_half(A) { .full = dfixed_const_half((A)) }
42 #define dfixed_trunc(A) ((A).full >> 12)
43 #define dfixed_frac(A) ((A).full & ((1 << 12) - 1))
56 if (A.full > dfixed_const(non_frac)) dfixed_ceil()
64 u64 tmp = ((u64)A.full << 13); dfixed_div()
66 do_div(tmp, B.full); dfixed_div()
/linux-4.1.27/drivers/power/
H A Dapm_power.c40 union power_supply_propval full; member in struct:find_bat_param
57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) || __find_main_battery()
58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) { __find_main_battery()
59 if (bp->full.intval > bp->max_charge) { __find_main_battery()
61 bp->max_charge = bp->full.intval; __find_main_battery()
63 } else if (!PSY_PROP(bp->bat, ENERGY_FULL_DESIGN, &bp->full) || __find_main_battery()
64 !PSY_PROP(bp->bat, ENERGY_FULL, &bp->full)) { __find_main_battery()
65 if (bp->full.intval > bp->max_energy) { __find_main_battery()
67 bp->max_energy = bp->full.intval; __find_main_battery()
93 &bp.full)) { find_main_battery()
94 if (bp.max_energy > bp.max_charge * bp.full.intval) find_main_battery()
99 &bp.full)) { find_main_battery()
100 if (bp.max_charge > bp.max_energy / bp.full.intval) find_main_battery()
120 union power_supply_propval full; do_calculate_time() local
170 if (_MPSY_PROP(full_prop, &full)) { do_calculate_time()
172 if (_MPSY_PROP(full_design_prop, &full)) do_calculate_time()
189 return ((cur.intval - full.intval) * 60L) / I.intval; do_calculate_time()
218 union power_supply_propval empty, full, cur; calculate_capacity() local
251 if (_MPSY_PROP(full_prop, &full)) { calculate_capacity()
253 if (_MPSY_PROP(full_design_prop, &full)) calculate_capacity()
269 if (full.intval - empty.intval) calculate_capacity()
271 (full.intval - empty.intval); calculate_capacity()
H A Dpower_supply_leds.c61 "%s-charging-or-full", psy->desc->name); power_supply_create_bat_triggers()
70 psy->full_trig_name = kasprintf(GFP_KERNEL, "%s-full", psy->desc->name); power_supply_create_bat_triggers()
75 "%s-charging-blink-full-solid", psy->desc->name); power_supply_create_bat_triggers()
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Djsflash.h15 * Semantics of the offset is a full address.
18 * We use full bus address, so that we would be
/linux-4.1.27/drivers/acpi/acpica/
H A Dutmath.c67 u64 full; member in union:uint64_overlay
106 dividend_ovl.full = dividend; acpi_ut_short_divide()
120 *out_quotient = quotient.full; acpi_ut_short_divide()
167 divisor.full = in_divisor; acpi_ut_divide()
168 dividend.full = in_dividend; acpi_ut_divide()
188 * 2) The general case where the divisor is a full 64 bits acpi_ut_divide()
217 partial2.full = (u64) quotient.part.lo * divisor.part.lo; acpi_ut_divide()
218 partial3.full = (u64) partial2.part.hi + partial1; acpi_ut_divide()
228 remainder.full -= divisor.full; acpi_ut_divide()
232 remainder.full -= divisor.full; acpi_ut_divide()
236 remainder.full = remainder.full - dividend.full; acpi_ut_divide()
249 *out_quotient = quotient.full; acpi_ut_divide()
252 *out_remainder = remainder.full; acpi_ut_divide()
/linux-4.1.27/kernel/trace/
H A Dtrace_seq.c88 if (s->full) trace_seq_printf()
100 s->full = 1; trace_seq_printf()
118 if (s->full) trace_seq_bitmask()
127 s->full = 1; trace_seq_bitmask()
147 if (s->full) trace_seq_vprintf()
157 s->full = 1; trace_seq_vprintf()
181 if (s->full) trace_seq_bprintf()
191 s->full = 1; trace_seq_bprintf()
211 if (s->full) trace_seq_puts()
217 s->full = 1; trace_seq_puts()
237 if (s->full) trace_seq_putc()
243 s->full = 1; trace_seq_putc()
263 if (s->full) trace_seq_putmem()
269 s->full = 1; trace_seq_putmem()
292 if (s->full) trace_seq_putmem_hex()
299 s->full = 1; trace_seq_putmem_hex()
308 s->full = 1; trace_seq_putmem_hex()
330 if (s->full) trace_seq_path()
336 s->full = 1; trace_seq_path()
344 s->full = 1; trace_seq_path()
/linux-4.1.27/drivers/isdn/sc/
H A Dhardware.h59 #define RF_QUART_FULL 0x02 /* fifo quarter full */
60 #define RF_HALF_FULL 0x04 /* fifo half full */
61 #define RF_NOT_FULL 0x08 /* fifo not full */
63 #define WF_QUART_FULL 0x20 /* fifo quarter full */
64 #define WF_HALF_FULL 0x40 /* fifo half full */
65 #define WF_NOT_FULL 0x80 /* fifo not full */
/linux-4.1.27/include/linux/platform_data/
H A Dad5449.h16 * @AD5449_SDO_DRIVE_FULL: Drive the SDO pin with full strength.
17 * @AD5449_SDO_DRIVE_WEAK: Drive the SDO pin with not full strength.
/linux-4.1.27/drivers/usb/gadget/function/
H A Du_uvc.h32 * Control descriptors array pointers for full-/high-speed and
41 * Streaming descriptors array pointers for full-speed, high-speed and
57 * Control descriptors pointers arrays for full-/high-speed and
67 * Streaming descriptors for full-speed, high-speed and super-speed.
/linux-4.1.27/include/linux/
H A Dsched_clock.h2 * sched_clock.h: support for extending counters to full 64-bit ns counter
H A Dtrace_seq.h16 int full; member in struct:trace_seq
23 s->full = 0; trace_seq_init()
64 * now full and will not take anymore.
68 return s->full || seq_buf_has_overflowed(&s->seq); trace_seq_has_overflowed()
H A Dcirc_buf.h18 as a completely full buffer has head == tail, which is the same as
H A Dcnt32_to_63.h80 * u64 full = cnt32_to_63(partial);
81 * return full;
85 * u64 full = cnt32_to_63(get_hw_count());
86 * return full;
H A Ddavinci_emac.h32 * - "" : force to 100/full, no mdio control
H A Dlzo.h9 * The full LZO package can be found at:
H A Dmii.h22 unsigned int full_duplex : 1; /* is full duplex? */
60 * between 100T-full and 100T-half. If your phy does not support
84 * @duplex_lock: Non-zero if duplex is locked at full
88 * if the media is operating or locked at full duplex, and
321 * Resolve full duplex flow control as per IEEE 802.3-2005 table 28B-3
/linux-4.1.27/include/linux/spi/
H A Dadi_spi3.h41 #define SPI_CTL_FIFO1 0x00010000 /* FCWM: TFIFO 75% or more empty or RFIFO 75% or more full */
42 #define SPI_CTL_FIFO2 0x00020000 /* FCWM: TFIFO 50% or more empty or RFIFO 50% or more full */
56 #define SPI_RXCTL_RDR_25 0x00000020 /* RDR: RFIFO 25% full */
57 #define SPI_RXCTL_RDR_50 0x00000030 /* RDR: RFIFO 50% full */
58 #define SPI_RXCTL_RDR_75 0x00000040 /* RDR: RFIFO 75% full */
59 #define SPI_RXCTL_RDR_FULL 0x00000050 /* RDR: RFIFO full */
63 #define SPI_RXCTL_RWM_25 0x00001000 /* RRWM: RFIFO 25% full */
64 #define SPI_RXCTL_RWM_50 0x00002000 /* RRWM: RFIFO 50% full */
65 #define SPI_RXCTL_RWM_75 0x00003000 /* RRWM: RFIFO 75% full */
68 #define SPI_RXCTL_UWM_25 0x00010000 /* RUWM: RFIFO 25% full */
69 #define SPI_RXCTL_UWM_50 0x00020000 /* RUWM: RFIFO 50% full */
70 #define SPI_RXCTL_UWM_75 0x00030000 /* RUWM: RFIFO 75% full */
71 #define SPI_RXCTL_UWM_FULL 0x00040000 /* RUWM: RFIFO full */
78 #define SPI_TXCTL_TDR_NF 0x00000010 /* TDR: TFIFO not full */
85 #define SPI_TXCTL_RWM_FULL 0x00000000 /* TRWM: TFIFO full */
176 #define SPI_STAT_TFIFO_FULL 0x00000000 /* TFS: TFIFO full */
/linux-4.1.27/arch/avr32/include/asm/
H A Dbarrier.h12 * Weirdest thing ever.. no full barrier, but it has a write barrier!
/linux-4.1.27/arch/arm/mach-dove/include/mach/
H A Duncompress.h21 /* Transmit fifo not full? */ putc()
/linux-4.1.27/net/dccp/
H A Dqpolicy.c69 * @full: indicates that no more packets will be admitted
74 bool (*full) (struct sock *sk); member in struct:dccp_qpolicy_operations
81 .full = qpolicy_simple_full,
87 .full = qpolicy_prio_full,
103 return qpol_table[dccp_sk(sk)->dccps_qpolicy].full(sk); dccp_qpolicy_full()
/linux-4.1.27/sound/soc/intel/atom/sst/
H A Dsst_loader.c68 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); intel_sst_reset_dsp_mrfld()
70 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); intel_sst_reset_dsp_mrfld()
72 csr.full |= 0x7; intel_sst_reset_dsp_mrfld()
73 sst_shim_write64(sst_drv_ctx->shim, SST_CSR, csr.full); intel_sst_reset_dsp_mrfld()
74 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); intel_sst_reset_dsp_mrfld()
76 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); intel_sst_reset_dsp_mrfld()
78 csr.full &= ~(0x1); intel_sst_reset_dsp_mrfld()
79 sst_shim_write64(sst_drv_ctx->shim, SST_CSR, csr.full); intel_sst_reset_dsp_mrfld()
81 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); intel_sst_reset_dsp_mrfld()
82 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); intel_sst_reset_dsp_mrfld()
96 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); sst_start_mrfld()
97 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); sst_start_mrfld()
99 csr.full |= 0x7; sst_start_mrfld()
100 sst_shim_write64(sst_drv_ctx->shim, SST_CSR, csr.full); sst_start_mrfld()
102 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); sst_start_mrfld()
103 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); sst_start_mrfld()
106 csr.full &= ~(0x5); sst_start_mrfld()
107 sst_shim_write64(sst_drv_ctx->shim, SST_CSR, csr.full); sst_start_mrfld()
109 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); sst_start_mrfld()
111 csr.full); sst_start_mrfld()
H A Dsst_ipc.c135 header.full = sst_shim_read64(sst_drv_ctx->shim, SST_IPCX); sst_post_message_mrfld()
146 header.full = sst_shim_read64(sst_drv_ctx->shim, SST_IPCX); sst_post_message_mrfld()
169 msg->mrfld_header.p.header_high.full); sst_post_message_mrfld()
178 sst_shim_write64(sst_drv_ctx->shim, SST_IPCX, msg->mrfld_header.full); sst_post_message_mrfld()
195 imr.full = sst_shim_read64(sst_drv_ctx->shim, SST_IMRX); intel_sst_clear_intr_mrfld()
196 isr.full = sst_shim_read64(sst_drv_ctx->shim, SST_ISRX); intel_sst_clear_intr_mrfld()
200 sst_shim_write64(sst_drv_ctx->shim, SST_ISRX, isr.full); intel_sst_clear_intr_mrfld()
203 clear_ipc.full = sst_shim_read64(sst_drv_ctx->shim, SST_IPCD); intel_sst_clear_intr_mrfld()
208 sst_shim_write64(sst_drv_ctx->shim, SST_IPCD, clear_ipc.full); intel_sst_clear_intr_mrfld()
211 sst_shim_write64(sst_drv_ctx->shim, SST_IMRX, imr.full); intel_sst_clear_intr_mrfld()
327 msg->mrfld_header.p.header_high.full, sst_process_reply_mrfld()
/linux-4.1.27/include/uapi/linux/
H A Dmii.h64 #define BMSR_10FULL 0x1000 /* Can do 10mbps, full-duplex */
66 #define BMSR_100FULL 0x4000 /* Can do 100mbps, full-duplex */
73 #define ADVERTISE_1000XFULL 0x0020 /* Try for 1000BASE-X full-duplex */
74 #define ADVERTISE_10FULL 0x0040 /* Try for 10mbps full-duplex */
78 #define ADVERTISE_100FULL 0x0100 /* Try for 100mbps full-duplex */
96 #define LPA_1000XFULL 0x0020 /* Can do 1000BASE-X full-duplex */
97 #define LPA_10FULL 0x0040 /* Can do 10mbps full-duplex */
101 #define LPA_100FULL 0x0100 /* Can do 100mbps full-duplex */
131 #define ADVERTISE_1000FULL 0x0200 /* Advertise 1000BASE-T full duplex */
139 #define LPA_1000FULL 0x0800 /* Link partner 1000BASE-T full duplex */
/linux-4.1.27/sound/usb/line6/
H A Dmidibuf.c43 return (this->pos_read == this->pos_write) && !this->full; midibuf_is_empty()
48 return this->full; midibuf_is_full()
53 this->pos_read = this->pos_write = this->full = 0; line6_midibuf_reset()
125 this->full = 1; line6_midibuf_write()
232 this->full = 0; line6_midibuf_read()
244 this->full = 0; line6_midibuf_ignore()
H A Dmidibuf.h20 int full; member in struct:midi_buffer
H A Dplayback.h20 * When the TonePort is used with jack in full duplex mode and the outputs are
/linux-4.1.27/drivers/staging/speakup/
H A Dspeakup_acnt.h14 #define SYNTH_FULL 'F' /* synth is full. */
/linux-4.1.27/drivers/staging/ozwpan/
H A Dozurbparanoia.c27 oz_dbg(ON, "ERROR urb buffer full\n"); oz_remember_urb()
/linux-4.1.27/arch/x86/um/shared/sysdep/
H A Dfaultinfo_32.h10 /* this structure contains the full arch-specific faultinfo
H A Dfaultinfo_64.h10 /* this structure contains the full arch-specific faultinfo
/linux-4.1.27/arch/tile/include/arch/
H A Duart.h112 /* 1: receive FIFO is full. */
114 /* 1: write FIFO is full. */
116 /* 1: transmit FIFO is full. */
149 /* Write FIFO was written but it was full */
155 /* Data was received but the receive FIFO was full */
158 * An almost full event is reached when data is to be written to the
216 /* Write FIFO was written but it was full */
222 /* Data was received but the receive FIFO was full */
225 * Data was received and the receive FIFO is now almost full (more than
/linux-4.1.27/arch/frv/include/asm/
H A Dax88796.h19 #define AX88796_FULL_DUPLEX 0 /* force full duplex */
/linux-4.1.27/arch/m68k/include/asm/
H A Dmac_baboon.h20 * bit 2: bay status, 0 = full, 1 = empty
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Djr3_pci.h65 * the full scales.
141 * coordinate transformation, or new sensor full scale is set by the
282 * hardware full scales to be adjusted to potentially allow
298 * command (10) set new full scales (pg. 38).
304 /* Default_FS contains the full scale that is used if the user does */
305 /* not set a full scale. */
317 /* Min_full_scale is the recommend minimum full scale. */
320 * determine the appropriate value for setting the full scales. The
321 * software allows the user to set the sensor full scale to an
322 * arbitrary value. But setting the full scales has some hazards. If
323 * the full scale is set too low, the data will saturate
324 * prematurely, and dynamic range will be lost. If the full scale is
327 * maximum full scale is the maximum value at which no resolution is
328 * lost, and the minimum full scale is the value at which the data
334 * full scale selection will be a compromise between dynamic range
336 * of resolution which means that the recommend maximum full scale
339 * WARNING: Be sure that the full scale is no less than 0.4% of the
340 * recommended minimum full scale. Full scales below this value will
354 /* Max_full_scale is the recommended maximum full scale. See */
368 /* Full_scale is the sensor full scales which are currently in use.
370 * to the full scales. The engineering units used are indicated by
371 * the units value discussed on page 16. The full scales for Fx, Fy,
373 * command (10) set new full scales (pg. 38). The full scales for V1
374 * and V2 are set whenever the full scales are changed or when the
375 * axes used to calculate the vectors are changed. The full scale of
376 * V1 and V2 will always be equal to the largest full scale of the
441 * for minimums and maximums at full sensor bandwidth. This area is
447 * a coordinate transformation or a full scale change. Peak data is
462 * approximately 80% of the ADC's full scale, which is 26214, while
463 * sat_value defaults to the ADC's full scale:
477 * is 1, the rates are calculated at full sensor bandwidth. If
607 * units used in the sensor full scale. The meanings of particular
H A Ddac02.c95 * (that is, 0 = +full scale, maxdata = -full scale). dac02_ao_insn_write()
/linux-4.1.27/drivers/spi/
H A Dspi-fsl-spi.h66 #define SPIE_NF 0x00000100 /* Not full */
70 #define SPIM_NF 0x00000100 /* Not full */
/linux-4.1.27/arch/x86/boot/
H A Dbioscall.S40 /* Pop full state from the stack */
52 /* Push full state to the stack */
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_bfin_jtag.c21 #define EMUDOF 0x00000001 /* EMUDAT_OUT full & valid */
22 #define EMUDIF 0x00000002 /* EMUDAT_IN full & valid */
/linux-4.1.27/include/linux/power/
H A Dcharger-manager.h142 * If VBATT >= fullbatt_uV, it is assumed to be full.
144 * If state of Charge >= fullbatt_soc, it is assumed to be full.
145 * @fullbatt_full_capacity: full capacity measure
146 * If full capacity of battery >= fullbatt_full_capacity,
147 * it is assumed to be full.
168 * after full-batt. If discharging duration exceed 'discharging
216 * jiffies at the time full battery check will occur.
217 * @fullbatt_vchk_work: work queue for full battery check
/linux-4.1.27/arch/ia64/hp/common/
H A Dhwsw_iommu.c7 * full 32-bit addressability, as is the case, e.g., for HP zx1-based
9 * device doesn't provide full 32-bit addressability, we fall back on
/linux-4.1.27/arch/arm/include/debug/
H A Dzynq.S19 #define UART_SR_TXFULL 0x00000010 /* TX FIFO full */
55 bne 1002b @ wait if FIFO is full
/linux-4.1.27/fs/nilfs2/
H A Dsegbuf.h42 * @next: Block number of the next full segment
62 * @sb_segnum: Index number of the full segment
63 * @sb_nextnum: Index number of the next full segment
64 * @sb_fseg_start: Start block number of the full segment
65 * @sb_fseg_end: End block number of the full segment
H A Dthe_nilfs.h61 * @ns_segnum: index number of the latest full segment.
62 * @ns_nextnum: index number of the full segment index to be used next
63 * @ns_pseg_offset: offset of next partial segment in the current full segment
116 * - allocating a new full segment.
349 /* terminate the current full segment (used in case of I/O-error) */ nilfs_terminate_segment()
355 /* move forward with a full segment */ nilfs_shift_to_next_segment()
/linux-4.1.27/drivers/hwmon/
H A Dmax197.c127 int full = data->limit; max197_store_range() local
133 if (value <= -full) max197_store_range()
134 value = -full; max197_store_range()
140 if (value >= full) max197_store_range()
141 value = full; max197_store_range()
155 } else if (value == -full) { max197_store_range()
161 } else if (value == full) { max197_store_range()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt.h48 /* These functions are called for full MSDUs, i.e. full frames.
49 * These can be NULL if full MSDU operations are not needed. */
/linux-4.1.27/drivers/gpu/host1x/hw/
H A Dhw_host1x01_channel.h29 * can be |'d with others to produce a full register value for
38 * with others to produce a full register value for <x>.
40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
H A Dhw_host1x02_channel.h29 * can be |'d with others to produce a full register value for
38 * with others to produce a full register value for <x>.
40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
H A Dhw_host1x04_channel.h29 * can be |'d with others to produce a full register value for
38 * with others to produce a full register value for <x>.
40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
H A Dhw_host1x01_uclass.h29 * can be |'d with others to produce a full register value for
38 * with others to produce a full register value for <x>.
40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
H A Dhw_host1x02_uclass.h29 * can be |'d with others to produce a full register value for
38 * with others to produce a full register value for <x>.
40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
H A Dhw_host1x04_uclass.h29 * can be |'d with others to produce a full register value for
38 * with others to produce a full register value for <x>.
40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
/linux-4.1.27/include/net/
H A Dlib80211.h64 /* These functions are called for full MSDUs, i.e. full frames.
65 * These can be NULL if full MSDU operations are not needed. */
H A Dudplite.h50 if (cscov == 0) /* Indicates that full coverage is required. */ udplite_checksum_init()
80 * The special case "up->pcslen == 0" signifies full coverage. udplite_csum_outgoing()
/linux-4.1.27/tools/perf/ui/browsers/
H A Dscripts.c35 * Usually the full path for a script is:
38 * So 256 should be long enough to contain the full path.
43 * When success, will copy the full path of the selected script
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
H A DMakefile19 # The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A DMakefile18 # The full GNU General Public License is included in this distribution in
H A D82571.h13 * The full GNU General Public License is included in this distribution in
H A Dmanage.h13 * The full GNU General Public License is included in this distribution in
H A Dnvm.h13 * The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A DMakefile15 # The full GNU General Public License is included in this distribution in
H A Dfm10k_vf.h13 * The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
H A DMakefile18 # The full GNU General Public License is included in this distribution in
H A Di40e_alloc.h18 * The full GNU General Public License is included in this distribution in
H A Di40e_status.h18 * The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A DMakefile18 # The full GNU General Public License is included in this distribution in
H A De1000_nvm.h16 * The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
H A DMakefile19 # The full GNU General Public License is included in this distribution in
H A Ddefines.h18 The full GNU General Public License is included in this distribution in
69 #define E1000_STATUS_FD 0x00000001 /* Full duplex.0=half,1=full */
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A DMakefile19 # The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
H A DMakefile18 # The full GNU General Public License is included in this distribution
/linux-4.1.27/drivers/net/vmxnet3/
H A DMakefile21 # The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_fops.h15 * The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.h13 The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/wireless/rtlwifi/
H A Drc.h14 * The full GNU General Public License is included in this distribution in the
H A Dstats.h14 * The full GNU General Public License is included in this distribution in the
H A Dcam.h14 * The full GNU General Public License is included in this distribution in the
H A Dcore.h14 * The full GNU General Public License is included in this distribution in the
H A Ddebug.c14 * The full GNU General Public License is included in this distribution in the
H A Dps.h14 * The full GNU General Public License is included in this distribution in the
H A Dregd.h14 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
H A Dled.h14 * The full GNU General Public License is included in this distribution in the
H A Drf.h14 * The full GNU General Public License is included in this distribution in the
H A Dsw.h14 * The full GNU General Public License is included in this distribution in the
H A Dtable.h14 * The full GNU General Public License is included in this distribution in the
H A Dpwrseq.c14 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/
H A Dsw.h18 * The full GNU General Public License is included in this distribution in the
H A Dled.h18 * The full GNU General Public License is included in this distribution in the
H A Drf.h18 * The full GNU General Public License is included in this distribution in the
H A Dtable.h18 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
H A Dled.h14 * The full GNU General Public License is included in this distribution in the
H A Drf.h14 * The full GNU General Public License is included in this distribution in the
H A Dsw.h14 * The full GNU General Public License is included in this distribution in the
H A Dtable.h14 * The full GNU General Public License is included in this distribution in the
H A Ddef.h14 * The full GNU General Public License is included in this distribution in the
H A Dpwrseq.c14 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/
H A Dsw.h18 * The full GNU General Public License is included in this distribution in the
H A Ddm.h18 * The full GNU General Public License is included in this distribution in the
H A Dled.h18 * The full GNU General Public License is included in this distribution in the
H A Drf.h18 * The full GNU General Public License is included in this distribution in the
H A Dtable.h13 * The full GNU General Public License is included in this distribution in the
H A Dtrx.h18 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/
H A Dbtc.h14 ** The full GNU General Public License is included in this distribution in the
H A Dled.h14 * The full GNU General Public License is included in this distribution in the
H A Drf.h14 * The full GNU General Public License is included in this distribution in the
H A Dsw.h14 * The full GNU General Public License is included in this distribution in the
H A Dtable.h14 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_eeprom.h19 * The full GNU General Public License is included in this distribution in the
H A Drtl_pm.h13 * The full GNU General Public License is included in this distribution in the
H A Drtl_wx.h13 * The full GNU General Public License is included in this distribution in the
H A Dr8190P_rtl8256.h13 * The full GNU General Public License is included in this distribution in the
H A Drtl_cam.h19 * The full GNU General Public License is included in this distribution in the
H A Drtl_ethtool.c19 * The full GNU General Public License is included in this distribution in the
H A Drtl_pci.h19 * The full GNU General Public License is included in this distribution in the
H A Drtl_ps.h19 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
H A Dled.h14 * The full GNU General Public License is included in this distribution in the
H A Drf.h14 * The full GNU General Public License is included in this distribution in the
H A Dsw.h14 * The full GNU General Public License is included in this distribution in the
H A Dtable.h14 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723com/
H A Ddm_common.h14 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
H A Dled.h14 * The full GNU General Public License is included in this distribution in the
H A Drf.h14 * The full GNU General Public License is included in this distribution in the
H A Dsw.h14 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/arch/x86/include/asm/
H A Dtimer.h16 * We use the full linear equation: f(x) = a + b*x, in order to allow
/linux-4.1.27/fs/ramfs/
H A Dfile-mmu.c18 * that this file implements the full semantics of
/linux-4.1.27/fs/hfsplus/
H A Dbitmap.c92 hfs_dbg(BITMAP, "bitmap full\n"); hfsplus_block_allocate()
99 hfs_dbg(BITMAP, "bitmap full\n"); hfsplus_block_allocate()
115 /* do full u32s */ hfsplus_block_allocate()
206 /* do full u32s */ hfsplus_block_free()
/linux-4.1.27/include/net/netfilter/
H A Dnf_tables_core.h18 * something smaller than the full u32, therefore a cpu_to_le32 is done.
/linux-4.1.27/arch/mips/jazz/
H A Dreset.c10 #define KBD_STAT_IBF 0x02 /* Keyboard input buffer full */
/linux-4.1.27/arch/powerpc/include/asm/
H A Dpage_32.h25 #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2) /* full page */
H A Dpte-hash64-64k.h24 /* Note the full page bits must be in the same location as for normal
28 #define _PAGE_F_SECOND 0x00008000 /* full page: hidx bits */
29 #define _PAGE_F_GIX 0x00007000 /* full page: hidx bits */
/linux-4.1.27/lib/lzo/
H A Dlzodefs.h6 * The full LZO package can be found at:
/linux-4.1.27/drivers/xen/
H A Dpreempt.c20 * be voluntarily preempted even if full kernel preemption is
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-spi.h89 * can operate as a full duplex (both Tx and Rx data paths
107 * can operate as a full duplex (both Tx and Rx data paths
176 * can operate as a full duplex (both Tx and Rx data paths
192 * can operate as a full duplex (both Tx and Rx data paths
209 * can operate as a full duplex (both Tx and Rx data paths
226 * can operate as a full duplex (both Tx and Rx data paths
243 * can operate as a full duplex (both Tx and Rx data paths
260 * can operate as a full duplex (both Tx and Rx data paths
/linux-4.1.27/drivers/media/usb/cx231xx/
H A Dcx231xx-pcb-cfg.c74 /* full-speed config */
143 /* full-speed */
213 /* full-speed */
282 /* full-speed */
352 /* full-speed */
421 /* full-speed */
491 /* full-speed */
558 { /* full-speed */
625 { /* full speed */
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/iop/
H A Diop_dmc_in_defs.h148 unsigned int full : 1; member in struct:__anon501
232 unsigned int full : 1; member in struct:__anon508
245 unsigned int full : 1; member in struct:__anon509
258 unsigned int full : 1; member in struct:__anon510
270 unsigned int full : 1; member in struct:__anon511
/linux-4.1.27/arch/ia64/kernel/
H A Dperfmon_default_smpl.c126 if ((last - cur) < PFM_DEFAULT_MAX_ENTRY_SIZE) goto full; default_handler()
192 if ((last - cur) < PFM_DEFAULT_MAX_ENTRY_SIZE) goto full; default_handler()
203 full: default_handler()
204 DPRINT_ovfl(("sampling buffer full free=%lu, count=%lu, ovfl_notify=%d\n", last-cur, hdr->hdr_count, ovfl_notify)); default_handler()
226 return -1; /* we are full, sorry */ default_handler()
/linux-4.1.27/drivers/md/
H A Ddm-snap-persistent.c442 * 'full' is filled in to indicate if the area has been
449 int *full) insert_exceptions()
455 /* presume the area is full */ insert_exceptions()
456 *full = 1; insert_exceptions()
465 * exceptions. Therefore the area is not full. insert_exceptions()
469 *full = 0; insert_exceptions()
495 int r, full = 1; read_exceptions() local
513 * we find a partially full area. read_exceptions()
515 for (ps->current_area = 0; full; ps->current_area++) { read_exceptions()
542 &full); read_exceptions()
544 if (!full) read_exceptions()
745 * Advance to the next area if this one is full. persistent_commit_exception()
445 insert_exceptions(struct pstore *ps, void *ps_area, int (*callback)(void *callback_context, chunk_t old, chunk_t new), void *callback_context, int *full) insert_exceptions() argument
/linux-4.1.27/drivers/net/ethernet/
H A Ddnet.h150 * almost empty = less than one full sized ethernet frame (no jumbo) inside
151 * the fifo almost full = can write less than one full sized ethernet frame
/linux-4.1.27/drivers/usb/c67x00/
H A Dc67x00-hcd.h61 * Periodic transfers may only use 90% of the full frame, but as
62 * we currently don't even use 90% of the full frame, we may
63 * use the full usable time for periodic transfers.
/linux-4.1.27/arch/arm/mach-ixp4xx/include/mach/
H A Dqmgr.h52 u32 statf_h; /* 0x41C - queue full */
168 * qmgr_stat_full() - checks if a hardware queue is full
171 * Returns non-zero value if the queue is full.
/linux-4.1.27/sound/oss/
H A Dpas2_midi.c113 * There seem to be no way to differentiate between buffer full and buffer dump_to_midi()
115 * completely full. In this way we can assume that 0 (or is it 15) dump_to_midi()
159 return 0; /* Local queue full */ pas_midi_out()
H A Dsb.h101 /* new audio fields for full duplex support */
107 /* duplicate audio fields for full duplex support */
125 /* duplicate audio fields for full duplex support */
/linux-4.1.27/drivers/staging/iio/accel/
H A Dadis16240.h94 /* Capture buffer full: 1 = capture buffer is full */
/linux-4.1.27/drivers/infiniband/hw/ehca/
H A Dehca_pd.c63 INIT_LIST_HEAD(&pd->full[i]); ehca_alloc_pd()
92 list_splice(&my_pd->full[i], &my_pd->free[i]); ehca_dealloc_pd()
/linux-4.1.27/arch/tile/lib/
H A Dmemset_32.c84 * one full cache line to process. This check also prevents memset()
127 /* We processed all full lines above, so only this many memset()
H A Dmemset_64.c83 * one full cache line to process. This check also prevents memset()
126 /* We processed all full lines above, so only this many memset()
/linux-4.1.27/drivers/usb/gadget/
H A Depautoconf.c134 * where it's an output parameter representing the full speed limit. ep_matches()
140 /* INT: limit 64 bytes full speed, 1024 high/super speed */ ep_matches()
146 /* ISO: limit 1023 bytes full speed, 1024 high/super speed */ ep_matches()
178 /* report (variable) full speed bulk maxpacket */ ep_matches()
228 * Also, high and full speed descriptors will be different.
238 * is initialized as if the endpoint were used at full speed and
336 * Also, high and full speed descriptors will be different.
345 * is initialized as if the endpoint were used at full speed. To prevent
/linux-4.1.27/drivers/video/fbdev/
H A Dc2p_iplan2.c21 * Perform a full C2P step on 16 8-bit pixels, stored in 4 32-bit words
45 * Store a full block of iplan2 data after c2p conversion
H A Dc2p_planar.c21 * Perform a full C2P step on 32 8-bit pixels, stored in 8 32-bit words
45 * Store a full block of planar data after c2p conversion
/linux-4.1.27/arch/mips/kernel/
H A Dsmp-cmp.c67 /* If we have an FPU, enroll ourselves in the FPU-full mask */ cmp_smp_finish()
111 /* If we have an FPU, enroll ourselves in the FPU-full mask */ cmp_smp_setup()
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h123 * the acquire/release and did a full fence all the time. Unfortunately
127 * we had to back-pedal and keep the "legacy" behavior of a full fence :-(
/linux-4.1.27/arch/alpha/lib/
H A Dmemcpy.c41 * is aligned, but we don't fill in a full quad-word
58 * aligned, but we don't fill in a full quad-word
/linux-4.1.27/arch/arc/include/asm/
H A Datomic.h47 * Explicit full memory barrier needed before/after as \
158 * Explicit full memory barrier needed before/after as \
/linux-4.1.27/kernel/locking/
H A Dmcs_spinlock.h46 * sufficient to form a full memory barrier across
48 * For applications that need a full barrier across multiple cpus
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_roce.h7 * as published by the Free Software Foundation. The full GNU General
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A DMakefile18 # The full GNU General Public License is included in this distribution in
H A Di40e_alloc.h18 * The full GNU General Public License is included in this distribution in
H A Di40e_diag.h18 * The full GNU General Public License is included in this distribution in
H A Di40e_status.h18 * The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
H A DMakefile19 # The full GNU General Public License is included in this distribution in
H A Dixgb_ids.h19 The full GNU General Public License is included in this distribution in
H A Dixgb_osdep.h19 The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A DMakefile19 # The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/media/rc/keymaps/
H A Drc-apac-viewcomp.c43 { 0x0f, KEY_ZOOM }, /* full screen */
H A Drc-asus-pc39.c61 { 0x082e, KEY_ZOOM }, /* full screen */
H A Drc-asus-ps3-100.c55 { 0x082e, KEY_ZOOM }, /* full screen */
H A Drc-avermedia-dvbt.c34 { 0x06, KEY_ZOOM }, /* 'full screen' */
H A Drc-dm1105-nec.c49 { 0x40, KEY_ZOOM}, /* full */
H A Drc-dntv-live-dvb-t.c46 { 0x18, KEY_ZOOM }, /* full screen */
H A Drc-genius-tvgo-a11mce.c43 { 0x1c, KEY_ZOOM }, /* full screen and Stop*/
H A Drc-powercolor-real-angel.c54 { 0x0f, KEY_SCREEN }, /* full screen */
H A Drc-proteus-2309.c32 { 0x20, KEY_ZOOM }, /* full screen */
/linux-4.1.27/drivers/misc/mic/card/
H A Dmic_x100.h15 * The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/misc/mic/common/
H A Dmic_dev.h15 * The full GNU General Public License is included in this distribution in
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A Diwl-spectrum.h20 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Dled.h18 * The full GNU General Public License is included in this distribution in the
H A Dpower.h21 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-devtrace.c18 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/btcoexist/
H A Dhalbt_precomp.h14 * The full GNU General Public License is included in this distribution in the
H A Drtl_btc.h14 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/
H A Dled.h18 * The full GNU General Public License is included in this distribution in the
H A Drf.h18 * The full GNU General Public License is included in this distribution in the
H A Dsw.h18 * The full GNU General Public License is included in this distribution in the
H A Dtable.h18 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/
H A Ddef.h18 * The full GNU General Public License is included in this distribution in the
H A Dled.h18 * The full GNU General Public License is included in this distribution in the
H A Drf.h18 * The full GNU General Public License is included in this distribution in the
H A Dsw.h18 * The full GNU General Public License is included in this distribution in the
H A Dtable.h18 * The full GNU General Public License is included in this distribution in the
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtl819x_BA.h13 * The full GNU General Public License is included in this distribution in the
H A Drtl819x_TS.h13 * The full GNU General Public License is included in this distribution in the

Completed in 7853 milliseconds

1234567891011>>