Home
last modified time | relevance | path

Searched refs:swing_index (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Drtw8821c.c1056 u8 swing_index = dm_info->default_ofdm_index; in rtw8821c_txagc_swing_offset() local
1064 swing_index = dm_info->default_ofdm_index; in rtw8821c_txagc_swing_offset()
1067 swing_index = dm_info->default_ofdm_index + in rtw8821c_txagc_swing_offset()
1069 swing_index = min_t(u8, swing_index, swing_upper_bound); in rtw8821c_txagc_swing_offset()
1074 swing_index = dm_info->default_ofdm_index; in rtw8821c_txagc_swing_offset()
1078 swing_index = dm_info->default_ofdm_index + in rtw8821c_txagc_swing_offset()
1081 swing_index = swing_lower_bound; in rtw8821c_txagc_swing_offset()
1087 if (swing_index >= ARRAY_SIZE(rtw8821c_txscale_tbl)) { in rtw8821c_txagc_swing_offset()
1089 swing_index = ARRAY_SIZE(rtw8821c_txscale_tbl) - 1; in rtw8821c_txagc_swing_offset()
1093 *swing_idx = swing_index; in rtw8821c_txagc_swing_offset()
Drtw8822b.c1398 u8 swing_index = dm_info->default_ofdm_index; in rtw8822b_txagc_swing_offset() local
1405 swing_index = dm_info->default_ofdm_index; in rtw8822b_txagc_swing_offset()
1408 swing_index = dm_info->default_ofdm_index + in rtw8822b_txagc_swing_offset()
1410 swing_index = min_t(u8, swing_index, swing_upper_bound); in rtw8822b_txagc_swing_offset()
1414 swing_index = in rtw8822b_txagc_swing_offset()
1417 swing_index = swing_lower_bound; in rtw8822b_txagc_swing_offset()
1418 swing_index = max_t(u8, swing_index, swing_lower_bound); in rtw8822b_txagc_swing_offset()
1423 if (swing_index >= RTW_TXSCALE_SIZE) { in rtw8822b_txagc_swing_offset()
1425 swing_index = RTW_TXSCALE_SIZE - 1; in rtw8822b_txagc_swing_offset()
1428 *swing_idx = swing_index; in rtw8822b_txagc_swing_offset()