Home
last modified time | relevance | path

Searched refs:HW_PHY_0 (Results 1 – 25 of 100) sorted by relevance

1234

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/
H A Dhalrf_init.c292 u32 band = rf->hal_com->band[HW_PHY_0].cur_chandef.band; in halrf_rfe_type_gpio_setting()
296 halrf_set_gpio(rf, HW_PHY_0, (u8)band); in halrf_rfe_type_gpio_setting()
319 halrf_set_ref_power_to_struct(rf, HW_PHY_0); in halrf_dm_init()
321 halrf_rck_trigger(rf, HW_PHY_0); in halrf_dm_init()
324 halrf_rx_dck_trigger(rf, HW_PHY_0, true); in halrf_dm_init()
330 halrf_get_efuse_trim(rf, HW_PHY_0); in halrf_dm_init()
333 halrf_tssi_get_efuse_ex(rf, HW_PHY_0); in halrf_dm_init()
H A Dhalrf_dbg_cmd.c158 halrf_rck_trigger(rf, HW_PHY_0); in halrf_cmd_parser()
263 halrf_btc_rfk_ntfy(rf, (BIT(HW_PHY_0) << 4), RF_BTC_TSSI, RFK_START); in halrf_cmd_parser()
264 halrf_tmac_tx_pause(rf, HW_PHY_0, true); in halrf_cmd_parser()
277 halrf_tx_mode_switch(rf, HW_PHY_0, 0); in halrf_cmd_parser()
279 halrf_tmac_tx_pause(rf, HW_PHY_0, false); in halrf_cmd_parser()
280 halrf_btc_rfk_ntfy(rf, (BIT(HW_PHY_0) << 4), RF_BTC_TSSI, RFK_STOP); in halrf_cmd_parser()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/
H A Dhalrf_init.c292 u32 band = rf->hal_com->band[HW_PHY_0].cur_chandef.band; in halrf_rfe_type_gpio_setting()
296 halrf_set_gpio(rf, HW_PHY_0, (u8)band); in halrf_rfe_type_gpio_setting()
319 halrf_set_ref_power_to_struct(rf, HW_PHY_0); in halrf_dm_init()
321 halrf_rck_trigger(rf, HW_PHY_0); in halrf_dm_init()
324 halrf_rx_dck_trigger(rf, HW_PHY_0, true); in halrf_dm_init()
330 halrf_get_efuse_trim(rf, HW_PHY_0); in halrf_dm_init()
333 halrf_tssi_get_efuse_ex(rf, HW_PHY_0); in halrf_dm_init()
H A Dhalrf_dbg_cmd.c158 halrf_rck_trigger(rf, HW_PHY_0); in halrf_cmd_parser()
263 halrf_btc_rfk_ntfy(rf, (BIT(HW_PHY_0) << 4), RF_BTC_TSSI, RFK_START); in halrf_cmd_parser()
264 halrf_tmac_tx_pause(rf, HW_PHY_0, true); in halrf_cmd_parser()
277 halrf_tx_mode_switch(rf, HW_PHY_0, 0); in halrf_cmd_parser()
279 halrf_tmac_tx_pause(rf, HW_PHY_0, false); in halrf_cmd_parser()
280 halrf_btc_rfk_ntfy(rf, (BIT(HW_PHY_0) << 4), RF_BTC_TSSI, RFK_STOP); in halrf_cmd_parser()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb_mp.c48 if (phy_idx == HW_PHY_0) in halbb_mp_get_rx_crc_ok()
76 if (phy_idx == HW_PHY_0) in halbb_mp_get_rx_crc_err()
102 halbb_set_reg_cmn(bb, cr->rst_all_cnt, cr->rst_all_cnt_m, 1, HW_PHY_0); in halbb_mp_reset_cnt()
103 halbb_set_reg_cmn(bb, cr->rst_all_cnt, cr->rst_all_cnt_m, 0, HW_PHY_0); in halbb_mp_reset_cnt()
297 tmp = (phy_idx == HW_PHY_0 ? 0x700 : 0x701); in halbb_mp_get_rxevm_physts()
417 halbb_set_reg_cmn(bb, cr->sts_keeper_en, cr->sts_keeper_en_m, 1, HW_PHY_0); in halbb_mp_get_rssi()
418 halbb_set_reg_cmn(bb, cr->sts_keeper_trig_cond, cr->sts_keeper_trig_cond_m, 1, HW_PHY_0); in halbb_mp_get_rssi()
419 halbb_set_reg_cmn(bb, cr->sts_dbg_sel, cr->sts_dbg_sel_m, 2, HW_PHY_0); in halbb_mp_get_rssi()
434 halbb_set_reg_cmn(bb, cr->sts_keeper_read, cr->sts_keeper_read_m, 1, HW_PHY_0); in halbb_mp_get_rssi()
439 halbb_set_reg_cmn(bb, cr->sts_keeper_addr, cr->sts_keeper_addr_m, 3, HW_PHY_0); in halbb_mp_get_rssi()
[all …]
H A Dhalbb_statistics.c288 …BB_DBG(bb, DBG_FA_CNT, "[The following statistics is at %s]===>\n", phy_idx == HW_PHY_0 ? "PHY-0" … in halbb_print_cnt3()
392 …BB_DBG(bb, DBG_FA_CNT, "[The following statistics is at %s]===>\n", phy_idx == HW_PHY_0 ? "PHY-0" … in halbb_print_cnt2()
543 …BB_DBG(bb, DBG_FA_CNT, "[The following statistics is at %s]===>\n", phy_idx == HW_PHY_0 ? "PHY-0" … in halbb_print_cnt()
548 phy_idx_2 == HW_PHY_0 ? "PHY-0" : "PHY-1"); in halbb_print_cnt()
902 halbb_ofdm_tx_cnt_statistics(bb, HW_PHY_0); in halbb_statistics()
903 halbb_ofdm_cnt_statistics(bb, HW_PHY_0); in halbb_statistics()
905 halbb_print_cnt(bb, cck_en, HW_PHY_0, HW_PHY_MAX); in halbb_statistics()
906 halbb_print_cnt2(bb, HW_PHY_0); in halbb_statistics()
907 halbb_print_cnt3(bb, HW_PHY_0); in halbb_statistics()
917 halbb_ofdm_tx_cnt_statistics(bb, HW_PHY_0); in halbb_statistics()
[all …]
H A Dhalbb_dbcc.c111 bb->bb_cmn_hooker->bb_echo_cmd_i.echo_phy_idx = HW_PHY_0; in halbb_dbcc_dbg()
133 bb = halbb_get_curr_bb_pointer(bb, HW_PHY_0); /*phy1->phy0*/ in halbb_dbcc_dbg()
135 bb = halbb_get_curr_bb_pointer(bb, HW_PHY_0); /*phy0->phy0*/ in halbb_dbcc_dbg()
H A Dhalbb_ant_div.c61 halbb_set_reg_cmn(bb, cr->path0_r_ant_train_en, cr->path0_r_ant_train_en_m, 0x0, HW_PHY_0); in halbb_antdiv_reg_init()
64 halbb_set_reg_cmn(bb, cr->path0_r_antsel, BIT(1), 0x0, HW_PHY_0); in halbb_antdiv_reg_init()
67 halbb_set_reg_cmn(bb, 0x828, 0xf, 0x0, HW_PHY_0); // CAV:0x8; CBV:0x27 JOE in halbb_antdiv_reg_init()
70 halbb_set_reg_cmn(bb, 0x828, BIT(12), 0x0, HW_PHY_0); // CAV:0x8; CBV:0x27 JOE in halbb_antdiv_reg_init()
74 halbb_set_reg_cmn(bb, 0x2728, 0xf, 0x0, HW_PHY_0); // CAV:0x8; CBV:0x27 JOE in halbb_antdiv_reg_init()
76 halbb_set_reg_cmn(bb, 0x2728, BIT(12), 0x0, HW_PHY_0); // CAV:0x8; CBV:0x27 JOE in halbb_antdiv_reg_init()
79 …b_set_reg_cmn(bb, cr->path0_r_bt_force_antidx_en, cr->path0_r_bt_force_antidx_en_m, 0x0, HW_PHY_0); in halbb_antdiv_reg_init()
82 halbb_set_reg_cmn(bb, cr->path0_r_rfsw_ant_31_0, 0xFFFF, 0x0100, HW_PHY_0); in halbb_antdiv_reg_init()
85 halbb_set_reg_cmn(bb, cr->path0_r_antsel, BIT(21), 0x1, HW_PHY_0); in halbb_antdiv_reg_init()
88 halbb_set_reg_cmn(bb, cr->path0_r_antsel, BIT(16), 0x0, HW_PHY_0); in halbb_antdiv_reg_init()
[all …]
H A Dhalbb_hw_cfg.c231 reg = &bb->phl_com->phy_sw_cap[HW_PHY_0].bb_phy_reg_info; in halbb_init_reg()
232 rpt_0 = halbb_init_cr_default(bb, reg->para_src, reg->para_data_len, reg->para_data, HW_PHY_0); in halbb_init_reg()
239 reg = &bb->phl_com->phy_sw_cap[HW_PHY_0].bb_phy_reg_gain_info; in halbb_init_reg()
240 rpt_gain = halbb_init_gain_table(bb, reg->para_src, reg->para_data_len, reg->para_data, HW_PHY_0); in halbb_init_reg()
H A Dhalbb_psd.c278 if(halbb_ctrl_ch(bb, psd_fc_ch, psd_band, HW_PHY_0) == false) in halbb_psd()
282 if(halbb_ctrl_bw(bb, psd_pri_ch, bw, HW_PHY_0) == false) in halbb_psd()
352 halbb_ctrl_ch(bb, api->central_ch, api->band, HW_PHY_0); in halbb_psd()
355 HW_PHY_0); in halbb_psd()
H A Dhalbb_fwofld.c130 phy_idx = HW_PHY_0; in halbb_fwcfg_bb_phy_8852a_2()
531 if (phy_idx == HW_PHY_0) { in halbb_fwofld_ch_8852a_2()
763 if (phy_idx == HW_PHY_0) { in halbb_fwofld_bw_8852a_2()
836 if (phy_idx == HW_PHY_0) { in halbb_fwofld_bw_ch_8852a_2()
858 if (phy_idx == HW_PHY_0) { in halbb_fwofld_bw_ch_8852a_2()
913 if (phy_idx == HW_PHY_0) { in halbb_fwofld_bw_ch_8852a_2()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/
H A Dhalbb_mp.c48 if (phy_idx == HW_PHY_0) in halbb_mp_get_rx_crc_ok()
76 if (phy_idx == HW_PHY_0) in halbb_mp_get_rx_crc_err()
102 halbb_set_reg_cmn(bb, cr->rst_all_cnt, cr->rst_all_cnt_m, 1, HW_PHY_0); in halbb_mp_reset_cnt()
103 halbb_set_reg_cmn(bb, cr->rst_all_cnt, cr->rst_all_cnt_m, 0, HW_PHY_0); in halbb_mp_reset_cnt()
297 tmp = (phy_idx == HW_PHY_0 ? 0x700 : 0x701); in halbb_mp_get_rxevm_physts()
417 halbb_set_reg_cmn(bb, cr->sts_keeper_en, cr->sts_keeper_en_m, 1, HW_PHY_0); in halbb_mp_get_rssi()
418 halbb_set_reg_cmn(bb, cr->sts_keeper_trig_cond, cr->sts_keeper_trig_cond_m, 1, HW_PHY_0); in halbb_mp_get_rssi()
419 halbb_set_reg_cmn(bb, cr->sts_dbg_sel, cr->sts_dbg_sel_m, 2, HW_PHY_0); in halbb_mp_get_rssi()
434 halbb_set_reg_cmn(bb, cr->sts_keeper_read, cr->sts_keeper_read_m, 1, HW_PHY_0); in halbb_mp_get_rssi()
439 halbb_set_reg_cmn(bb, cr->sts_keeper_addr, cr->sts_keeper_addr_m, 3, HW_PHY_0); in halbb_mp_get_rssi()
[all …]
H A Dhalbb_statistics.c288 …BB_DBG(bb, DBG_FA_CNT, "[The following statistics is at %s]===>\n", phy_idx == HW_PHY_0 ? "PHY-0" … in halbb_print_cnt3()
392 …BB_DBG(bb, DBG_FA_CNT, "[The following statistics is at %s]===>\n", phy_idx == HW_PHY_0 ? "PHY-0" … in halbb_print_cnt2()
543 …BB_DBG(bb, DBG_FA_CNT, "[The following statistics is at %s]===>\n", phy_idx == HW_PHY_0 ? "PHY-0" … in halbb_print_cnt()
548 phy_idx_2 == HW_PHY_0 ? "PHY-0" : "PHY-1"); in halbb_print_cnt()
902 halbb_ofdm_tx_cnt_statistics(bb, HW_PHY_0); in halbb_statistics()
903 halbb_ofdm_cnt_statistics(bb, HW_PHY_0); in halbb_statistics()
905 halbb_print_cnt(bb, cck_en, HW_PHY_0, HW_PHY_MAX); in halbb_statistics()
906 halbb_print_cnt2(bb, HW_PHY_0); in halbb_statistics()
907 halbb_print_cnt3(bb, HW_PHY_0); in halbb_statistics()
917 halbb_ofdm_tx_cnt_statistics(bb, HW_PHY_0); in halbb_statistics()
[all …]
H A Dhalbb_dbcc.c111 bb->bb_cmn_hooker->bb_echo_cmd_i.echo_phy_idx = HW_PHY_0; in halbb_dbcc_dbg()
133 bb = halbb_get_curr_bb_pointer(bb, HW_PHY_0); /*phy1->phy0*/ in halbb_dbcc_dbg()
135 bb = halbb_get_curr_bb_pointer(bb, HW_PHY_0); /*phy0->phy0*/ in halbb_dbcc_dbg()
H A Dhalbb_ant_div.c61 halbb_set_reg_cmn(bb, cr->path0_r_ant_train_en, cr->path0_r_ant_train_en_m, 0x0, HW_PHY_0); in halbb_antdiv_reg_init()
64 halbb_set_reg_cmn(bb, cr->path0_r_antsel, BIT(1), 0x0, HW_PHY_0); in halbb_antdiv_reg_init()
67 halbb_set_reg_cmn(bb, 0x828, 0xf, 0x0, HW_PHY_0); // CAV:0x8; CBV:0x27 JOE in halbb_antdiv_reg_init()
70 halbb_set_reg_cmn(bb, 0x828, BIT(12), 0x0, HW_PHY_0); // CAV:0x8; CBV:0x27 JOE in halbb_antdiv_reg_init()
74 halbb_set_reg_cmn(bb, 0x2728, 0xf, 0x0, HW_PHY_0); // CAV:0x8; CBV:0x27 JOE in halbb_antdiv_reg_init()
76 halbb_set_reg_cmn(bb, 0x2728, BIT(12), 0x0, HW_PHY_0); // CAV:0x8; CBV:0x27 JOE in halbb_antdiv_reg_init()
79 …b_set_reg_cmn(bb, cr->path0_r_bt_force_antidx_en, cr->path0_r_bt_force_antidx_en_m, 0x0, HW_PHY_0); in halbb_antdiv_reg_init()
82 halbb_set_reg_cmn(bb, cr->path0_r_rfsw_ant_31_0, 0xFFFF, 0x0100, HW_PHY_0); in halbb_antdiv_reg_init()
85 halbb_set_reg_cmn(bb, cr->path0_r_antsel, BIT(21), 0x1, HW_PHY_0); in halbb_antdiv_reg_init()
88 halbb_set_reg_cmn(bb, cr->path0_r_antsel, BIT(16), 0x0, HW_PHY_0); in halbb_antdiv_reg_init()
[all …]
H A Dhalbb_hw_cfg.c231 reg = &bb->phl_com->phy_sw_cap[HW_PHY_0].bb_phy_reg_info; in halbb_init_reg()
232 rpt_0 = halbb_init_cr_default(bb, reg->para_src, reg->para_data_len, reg->para_data, HW_PHY_0); in halbb_init_reg()
239 reg = &bb->phl_com->phy_sw_cap[HW_PHY_0].bb_phy_reg_gain_info; in halbb_init_reg()
240 rpt_gain = halbb_init_gain_table(bb, reg->para_src, reg->para_data_len, reg->para_data, HW_PHY_0); in halbb_init_reg()
H A Dhalbb_psd.c278 if(halbb_ctrl_ch(bb, psd_fc_ch, psd_band, HW_PHY_0) == false) in halbb_psd()
282 if(halbb_ctrl_bw(bb, psd_pri_ch, bw, HW_PHY_0) == false) in halbb_psd()
352 halbb_ctrl_ch(bb, api->central_ch, api->band, HW_PHY_0); in halbb_psd()
355 HW_PHY_0); in halbb_psd()
H A Dhalbb_fwofld.c130 phy_idx = HW_PHY_0; in halbb_fwcfg_bb_phy_8852a_2()
531 if (phy_idx == HW_PHY_0) { in halbb_fwofld_ch_8852a_2()
763 if (phy_idx == HW_PHY_0) { in halbb_fwofld_bw_8852a_2()
836 if (phy_idx == HW_PHY_0) { in halbb_fwofld_bw_ch_8852a_2()
858 if (phy_idx == HW_PHY_0) { in halbb_fwofld_bw_ch_8852a_2()
913 if (phy_idx == HW_PHY_0) { in halbb_fwofld_bw_ch_8852a_2()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/
H A Dhal_dbcc.c76 rtw_hal_bb_ctrl_rx_cca(hal_info->hal_com, false, HW_PHY_0); in rtw_hal_dbcc_cfg()
105 rtw_hal_bb_ctrl_rx_cca(hal_info->hal_com, true, HW_PHY_0); in rtw_hal_dbcc_cfg()
H A Dhal_com_i.c240 if(phy_idx == HW_PHY_0) in rtw_hal_reset()
270 if(phy_idx == HW_PHY_0) in rtw_hal_reset()
328 enum phl_phy_idx p_idx = HW_PHY_0; in rtw_hal_env_rpt()
H A Dhal_txpwr.c36 enum phl_phy_idx phy_idx = HW_PHY_0; in rtw_hal_set_tx_power()
H A Dhal_ext_tx_pwr_lmt.c24 enum phl_phy_idx phy_idx = HW_PHY_0; in rtw_hal_set_power_lmt()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/
H A Dhal_dbcc.c76 rtw_hal_bb_ctrl_rx_cca(hal_info->hal_com, false, HW_PHY_0); in rtw_hal_dbcc_cfg()
105 rtw_hal_bb_ctrl_rx_cca(hal_info->hal_com, true, HW_PHY_0); in rtw_hal_dbcc_cfg()
H A Dhal_com_i.c240 if(phy_idx == HW_PHY_0) in rtw_hal_reset()
270 if(phy_idx == HW_PHY_0) in rtw_hal_reset()
328 enum phl_phy_idx p_idx = HW_PHY_0; in rtw_hal_env_rpt()
H A Dhal_txpwr.c36 enum phl_phy_idx phy_idx = HW_PHY_0; in rtw_hal_set_tx_power()

1234