Lines Matching refs:ssc_depth
630 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) in revise_ssc_depth() argument
633 if (ssc_depth > (div - 1)) in revise_ssc_depth()
634 ssc_depth -= (div - 1); in revise_ssc_depth()
636 ssc_depth = SSC_DEPTH_4M; in revise_ssc_depth()
639 return ssc_depth; in revise_ssc_depth()
643 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) in rtsx_pci_switch_clock() argument
705 ssc_depth = depth[ssc_depth]; in rtsx_pci_switch_clock()
707 ssc_depth = double_ssc_depth(ssc_depth); in rtsx_pci_switch_clock()
709 ssc_depth = revise_ssc_depth(ssc_depth, div); in rtsx_pci_switch_clock()
710 pcr_dbg(pcr, "ssc_depth = %d\n", ssc_depth); in rtsx_pci_switch_clock()
719 SSC_DEPTH_MASK, ssc_depth); in rtsx_pci_switch_clock()