Lines Matching refs:ssc_depth
722 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) in revise_ssc_depth() argument
725 if (ssc_depth > (div - 1)) in revise_ssc_depth()
726 ssc_depth -= (div - 1); in revise_ssc_depth()
728 ssc_depth = SSC_DEPTH_4M; in revise_ssc_depth()
731 return ssc_depth; in revise_ssc_depth()
735 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) in rtsx_pci_switch_clock() argument
804 ssc_depth = depth[ssc_depth]; in rtsx_pci_switch_clock()
806 ssc_depth = double_ssc_depth(ssc_depth); in rtsx_pci_switch_clock()
808 ssc_depth = revise_ssc_depth(ssc_depth, div); in rtsx_pci_switch_clock()
809 pcr_dbg(pcr, "ssc_depth = %d\n", ssc_depth); in rtsx_pci_switch_clock()
818 SSC_DEPTH_MASK, ssc_depth); in rtsx_pci_switch_clock()