Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/misc/cardreader/
Drtsx_usb.c388 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) in revise_ssc_depth() argument
391 if (ssc_depth > div - 1) in revise_ssc_depth()
392 ssc_depth -= (div - 1); in revise_ssc_depth()
394 ssc_depth = SSC_DEPTH_2M; in revise_ssc_depth()
397 return ssc_depth; in revise_ssc_depth()
401 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) in rtsx_usb_switch_clock() argument
456 ssc_depth = double_ssc_depth(ssc_depth); in rtsx_usb_switch_clock()
458 ssc_depth = revise_ssc_depth(ssc_depth, div); in rtsx_usb_switch_clock()
459 dev_dbg(&ucr->pusb_intf->dev, "ssc_depth = %d\n", ssc_depth); in rtsx_usb_switch_clock()
467 SSC_DEPTH_MASK, ssc_depth); in rtsx_usb_switch_clock()
Drtsx_pcr.c722 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) in revise_ssc_depth() argument
725 if (ssc_depth > (div - 1)) in revise_ssc_depth()
726 ssc_depth -= (div - 1); in revise_ssc_depth()
728 ssc_depth = SSC_DEPTH_4M; in revise_ssc_depth()
731 return ssc_depth; in revise_ssc_depth()
735 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk) in rtsx_pci_switch_clock() argument
804 ssc_depth = depth[ssc_depth]; in rtsx_pci_switch_clock()
806 ssc_depth = double_ssc_depth(ssc_depth); in rtsx_pci_switch_clock()
808 ssc_depth = revise_ssc_depth(ssc_depth, div); in rtsx_pci_switch_clock()
809 pcr_dbg(pcr, "ssc_depth = %d\n", ssc_depth); in rtsx_pci_switch_clock()
[all …]
/Linux-v4.19/drivers/memstick/host/
Drtsx_pci_ms.c39 u8 ssc_depth; member
413 rtsx_pci_switch_clock(host->pcr, host->clock, host->ssc_depth, in rtsx_pci_ms_handle_req()
450 u8 ssc_depth = 0; in rtsx_pci_ms_set_param() local
473 ssc_depth = RTSX_SSC_DEPTH_500K; in rtsx_pci_ms_set_param()
481 ssc_depth = RTSX_SSC_DEPTH_1M; in rtsx_pci_ms_set_param()
492 ssc_depth, false, true, false); in rtsx_pci_ms_set_param()
496 host->ssc_depth = ssc_depth; in rtsx_pci_ms_set_param()
Drtsx_usb_ms.c47 u8 ssc_depth; member
569 u8 ssc_depth = 0; in rtsx_usb_ms_set_param() local
605 ssc_depth = SSC_DEPTH_512K; in rtsx_usb_ms_set_param()
612 ssc_depth = SSC_DEPTH_1M; in rtsx_usb_ms_set_param()
625 ssc_depth, false, true, false); in rtsx_usb_ms_set_param()
631 host->ssc_depth = ssc_depth; in rtsx_usb_ms_set_param()
/Linux-v4.19/drivers/mmc/host/
Drtsx_pci_sdmmc.c46 u8 ssc_depth; member
824 rtsx_pci_switch_clock(pcr, host->clock, host->ssc_depth, in sd_request()
1071 host->ssc_depth = RTSX_SSC_DEPTH_2M; in sdmmc_set_ios()
1078 host->ssc_depth = RTSX_SSC_DEPTH_1M; in sdmmc_set_ios()
1081 host->ssc_depth = RTSX_SSC_DEPTH_500K; in sdmmc_set_ios()
1088 rtsx_pci_switch_clock(pcr, ios->clock, host->ssc_depth, in sdmmc_set_ios()
Drtsx_usb_sdmmc.c51 u8 ssc_depth; member
1139 host->ssc_depth = SSC_DEPTH_2M; in sdmmc_set_ios()
1145 host->ssc_depth = SSC_DEPTH_1M; in sdmmc_set_ios()
1148 host->ssc_depth = SSC_DEPTH_512K; in sdmmc_set_ios()
1155 rtsx_usb_switch_clock(host->ucr, host->clock, host->ssc_depth, in sdmmc_set_ios()
/Linux-v4.19/drivers/staging/rts5208/
Drtsx_card.c637 u8 mcu_cnt, div, max_div, ssc_depth, ssc_depth_mask; in switch_ssc_clock() local
666 ssc_depth = 0x01; in switch_ssc_clock()
669 ssc_depth = 0; in switch_ssc_clock()
674 dev_dbg(rtsx_dev(chip), "ssc_depth = %d\n", ssc_depth); in switch_ssc_clock()
680 rtsx_add_cmd(chip, WRITE_REG_CMD, SSC_CTL2, ssc_depth_mask, ssc_depth); in switch_ssc_clock()
/Linux-v4.19/include/linux/
Drtsx_usb.h101 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk);
Drtsx_pci.h1321 u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk);