Home
last modified time | relevance | path

Searched refs:hal (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.1.9/drivers/staging/rtl8723bs/ !
DMakefile20 hal/hal_intf.o \
21 hal/hal_com.o \
22 hal/hal_com_phycfg.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 \
29 hal/odm_CfoTracking.o \
[all …]
/linux-6.1.9/drivers/staging/r8188eu/ !
DMakefile3 hal/HalHWImg8188E_MAC.o \
4 hal/HalHWImg8188E_BB.o \
5 hal/HalHWImg8188E_RF.o \
6 hal/HalPhyRf_8188e.o \
7 hal/HalPwrSeqCmd.o \
8 hal/Hal8188ERateAdaptive.o \
9 hal/hal_intf.o \
10 hal/hal_com.o \
11 hal/odm.o \
12 hal/odm_HWConfig.o \
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/ !
Dchan.c110 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_assign_entity_chan() local
111 struct rtw89_chan *chan = &hal->chan[idx]; in rtw89_assign_entity_chan()
112 struct rtw89_chan_rcd *rcd = &hal->chan_rcd[idx]; in rtw89_assign_entity_chan()
128 struct rtw89_hal *hal = &rtwdev->hal; in __rtw89_config_entity_chandef() local
130 hal->chandef[idx] = *chandef; in __rtw89_config_entity_chandef()
133 set_bit(idx, hal->entity_map); in __rtw89_config_entity_chandef()
153 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_entity_init() local
155 bitmap_zero(hal->entity_map, NUM_OF_RTW89_SUB_ENTITY); in rtw89_entity_init()
161 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_entity_recalc() local
165 weight = bitmap_weight(hal->entity_map, NUM_OF_RTW89_SUB_ENTITY); in rtw89_entity_recalc()
[all …]
Dchan.h12 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()
Dmac80211.c203 rtwdev->hal.rx_fltr &= ~B_AX_A_MC; in rtw89_ops_configure_filter()
205 rtwdev->hal.rx_fltr |= B_AX_A_MC; in rtw89_ops_configure_filter()
209 rtwdev->hal.rx_fltr |= B_AX_A_CRC32_ERR; in rtw89_ops_configure_filter()
211 rtwdev->hal.rx_fltr &= ~B_AX_A_CRC32_ERR; in rtw89_ops_configure_filter()
215 rtwdev->hal.rx_fltr &= ~B_AX_A_A1_MATCH; in rtw89_ops_configure_filter()
217 rtwdev->hal.rx_fltr |= B_AX_A_A1_MATCH; in rtw89_ops_configure_filter()
221 rtwdev->hal.rx_fltr &= ~B_AX_A_BCN_CHK_EN; in rtw89_ops_configure_filter()
222 rtwdev->hal.rx_fltr &= ~B_AX_A_BC; in rtw89_ops_configure_filter()
223 rtwdev->hal.rx_fltr &= ~B_AX_A_A1_MATCH; in rtw89_ops_configure_filter()
225 rtwdev->hal.rx_fltr |= B_AX_A_BCN_CHK_EN; in rtw89_ops_configure_filter()
[all …]
Defuse.c50 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()
Dcore.c566 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_core_get_no_ul_ofdma_htc() local
579 le32_encode_bits(hal->rx_nss - 1, RTW89_HTC_MASK_HTC_OM_RX_NSS) | in rtw89_core_get_no_ul_ofdma_htc()
582 le32_encode_bits(hal->tx_nss - 1, RTW89_HTC_MASK_HTC_OM_TX_NSTS) | in rtw89_core_get_no_ul_ofdma_htc()
2632 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_init_ht_cap() local
2633 u8 nss = hal->rx_nss; in rtw89_init_ht_cap()
2666 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_init_vht_cap() local
2672 if (i < hal->tx_nss) in rtw89_init_vht_cap()
2676 if (i < hal->rx_nss) in rtw89_init_vht_cap()
2699 vht_cap->vht_mcs.rx_highest = highest[hal->rx_nss - 1]; in rtw89_init_vht_cap()
2700 vht_cap->vht_mcs.tx_highest = highest[hal->tx_nss - 1]; in rtw89_init_vht_cap()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ !
Dhal.c195 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp() local
199 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp()
201 if (!hal->rdp.vaddr) in ath11k_hal_alloc_cont_rdp()
209 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp() local
212 if (!hal->rdp.vaddr) in ath11k_hal_free_cont_rdp()
217 hal->rdp.vaddr, hal->rdp.paddr); in ath11k_hal_free_cont_rdp()
218 hal->rdp.vaddr = NULL; in ath11k_hal_free_cont_rdp()
223 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_wrp() local
227 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp()
229 if (!hal->wrp.vaddr) in ath11k_hal_alloc_cont_wrp()
[all …]
Ddbring.c51 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()
Dhal_rx.c47 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()
DMakefile4 hal.o \
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ !
Dphy.c230 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_dig_write() local
239 for (path = 0; path < hal->rf_path_num; path++) { in rtw_phy_dig_write()
633 for (i = 0; i < rtwdev->hal.rf_path_num; i++) { in rtw_phy_parsing_cfo_iter()
728 if (rtwdev->hal.current_band_type != RTW_BAND_2G) in rtw_phy_cck_pd()
897 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_read_rf() local
902 if (rf_path >= hal->rf_phy_num) { in rtw_phy_read_rf()
920 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_read_rf_sipi() local
929 if (rf_path >= hal->rf_phy_num) { in rtw_phy_read_rf_sipi()
969 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_write_rf_reg_sipi() local
976 if (rf_path >= hal->rf_phy_num) { in rtw_phy_write_rf_reg_sipi()
[all …]
Dsar.c11 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()
Dmain.c683 struct rtw_hal *hal = &rtwdev->hal; in rtw_update_channel() local
684 u8 *cch_by_bw = hal->cch_by_bw; in rtw_update_channel()
753 hal->current_primary_channel_index = primary_channel_idx; in rtw_update_channel()
754 hal->current_band_width = bandwidth; in rtw_update_channel()
755 hal->primary_channel = primary_channel; in rtw_update_channel()
756 hal->current_channel = center_channel; in rtw_update_channel()
757 hal->current_band_type = band; in rtw_update_channel()
758 hal->sar_band = sar_band; in rtw_update_channel()
814 struct rtw_hal *hal = &rtwdev->hal; in rtw_set_channel() local
830 hal->current_primary_channel_index); in rtw_set_channel()
[all …]
Drtw8822b.c117 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8822b_pwrtrack_init()
135 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_phy_set_param() local
159 rtw8822b_config_trx_mode(rtwdev, hal->antenna_tx, hal->antenna_rx, in rtw8822b_phy_set_param()
273 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rfe_efem() local
287 if (hal->antenna_rx == BB_PATH_AB || in rtw8822b_set_channel_rfe_efem()
288 hal->antenna_tx == BB_PATH_AB) { in rtw8822b_set_channel_rfe_efem()
291 } else if (hal->antenna_rx == hal->antenna_tx) { in rtw8822b_set_channel_rfe_efem()
302 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rfe_ifem() local
317 if (hal->antenna_rx == BB_PATH_AB || in rtw8822b_set_channel_rfe_ifem()
318 hal->antenna_tx == BB_PATH_AB) { in rtw8822b_set_channel_rfe_ifem()
[all …]
Dmac80211.c276 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()
294 rtwdev->hal.rcr &= ~(BIT_CBSSID_BCN | BIT_CBSSID_DATA); in rtw_ops_configure_filter()
296 rtwdev->hal.rcr |= BIT_CBSSID_BCN; in rtw_ops_configure_filter()
301 changed_flags, *new_flags, rtwdev->hal.rcr); in rtw_ops_configure_filter()
303 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_ops_configure_filter()
[all …]
Ddebug.c522 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw_debug_get_rf_dump()
623 struct rtw_hal *hal = &rtwdev->hal; in rtw_debugfs_get_tx_pwr_tbl() local
628 bw = hal->current_band_width; in rtw_debugfs_get_tx_pwr_tbl()
629 ch = hal->current_channel; in rtw_debugfs_get_tx_pwr_tbl()
638 mutex_lock(&hal->tx_power_mutex); in rtw_debugfs_get_tx_pwr_tbl()
641 if (hal->current_band_type == RTW_BAND_5G) in rtw_debugfs_get_tx_pwr_tbl()
659 hal->tx_pwr_tbl[path][rate], in rtw_debugfs_get_tx_pwr_tbl()
660 hal->tx_pwr_tbl[path][rate], in rtw_debugfs_get_tx_pwr_tbl()
671 mutex_unlock(&hal->tx_power_mutex); in rtw_debugfs_get_tx_pwr_tbl()
681 struct rtw_hal *hal = &rtwdev->hal; in rtw_debugfs_get_simple_phy_info() local
[all …]
Drtw8821c.c128 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_phy_set_param() local
163 hal->ch_param[0] = rtw_read32_mask(rtwdev, REG_TXSF2, MASKDWORD); in rtw8821c_phy_set_param()
164 hal->ch_param[1] = rtw_read32_mask(rtwdev, REG_TXSF6, MASKDWORD); in rtw8821c_phy_set_param()
165 hal->ch_param[2] = rtw_read32_mask(rtwdev, REG_TXFILTER, MASKDWORD); in rtw8821c_phy_set_param()
355 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_channel_bb() local
372 hal->ch_param[0]); in rtw8821c_set_channel_bb()
374 hal->ch_param[1] & MASKLWORD); in rtw8821c_set_channel_bb()
376 hal->ch_param[2]); in rtw8821c_set_channel_bb()
627 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_tx_power_index_by_rate() local
635 pwr_index = hal->tx_pwr_tbl[path][rate]; in rtw8821c_set_tx_power_index_by_rate()
[all …]
Dfw.c415 struct rtw_hal *hal = &rtwdev->hal; in rtw_fw_send_phydm_info() local
424 if (hal->rf_type == RF_1T1R) in rtw_fw_send_phydm_info()
426 else if (hal->rf_type == RF_2T2R) in rtw_fw_send_phydm_info()
434 PHYDM_INFO_SET_CUT_VER(h2c_pkt, hal->cut_version); in rtw_fw_send_phydm_info()
435 PHYDM_INFO_SET_RX_ANT_STATUS(h2c_pkt, hal->antenna_tx); in rtw_fw_send_phydm_info()
436 PHYDM_INFO_SET_TX_ANT_STATUS(h2c_pkt, hal->antenna_rx); in rtw_fw_send_phydm_info()
2071 rtwdev->hal.rcr &= ~BIT_CBSSID_BCN; in rtw_hw_scan_start()
2072 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_hw_scan_start()
2082 struct rtw_hal *hal = &rtwdev->hal; in rtw_hw_scan_complete() local
2089 rtwdev->hal.rcr |= BIT_CBSSID_BCN; in rtw_hw_scan_complete()
[all …]
Dregd.c464 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()
Drtw8822c.c1015 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_set_power_trim()
1058 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_power_trim()
1079 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_thermal_trim()
1098 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_pa_bias()
1106 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_pa_bias()
1165 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_rfk_power_save()
1441 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_txgapk_write_gain_bb_table()
1603 if (path >= rtwdev->hal.rf_path_num) in rtw8822c_txgapk_rf_restore()
1661 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_txgapk_write_tx_gain()
1728 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_txgapk_save_all_tx_gain_table()
[all …]
Dphy.h49 void rtw_phy_tx_power_by_rate_config(struct rtw_hal *hal);
50 void rtw_phy_tx_power_limit_config(struct rtw_hal *hal);
Drx.c87 for (i = 0; i < rtwdev->hal.rf_path_num; i++) { in rtw_rx_phy_stat()
198 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw_rx_fill_rx_status()
/linux-6.1.9/drivers/staging/rtl8723bs/hal/ !
Dsdio_ops.c394 struct hal_com_data *hal; in sdio_read_port() local
399 hal = GET_HAL_DATA(adapter); in sdio_read_port()
401 hal_sdio_get_cmd_addr_8723b(adapter, addr, hal->SdioRxFIFOCnt++, &addr); 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()
867 if (hal->sdio_hisr & SDIO_HISR_AVAL) { in sd_int_dpc()
874 if (hal->sdio_hisr & SDIO_HISR_CPWM1) { in sd_int_dpc()
882 if (hal->sdio_hisr & SDIO_HISR_TXERR) { in sd_int_dpc()
896 if (hal->sdio_hisr & SDIO_HISR_C2HCMD) { in sd_int_dpc()
919 if (hal->sdio_hisr & SDIO_HISR_RX_REQUEST) { in sd_int_dpc()
[all …]
/linux-6.1.9/drivers/staging/most/dim2/ !
DMakefile4 most_dim2-objs := dim2.o hal.o

123