Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/
DMakefile21 hal/hal_intf.o \
22 hal/hal_com.o \
23 hal/hal_com_phycfg.o \
24 hal/hal_btcoex.o \
25 hal/hal_sdio.o \
26 hal/hal_pwr_seq.o \
27 hal/HalPhyRf.o \
28 hal/HalPwrSeqCmd.o \
29 hal/odm.o \
30 hal/odm_CfoTracking.o \
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/
DMakefile21 hal/fw.o \
22 hal/mac_cfg.o \
23 hal/bb_cfg.o \
24 hal/rf_cfg.o \
25 hal/pwrseqcmd.o \
26 hal/pwrseq.o \
27 hal/hal8188e_rate_adaptive.o \
28 hal/hal_intf.o \
29 hal/hal_com.o \
30 hal/odm.o \
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dhal.c248 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp() local
252 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp()
254 if (!hal->rdp.vaddr) in ath11k_hal_alloc_cont_rdp()
262 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp() local
265 if (!hal->rdp.vaddr) in ath11k_hal_free_cont_rdp()
270 hal->rdp.vaddr, hal->rdp.paddr); in ath11k_hal_free_cont_rdp()
271 hal->rdp.vaddr = NULL; in ath11k_hal_free_cont_rdp()
276 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_wrp() local
280 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp()
282 if (!hal->wrp.vaddr) in ath11k_hal_alloc_cont_wrp()
[all …]
Dhal_rx.c48 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
52 u8 avail_slot = ffz(hal->avail_blk_resource); in ath11k_hal_reo_cmd_flush_cache()
58 hal->current_blk_index = avail_slot; in ath11k_hal_reo_cmd_flush_cache()
242 ret = ath11k_hal_reo_cmd_flush_cache(&ab->hal, reo_desc, cmd); in ath11k_hal_reo_cmd_send()
528 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_reo_flush_cache_status() local
547 hal->avail_blk_resource |= BIT(hal->current_blk_index); in ath11k_hal_reo_flush_cache_status()
570 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_reo_unblk_cache_status() local
592 hal->avail_blk_resource &= ~BIT(hal->current_blk_index); in ath11k_hal_reo_unblk_cache_status()
Ddbring.c21 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_bufs_replenish()
82 srng = &ar->ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_fill_bufs()
167 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_buf_setup()
283 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_buffer_release_event()
DMakefile4 hal.o \
Dce.c225 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath11k_ce_rx_buf_enqueue_pipe()
323 srng = &ab->hal.srng_list[pipe->status_ring->hal_ring_id]; in ath11k_ce_completed_recv_next()
412 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_completed_send_next()
675 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_send()
Ddp_tx.c221 tcl_ring = &ab->hal.srng_list[hal_ring_id]; in ath11k_dp_tx()
532 struct hal_srng *status_ring = &ab->hal.srng_list[hal_ring_id]; in ath11k_dp_tx_completion_handler()
616 cmd_ring = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath11k_dp_tx_send_reo_cmd()
717 struct hal_srng *srng = &ab->hal.srng_list[ring_id]; in ath11k_dp_tx_htt_srng_setup()
917 struct hal_srng *srng = &ab->hal.srng_list[ring_id]; in ath11k_dp_tx_htt_rx_filter_setup()
Ddp.c389 srng = &ab->hal.srng_list[dp->tx_ring[i].tcl_data_ring.ring_id]; in ath11k_dp_srng_common_setup()
427 srng = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath11k_dp_srng_common_setup()
1046 srng = &ab->hal.srng_list[dp->wbm_idle_ring.ring_id]; in ath11k_dp_alloc()
1097 struct hal_srng *srng = &ab->hal.srng_list[update_timer->ring_id]; in ath11k_dp_shadow_timer_handler()
Ddp_rx.c294 srng = &ab->hal.srng_list[rx_ring->refill_buf_ring.ring_id]; in ath11k_dp_rxbufs_replenish()
792 srng = &ab->hal.srng_list[dp->wbm_desc_rel_ring.ring_id]; in ath11k_dp_rx_link_desc_return()
2549 srng = &ab->hal.srng_list[dp->reo_dst_ring[ring_id].ring_id]; in ath11k_dp_process_rx()
2782 srng = &ab->hal.srng_list[rx_ring->refill_buf_ring.ring_id]; in ath11k_dp_rx_mon_status_bufs_replenish()
2853 srng = &ab->hal.srng_list[rx_ring->refill_buf_ring.ring_id]; in ath11k_dp_rx_reap_mon_status_ring()
3299 srng = &ab->hal.srng_list[ab->dp.reo_reinject_ring.ring_id]; in ath11k_dp_rx_h_defrag_reo_reinject()
3640 srng = &ab->hal.srng_list[reo_except->ring_id]; in ath11k_dp_process_rx_err()
3942 srng = &ab->hal.srng_list[dp->rx_rel_ring.ring_id]; in ath11k_dp_rx_process_wbm_err()
4068 srng = &ab->hal.srng_list[err_ring->ring_id]; in ath11k_dp_process_rxdma_err()
4139 srng = &ab->hal.srng_list[dp->reo_status_ring.ring_id]; in ath11k_dp_process_reo_status()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Dphy.c149 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_dig_write() local
158 for (path = 0; path < hal->rf_path_num; path++) { in rtw_phy_dig_write()
536 if (rtwdev->hal.current_band_type != RTW_BAND_2G) in rtw_phy_cck_pd()
690 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_read_rf() local
695 if (rf_path >= hal->rf_phy_num) { in rtw_phy_read_rf()
713 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_read_rf_sipi() local
722 if (rf_path >= hal->rf_phy_num) { in rtw_phy_read_rf_sipi()
762 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_write_rf_reg_sipi() local
769 if (rf_path >= hal->rf_phy_num) { in rtw_phy_write_rf_reg_sipi()
802 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_write_rf_reg() local
[all …]
Dmain.c570 struct rtw_hal *hal = &rtwdev->hal; in rtw_set_channel() local
584 hal->current_band_width = bandwidth; in rtw_set_channel()
585 hal->current_channel = center_chan; in rtw_set_channel()
586 hal->current_band_type = center_chan > 14 ? RTW_BAND_5G : RTW_BAND_2G; in rtw_set_channel()
589 hal->cch_by_bw[i] = ch_param.cch_by_bw[i]; in rtw_set_channel()
593 if (hal->current_band_type == RTW_BAND_5G) { in rtw_set_channel()
683 struct rtw_hal *hal = &rtwdev->hal; in rtw_hw_config_rf_ant_num() local
687 hw_ant_num >= hal->rf_path_num) in rtw_hw_config_rf_ant_num()
692 hal->rf_type = RF_1T1R; in rtw_hw_config_rf_ant_num()
693 hal->rf_path_num = 1; in rtw_hw_config_rf_ant_num()
[all …]
Drtw8822b.c116 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8822b_pwrtrack_init()
134 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_phy_set_param() local
158 rtw8822b_config_trx_mode(rtwdev, hal->antenna_tx, hal->antenna_rx, in rtw8822b_phy_set_param()
270 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rfe_efem() local
284 if (hal->antenna_rx == BB_PATH_AB || in rtw8822b_set_channel_rfe_efem()
285 hal->antenna_tx == BB_PATH_AB) { in rtw8822b_set_channel_rfe_efem()
288 } else if (hal->antenna_rx == hal->antenna_tx) { in rtw8822b_set_channel_rfe_efem()
299 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rfe_ifem() local
314 if (hal->antenna_rx == BB_PATH_AB || in rtw8822b_set_channel_rfe_ifem()
315 hal->antenna_tx == BB_PATH_AB) { in rtw8822b_set_channel_rfe_ifem()
[all …]
Dmac80211.c267 rtwdev->hal.rcr |= BIT_AM | BIT_AB; in rtw_ops_configure_filter()
269 rtwdev->hal.rcr &= ~(BIT_AM | BIT_AB); in rtw_ops_configure_filter()
273 rtwdev->hal.rcr |= BIT_ACRC32; in rtw_ops_configure_filter()
275 rtwdev->hal.rcr &= ~(BIT_ACRC32); in rtw_ops_configure_filter()
279 rtwdev->hal.rcr |= BIT_AAP; in rtw_ops_configure_filter()
281 rtwdev->hal.rcr &= ~(BIT_AAP); in rtw_ops_configure_filter()
285 rtwdev->hal.rcr &= ~(BIT_CBSSID_BCN | BIT_CBSSID_DATA); in rtw_ops_configure_filter()
287 rtwdev->hal.rcr |= BIT_CBSSID_BCN; in rtw_ops_configure_filter()
292 changed_flags, *new_flags, rtwdev->hal.rcr); in rtw_ops_configure_filter()
294 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_ops_configure_filter()
[all …]
Ddebug.c474 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw_debug_get_rf_dump()
575 struct rtw_hal *hal = &rtwdev->hal; in rtw_debugfs_get_tx_pwr_tbl() local
578 u8 bw = hal->current_band_width; in rtw_debugfs_get_tx_pwr_tbl()
579 u8 ch = hal->current_channel; in rtw_debugfs_get_tx_pwr_tbl()
586 mutex_lock(&hal->tx_power_mutex); in rtw_debugfs_get_tx_pwr_tbl()
589 if (hal->current_band_type == RTW_BAND_5G) in rtw_debugfs_get_tx_pwr_tbl()
607 hal->tx_pwr_tbl[path][rate], in rtw_debugfs_get_tx_pwr_tbl()
608 hal->tx_pwr_tbl[path][rate], in rtw_debugfs_get_tx_pwr_tbl()
617 mutex_unlock(&hal->tx_power_mutex); in rtw_debugfs_get_tx_pwr_tbl()
636 seq_printf(m, "Current CH(fc) = %u\n", rtwdev->hal.current_channel); in rtw_debugfs_get_phy_info()
[all …]
Drtw8822c.c1006 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_set_power_trim()
1049 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_power_trim()
1070 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_thermal_trim()
1089 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_pa_bias()
1097 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_pa_bias()
1133 struct rtw_hal *hal = &rtwdev->hal; in rtw8822c_phy_set_param() local
1164 rtw8822c_config_trx_mode(rtwdev, hal->antenna_tx, hal->antenna_rx, in rtw8822c_phy_set_param()
1789 for (path = 0; path <= rtwdev->hal.rf_path_num; path++) { in query_phy_status_page0()
1842 for (path = 0; path <= rtwdev->hal.rf_path_num; path++) { in query_phy_status_page1()
1925 struct rtw_hal *hal = &rtwdev->hal; in rtw8822c_set_write_tx_power_ref() local
[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.c86 for (i = 0; i < rtwdev->hal.rf_path_num; i++) { in rtw_rx_phy_stat()
187 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw_rx_fill_rx_status()
Dregd.c389 struct rtw_hal *hal = &rtwdev->hal; in rtw_regd_notifier() local
397 rtw_phy_set_tx_power_level(rtwdev, hal->current_channel); in rtw_regd_notifier()
Drtw8821c.c532 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_tx_power_index_by_rate() local
540 pwr_index = hal->tx_pwr_tbl[path][rate]; in rtw8821c_set_tx_power_index_by_rate()
554 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_tx_power_index() local
557 for (path = 0; path < hal->rf_path_num; path++) { in rtw8821c_set_tx_power_index()
912 u8 channel = rtwdev->hal.current_channel; in rtw8821c_pwrtrack_set()
913 u8 band_width = rtwdev->hal.current_band_width; in rtw8821c_pwrtrack_set()
Dfw.c309 struct rtw_hal *hal = &rtwdev->hal; in rtw_fw_send_phydm_info() local
318 if (hal->rf_type == RF_1T1R) in rtw_fw_send_phydm_info()
320 else if (hal->rf_type == RF_2T2R) in rtw_fw_send_phydm_info()
328 PHYDM_INFO_SET_CUT_VER(h2c_pkt, hal->cut_version); in rtw_fw_send_phydm_info()
329 PHYDM_INFO_SET_RX_ANT_STATUS(h2c_pkt, hal->antenna_tx); in rtw_fw_send_phydm_info()
330 PHYDM_INFO_SET_TX_ANT_STATUS(h2c_pkt, hal->antenna_rx); in rtw_fw_send_phydm_info()
Drtw8723d.c125 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8723d_pwrtrack_init()
575 struct rtw_hal *hal = &rtwdev->hal; in rtw8723d_set_tx_power_index_by_rate() local
582 pwr_index = hal->tx_pwr_tbl[path][rate]; in rtw8723d_set_tx_power_index_by_rate()
600 struct rtw_hal *hal = &rtwdev->hal; in rtw8723d_set_tx_power_index() local
603 for (path = 0; path < hal->rf_path_num; path++) { in rtw8723d_set_tx_power_index()
1795 struct rtw_hal *hal = &rtwdev->hal; in rtw8723d_pwrtrack_set() local
1826 rtw_phy_set_tx_power_level(rtwdev, hal->current_channel); in rtw8723d_pwrtrack_set()
1880 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8723d_phy_pwrtrack()
Dbf.c186 u8 nc_index = hweight8(rtwdev->hal.antenna_rx) - 1; in rtw_bf_enable_bfee_su()
234 u8 nc_index = hweight8(rtwdev->hal.antenna_rx) - 1; in rtw_bf_enable_bfee_mu()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Dsdio_ops.c422 struct hal_com_data *hal; in sdio_read_port() local
427 hal = GET_HAL_DATA(adapter); in sdio_read_port()
429 HalSdioGetCmdAddr8723BSdio(adapter, addr, hal->SdioRxFIFOCnt++, &addr); in sdio_read_port()
929 struct hal_com_data *hal; in sd_int_dpc() local
934 hal = GET_HAL_DATA(adapter); in sd_int_dpc()
938 if (hal->sdio_hisr & SDIO_HISR_AVAL) { in sd_int_dpc()
945 if (hal->sdio_hisr & SDIO_HISR_CPWM1) { in sd_int_dpc()
955 if (hal->sdio_hisr & SDIO_HISR_TXERR) { in sd_int_dpc()
972 if (hal->sdio_hisr & SDIO_HISR_TXBCNOK) in sd_int_dpc()
975 if (hal->sdio_hisr & SDIO_HISR_TXBCNERR) in sd_int_dpc()
[all …]
/kernel/linux/linux-5.10/drivers/staging/most/dim2/
DMakefile4 most_dim2-objs := dim2.o hal.o

12