Lines Matching refs:ssc_depth
625 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) in revise_ssc_depth() argument
628 if (ssc_depth > (div - 1)) in revise_ssc_depth()
629 ssc_depth -= (div - 1); in revise_ssc_depth()
631 ssc_depth = SSC_DEPTH_4M; in revise_ssc_depth()
634 return ssc_depth; in revise_ssc_depth()
638 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) in rtsx_pci_switch_clock() argument
700 ssc_depth = depth[ssc_depth]; in rtsx_pci_switch_clock()
702 ssc_depth = double_ssc_depth(ssc_depth); in rtsx_pci_switch_clock()
704 ssc_depth = revise_ssc_depth(ssc_depth, div); in rtsx_pci_switch_clock()
705 pcr_dbg(pcr, "ssc_depth = %d\n", ssc_depth); in rtsx_pci_switch_clock()
714 SSC_DEPTH_MASK, ssc_depth); in rtsx_pci_switch_clock()