Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/ufs/host/
Dufs-hisi.c148 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0xD0C1, 0x0), 0x1); in ufs_hisi_link_startup_pre_change()
150 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x156A, 0x0), 0x2); in ufs_hisi_link_startup_pre_change()
152 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x8114, 0x0), 0x1); in ufs_hisi_link_startup_pre_change()
154 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x8121, 0x0), 0x2D); in ufs_hisi_link_startup_pre_change()
156 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x8122, 0x0), 0x1); in ufs_hisi_link_startup_pre_change()
160 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x8127, 0x0), 0x98); in ufs_hisi_link_startup_pre_change()
162 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x8128, 0x0), 0x1); in ufs_hisi_link_startup_pre_change()
166 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0xD085, 0x0), 0x1); in ufs_hisi_link_startup_pre_change()
168 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x800D, 0x4), 0x58); in ufs_hisi_link_startup_pre_change()
170 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x800D, 0x5), 0x58); in ufs_hisi_link_startup_pre_change()
[all …]
Dufs-exynos.c235 ufshcd_dme_set(hba, UIC_ARG_MIB(0x200), 0x40); in exynosauto_ufs_pre_link()
237 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_RX_CLK_PRD, i), in exynosauto_ufs_pre_link()
239 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_RX_CLK_PRD_EN, i), 0x0); in exynosauto_ufs_pre_link()
241 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_RX_LINERESET_VALUE2, i), in exynosauto_ufs_pre_link()
243 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_RX_LINERESET_VALUE1, i), in exynosauto_ufs_pre_link()
245 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_RX_LINERESET_VALUE0, i), in exynosauto_ufs_pre_link()
248 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x2f, i), 0x79); in exynosauto_ufs_pre_link()
249 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x84, i), 0x1); in exynosauto_ufs_pre_link()
250 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(0x25, i), 0xf6); in exynosauto_ufs_pre_link()
254 ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_TX_CLK_PRD, i), in exynosauto_ufs_pre_link()
[all …]
Dcdns-pltfrm.c76 ufshcd_dme_set(hba, UIC_ARG_MIB(T_CONNECTIONSTATE), 0); in cdns_ufs_set_l4_attr()
77 ufshcd_dme_set(hba, UIC_ARG_MIB(T_PEERDEVICEID), in cdns_ufs_set_l4_attr()
79 ufshcd_dme_set(hba, UIC_ARG_MIB(T_PEERCPORTID), in cdns_ufs_set_l4_attr()
81 ufshcd_dme_set(hba, UIC_ARG_MIB(T_TRAFFICCLASS), in cdns_ufs_set_l4_attr()
83 ufshcd_dme_set(hba, UIC_ARG_MIB(T_PROTOCOLID), in cdns_ufs_set_l4_attr()
85 ufshcd_dme_set(hba, UIC_ARG_MIB(T_CPORTFLAGS), in cdns_ufs_set_l4_attr()
87 ufshcd_dme_set(hba, UIC_ARG_MIB(T_TXTOKENVALUE), in cdns_ufs_set_l4_attr()
89 ufshcd_dme_set(hba, UIC_ARG_MIB(T_RXTOKENVALUE), in cdns_ufs_set_l4_attr()
91 ufshcd_dme_set(hba, UIC_ARG_MIB(T_LOCALBUFFERSPACE), in cdns_ufs_set_l4_attr()
93 ufshcd_dme_set(hba, UIC_ARG_MIB(T_PEERBUFFERSPACE), in cdns_ufs_set_l4_attr()
[all …]
Dufs-exynos.h252 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_DBG_OV_TM), true); in exynos_ufs_enable_ov_tm()
257 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_DBG_OV_TM), false); in exynos_ufs_disable_ov_tm()
262 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_DBG_MODE), true); in exynos_ufs_enable_dbg_mode()
267 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_DBG_MODE), false); in exynos_ufs_disable_dbg_mode()
Dufs-mediatek.c126 ufshcd_dme_set(hba, in ufs_mtk_cfg_unipro_cg()
132 ufshcd_dme_set(hba, in ufs_mtk_cfg_unipro_cg()
140 ufshcd_dme_set(hba, in ufs_mtk_cfg_unipro_cg()
146 ufshcd_dme_set(hba, in ufs_mtk_cfg_unipro_cg()
978 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_TXTERMINATION), true); in ufs_mtk_pre_pwr_change()
979 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_TXGEAR), UFS_HS_G1); in ufs_mtk_pre_pwr_change()
981 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_RXTERMINATION), true); in ufs_mtk_pre_pwr_change()
982 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_RXGEAR), UFS_HS_G1); in ufs_mtk_pre_pwr_change()
984 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_ACTIVETXDATALANES), in ufs_mtk_pre_pwr_change()
986 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_ACTIVERXDATALANES), in ufs_mtk_pre_pwr_change()
[all …]
Dtc-dwc-g210.c273 ret = ufshcd_dme_set(hba, UIC_ARG_MIB(VS_MPHYCFGUPDT), 0x01); in tc_dwc_g210_config_40_bit()
278 ret = ufshcd_dme_set(hba, UIC_ARG_MIB(VS_DEBUGOMC), 0x01); in tc_dwc_g210_config_40_bit()
305 ret = ufshcd_dme_set(hba, UIC_ARG_MIB(VS_MPHYCFGUPDT), 0x01); in tc_dwc_g210_config_20_bit()
310 ret = ufshcd_dme_set(hba, UIC_ARG_MIB(VS_DEBUGOMC), 0x01); in tc_dwc_g210_config_20_bit()
Dufs-qcom.c779 err = ufshcd_dme_set(hba, UIC_ARG_MIB(PA_VS_CONFIG_REG1), in ufs_qcom_quirk_host_pa_saveconfigtime()
1096 err = ufshcd_dme_set(hba, in ufs_qcom_set_dme_vs_core_clk_ctrl_clear_div()
1137 err = ufshcd_dme_set(hba, in ufs_qcom_clk_scale_down_pre_change()
/linux-6.1.9/drivers/ufs/core/
Dufshcd.c3841 ret = ufshcd_dme_set(hba, in ufshcd_dme_configure_adapt()
4133 ret = ufshcd_dme_set(hba, in ufshcd_uic_change_pwr_mode()
4376 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_RXGEAR), pwr_mode->gear_rx); in ufshcd_change_power_mode()
4377 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_ACTIVERXDATALANES), in ufshcd_change_power_mode()
4381 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_RXTERMINATION), true); in ufshcd_change_power_mode()
4383 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_RXTERMINATION), false); in ufshcd_change_power_mode()
4385 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_TXGEAR), pwr_mode->gear_tx); in ufshcd_change_power_mode()
4386 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_ACTIVETXDATALANES), in ufshcd_change_power_mode()
4390 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_TXTERMINATION), true); in ufshcd_change_power_mode()
4392 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_TXTERMINATION), false); in ufshcd_change_power_mode()
[all …]
/linux-6.1.9/include/ufs/
Dufshcd.h1127 static inline int ufshcd_dme_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_set() function
1177 return ufshcd_dme_set(hba, UIC_ARG_MIB(PA_LOCAL_TX_LCC_ENABLE), 0); in ufshcd_disable_host_tx_lcc()