Home
last modified time | relevance | path

Searched refs:swing (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/net/wireless/realtek/rtw88/
Drtw8723d.h117 #define OFDM_SWING_A(swing) FIELD_GET(GENMASK(9, 0), swing) argument
118 #define OFDM_SWING_B(swing) FIELD_GET(GENMASK(15, 10), swing) argument
119 #define OFDM_SWING_C(swing) FIELD_GET(GENMASK(21, 16), swing) argument
120 #define OFDM_SWING_D(swing) FIELD_GET(GENMASK(31, 22), swing) argument
Drtw8821c.c89 u32 swing, table_value; in rtw8821c_get_swing_index() local
91 swing = rtw_read32_mask(rtwdev, REG_TXSCALE_A, 0xffe00000); in rtw8821c_get_swing_index()
94 if (swing == table_value) in rtw8821c_get_swing_index()
Drtw8822b.c94 u32 swing, table_value; in rtw8822b_get_swing_index() local
96 swing = rtw_read32_mask(rtwdev, 0xc1c, 0xffe00000); in rtw8822b_get_swing_index()
99 if (swing == table_value) in rtw8822b_get_swing_index()
/Linux-v6.1/drivers/phy/qualcomm/
Dphy-qcom-edp.c243 u8 swing; in qcom_edp_set_voltages() local
256 swing = (*cfg->swing_hbr_rbr)[v_level][p_level]; in qcom_edp_set_voltages()
259 swing = (*cfg->swing_hbr3_hbr2)[v_level][p_level]; in qcom_edp_set_voltages()
263 if (swing == 0xff || emph == 0xff) in qcom_edp_set_voltages()
269 writel(swing, edp->tx0 + TXn_TX_DRV_LVL); in qcom_edp_set_voltages()
273 writel(swing, edp->tx1 + TXn_TX_DRV_LVL); in qcom_edp_set_voltages()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/
Ddc_link_dpia.h76 uint8_t swing : 2; member
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c492 u32 swing = 0, swing_a = 0, swing_b = 0; in phy_get_tx_swing_8812A() local
496 efuse_shadow_read(hw, 1, 0xC6, (u32 *)&swing); in phy_get_tx_swing_8812A()
497 swing = (swing == 0xFF) ? 0x00 : swing; in phy_get_tx_swing_8812A()
499 swing = 0x00; /* 0 dB */ in phy_get_tx_swing_8812A()
501 swing = 0x05; /* -3 dB */ in phy_get_tx_swing_8812A()
503 swing = 0x0A; /* -6 dB */ in phy_get_tx_swing_8812A()
505 swing = 0xFF; /* -9 dB */ in phy_get_tx_swing_8812A()
507 swing = 0x00; in phy_get_tx_swing_8812A()
511 efuse_shadow_read(hw, 1, 0xC7, (u32 *)&swing); in phy_get_tx_swing_8812A()
512 swing = (swing == 0xFF) ? 0x00 : swing; in phy_get_tx_swing_8812A()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dimx6qdl-var-dart.dtsi395 fsl,tx-swing-full = <103>;
396 fsl,tx-swing-low = <103>;
Dimx6q-ba16.dtsi346 fsl,tx-swing-full = <103>;
347 fsl,tx-swing-low = <103>;
/Linux-v6.1/drivers/gpu/drm/mediatek/
Dmtk_dp.c1391 u8 swing; in mtk_dp_train_update_swing_pre() local
1396 swing = (dpcd_adjust_req[index] >> shift) & in mtk_dp_train_update_swing_pre()
1401 val = swing << DP_TRAIN_VOLTAGE_SWING_SHIFT | in mtk_dp_train_update_swing_pre()
1404 if (swing == DP_TRAIN_VOLTAGE_SWING_LEVEL_3) in mtk_dp_train_update_swing_pre()
1409 mtk_dp_set_swing_pre_emphasis(mtk_dp, lane, swing, preemphasis); in mtk_dp_train_update_swing_pre()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dpia.c189 data.set_vspe.swing = lt_settings->hw_lane_settings[0].VOLTAGE_SWING; in dpia_build_set_config_data()
/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_init.c4163 uint16_t swing, emphasis, tx_sens, rx_sens; in qla2x00_update_fw_options() local
4183 swing = ha->fw_seriallink_options[2] & (BIT_2 | BIT_1 | BIT_0); in qla2x00_update_fw_options()
4190 ha->fw_options[10] = (emphasis << 14) | (swing << 8); in qla2x00_update_fw_options()
4201 swing = (ha->fw_seriallink_options[2] & in qla2x00_update_fw_options()
4208 ha->fw_options[11] = (emphasis << 14) | (swing << 8); in qla2x00_update_fw_options()