Home
last modified time | relevance | path

Searched refs:phase_map (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/mmc/host/
Drtsx_usb_sdmmc.c606 static inline u32 get_phase_point(u32 phase_map, unsigned int idx) in get_phase_point() argument
609 return phase_map & (1 << idx); in get_phase_point()
612 static int get_phase_len(u32 phase_map, unsigned int idx) in get_phase_len() argument
617 if (get_phase_point(phase_map, idx + i) == 0) in get_phase_len()
623 static u8 sd_search_final_phase(struct rtsx_usb_sdmmc *host, u32 phase_map) in sd_search_final_phase() argument
629 if (phase_map == 0) { in sd_search_final_phase()
630 dev_dbg(sdmmc_dev(host), "Phase: [map:%x]\n", phase_map); in sd_search_final_phase()
635 len = get_phase_len(phase_map, start); in sd_search_final_phase()
645 phase_map, len_final, final_phase); in sd_search_final_phase()
687 u8 opcode, u16 *phase_map) in sd_tuning_phase() argument
[all …]
Drtsx_pci_sdmmc.c642 static inline u32 test_phase_bit(u32 phase_map, unsigned int bit) in test_phase_bit() argument
645 return phase_map & (1 << bit); in test_phase_bit()
648 static int sd_get_phase_len(u32 phase_map, unsigned int start_bit) in sd_get_phase_len() argument
653 if (test_phase_bit(phase_map, start_bit + i) == 0) in sd_get_phase_len()
659 static u8 sd_search_final_phase(struct realtek_pci_sdmmc *host, u32 phase_map) in sd_search_final_phase() argument
665 if (phase_map == 0) { in sd_search_final_phase()
666 dev_err(sdmmc_dev(host), "phase error: [map:%x]\n", phase_map); in sd_search_final_phase()
671 len = sd_get_phase_len(phase_map, start); in sd_search_final_phase()
681 phase_map, len_final, final_phase); in sd_search_final_phase()
728 u8 opcode, u32 *phase_map) in sd_tuning_phase() argument
[all …]
Dsdhci-of-aspeed.c76 struct mmc_clk_phase_map phase_map; member
226 params = &sdhci->phase_map.phase[host->timing]; in aspeed_sdhci_configure_phase()
438 mmc_of_parse_clk_phase(host->mmc, &dev->phase_map); in aspeed_sdhci_probe()
/linux-5.19.10/drivers/staging/rts5208/
Dsd.c1612 static u8 sd_search_final_phase(struct rtsx_chip *chip, u32 phase_map, argument
1622 if (phase_map == 0xFFFFFFFF) {
1635 if (phase_map & (1 << i)) {
1736 u32 raw_phase_map[3], phase_map; local
1767 phase_map = raw_phase_map[0] & raw_phase_map[1] & raw_phase_map[2];
1772 dev_dbg(rtsx_dev(chip), "RX phase_map = 0x%08x\n", phase_map);
1774 final_phase = sd_search_final_phase(chip, phase_map, TUNE_RX);
1790 u32 phase_map; local
1798 phase_map = 0;
1816 phase_map |= 1 << i;
[all …]