| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_cmd_dispatch_engine.c | 21 u8 band_idx, 202 u8 band_idx, in rtw_phl_register_module() argument 207 band_idx, id, ops); in rtw_phl_register_module() 211 rtw_phl_deregister_module(void *phl,u8 band_idx, enum phl_module_id id) in rtw_phl_deregister_module() argument 214 band_idx, in rtw_phl_deregister_module() 218 u8 rtw_phl_is_fg_empty(void *phl,u8 band_idx) in rtw_phl_is_fg_empty() argument 220 return phl_disp_eng_is_fg_empty((struct phl_info_t *)phl, band_idx); in rtw_phl_is_fg_empty() 233 rtw_phl_cancel_dispr_msg(void *phl, u8 band_idx, u32 *msg_hdl) in rtw_phl_cancel_dispr_msg() argument 235 return phl_disp_eng_cancel_msg(phl, band_idx, msg_hdl); in rtw_phl_cancel_dispr_msg() 240 u8 band_idx, in rtw_phl_add_cmd_token_req() argument [all …]
|
| H A D | phl_cmd_dispatch.h | 57 u8 band_idx, 62 u8 band_idx, 65 u8 phl_disp_eng_is_dispr_busy(struct phl_info_t *phl, u8 band_idx); 66 u8 phl_disp_eng_is_fg_empty(struct phl_info_t *phl, u8 band_idx); 67 enum rtw_phl_status phl_disp_eng_set_cur_cmd_info(struct phl_info_t *phl, u8 band_idx, 69 enum rtw_phl_status phl_disp_eng_query_cur_cmd_info(struct phl_info_t *phl, u8 band_idx, 71 enum rtw_phl_status phl_disp_eng_set_bk_module_info(struct phl_info_t *phl, u8 band_idx, 73 enum rtw_phl_status phl_disp_eng_query_bk_module_info(struct phl_info_t *phl, u8 band_idx, 81 enum rtw_phl_status phl_disp_eng_cancel_msg(struct phl_info_t *phl, u8 band_idx, u32 *msg_hdl); 82 enum rtw_phl_status phl_disp_eng_clr_pending_msg(struct phl_info_t *phl, u8 band_idx); [all …]
|
| H A D | phl_api.h | 75 void rtw_phl_ps_set_rt_cap(void *phl, u8 band_idx, bool ps_allow, enum phl_ps_rt_rson rt_rson); 76 enum rtw_phl_status rtw_phl_ps_set_rf_state(void *phl, u8 band_idx, enum rtw_rf_state rf_state); 225 enum rtw_phl_status rtw_phl_register_module(void *phl, u8 band_idx, 228 enum rtw_phl_status rtw_phl_deregister_module(void *phl,u8 band_idx, 230 u8 rtw_phl_is_fg_empty(void *phl, u8 band_idx); 234 enum rtw_phl_status rtw_phl_cancel_dispr_msg(void *phl, u8 band_idx, u32* msg_hdl); 236 enum rtw_phl_status rtw_phl_add_cmd_token_req(void *phl, u8 band_idx, 238 enum rtw_phl_status rtw_phl_cancel_cmd_token(void *phl, u8 band_idx, u32* req_hdl); 239 enum rtw_phl_status rtw_phl_set_cur_cmd_info(void *phl, u8 band_idx, 241 enum rtw_phl_status rtw_phl_query_cur_cmd_info(void *phl, u8 band_idx, [all …]
|
| H A D | phl_txpwr.c | 25 bool rtw_phl_get_pwr_lmt_en(void *phl, u8 band_idx) in rtw_phl_get_pwr_lmt_en() argument 29 return rtw_hal_get_pwr_lmt_en(phl_info->hal, band_idx); in rtw_phl_get_pwr_lmt_en() 32 enum rtw_phl_status rtw_phl_set_tx_power(void *phl, u8 band_idx) in rtw_phl_set_tx_power() argument 37 hstatus = rtw_hal_set_tx_power(phl_info->hal, band_idx, PWR_BY_RATE | PWR_LIMIT | PWR_LIMIT_RU); in rtw_phl_set_tx_power()
|
| H A D | phl_mcc_def.h | 40 void rtw_phl_mcc_watchdog(struct phl_info_t *phl, u8 band_idx); 52 bool rtw_phl_mcc_inprogress(struct phl_info_t *phl, u8 band_idx); 55 u8 band_idx); 58 u8 band_idx); 81 bool rtw_phl_mcc_get_dbg_info(struct phl_info_t *phl, u8 band_idx,
|
| H A D | phl_mr.c | 255 u8 band_idx = 0; in _phl_band_ctrl_init() local 257 for (band_idx = 0; band_idx < MAX_BAND_NUM; band_idx++) { in _phl_band_ctrl_init() 258 band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in _phl_band_ctrl_init() 259 band_ctrl->id = band_idx; in _phl_band_ctrl_init() 899 if (phl_cmd_get_cur_cmdinfo(phl, msg->band_idx, msg, &cmd, &cmd_len) in _mrc_module_chg_op_chdef_start_hdlr() 947 if (phl_cmd_get_cur_cmdinfo(phl, msg->band_idx, msg, &cmd, &cmd_len) in _mrc_module_chg_op_chdef_end_hdlr() 992 msg->band_idx, msg, &cmd, &cmd_len)) { in _mrc_module_msg_pre_hdlr() 1011 msg->band_idx, msg, &cmd, &cmd_len)) { in _mrc_module_msg_pre_hdlr() 1519 msg->band_idx, MR_COEX_TRIG_BY_BT); in _mrc_module_msg_post_hdl() 1658 u8 band_idx = 0; in _phl_band_ctrl_deinit() local [all …]
|
| H A D | phl_cmd_general.c | 456 u8 band_idx, in phl_cmd_get_cur_cmdinfo() argument 486 u8 band_idx = 0; in phl_register_cmd_general() local 496 for (band_idx = 0; band_idx < disp_eng->phy_num; band_idx++) { in phl_register_cmd_general() 497 status = phl_disp_eng_register_module(phl_info, band_idx, in phl_register_cmd_general() 502 __func__, band_idx + 1); in phl_register_cmd_general() 575 enum phl_band_idx band_idx, in phl_cmd_enqueue() argument 604 msg.band_idx = band_idx; in phl_cmd_enqueue() 637 enum phl_band_idx band_idx, in rtw_phl_cmd_enqueue() argument 646 band_idx, in rtw_phl_cmd_enqueue()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_cmd_dispatch_engine.c | 21 u8 band_idx, 202 u8 band_idx, in rtw_phl_register_module() argument 207 band_idx, id, ops); in rtw_phl_register_module() 211 rtw_phl_deregister_module(void *phl,u8 band_idx, enum phl_module_id id) in rtw_phl_deregister_module() argument 214 band_idx, in rtw_phl_deregister_module() 218 u8 rtw_phl_is_fg_empty(void *phl,u8 band_idx) in rtw_phl_is_fg_empty() argument 220 return phl_disp_eng_is_fg_empty((struct phl_info_t *)phl, band_idx); in rtw_phl_is_fg_empty() 233 rtw_phl_cancel_dispr_msg(void *phl, u8 band_idx, u32 *msg_hdl) in rtw_phl_cancel_dispr_msg() argument 235 return phl_disp_eng_cancel_msg(phl, band_idx, msg_hdl); in rtw_phl_cancel_dispr_msg() 240 u8 band_idx, in rtw_phl_add_cmd_token_req() argument [all …]
|
| H A D | phl_cmd_dispatch.h | 57 u8 band_idx, 62 u8 band_idx, 65 u8 phl_disp_eng_is_dispr_busy(struct phl_info_t *phl, u8 band_idx); 66 u8 phl_disp_eng_is_fg_empty(struct phl_info_t *phl, u8 band_idx); 67 enum rtw_phl_status phl_disp_eng_set_cur_cmd_info(struct phl_info_t *phl, u8 band_idx, 69 enum rtw_phl_status phl_disp_eng_query_cur_cmd_info(struct phl_info_t *phl, u8 band_idx, 71 enum rtw_phl_status phl_disp_eng_set_bk_module_info(struct phl_info_t *phl, u8 band_idx, 73 enum rtw_phl_status phl_disp_eng_query_bk_module_info(struct phl_info_t *phl, u8 band_idx, 81 enum rtw_phl_status phl_disp_eng_cancel_msg(struct phl_info_t *phl, u8 band_idx, u32 *msg_hdl); 82 enum rtw_phl_status phl_disp_eng_clr_pending_msg(struct phl_info_t *phl, u8 band_idx); [all …]
|
| H A D | phl_txpwr.c | 25 bool rtw_phl_get_pwr_lmt_en(void *phl, u8 band_idx) in rtw_phl_get_pwr_lmt_en() argument 29 return rtw_hal_get_pwr_lmt_en(phl_info->hal, band_idx); in rtw_phl_get_pwr_lmt_en() 32 enum rtw_phl_status rtw_phl_set_tx_power(void *phl, u8 band_idx) in rtw_phl_set_tx_power() argument 37 hstatus = rtw_hal_set_tx_power(phl_info->hal, band_idx, PWR_BY_RATE | PWR_LIMIT | PWR_LIMIT_RU); in rtw_phl_set_tx_power()
|
| H A D | phl_api.h | 75 void rtw_phl_ps_set_rt_cap(void *phl, u8 band_idx, bool ps_allow, enum phl_ps_rt_rson rt_rson); 76 enum rtw_phl_status rtw_phl_ps_set_rf_state(void *phl, u8 band_idx, enum rtw_rf_state rf_state); 222 enum rtw_phl_status rtw_phl_register_module(void *phl, u8 band_idx, 225 enum rtw_phl_status rtw_phl_deregister_module(void *phl,u8 band_idx, 227 u8 rtw_phl_is_fg_empty(void *phl, u8 band_idx); 231 enum rtw_phl_status rtw_phl_cancel_dispr_msg(void *phl, u8 band_idx, u32* msg_hdl); 233 enum rtw_phl_status rtw_phl_add_cmd_token_req(void *phl, u8 band_idx, 235 enum rtw_phl_status rtw_phl_cancel_cmd_token(void *phl, u8 band_idx, u32* req_hdl); 236 enum rtw_phl_status rtw_phl_set_cur_cmd_info(void *phl, u8 band_idx, 238 enum rtw_phl_status rtw_phl_query_cur_cmd_info(void *phl, u8 band_idx, [all …]
|
| H A D | phl_mcc_def.h | 40 void rtw_phl_mcc_watchdog(struct phl_info_t *phl, u8 band_idx); 52 bool rtw_phl_mcc_inprogress(struct phl_info_t *phl, u8 band_idx); 55 u8 band_idx); 58 u8 band_idx); 81 bool rtw_phl_mcc_get_dbg_info(struct phl_info_t *phl, u8 band_idx,
|
| H A D | phl_mr.c | 255 u8 band_idx = 0; in _phl_band_ctrl_init() local 257 for (band_idx = 0; band_idx < MAX_BAND_NUM; band_idx++) { in _phl_band_ctrl_init() 258 band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in _phl_band_ctrl_init() 259 band_ctrl->id = band_idx; in _phl_band_ctrl_init() 899 if (phl_cmd_get_cur_cmdinfo(phl, msg->band_idx, msg, &cmd, &cmd_len) in _mrc_module_chg_op_chdef_start_hdlr() 947 if (phl_cmd_get_cur_cmdinfo(phl, msg->band_idx, msg, &cmd, &cmd_len) in _mrc_module_chg_op_chdef_end_hdlr() 992 msg->band_idx, msg, &cmd, &cmd_len)) { in _mrc_module_msg_pre_hdlr() 1011 msg->band_idx, msg, &cmd, &cmd_len)) { in _mrc_module_msg_pre_hdlr() 1519 msg->band_idx, MR_COEX_TRIG_BY_BT); in _mrc_module_msg_post_hdl() 1658 u8 band_idx = 0; in _phl_band_ctrl_deinit() local [all …]
|
| H A D | phl_cmd_general.c | 456 u8 band_idx, in phl_cmd_get_cur_cmdinfo() argument 486 u8 band_idx = 0; in phl_register_cmd_general() local 496 for (band_idx = 0; band_idx < disp_eng->phy_num; band_idx++) { in phl_register_cmd_general() 497 status = phl_disp_eng_register_module(phl_info, band_idx, in phl_register_cmd_general() 502 __func__, band_idx + 1); in phl_register_cmd_general() 575 enum phl_band_idx band_idx, in phl_cmd_enqueue() argument 604 msg.band_idx = band_idx; in phl_cmd_enqueue() 637 enum phl_band_idx band_idx, in rtw_phl_cmd_enqueue() argument 646 band_idx, in rtw_phl_cmd_enqueue()
|
| H A D | phl_cmd_btc.c | 193 if (msg->band_idx == HW_BAND_1) in _btc_external_pre_msg_hdlr() 196 band = hal_com->band[msg->band_idx].cur_chandef.band; in _btc_external_pre_msg_hdlr() 232 if (msg->band_idx == HW_BAND_1) in _btc_external_post_msg_hdlr() 372 u8 band_idx = HW_BAND_0; in rtw_phl_btc_send_cmd() local 379 msg.band_idx = band_idx; in rtw_phl_btc_send_cmd() 439 msg.band_idx = HW_BAND_0; in rtw_phl_btc_packet_event_notify()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/halrf/rtl8822c/ |
| H A D | halrf_txgapk_8822c.c | 306 u8 path_idx, gain_idx, band_idx, check_txgain; in _halrf_txgapk_write_gain_bb_table_8822c() local 312 for (band_idx = 0; band_idx < 5; band_idx++) { in _halrf_txgapk_write_gain_bb_table_8822c() 317 if (band_idx == 1) in _halrf_txgapk_write_gain_bb_table_8822c() 319 else if (band_idx == 2) /*5GL*/ in _halrf_txgapk_write_gain_bb_table_8822c() 321 else if (band_idx == 3) /*5GM*/ in _halrf_txgapk_write_gain_bb_table_8822c() 323 else if (band_idx == 4) /*5GH*/ in _halrf_txgapk_write_gain_bb_table_8822c() 331 if (((txgapk->txgapk_rf3f_bp[band_idx][gain_idx][path_idx] & 0xf00) >> 8) >= 0xc && in _halrf_txgapk_write_gain_bb_table_8822c() 332 ((txgapk->txgapk_rf3f_bp[band_idx][gain_idx][path_idx] & 0xf0) >> 4) >= 0xe) { in _halrf_txgapk_write_gain_bb_table_8822c() 334 tmp_3f = txgapk->txgapk_rf3f_bp[band_idx][gain_idx][path_idx]; in _halrf_txgapk_write_gain_bb_table_8822c() 338 txgapk->txgapk_rf3f_bp[band_idx][gain_idx][path_idx]); in _halrf_txgapk_write_gain_bb_table_8822c() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/ |
| H A D | hal_chan.c | 39 enum rtw_hal_status rtw_hal_set_ch_bw(void *hal, u8 band_idx, in rtw_hal_set_ch_bw() argument 44 struct rtw_chan_def *cur_chdef = &(hal_com->band[band_idx].cur_chandef); in rtw_hal_set_ch_bw() 54 if (band_idx == 1) in rtw_hal_set_ch_bw() 57 status = rtw_hal_reset(hal_com, phy_idx, band_idx, true); in rtw_hal_set_ch_bw() 69 status = rtw_hal_mac_set_bw(hal_info, band_idx, chdef->chan, in rtw_hal_set_ch_bw() 121 __func__, band_idx, chdef->chan, chdef->bw, chdef->offset); in rtw_hal_set_ch_bw() 123 status = rtw_hal_reset(hal_com, phy_idx, band_idx, false); in rtw_hal_set_ch_bw() 141 u8 rtw_hal_get_cur_ch(void *hal, u8 band_idx) in rtw_hal_get_cur_ch() argument 145 struct rtw_chan_def *chandef = &(hal_com->band[band_idx].cur_chandef); in rtw_hal_get_cur_ch() 150 void rtw_hal_get_cur_chdef(void *hal, u8 band_idx, in rtw_hal_get_cur_chdef() argument [all …]
|
| H A D | hal_com_i.c | 40 u8 band_idx, bool off_ch) in rtw_hal_scan_pause_tx_fifo() argument 46 hal_status = rtw_hal_tx_pause(hal_info->hal_com, band_idx, in rtw_hal_scan_pause_tx_fifo() 53 u8 band_idx, bool off_ch) in rtw_hal_dfs_pause_tx() argument 58 hal_status = rtw_hal_tx_pause(hal_info->hal_com, band_idx, in rtw_hal_dfs_pause_tx() 214 rtw_hal_reset(struct rtw_hal_com_t *hal_com, enum phl_phy_idx phy_idx, u8 band_idx, bool reset) in rtw_hal_reset() argument 221 status = rtw_hal_tx_pause(hal_com, band_idx, true, PAUSE_RSON_RESET); in rtw_hal_reset() 228 status = rtw_hal_mac_ppdu_stat_cfg(hal_info, band_idx, false, 0, 0); in rtw_hal_reset() 254 hal_info, band_idx, true, in rtw_hal_reset() 255 hal_com->band[band_idx].ppdu_sts_appen_info, in rtw_hal_reset() 256 hal_com->band[band_idx].ppdu_sts_filter); in rtw_hal_reset() [all …]
|
| H A D | hal_txpwr.c | 25 bool rtw_hal_get_pwr_lmt_en(void *hal, u8 band_idx) in rtw_hal_get_pwr_lmt_en() argument 29 return rtw_hal_mac_get_pwr_lmt_en_val(hal_info->hal_com, band_idx); in rtw_hal_get_pwr_lmt_en() 32 enum rtw_hal_status rtw_hal_set_tx_power(void *hal, u8 band_idx, in rtw_hal_set_tx_power() argument 38 if (band_idx == 1) in rtw_hal_set_tx_power()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_chan.c | 39 enum rtw_hal_status rtw_hal_set_ch_bw(void *hal, u8 band_idx, in rtw_hal_set_ch_bw() argument 44 struct rtw_chan_def *cur_chdef = &(hal_com->band[band_idx].cur_chandef); in rtw_hal_set_ch_bw() 54 if (band_idx == 1) in rtw_hal_set_ch_bw() 57 status = rtw_hal_reset(hal_com, phy_idx, band_idx, true); in rtw_hal_set_ch_bw() 69 status = rtw_hal_mac_set_bw(hal_info, band_idx, chdef->chan, in rtw_hal_set_ch_bw() 121 __func__, band_idx, chdef->chan, chdef->bw, chdef->offset); in rtw_hal_set_ch_bw() 123 status = rtw_hal_reset(hal_com, phy_idx, band_idx, false); in rtw_hal_set_ch_bw() 141 u8 rtw_hal_get_cur_ch(void *hal, u8 band_idx) in rtw_hal_get_cur_ch() argument 145 struct rtw_chan_def *chandef = &(hal_com->band[band_idx].cur_chandef); in rtw_hal_get_cur_ch() 150 void rtw_hal_get_cur_chdef(void *hal, u8 band_idx, in rtw_hal_get_cur_chdef() argument [all …]
|
| H A D | hal_com_i.c | 40 u8 band_idx, bool off_ch) in rtw_hal_scan_pause_tx_fifo() argument 46 hal_status = rtw_hal_tx_pause(hal_info->hal_com, band_idx, in rtw_hal_scan_pause_tx_fifo() 53 u8 band_idx, bool off_ch) in rtw_hal_dfs_pause_tx() argument 58 hal_status = rtw_hal_tx_pause(hal_info->hal_com, band_idx, in rtw_hal_dfs_pause_tx() 214 rtw_hal_reset(struct rtw_hal_com_t *hal_com, enum phl_phy_idx phy_idx, u8 band_idx, bool reset) in rtw_hal_reset() argument 221 status = rtw_hal_tx_pause(hal_com, band_idx, true, PAUSE_RSON_RESET); in rtw_hal_reset() 228 status = rtw_hal_mac_ppdu_stat_cfg(hal_info, band_idx, false, 0, 0); in rtw_hal_reset() 254 hal_info, band_idx, true, in rtw_hal_reset() 255 hal_com->band[band_idx].ppdu_sts_appen_info, in rtw_hal_reset() 256 hal_com->band[band_idx].ppdu_sts_filter); in rtw_hal_reset() [all …]
|
| H A D | hal_txpwr.c | 25 bool rtw_hal_get_pwr_lmt_en(void *hal, u8 band_idx) in rtw_hal_get_pwr_lmt_en() argument 29 return rtw_hal_mac_get_pwr_lmt_en_val(hal_info->hal_com, band_idx); in rtw_hal_get_pwr_lmt_en() 32 enum rtw_hal_status rtw_hal_set_tx_power(void *hal, u8 band_idx, in rtw_hal_set_tx_power() argument 38 if (band_idx == 1) in rtw_hal_set_tx_power()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | msm8916-wcd-digital.c | 216 .band_idx = bidx, \ 223 unsigned int band_idx; member 379 int iir_idx, int band_idx, in get_iir_band_coeff() argument 387 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff() 395 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff() 403 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff() 411 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff() 432 int band_idx = ctl->band_idx; in msm8x16_wcd_get_iir_band_audio_mixer() local 435 coeff[0] = get_iir_band_coeff(component, iir_idx, band_idx, 0); in msm8x16_wcd_get_iir_band_audio_mixer() 436 coeff[1] = get_iir_band_coeff(component, iir_idx, band_idx, 1); in msm8x16_wcd_get_iir_band_audio_mixer() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/halbb_8852b/ |
| H A D | halbb_reg_cfg_8852b.c | 91 enum bb_band_t band_idx = (enum bb_band_t)((addr & 0xff0000) >> 16); in halbb_cfg_bb_gain_8852b() local 96 if (band_idx >= BB_GAIN_BAND_NUM) in halbb_cfg_bb_gain_8852b() 124 gain->lna_gain[band_idx][path][i] = (data >> (8 * i)) & 0xff; in halbb_cfg_bb_gain_8852b() 127 gain->lna_gain[band_idx][path][4 + i] = (data >> (8 * i)) & 0xff; in halbb_cfg_bb_gain_8852b() 130 gain->tia_gain[band_idx][path][i] = (data >> (8 * i)) & 0xff; in halbb_cfg_bb_gain_8852b() 133 halbb_cfg_bb_rpl_ofst(bb, band_idx, path, addr, data); in halbb_cfg_bb_gain_8852b()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/halbb_8852b/ |
| H A D | halbb_reg_cfg_8852b.c | 91 enum bb_band_t band_idx = (enum bb_band_t)((addr & 0xff0000) >> 16); in halbb_cfg_bb_gain_8852b() local 96 if (band_idx >= BB_GAIN_BAND_NUM) in halbb_cfg_bb_gain_8852b() 124 gain->lna_gain[band_idx][path][i] = (data >> (8 * i)) & 0xff; in halbb_cfg_bb_gain_8852b() 127 gain->lna_gain[band_idx][path][4 + i] = (data >> (8 * i)) & 0xff; in halbb_cfg_bb_gain_8852b() 130 gain->tia_gain[band_idx][path][i] = (data >> (8 * i)) & 0xff; in halbb_cfg_bb_gain_8852b() 133 halbb_cfg_bb_rpl_ofst(bb, band_idx, path, addr, data); in halbb_cfg_bb_gain_8852b()
|