Home
last modified time | relevance | path

Searched refs:ssc_depth (Results 1 – 11 of 11) sorted by relevance

/drivers/misc/cardreader/
A Drts5228.c621 ssc_depth = depth[ssc_depth]; in rts5228_pci_switch_clock()
623 ssc_depth = double_ssc_depth(ssc_depth); in rts5228_pci_switch_clock()
625 if (ssc_depth) { in rts5228_pci_switch_clock()
627 if (ssc_depth > 1) in rts5228_pci_switch_clock()
628 ssc_depth -= 1; in rts5228_pci_switch_clock()
632 if (ssc_depth > 2) in rts5228_pci_switch_clock()
633 ssc_depth -= 2; in rts5228_pci_switch_clock()
637 if (ssc_depth > 3) in rts5228_pci_switch_clock()
638 ssc_depth -= 3; in rts5228_pci_switch_clock()
643 ssc_depth = 0; in rts5228_pci_switch_clock()
[all …]
A Drts5261.c700 ssc_depth = depth[ssc_depth]; in rts5261_pci_switch_clock()
702 ssc_depth = double_ssc_depth(ssc_depth); in rts5261_pci_switch_clock()
704 if (ssc_depth) { in rts5261_pci_switch_clock()
706 if (ssc_depth > 1) in rts5261_pci_switch_clock()
707 ssc_depth -= 1; in rts5261_pci_switch_clock()
711 if (ssc_depth > 2) in rts5261_pci_switch_clock()
712 ssc_depth -= 2; in rts5261_pci_switch_clock()
716 if (ssc_depth > 3) in rts5261_pci_switch_clock()
717 ssc_depth -= 3; in rts5261_pci_switch_clock()
722 ssc_depth = 0; in rts5261_pci_switch_clock()
[all …]
A Drts5264.c844 ssc_depth = depth[ssc_depth]; in rts5264_pci_switch_clock()
846 ssc_depth = double_ssc_depth(ssc_depth); in rts5264_pci_switch_clock()
848 if (ssc_depth) { in rts5264_pci_switch_clock()
850 if (ssc_depth > 1) in rts5264_pci_switch_clock()
851 ssc_depth -= 1; in rts5264_pci_switch_clock()
855 if (ssc_depth > 2) in rts5264_pci_switch_clock()
856 ssc_depth -= 2; in rts5264_pci_switch_clock()
860 if (ssc_depth > 3) in rts5264_pci_switch_clock()
861 ssc_depth -= 3; in rts5264_pci_switch_clock()
866 ssc_depth = 0; in rts5264_pci_switch_clock()
[all …]
A Drtsx_usb.c377 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) in revise_ssc_depth() argument
380 if (ssc_depth > div - 1) in revise_ssc_depth()
381 ssc_depth -= (div - 1); in revise_ssc_depth()
383 ssc_depth = SSC_DEPTH_2M; in revise_ssc_depth()
386 return ssc_depth; in revise_ssc_depth()
390 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) in rtsx_usb_switch_clock() argument
445 ssc_depth = double_ssc_depth(ssc_depth); in rtsx_usb_switch_clock()
447 ssc_depth = revise_ssc_depth(ssc_depth, div); in rtsx_usb_switch_clock()
448 dev_dbg(&ucr->pusb_intf->dev, "ssc_depth = %d\n", ssc_depth); in rtsx_usb_switch_clock()
456 SSC_DEPTH_MASK, ssc_depth); in rtsx_usb_switch_clock()
A Drtsx_pcr.c669 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) in revise_ssc_depth() argument
672 if (ssc_depth > (div - 1)) in revise_ssc_depth()
673 ssc_depth -= (div - 1); in revise_ssc_depth()
675 ssc_depth = SSC_DEPTH_4M; in revise_ssc_depth()
678 return ssc_depth; in revise_ssc_depth()
696 ssc_depth, initial_mode, double_clk, vpclk); in rtsx_pci_switch_clock()
761 ssc_depth = depth[ssc_depth]; in rtsx_pci_switch_clock()
763 ssc_depth = double_ssc_depth(ssc_depth); in rtsx_pci_switch_clock()
765 ssc_depth = revise_ssc_depth(ssc_depth, div); in rtsx_pci_switch_clock()
766 pcr_dbg(pcr, "ssc_depth = %d\n", ssc_depth); in rtsx_pci_switch_clock()
[all …]
A Drts5228.h166 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk);
A Drts5261.h204 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk);
A Drts5264.h282 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk);
/drivers/memstick/host/
A Drtsx_usb_ms.c34 u8 ssc_depth; member
557 u8 ssc_depth = 0; in rtsx_usb_ms_set_param() local
593 ssc_depth = SSC_DEPTH_512K; in rtsx_usb_ms_set_param()
600 ssc_depth = SSC_DEPTH_1M; in rtsx_usb_ms_set_param()
613 ssc_depth, false, true, false); in rtsx_usb_ms_set_param()
619 host->ssc_depth = ssc_depth; in rtsx_usb_ms_set_param()
/drivers/mmc/host/
A Drtsx_pci_sdmmc.c36 u8 ssc_depth; member
824 rtsx_pci_switch_clock(pcr, host->clock, host->ssc_depth, in sd_request()
1111 host->ssc_depth = RTSX_SSC_DEPTH_2M; in sdmmc_set_ios()
1118 host->ssc_depth = RTSX_SSC_DEPTH_1M; in sdmmc_set_ios()
1121 host->ssc_depth = RTSX_SSC_DEPTH_500K; in sdmmc_set_ios()
1128 rtsx_pci_switch_clock(pcr, ios->clock, host->ssc_depth, in sdmmc_set_ios()
A Drtsx_usb_sdmmc.c41 u8 ssc_depth; member
1133 host->ssc_depth = SSC_DEPTH_2M; in sdmmc_set_ios()
1139 host->ssc_depth = SSC_DEPTH_1M; in sdmmc_set_ios()
1142 host->ssc_depth = SSC_DEPTH_512K; in sdmmc_set_ios()
1149 rtsx_usb_switch_clock(host->ucr, host->clock, host->ssc_depth, in sdmmc_set_ios()

Completed in 773 milliseconds