Home
last modified time | relevance | path

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

/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.c639 static inline u32 test_phase_bit(u32 phase_map, unsigned int bit) in test_phase_bit() argument
642 return phase_map & (1 << bit); in test_phase_bit()
645 static int sd_get_phase_len(u32 phase_map, unsigned int start_bit) in sd_get_phase_len() argument
650 if (test_phase_bit(phase_map, start_bit + i) == 0) in sd_get_phase_len()
656 static u8 sd_search_final_phase(struct realtek_pci_sdmmc *host, u32 phase_map) in sd_search_final_phase() argument
662 if (phase_map == 0) { in sd_search_final_phase()
663 dev_err(sdmmc_dev(host), "phase error: [map:%x]\n", phase_map); in sd_search_final_phase()
668 len = sd_get_phase_len(phase_map, start); in sd_search_final_phase()
678 phase_map, len_final, final_phase); in sd_search_final_phase()
725 u8 opcode, u32 *phase_map) in sd_tuning_phase() argument
[all …]
/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 …]