/linux-4.4.14/drivers/mfd/ |
H A D | rtsx_usb.c | 388 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) revise_ssc_depth() argument 391 if (ssc_depth > div - 1) revise_ssc_depth() 392 ssc_depth -= (div - 1); revise_ssc_depth() 394 ssc_depth = SSC_DEPTH_2M; revise_ssc_depth() 397 return ssc_depth; revise_ssc_depth() 401 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) rtsx_usb_switch_clock() 456 ssc_depth = double_ssc_depth(ssc_depth); rtsx_usb_switch_clock() 458 ssc_depth = revise_ssc_depth(ssc_depth, div); rtsx_usb_switch_clock() 459 dev_dbg(&ucr->pusb_intf->dev, "ssc_depth = %d\n", ssc_depth); rtsx_usb_switch_clock() 467 SSC_DEPTH_MASK, ssc_depth); rtsx_usb_switch_clock() 400 rtsx_usb_switch_clock(struct rtsx_ucr *ucr, unsigned int card_clock, u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) rtsx_usb_switch_clock() argument
|
H A D | rtsx_pcr.c | 625 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) revise_ssc_depth() argument 628 if (ssc_depth > (div - 1)) revise_ssc_depth() 629 ssc_depth -= (div - 1); revise_ssc_depth() 631 ssc_depth = SSC_DEPTH_4M; revise_ssc_depth() 634 return ssc_depth; revise_ssc_depth() 638 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) rtsx_pci_switch_clock() 700 ssc_depth = depth[ssc_depth]; rtsx_pci_switch_clock() 702 ssc_depth = double_ssc_depth(ssc_depth); rtsx_pci_switch_clock() 704 ssc_depth = revise_ssc_depth(ssc_depth, div); rtsx_pci_switch_clock() 705 pcr_dbg(pcr, "ssc_depth = %d\n", ssc_depth); rtsx_pci_switch_clock() 714 SSC_DEPTH_MASK, ssc_depth); rtsx_pci_switch_clock() 637 rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock, u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) rtsx_pci_switch_clock() argument
|
/linux-4.4.14/drivers/memstick/host/ |
H A D | rtsx_pci_ms.c | 39 u8 ssc_depth; member in struct:realtek_pci_ms 413 rtsx_pci_switch_clock(host->pcr, host->clock, host->ssc_depth, rtsx_pci_ms_handle_req() 450 u8 ssc_depth = 0; rtsx_pci_ms_set_param() local 473 ssc_depth = RTSX_SSC_DEPTH_500K; rtsx_pci_ms_set_param() 481 ssc_depth = RTSX_SSC_DEPTH_1M; rtsx_pci_ms_set_param() 492 ssc_depth, false, true, false); rtsx_pci_ms_set_param() 496 host->ssc_depth = ssc_depth; rtsx_pci_ms_set_param()
|
H A D | rtsx_usb_ms.c | 47 u8 ssc_depth; member in struct:rtsx_usb_ms 567 u8 ssc_depth = 0; rtsx_usb_ms_set_param() local 602 ssc_depth = SSC_DEPTH_512K; rtsx_usb_ms_set_param() 609 ssc_depth = SSC_DEPTH_1M; rtsx_usb_ms_set_param() 622 ssc_depth, false, true, false); rtsx_usb_ms_set_param() 628 host->ssc_depth = ssc_depth; rtsx_usb_ms_set_param()
|
/linux-4.4.14/drivers/staging/rts5208/ |
H A D | rtsx_card.c | 640 u8 mcu_cnt, div, max_div, ssc_depth, ssc_depth_mask; switch_ssc_clock() local 670 ssc_depth = 0x01; switch_ssc_clock() 673 ssc_depth = 0; switch_ssc_clock() 678 dev_dbg(rtsx_dev(chip), "ssc_depth = %d\n", ssc_depth); switch_ssc_clock() local 684 rtsx_add_cmd(chip, WRITE_REG_CMD, SSC_CTL2, ssc_depth_mask, ssc_depth); switch_ssc_clock()
|
/linux-4.4.14/drivers/mmc/host/ |
H A D | rtsx_pci_sdmmc.c | 47 u8 ssc_depth; member in struct:realtek_pci_sdmmc 828 rtsx_pci_switch_clock(pcr, host->clock, host->ssc_depth, sd_request() 1075 host->ssc_depth = RTSX_SSC_DEPTH_2M; sdmmc_set_ios() 1082 host->ssc_depth = RTSX_SSC_DEPTH_1M; sdmmc_set_ios() 1085 host->ssc_depth = RTSX_SSC_DEPTH_500K; sdmmc_set_ios() 1092 rtsx_pci_switch_clock(pcr, ios->clock, host->ssc_depth, sdmmc_set_ios()
|
H A D | rtsx_usb_sdmmc.c | 52 u8 ssc_depth; member in struct:rtsx_usb_sdmmc 1156 host->ssc_depth = SSC_DEPTH_2M; sdmmc_set_ios() 1162 host->ssc_depth = SSC_DEPTH_1M; sdmmc_set_ios() 1165 host->ssc_depth = SSC_DEPTH_512K; sdmmc_set_ios() 1172 rtsx_usb_switch_clock(host->ucr, host->clock, host->ssc_depth, sdmmc_set_ios()
|
/linux-4.4.14/include/linux/mfd/ |
H A D | rtsx_usb.h | 101 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk);
|
H A D | rtsx_pci.h | 1005 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk);
|