/linux-6.3-rc2/drivers/staging/rtl8723bs/ |
A D | Makefile | 20 hal/hal_intf.o \ 21 hal/hal_com.o \ 23 hal/hal_btcoex.o \ 24 hal/hal_sdio.o \ 25 hal/hal_pwr_seq.o \ 26 hal/HalPhyRf.o \ 27 hal/HalPwrSeqCmd.o \ 28 hal/odm.o \ 30 hal/odm_DIG.o \ 37 hal/rtl8723b_dm.o \ [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/ |
A D | chan.c | 111 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_assign_entity_chan() local 129 struct rtw89_hal *hal = &rtwdev->hal; in __rtw89_config_entity_chandef() local 131 hal->sub[idx].chandef = *chandef; in __rtw89_config_entity_chandef() 134 set_bit(idx, hal->entity_map); in __rtw89_config_entity_chandef() 154 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_entity_init() local 162 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_entity_recalc() local 187 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_chanctx_ops_add() local 199 hal->sub[idx].cfg = cfg; in rtw89_chanctx_ops_add() 206 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_chanctx_ops_remove() local 225 hal->sub[RTW89_SUB_ENTITY_0] = hal->sub[roll]; in rtw89_chanctx_ops_remove() [all …]
|
A D | chan.h | 12 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_get_entity_state() local 14 return READ_ONCE(hal->entity_active); in rtw89_get_entity_state() 19 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_set_entity_state() local 21 WRITE_ONCE(hal->entity_active, active); in rtw89_set_entity_state() 27 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_get_entity_mode() local 29 return READ_ONCE(hal->entity_mode); in rtw89_get_entity_mode() 35 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_set_entity_mode() local 37 WRITE_ONCE(hal->entity_mode, mode); in rtw89_set_entity_mode()
|
A D | mac80211.c | 219 rtwdev->hal.rx_fltr |= B_AX_A_MC; in rtw89_ops_configure_filter() 240 rtwdev->hal.rx_fltr |= B_AX_A_BC; in rtw89_ops_configure_filter() 257 rtwdev->hal.rx_fltr); in rtw89_ops_configure_filter() 263 rtwdev->hal.rx_fltr); in rtw89_ops_configure_filter() 737 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_ops_set_antenna() local 743 hal->antenna_tx = tx_ant; in rtw89_ops_set_antenna() 744 hal->antenna_rx = rx_ant; in rtw89_ops_set_antenna() 745 hal->tx_path_diversity = false; in rtw89_ops_set_antenna() 755 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_ops_get_antenna() local 757 *tx_ant = hal->antenna_tx; in rtw89_ops_get_antenna() [all …]
|
A D | efuse.c | 50 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_enable_efuse_pwr_cut_ddv() local 62 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_enable_efuse_pwr_cut_ddv() 69 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_disable_efuse_pwr_cut_ddv() local 74 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_disable_efuse_pwr_cut_ddv()
|
A D | core.c | 583 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_core_get_no_ul_ofdma_htc() local 2700 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_init_ht_cap() local 2701 u8 nss = hal->rx_nss; in rtw89_init_ht_cap() 2734 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_init_vht_cap() local 2740 if (i < hal->tx_nss) in rtw89_init_vht_cap() 2744 if (i < hal->rx_nss) in rtw89_init_vht_cap() 2778 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_init_he_cap() local 2784 int nss = hal->rx_nss; in rtw89_init_he_cap() 3252 rtwdev->hal.cv = cv; in rtw89_read_chip_ver() 3257 rtwdev->hal.support_cckpd = in rtw89_core_setup_phycap() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/ |
A D | hal.c | 195 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp() local 209 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp() local 217 hal->rdp.vaddr, hal->rdp.paddr); in ath11k_hal_free_cont_rdp() 223 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_wrp() local 237 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_wrp() local 245 hal->wrp.vaddr, hal->wrp.paddr); in ath11k_hal_free_cont_wrp() 270 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_srng_dst_hw_init() local 349 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_srng_src_hw_init() local 949 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_srng_setup() local 1075 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_srng_update_hp_tp_addr() local [all …]
|
A D | dbring.c | 51 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_bufs_replenish() 115 srng = &ar->ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_fill_bufs() 206 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_buf_setup() 323 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_buffer_release_event()
|
A D | hal_rx.c | 47 static int ath11k_hal_reo_cmd_flush_cache(struct ath11k_hal *hal, struct hal_tlv_hdr *tlv, in ath11k_hal_reo_cmd_flush_cache() argument 51 u8 avail_slot = ffz(hal->avail_blk_resource); in ath11k_hal_reo_cmd_flush_cache() 57 hal->current_blk_index = avail_slot; in ath11k_hal_reo_cmd_flush_cache() 239 ret = ath11k_hal_reo_cmd_flush_cache(&ab->hal, reo_desc, cmd); in ath11k_hal_reo_cmd_send() 529 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_reo_flush_cache_status() local 548 hal->avail_blk_resource |= BIT(hal->current_blk_index); in ath11k_hal_reo_flush_cache_status() 571 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_reo_unblk_cache_status() local 593 hal->avail_blk_resource &= ~BIT(hal->current_blk_index); in ath11k_hal_reo_unblk_cache_status()
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/ |
A D | hal.c | 521 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_srng_create_config_qcn9274() local 961 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_srng_create_config_wcn7850() local 1181 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_alloc_cont_rdp() local 1195 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_free_cont_rdp() local 1209 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_alloc_cont_wrp() local 1223 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_free_cont_wrp() local 1256 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_srng_dst_hw_init() local 1332 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_srng_src_hw_init() local 1890 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_srng_setup() local 2012 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_srng_update_hp_tp_addr() local [all …]
|
A D | hal_rx.c | 48 static int ath12k_hal_reo_cmd_flush_cache(struct ath12k_hal *hal, in ath12k_hal_reo_cmd_flush_cache() argument 53 u8 avail_slot = ffz(hal->avail_blk_resource); in ath12k_hal_reo_cmd_flush_cache() 59 hal->current_blk_index = avail_slot; in ath12k_hal_reo_cmd_flush_cache() 241 ret = ath12k_hal_reo_cmd_flush_cache(&ab->hal, reo_desc, cmd); in ath12k_hal_reo_cmd_send() 545 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_reo_flush_cache_status() local 563 hal->avail_blk_resource |= BIT(hal->current_blk_index); in ath12k_hal_reo_flush_cache_status() 586 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_reo_unblk_cache_status() local 607 hal->avail_blk_resource &= ~BIT(hal->current_blk_index); in ath12k_hal_reo_unblk_cache_status()
|
A D | dbring.c | 23 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath12k_dbring_bufs_replenish() 86 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath12k_dbring_fill_bufs() 171 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath12k_dbring_buf_setup() 286 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath12k_dbring_buffer_release_event()
|
A D | Makefile | 4 hal.o \
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | phy.c | 230 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_dig_write() local 897 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_read_rf() local 920 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_read_rf_sipi() local 969 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_write_rf_reg_sipi() local 1009 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_write_rf_reg() local 1042 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_setup_phy_cond() local 1071 struct rtw_hal *hal = &rtwdev->hal; in check_positive() local 1452 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_store_tx_power_by_rate() local 1532 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_set_tx_power_limit() local 1567 struct rtw_hal *hal = &rtwdev->hal; in rtw_xref_5g_txpwr_lmt() local [all …]
|
A D | sar.c | 11 const struct rtw_hal *hal = &rtwdev->hal; in rtw_query_sar() local 12 const struct rtw_sar *sar = &hal->sar; in rtw_query_sar() 27 struct rtw_hal *hal = &rtwdev->hal; in rtw_apply_sar() local 28 struct rtw_sar *sar = &hal->sar; in rtw_apply_sar() 36 rtw_phy_set_tx_power_level(rtwdev, hal->current_channel); in rtw_apply_sar() 44 struct rtw_hal *hal = &rtwdev->hal; in rtw_sar_to_phy() local 52 hal->tx_pwr_by_rate_base_2g[arg->path][arg->rs] : in rtw_sar_to_phy() 53 hal->tx_pwr_by_rate_base_5g[arg->path][arg->rs]; in rtw_sar_to_phy()
|
A D | main.c | 685 struct rtw_hal *hal = &rtwdev->hal; in rtw_update_channel() local 816 struct rtw_hal *hal = &rtwdev->hal; in rtw_set_channel() local 925 struct rtw_hal *hal = &rtwdev->hal; in rtw_hw_config_rf_ant_num() local 936 hal->rf_phy_num = hal->rf_path_num; in rtw_hw_config_rf_ant_num() 1111 struct rtw_hal *hal = &rtwdev->hal; in rtw_rate_mask_cfg() local 1156 struct rtw_hal *hal = &rtwdev->hal; in rtw_update_sta_info() local 1657 struct rtw_hal *hal = &rtwdev->hal; in rtw_set_txrx_1ss() local 1780 struct rtw_hal *hal = &rtwdev->hal; in rtw_chip_parameter_setup() local 1798 hal->cut_version = BIT_GET_CHIP_VER(hal->chip_version); in rtw_chip_parameter_setup() 1976 struct rtw_hal *hal = &rtwdev->hal; in rtw_chip_board_info_setup() local [all …]
|
A D | rtw8822b.c | 144 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_phy_set_param() local 282 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rfe_efem() local 300 } else if (hal->antenna_rx == hal->antenna_tx) { in rtw8822b_set_channel_rfe_efem() 311 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rfe_ifem() local 414 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_cca() local 503 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rf() local 567 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_toggle_igi() local 578 hal->antenna_rx | (hal->antenna_rx << 4)); in rtw8822b_toggle_igi() 971 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_tx_power_index_by_rate() local 993 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_tx_power_index() local [all …]
|
A D | mac80211.c | 276 rtwdev->hal.rcr |= BIT_AM | BIT_AB; in rtw_ops_configure_filter() 278 rtwdev->hal.rcr &= ~(BIT_AM | BIT_AB); in rtw_ops_configure_filter() 282 rtwdev->hal.rcr |= BIT_ACRC32; in rtw_ops_configure_filter() 284 rtwdev->hal.rcr &= ~(BIT_ACRC32); in rtw_ops_configure_filter() 288 rtwdev->hal.rcr |= BIT_AAP; in rtw_ops_configure_filter() 290 rtwdev->hal.rcr &= ~(BIT_AAP); in rtw_ops_configure_filter() 296 rtwdev->hal.rcr |= BIT_CBSSID_BCN; in rtw_ops_configure_filter() 624 struct rtw_hal *hal = &rtwdev->hal; in rtw_ops_can_aggregate_in_amsdu() local 779 struct rtw_hal *hal = &rtwdev->hal; in rtw_ops_get_antenna() local 781 *tx_antenna = hal->antenna_tx; in rtw_ops_get_antenna() [all …]
|
A D | debug.c | 530 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw_debug_get_rf_dump() 633 struct rtw_hal *hal = &rtwdev->hal; in rtw_debugfs_get_tx_pwr_tbl() local 638 bw = hal->current_band_width; in rtw_debugfs_get_tx_pwr_tbl() 639 ch = hal->current_channel; in rtw_debugfs_get_tx_pwr_tbl() 648 mutex_lock(&hal->tx_power_mutex); in rtw_debugfs_get_tx_pwr_tbl() 651 if (hal->current_band_type == RTW_BAND_5G) in rtw_debugfs_get_tx_pwr_tbl() 669 hal->tx_pwr_tbl[path][rate], in rtw_debugfs_get_tx_pwr_tbl() 670 hal->tx_pwr_tbl[path][rate], in rtw_debugfs_get_tx_pwr_tbl() 681 mutex_unlock(&hal->tx_power_mutex); in rtw_debugfs_get_tx_pwr_tbl() 691 struct rtw_hal *hal = &rtwdev->hal; in rtw_debugfs_get_simple_phy_info() local [all …]
|
A D | rtw8821c.c | 137 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_phy_set_param() local 364 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_channel_bb() local 381 hal->ch_param[0]); in rtw8821c_set_channel_bb() 383 hal->ch_param[1] & MASKLWORD); in rtw8821c_set_channel_bb() 385 hal->ch_param[2]); in rtw8821c_set_channel_bb() 636 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_tx_power_index_by_rate() local 644 pwr_index = hal->tx_pwr_tbl[path][rate]; in rtw8821c_set_tx_power_index_by_rate() 658 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_tx_power_index() local 661 for (path = 0; path < hal->rf_path_num; path++) { in rtw8821c_set_tx_power_index() 1024 u8 channel = rtwdev->hal.current_channel; in rtw8821c_pwrtrack_set() [all …]
|
A D | fw.c | 408 struct rtw_hal *hal = &rtwdev->hal; in rtw_fw_send_phydm_info() local 417 if (hal->rf_type == RF_1T1R) in rtw_fw_send_phydm_info() 419 else if (hal->rf_type == RF_2T2R) in rtw_fw_send_phydm_info() 2074 rtwdev->hal.rcr &= ~BIT_CBSSID_BCN; in rtw_hw_scan_start() 2085 struct rtw_hal *hal = &rtwdev->hal; in rtw_hw_scan_complete() local 2092 rtwdev->hal.rcr |= BIT_CBSSID_BCN; in rtw_hw_scan_complete() 2192 struct rtw_hal *hal = &rtwdev->hal; in rtw_store_op_chan() local 2196 scan_info->op_chan = hal->current_channel; in rtw_store_op_chan() 2197 scan_info->op_bw = hal->current_band_width; in rtw_store_op_chan() 2199 scan_info->op_pri_ch = hal->primary_channel; in rtw_store_op_chan() [all …]
|
A D | regd.c | 464 struct rtw_hal *hal = &rtwdev->hal; in rtw_regd_notifier() local 490 rtw_phy_set_tx_power_level(rtwdev, hal->current_channel); in rtw_regd_notifier() 496 struct rtw_hal *hal = &rtwdev->hal; in rtw_regd_get() local 497 u8 band = hal->current_band_type; in rtw_regd_get()
|
A D | rtw8822c.c | 1612 if (path >= rtwdev->hal.rf_path_num) in rtw8822c_txgapk_rf_restore() 1856 struct rtw_hal *hal = &rtwdev->hal; in rtw8822c_phy_set_param() local 1887 rtw8822c_config_trx_mode(rtwdev, hal->antenna_tx, hal->antenna_rx, in rtw8822c_phy_set_param() 2570 channel = rtwdev->hal.current_channel; in query_phy_status_page0() 2726 struct rtw_hal *hal = &rtwdev->hal; in rtw8822c_set_write_tx_power_ref() local 2767 struct rtw_hal *hal = &rtwdev->hal; in rtw8822c_set_tx_power_index() local 2781 pwr_a = hal->tx_pwr_tbl[RF_PATH_A][rate]; in rtw8822c_set_tx_power_index() 2802 struct rtw_hal *hal = &rtwdev->hal; in rtw8822c_set_antenna() local 2824 hal->antenna_tx = antenna_tx; in rtw8822c_set_antenna() 2825 hal->antenna_rx = antenna_rx; in rtw8822c_set_antenna() [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/ |
A D | sdio_ops.c | 394 struct hal_com_data *hal; in sdio_read_port() local 399 hal = GET_HAL_DATA(adapter); in sdio_read_port() 858 struct hal_com_data *hal; in sd_int_dpc() local 863 hal = GET_HAL_DATA(adapter); in sd_int_dpc() 936 hal->SdioRxFIFOSize = 0; in sd_int_dpc() 951 struct hal_com_data *hal; in sd_int_hdl() local 958 hal = GET_HAL_DATA(adapter); in sd_int_hdl() 960 hal->sdio_hisr = 0; in sd_int_hdl() 963 if (hal->sdio_hisr & hal->sdio_himr) { in sd_int_hdl() 966 hal->sdio_hisr &= hal->sdio_himr; in sd_int_hdl() [all …]
|
/linux-6.3-rc2/drivers/staging/most/dim2/ |
A D | Makefile | 4 most_dim2-objs := dim2.o hal.o
|