Searched refs:ssc_depth (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/misc/cardreader/ |
| H A D | rts5261.c | 632 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) in rts5261_pci_switch_clock() argument 700 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() 709 ssc_depth = RTS5261_SSC_DEPTH_8M; in rts5261_pci_switch_clock() 711 if (ssc_depth > 2) in rts5261_pci_switch_clock() 712 ssc_depth -= 2; in rts5261_pci_switch_clock() 714 ssc_depth = RTS5261_SSC_DEPTH_8M; in rts5261_pci_switch_clock() [all …]
|
| H A D | rtsx_pcr.c | 669 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() 682 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) in rtsx_pci_switch_clock() argument 696 ssc_depth, initial_mode, double_clk, vpclk); in rtsx_pci_switch_clock() 699 ssc_depth, initial_mode, double_clk, vpclk); in rtsx_pci_switch_clock() 702 ssc_depth, initial_mode, double_clk, vpclk); in rtsx_pci_switch_clock() 761 ssc_depth = depth[ssc_depth]; in rtsx_pci_switch_clock() [all …]
|
| H A D | rts5228.h | 166 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk);
|
| H A D | rts5261.h | 204 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk);
|
| /linux/drivers/mmc/host/ |
| H A D | rtsx_pci_sdmmc.c | 36 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()
|