Lines Matching refs:ssc_depth
599 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) in rts5228_pci_switch_clock() argument
662 ssc_depth = depth[ssc_depth]; in rts5228_pci_switch_clock()
664 ssc_depth = double_ssc_depth(ssc_depth); in rts5228_pci_switch_clock()
666 if (ssc_depth) { in rts5228_pci_switch_clock()
668 if (ssc_depth > 1) in rts5228_pci_switch_clock()
669 ssc_depth -= 1; in rts5228_pci_switch_clock()
671 ssc_depth = RTS5228_SSC_DEPTH_8M; in rts5228_pci_switch_clock()
673 if (ssc_depth > 2) in rts5228_pci_switch_clock()
674 ssc_depth -= 2; in rts5228_pci_switch_clock()
676 ssc_depth = RTS5228_SSC_DEPTH_8M; in rts5228_pci_switch_clock()
678 if (ssc_depth > 3) in rts5228_pci_switch_clock()
679 ssc_depth -= 3; in rts5228_pci_switch_clock()
681 ssc_depth = RTS5228_SSC_DEPTH_8M; in rts5228_pci_switch_clock()
684 ssc_depth = 0; in rts5228_pci_switch_clock()
686 pcr_dbg(pcr, "ssc_depth = %d\n", ssc_depth); in rts5228_pci_switch_clock()
695 SSC_DEPTH_MASK, ssc_depth); in rts5228_pci_switch_clock()