/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | sdhci-pci-dwc-mshc.c | 41 sdhci_writel(host, reg, (SDHC_AT_CTRL_R + vendor_ptr)); in sdhci_snps_set_clock() 49 sdhci_writel(host, reg, (SDHC_GPIO_OUT + vendor_ptr)); in sdhci_snps_set_clock() 53 sdhci_writel(host, DIV_REG_100_MHZ, SDHC_MMCM_DIV_REG); in sdhci_snps_set_clock() 54 sdhci_writel(host, CLKFBOUT_100_MHZ, in sdhci_snps_set_clock() 57 sdhci_writel(host, DIV_REG_200_MHZ, SDHC_MMCM_DIV_REG); in sdhci_snps_set_clock() 58 sdhci_writel(host, CLKFBOUT_200_MHZ, in sdhci_snps_set_clock() 65 sdhci_writel(host, reg, (SDHC_GPIO_OUT + vendor_ptr)); in sdhci_snps_set_clock()
|
D | sdhci-milbeaut.c | 67 sdhci_writel(host, ctrl, F_SDH30_IO_CONTROL2); in sdhci_milbeaut_soft_voltage_switch() 69 sdhci_writel(host, ctrl, F_SDH30_IO_CONTROL2); in sdhci_milbeaut_soft_voltage_switch() 72 sdhci_writel(host, ctrl, F_SDH30_IO_CONTROL2); in sdhci_milbeaut_soft_voltage_switch() 77 sdhci_writel(host, ctrl, F_SDH30_TUNING_SETTING); in sdhci_milbeaut_soft_voltage_switch() 120 sdhci_writel(host, ctl, F_SDH30_ESD_CONTROL); in sdhci_milbeaut_reset() 138 sdhci_writel(host, 0, MLB_SOFT_RESET); in sdhci_milbeaut_bridge_reset() 140 sdhci_writel(host, MLB_SOFT_RESET_RSTX, MLB_SOFT_RESET); in sdhci_milbeaut_bridge_reset() 169 sdhci_writel(host, val, MLB_CR_SET); in sdhci_milbeaut_bridge_init() 171 sdhci_writel(host, MLB_CDR_SET_CLK2POW16, MLB_CDR_SET); in sdhci_milbeaut_bridge_init() 173 sdhci_writel(host, MLB_WP_CD_LED_SET_LED_INV, MLB_WP_CD_LED_SET); in sdhci_milbeaut_bridge_init() [all …]
|
D | sdhci-of-esdhc.c | 522 sdhci_writel(host, dmanow, SDHCI_DMA_ADDRESS); in esdhc_of_adma_workaround() 541 sdhci_writel(host, value, ESDHC_DMA_SYSCTL); in esdhc_of_enable_dma() 593 sdhci_writel(host, val, ESDHC_SYSTEM_CONTROL); in esdhc_clock_enable() 621 sdhci_writel(host, val, ESDHC_DMA_SYSCTL); in esdhc_flush_async_fifo() 714 sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); in esdhc_of_set_clock() 738 sdhci_writel(host, temp | ESDHC_HS400_MODE, ESDHC_TBCTL); in esdhc_of_set_clock() 740 sdhci_writel(host, temp | ESDHC_CMD_CLK_CTL, ESDHC_SDCLKCTL); in esdhc_of_set_clock() 747 sdhci_writel(host, temp, ESDHC_DLLCFG0); in esdhc_of_set_clock() 750 sdhci_writel(host, temp, ESDHC_DLLCFG0); in esdhc_of_set_clock() 753 sdhci_writel(host, temp, ESDHC_DLLCFG0); in esdhc_of_set_clock() [all …]
|
D | sdhci_f_sdh30.c | 37 sdhci_writel(host, ctrl, F_SDH30_IO_CONTROL2); in sdhci_f_sdh30_soft_voltage_switch() 39 sdhci_writel(host, ctrl, F_SDH30_IO_CONTROL2); in sdhci_f_sdh30_soft_voltage_switch() 42 sdhci_writel(host, ctrl, F_SDH30_IO_CONTROL2); in sdhci_f_sdh30_soft_voltage_switch() 49 sdhci_writel(host, ctrl, F_SDH30_ESD_CONTROL); in sdhci_f_sdh30_soft_voltage_switch() 54 sdhci_writel(host, ctrl, F_SDH30_TUNING_SETTING); in sdhci_f_sdh30_soft_voltage_switch() 75 sdhci_writel(host, ctl, F_SDH30_ESD_CONTROL); in sdhci_f_sdh30_reset() 163 sdhci_writel(host, reg & ~F_SDH30_EMMC_RST, F_SDH30_ESD_CONTROL); in sdhci_f_sdh30_probe() 165 sdhci_writel(host, reg | F_SDH30_EMMC_RST, F_SDH30_ESD_CONTROL); in sdhci_f_sdh30_probe()
|
D | sdhci-xenon-phy.c | 237 sdhci_writel(host, reg, phy_regs->timing_adj); in xenon_emmc_phy_init() 353 sdhci_writel(host, reg, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll() 408 sdhci_writel(host, reg, XENON_SLOT_OP_STATUS_CTRL); in xenon_emmc_phy_config_tuning() 422 sdhci_writel(host, reg, XENON_SLOT_EMMC_CTRL); in xenon_emmc_phy_disable_strobe() 428 sdhci_writel(host, reg, XENON_EMMC_5_0_PHY_PAD_CONTROL); in xenon_emmc_phy_disable_strobe() 432 sdhci_writel(host, reg, XENON_EMMC_PHY_PAD_CONTROL1); in xenon_emmc_phy_disable_strobe() 465 sdhci_writel(host, reg, XENON_SLOT_EMMC_CTRL); in xenon_emmc_phy_strobe_delay_adj() 472 sdhci_writel(host, reg, XENON_EMMC_5_0_PHY_PAD_CONTROL); in xenon_emmc_phy_strobe_delay_adj() 477 sdhci_writel(host, reg, XENON_EMMC_PHY_PAD_CONTROL1); in xenon_emmc_phy_strobe_delay_adj() 536 sdhci_writel(host, reg, phy_regs->timing_adj); in xenon_emmc_phy_slow_mode() [all …]
|
D | sdhci-bcm-kona.c | 69 sdhci_writel(host, val, KONA_SDHOST_CORECTRL); in sdhci_bcm_kona_sd_reset() 89 sdhci_writel(host, val, KONA_SDHOST_CORECTRL); in sdhci_bcm_kona_sd_reset() 101 sdhci_writel(host, val, KONA_SDHOST_COREIMR); in sdhci_bcm_kona_sd_init() 114 sdhci_writel(host, val, KONA_SDHOST_CORECTRL); in sdhci_bcm_kona_sd_init() 149 sdhci_writel(host, val, KONA_SDHOST_CORESTAT); in sdhci_bcm_kona_sd_card_emulate() 152 sdhci_writel(host, val, KONA_SDHOST_CORESTAT); in sdhci_bcm_kona_sd_card_emulate()
|
D | sdhci-xenon.c | 31 sdhci_writel(host, reg, SDHCI_CLOCK_CONTROL); in xenon_enable_internal_clk() 65 sdhci_writel(host, reg, XENON_SYS_OP_CTRL); in xenon_set_sdclk_off_idle() 78 sdhci_writel(host, reg, XENON_SYS_OP_CTRL); in xenon_set_acg() 89 sdhci_writel(host, reg, XENON_SYS_OP_CTRL); in xenon_enable_sdhc() 107 sdhci_writel(host, reg, XENON_SYS_OP_CTRL); in xenon_disable_sdhc() 118 sdhci_writel(host, reg, XENON_SYS_EXT_OP_CTRL); in xenon_enable_sdhc_parallel_tran() 128 sdhci_writel(host, reg, XENON_SYS_EXT_OP_CTRL); in xenon_mask_cmd_conflict_err() 140 sdhci_writel(host, reg, XENON_SLOT_RETUNING_REQ_CTRL); in xenon_retune_setup() 145 sdhci_writel(host, reg, SDHCI_SIGNAL_ENABLE); in xenon_retune_setup() 148 sdhci_writel(host, reg, SDHCI_INT_ENABLE); in xenon_retune_setup() [all …]
|
D | sdhci-pci-gli.c | 127 sdhci_writel(host, wt_value, SDHCI_GLI_9750_WT); in gl9750_wt_on() 144 sdhci_writel(host, wt_value, SDHCI_GLI_9750_WT); in gl9750_wt_off() 174 sdhci_writel(host, driving_value, SDHCI_GLI_9750_DRIVING); in gli_set_9750() 179 sdhci_writel(host, sw_ctrl_value, SDHCI_GLI_9750_SW_CTRL); in gli_set_9750() 210 sdhci_writel(host, pll_value, SDHCI_GLI_9750_PLL); in gli_set_9750() 211 sdhci_writel(host, misc_value, SDHCI_GLI_9750_MISC); in gli_set_9750() 222 sdhci_writel(host, control_value, SDHCI_GLI_9750_TUNING_CONTROL); in gli_set_9750() 225 sdhci_writel(host, parameter_value, SDHCI_GLI_9750_TUNING_PARAMETERS); in gli_set_9750() 231 sdhci_writel(host, control_value, SDHCI_GLI_9750_TUNING_CONTROL); in gli_set_9750() 256 sdhci_writel(host, misc_value, SDHCI_GLI_9750_MISC); in gli_set_9750_rx_inv() [all …]
|
D | sdhci-sprd.c | 111 sdhci_writel(host, val, SDHCI_SPRD_REG_DEBOUNCE); in sdhci_sprd_init_config() 188 sdhci_writel(host, dll_dly_offset, SDHCI_SPRD_REG_32_DLL_DLY_OFFSET); in sdhci_sprd_set_dll_invert() 233 sdhci_writel(host, val, SDHCI_SPRD_REG_32_BUSY_POSI); in _sdhci_sprd_set_clock() 243 sdhci_writel(host, tmp, SDHCI_SPRD_REG_32_DLL_CFG); in sdhci_sprd_enable_phy_dll() 250 sdhci_writel(host, tmp, SDHCI_SPRD_REG_32_DLL_CFG); in sdhci_sprd_enable_phy_dll() 256 sdhci_writel(host, tmp, SDHCI_SPRD_REG_32_DLL_CFG); in sdhci_sprd_enable_phy_dll() 348 sdhci_writel(host, p[timing], SDHCI_SPRD_REG_32_DLL_DLY); in sdhci_sprd_set_uhs_signaling() 515 sdhci_writel(host, p[MMC_TIMING_MMC_HS400 + 1], in sdhci_sprd_hs400_enhanced_strobe()
|
D | sdhci-tegra.c | 347 sdhci_writel(host, reg, SDHCI_TEGRA_VENDOR_CLOCK_CTRL); in tegra_sdhci_set_tap() 399 sdhci_writel(host, misc_ctrl, SDHCI_TEGRA_VENDOR_MISC_CTRL); in tegra_sdhci_reset() 400 sdhci_writel(host, clk_ctrl, SDHCI_TEGRA_VENDOR_CLOCK_CTRL); in tegra_sdhci_reset() 406 sdhci_writel(host, pad_ctrl, SDHCI_TEGRA_SDMEM_COMP_PADCTRL); in tegra_sdhci_reset() 429 sdhci_writel(host, val, SDHCI_TEGRA_SDMEM_COMP_PADCTRL); in tegra_sdhci_configure_cal_pad() 443 sdhci_writel(host, reg, SDHCI_TEGRA_AUTO_CAL_CONFIG); in tegra_sdhci_set_pad_autocal_offset() 489 sdhci_writel(host, reg, in tegra_sdhci_set_padctrl() 551 sdhci_writel(host, reg, SDHCI_TEGRA_AUTO_CAL_CONFIG); in tegra_sdhci_pad_autocalib() 569 sdhci_writel(host, reg, SDHCI_TEGRA_AUTO_CAL_CONFIG); in tegra_sdhci_pad_autocalib() 800 sdhci_writel(host, val, SDHCI_TEGRA_VENDOR_SYS_SW_CTRL); in tegra_sdhci_hs400_enhanced_strobe() [all …]
|
D | sdhci.c | 173 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in sdhci_set_card_detection() 174 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in sdhci_set_card_detection() 270 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in sdhci_set_default_irqs() 271 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in sdhci_set_default_irqs() 569 sdhci_writel(host, scratch, SDHCI_BUFFER); in sdhci_write_block_pio() 856 sdhci_writel(host, lower_32_bits(addr), SDHCI_ADMA_ADDRESS); in sdhci_set_adma_addr() 858 sdhci_writel(host, upper_32_bits(addr), SDHCI_ADMA_ADDRESS_HI); in sdhci_set_adma_addr() 874 sdhci_writel(host, addr, SDHCI_DMA_ADDRESS); in sdhci_set_sdma_addr() 1015 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in sdhci_set_transfer_irqs() 1016 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in sdhci_set_transfer_irqs() [all …]
|
D | sdhci-pci-o2micro.c | 107 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock() 110 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock() 114 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock() 141 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock() 252 sdhci_writel(host, scratch_32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_dll_recovery() 622 sdhci_writel(host, reg, O2_SD_VENDOR_SETTING2); in sdhci_pci_o2_probe_slot()
|
D | sdhci-sirf.c | 91 sdhci_writel(host, in sdhci_sirf_execute_tuning() 125 sdhci_writel(host, in sdhci_sirf_execute_tuning()
|
D | sdhci-of-arasan.c | 353 sdhci_writel(host, vendor, SDHCI_ARASAN_VENDOR_REGISTER); in sdhci_arasan_hs400_enhanced_strobe() 794 sdhci_writel(host, regval, SDHCI_ARASAN_OTAPDLY_REGISTER); in sdhci_versal_sdcardclk_set_phase() 797 sdhci_writel(host, regval, SDHCI_ARASAN_OTAPDLY_REGISTER); in sdhci_versal_sdcardclk_set_phase() 860 sdhci_writel(host, regval, SDHCI_ARASAN_ITAPDLY_REGISTER); in sdhci_versal_sampleclk_set_phase() 862 sdhci_writel(host, regval, SDHCI_ARASAN_ITAPDLY_REGISTER); in sdhci_versal_sampleclk_set_phase() 865 sdhci_writel(host, regval, SDHCI_ARASAN_ITAPDLY_REGISTER); in sdhci_versal_sampleclk_set_phase() 867 sdhci_writel(host, regval, SDHCI_ARASAN_ITAPDLY_REGISTER); in sdhci_versal_sampleclk_set_phase()
|
D | sdhci-omap.c | 467 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in sdhci_omap_execute_tuning() 468 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in sdhci_omap_execute_tuning() 494 sdhci_writel(host, ier, SDHCI_INT_ENABLE); in sdhci_omap_card_busy() 495 sdhci_writel(host, ier, SDHCI_SIGNAL_ENABLE); in sdhci_omap_card_busy() 510 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in sdhci_omap_card_busy() 511 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in sdhci_omap_card_busy() 855 sdhci_writel(host, intmask & CMD_MASK, SDHCI_INT_STATUS); in sdhci_omap_irq()
|
D | sdhci-acpi.c | 476 sdhci_writel(host, 0x3, VENDOR_SPECIFIC_PWRCTL_CLEAR_REG); in sdhci_acpi_qcom_handler() 477 sdhci_writel(host, 0x1, VENDOR_SPECIFIC_PWRCTL_CTL_REG); in sdhci_acpi_qcom_handler() 560 sdhci_writel(host, 0x40003210, SDHCI_AMD_RESET_DLL_REGISTER); in sdhci_acpi_amd_hs400_dll() 563 sdhci_writel(host, 0x40033210, SDHCI_AMD_RESET_DLL_REGISTER); in sdhci_acpi_amd_hs400_dll()
|
D | sdhci-esdhc-mcf.c | 201 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in esdhc_mcf_reset() 202 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in esdhc_mcf_reset()
|
D | sdhci.h | 662 static inline void sdhci_writel(struct sdhci_host *host, u32 val, int reg) in sdhci_writel() function 712 static inline void sdhci_writel(struct sdhci_host *host, u32 val, int reg) in sdhci_writel() function
|
D | sdhci-esdhc-imx.c | 888 sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); in esdhc_pltfm_set_clock() 916 sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); in esdhc_pltfm_set_clock() 1248 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in esdhc_reset() 1249 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in esdhc_reset()
|
D | sdhci-of-at91.c | 123 sdhci_writel(host, calcr | SDMMC_CALCR_ALWYSON | SDMMC_CALCR_EN, in sdhci_at91_reset()
|
D | sdhci-pci-core.c | 708 sdhci_writel(host, val, INTEL_HS400_ES_REG); in intel_hs400_enhanced_strobe() 1077 sdhci_writel(host, glk_rx_ctrl1, GLK_RX_CTRL1); in glk_rpm_retune_wa()
|
D | sdhci-msm.c | 1829 sdhci_writel(host, ctrl, SDHCI_INT_ENABLE); in sdhci_msm_cqe_disable() 1830 sdhci_writel(host, SDHCI_INT_RESPONSE, SDHCI_INT_STATUS); in sdhci_msm_cqe_disable()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch | 8462 sdhci_writel(host, 0x40003210, SDHCI_AMD_RESET_DLL_REGISTER); 8465 - sdhci_writel(host, 0x40033210, SDHCI_AMD_RESET_DLL_REGISTER); 8468 + sdhci_writel(host, 0x40033210, SDHCI_AMD_RESET_DLL_REGISTER); 10885 - sdhci_writel(host, ctrl, SDHCI_INT_ENABLE); 10886 - sdhci_writel(host, SDHCI_INT_RESPONSE, SDHCI_INT_STATUS); 12045 - sdhci_writel(host, regval, SDHCI_ARASAN_OTAPDLY_REGISTER); 12048 - sdhci_writel(host, regval, SDHCI_ARASAN_OTAPDLY_REGISTER); 12111 - sdhci_writel(host, regval, SDHCI_ARASAN_ITAPDLY_REGISTER); 12113 - sdhci_writel(host, regval, SDHCI_ARASAN_ITAPDLY_REGISTER); 12116 - sdhci_writel(host, regval, SDHCI_ARASAN_ITAPDLY_REGISTER); [all …]
|
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/ |
D | hispark_taurus.patch | 29576 + sdhci_writel(host, reg, SDHCI_AT_CTRL); 29586 + sdhci_writel(host, reg, SDHCI_AT_STAT); 29667 + sdhci_writel(host, host->ier | SDHCI_INT_DATA_AVAIL, SDHCI_INT_ENABLE); 29668 + sdhci_writel(host, host->ier | SDHCI_INT_DATA_AVAIL, SDHCI_SIGNAL_ENABLE); 29682 + sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); 29683 + sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); 29783 + sdhci_writel(host, reg, SDHCI_MULTI_CYCLE); 29792 + sdhci_writel(host, reg, SDHCI_MULTI_CYCLE); 29913 + sdhci_writel(host, reg, SDHCI_EMMC_CTRL); 29928 + sdhci_writel(host, 0x0, SDHCI_EMMC_HW_RESET); [all …]
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 43809 + sdhci_writel(host, vendor, DWCMSHC_EMMC_CONTROL); 43838 + sdhci_writel(host, extra, DWCMSHC_HOST_CTRL3); 43842 + sdhci_writel(host, 0, DWCMSHC_EMMC_DLL_CTRL); 43843 + sdhci_writel(host, 0, DWCMSHC_EMMC_DLL_RXCLK); 43844 + sdhci_writel(host, 0, DWCMSHC_EMMC_DLL_TXCLK); 43849 + sdhci_writel(host, BIT(1), DWCMSHC_EMMC_DLL_CTRL); 43851 + sdhci_writel(host, 0x0, DWCMSHC_EMMC_DLL_CTRL); 43860 + sdhci_writel(host, extra, DWCMSHC_EMMC_DLL_RXCLK); 43866 + sdhci_writel(host, extra, DWCMSHC_EMMC_DLL_CTRL); 43878 + sdhci_writel(host, extra, DWCMSHC_EMMC_ATCTRL); [all …]
|