Lines Matching full:bandwidth

518  * Used for display watermark bandwidth calculations
550 u32 yclk; /* bandwidth per dram data pin in kHz */
565 * dce_v6_0_dram_bandwidth - get the dram bandwidth
569 * Calculate the raw dram bandwidth (CIK).
570 * Used for display watermark bandwidth calculations
571 * Returns the dram bandwidth in MBytes/s
575 /* Calculate raw DRAM Bandwidth */ in dce_v6_0_dram_bandwidth()
577 fixed20_12 yclk, dram_channels, bandwidth; in dce_v6_0_dram_bandwidth() local
587 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth()
588 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth()
590 return dfixed_trunc(bandwidth); in dce_v6_0_dram_bandwidth()
594 * dce_v6_0_dram_bandwidth_for_display - get the dram bandwidth for display
598 * Calculate the dram bandwidth used for display (CIK).
599 * Used for display watermark bandwidth calculations
600 * Returns the dram bandwidth for display in MBytes/s
604 /* Calculate DRAM Bandwidth and the part allocated to display. */ in dce_v6_0_dram_bandwidth_for_display()
606 fixed20_12 yclk, dram_channels, bandwidth; in dce_v6_0_dram_bandwidth_for_display() local
616 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display()
617 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v6_0_dram_bandwidth_for_display()
619 return dfixed_trunc(bandwidth); in dce_v6_0_dram_bandwidth_for_display()
623 * dce_v6_0_data_return_bandwidth - get the data return bandwidth
627 * Calculate the data return bandwidth used for display (CIK).
628 * Used for display watermark bandwidth calculations
629 * Returns the data return bandwidth in MBytes/s
633 /* Calculate the display Data return Bandwidth */ in dce_v6_0_data_return_bandwidth()
635 fixed20_12 sclk, bandwidth; in dce_v6_0_data_return_bandwidth() local
645 bandwidth.full = dfixed_mul(a, sclk); in dce_v6_0_data_return_bandwidth()
646 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v6_0_data_return_bandwidth()
648 return dfixed_trunc(bandwidth); in dce_v6_0_data_return_bandwidth()
652 * dce_v6_0_dmif_request_bandwidth - get the dmif bandwidth
656 * Calculate the dmif bandwidth used for display (CIK).
657 * Used for display watermark bandwidth calculations
658 * Returns the dmif bandwidth in MBytes/s
662 /* Calculate the DMIF Request Bandwidth */ in dce_v6_0_dmif_request_bandwidth()
664 fixed20_12 disp_clk, bandwidth; in dce_v6_0_dmif_request_bandwidth() local
677 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v6_0_dmif_request_bandwidth()
679 return dfixed_trunc(bandwidth); in dce_v6_0_dmif_request_bandwidth()
683 * dce_v6_0_available_bandwidth - get the min available bandwidth
687 * Calculate the min available bandwidth used for display (CIK).
688 * Used for display watermark bandwidth calculations
689 * Returns the min available bandwidth in MBytes/s
693 /* Calculate the Available bandwidth. Display can use this temporarily but not in average. */ in dce_v6_0_available_bandwidth()
702 * dce_v6_0_average_bandwidth - get the average available bandwidth
706 * Calculate the average available bandwidth used for display (CIK).
707 * Used for display watermark bandwidth calculations
708 * Returns the average available bandwidth in MBytes/s
712 /* Calculate the display mode Average Bandwidth in dce_v6_0_average_bandwidth()
719 fixed20_12 bandwidth; in dce_v6_0_average_bandwidth() local
727 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth()
728 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth()
729 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v6_0_average_bandwidth()
731 return dfixed_trunc(bandwidth); in dce_v6_0_average_bandwidth()
740 * Used for display watermark bandwidth calculations
795 * average and available dram bandwidth
799 * Check if the display average bandwidth fits in the display
800 * dram bandwidth (CIK).
801 * Used for display watermark bandwidth calculations
815 * average and available bandwidth
819 * Check if the display average bandwidth fits in the display
820 * available bandwidth (CIK).
821 * Used for display watermark bandwidth calculations
839 * Used for display watermark bandwidth calculations