Home
last modified time | relevance | path

Searched refs:phl_info (Results 1 – 25 of 221) sorted by relevance

123456789

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_init.c119 struct phl_info_t *phl_info = (struct phl_info_t *)priv; in phl_msg_entry() local
128 phl_msg_hub_phy_mgnt_evt_hdlr(phl_info, evt_id); in phl_msg_entry()
131 phl_msg_hub_rx_evt_hdlr(phl_info, evt_id, msg->inbuf, msg->inlen); in phl_msg_entry()
134 rtw_phl_btc_hub_msg_hdl(phl_info, msg); in phl_msg_entry()
141 static enum rtw_phl_status phl_register_msg_entry(struct phl_info_t *phl_info) in phl_register_msg_entry() argument
144 void *d = phl_to_drvpriv(phl_info); in phl_register_msg_entry()
149 ctx.priv = (void*)phl_info; in phl_register_msg_entry()
150 if( phl_msg_hub_register_recver((void*)phl_info, in phl_register_msg_entry()
154 phl_msg_hub_update_recver_mask((void*)phl_info, MSG_RECV_PHL, in phl_register_msg_entry()
164 struct phl_info_t *phl_info) in phl_deregister_msg_entry() argument
[all …]
H A Dphl_watchdog.c19 static void _phl_datapath_watchdog(struct phl_info_t *phl_info) in _phl_datapath_watchdog() argument
21 phl_tx_watchdog(phl_info); in _phl_datapath_watchdog()
22 phl_rx_watchdog(phl_info); in _phl_datapath_watchdog()
23 phl_sta_trx_tfc_upd(phl_info); in _phl_datapath_watchdog()
28 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_watchdog_callback() local
30 _phl_datapath_watchdog(phl_info); in rtw_phl_watchdog_callback()
33 phl_ltr_ctrl_watchdog(phl_info); in rtw_phl_watchdog_callback()
36 phl_pcie_trx_mit_watchdog(phl_info); in rtw_phl_watchdog_callback()
39 phl_mr_watchdog(phl_info); in rtw_phl_watchdog_callback()
40 rtw_hal_watchdog(phl_info->hal); in rtw_phl_watchdog_callback()
[all …]
H A Dphl_tx.c237 void phl_tx_statistics(struct phl_info_t *phl_info, struct rtw_xmit_req *tx_req) in phl_tx_statistics() argument
239 struct rtw_phl_com_t *phl_com = phl_info->phl_com; in phl_tx_statistics()
245 if (!phl_macid_is_valid(phl_info, macid)) in phl_tx_statistics()
248 sta = rtw_phl_get_stainfo_by_macid(phl_info, macid); in phl_tx_statistics()
263 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in _phl_free_phl_tring_list() local
264 void *drv_priv = phl_to_drvpriv(phl_info); in _phl_free_phl_tring_list()
265 struct rtw_phl_evt_ops *ops = &phl_info->phl_com->evt_ops; in _phl_free_phl_tring_list()
303 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in _phl_allocate_phl_tring_list() local
309 drv_priv = phl_to_drvpriv(phl_info); in _phl_allocate_phl_tring_list()
326 dma_ch = rtw_hal_tx_chnl_mapping(phl_info->hal, macid, in _phl_allocate_phl_tring_list()
[all …]
H A Dphl_ps.c94 static void _ps_ntfy_before_pwr_cfg(struct phl_info_t *phl_info, u8 ps_mode, in _ps_ntfy_before_pwr_cfg() argument
102 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_WL_OFF); in _ps_ntfy_before_pwr_cfg()
105 phl_ltr_sw_ctrl_ntfy(phl_info->phl_com, false); in _ps_ntfy_before_pwr_cfg()
109 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_FW_CTRL); in _ps_ntfy_before_pwr_cfg()
113 phl_ltr_sw_ctrl_ntfy(phl_info->phl_com, false); in _ps_ntfy_before_pwr_cfg()
119 static void _ps_ntfy_after_pwr_cfg(struct phl_info_t *phl_info, u8 ps_mode, in _ps_ntfy_after_pwr_cfg() argument
128 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_WL_ON); in _ps_ntfy_after_pwr_cfg()
131 phl_ltr_sw_ctrl_ntfy(phl_info->phl_com, true); in _ps_ntfy_after_pwr_cfg()
136 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_LPS_WL_ON); in _ps_ntfy_after_pwr_cfg()
138 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_WL_ON); in _ps_ntfy_after_pwr_cfg()
[all …]
H A Dphl_ser_fsm.c37 struct phl_info_t *phl_info; member
128 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in _ser_event_notify() local
129 struct ser_obj *pser = phl_info->ser_obj; in _ser_event_notify()
134 notify = rtw_hal_ser_get_error_status(pser->phl_info->hal, &err); in _ser_event_notify()
139 phl_info->phl_com->phl_stats.ser_event[notify]++; in _ser_event_notify()
158 phl_msg_hub_send(phl_info, NULL, &msg); in _ser_event_notify()
200 phl_ser_event_to_fw(pser->phl_info, event); in ser_send_l0_handle_method_event()
209 phl_ser_event_to_fw(pser->phl_info, RTW_PHL_SER_L0_RCVY_EN); in ser_send_l0_do_rcvy_event()
218 phl_ser_event_to_fw(pser->phl_info, RTW_PHL_SER_L1_DISABLE_EN); in ser_send_m2_event()
225 phl_ser_event_to_fw(pser->phl_info, RTW_PHL_SER_L1_RCVY_EN); in ser_send_m4_event()
[all …]
H A Dphl_api_drv.c20 struct phl_info_t *phl_info = (struct phl_info_t *)phl_com->phl_priv; in rtw_phl_get_txbd_buf() local
22 return phl_info->hci_trx_ops->get_txbd_buf(phl_info); in rtw_phl_get_txbd_buf()
27 struct phl_info_t *phl_info = (struct phl_info_t *)phl_com->phl_priv; in rtw_phl_get_rxbd_buf() local
29 return phl_info->hci_trx_ops->get_rxbd_buf(phl_info); in rtw_phl_get_rxbd_buf()
36 struct phl_info_t *phl_info = (struct phl_info_t *)phl_com->phl_priv; in rtw_phl_query_h2c_pkt() local
38 h2c_pkt = (struct rtw_h2c_pkt *)phl_query_idle_h2c_pkt(phl_info, type); in rtw_phl_query_h2c_pkt()
41 phl_dump_h2c_pool_stats(phl_info->h2c_pool); in rtw_phl_query_h2c_pkt()
50 struct phl_info_t *phl_info = (struct phl_info_t *)phl_com->phl_priv; in rtw_phl_pltfm_tx() local
53 struct phl_hci_trx_ops *hci_trx_ops = phl_info->hci_trx_ops; in rtw_phl_pltfm_tx()
54 hci_trx_ops->recycle_busy_h2c(phl_info); in rtw_phl_pltfm_tx()
[all …]
H A Dphl_sound.c39 struct phl_info_t *phl_info) in _phl_snd_init_snd_grp() argument
42 struct phl_sound_obj *snd = (struct phl_sound_obj *)phl_info->snd_obj; in _phl_snd_init_snd_grp()
67 struct phl_info_t *phl_info) in phl_snd_new_obj() argument
72 void *drv_priv = phl_to_drvpriv(phl_info); in phl_snd_new_obj()
83 phl_info->snd_obj = snd_obj; in phl_snd_new_obj()
87 snd_obj->phl_info = phl_info; in phl_snd_new_obj()
90 status = _phl_snd_init_snd_grp(phl_info); in phl_snd_new_obj()
96 phl_snd_func_snd_init(snd_obj->phl_info); in phl_snd_new_obj()
116 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_snd_chk_in_progress() local
117 struct phl_sound_obj *snd = (struct phl_sound_obj *)phl_info->snd_obj; in rtw_phl_snd_chk_in_progress()
[all …]
H A Dphl_cmd_ser.c58 struct phl_info_t *phl_info; member
76 static void _ser_int_ntfy_ctrl(struct phl_info_t *phl_info, in _ser_int_ntfy_ctrl() argument
80 rtw_hal_clear_interrupt(phl_info->hal); in _ser_int_ntfy_ctrl()
82 rtw_hal_config_interrupt(phl_info->hal, int_type); in _ser_int_ntfy_ctrl()
88 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in _ser_event_notify() local
93 notify = rtw_hal_ser_get_error_status(phl_info->hal, &err); in _ser_event_notify()
98 phl_info->phl_com->phl_stats.ser_event[notify]++; in _ser_event_notify()
117 phl_msg_hub_send(phl_info, NULL, &msg); in _ser_event_notify()
139 void *drv = phl_to_drvpriv(cser->phl_info); in _ser_reset_status()
151 _ser_int_ntfy_ctrl(cser->phl_info, RTW_PHL_EN_HCI_INT); in _ser_reset_status()
[all …]
H A Dphl_cmd_dispr_controller.c21 struct phl_info_t *phl_info; member
47 _dispr_resume_io_ctrl(struct phl_info_t *phl_info, in _dispr_resume_io_ctrl() argument
57 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_resume_io_ctrl()
61 phl_info->pause_tx_id, ctl.id, in _dispr_resume_io_ctrl()
69 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_resume_io_ctrl()
73 phl_info->pause_rx_id, ctl.id, in _dispr_resume_io_ctrl()
87 _dispr_cannot_io_ctrl(struct phl_info_t *phl_info, in _dispr_cannot_io_ctrl() argument
96 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_cannot_io_ctrl()
110 _dispr_hw_trx_rst_resume_ctrl(struct phl_info_t *phl_info, in _dispr_hw_trx_rst_resume_ctrl() argument
119 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_hw_trx_rst_resume_ctrl()
[all …]
H A Dphl_rx.c21 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_query_phl_rx() local
22 void *drv_priv = phl_to_drvpriv(phl_info); in rtw_phl_query_phl_rx()
26 rx_pkt_pool = (struct phl_rx_pkt_pool *)phl_info->rx_pkt_pool; in rtw_phl_query_phl_rx()
42 u8 rtw_phl_is_phl_rx_idle(struct phl_info_t *phl_info) in rtw_phl_is_phl_rx_idle() argument
47 rx_pkt_pool = (struct phl_rx_pkt_pool *)phl_info->rx_pkt_pool; in rtw_phl_is_phl_rx_idle()
49 _os_spinlock(phl_to_drvpriv(phl_info), &rx_pkt_pool->idle_lock, _bh, NULL); in rtw_phl_is_phl_rx_idle()
56 _os_spinunlock(phl_to_drvpriv(phl_info), &rx_pkt_pool->idle_lock, _bh, NULL); in rtw_phl_is_phl_rx_idle()
153 void phl_rx_statistics(struct phl_info_t *phl_info, struct rtw_recv_pkt *rx_pkt) in phl_rx_statistics() argument
155 struct rtw_phl_com_t *phl_com = phl_info->phl_com; in phl_rx_statistics()
161 if (!phl_macid_is_valid(phl_info, macid)) in phl_rx_statistics()
[all …]
H A Dphl_connect.c23 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_connect_prepare() local
31 phl_status = phl_disp_eng_send_msg(phl_info, &msg, &attr, NULL); in rtw_phl_connect_prepare()
49 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_connect_linked() local
59 phl_status = phl_disp_eng_send_msg(phl_info, &msg, &attr, NULL); in rtw_phl_connect_linked()
75 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_connected() local
83 phl_status = phl_disp_eng_send_msg(phl_info, &msg, &attr, NULL); in rtw_phl_connected()
99 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_disconnect() local
114 phl_status = phl_disp_eng_send_msg(phl_info, &msg, &attr, NULL); in rtw_phl_disconnect()
130 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_connect_prepare() local
134 psts = phl_role_notify(phl_info, wrole); in rtw_phl_connect_prepare()
[all …]
H A Dphl_role.c142 struct phl_info_t *phl_info, u8 *mac_addr) in _phl_search_roleidx_by_addr() argument
144 struct rtw_phl_com_t *phl_com = phl_info->phl_com; in _phl_search_roleidx_by_addr()
150 if (_os_mem_cmp(phl_to_drvpriv(phl_info), in _phl_search_roleidx_by_addr()
165 phl_get_wrole_by_addr(struct phl_info_t *phl_info, u8 *mac_addr) in phl_get_wrole_by_addr() argument
167 struct rtw_phl_com_t *phl_com = phl_info->phl_com; in phl_get_wrole_by_addr()
176 if (_os_mem_cmp(phl_to_drvpriv(phl_info), in phl_get_wrole_by_addr()
202 struct phl_info_t *phl_info = (struct phl_info_t *)priv; in _phl_role_notify_buf_done() local
205 _os_mem_free(phl_to_drvpriv(phl_info), msg->inbuf, msg->inlen); in _phl_role_notify_buf_done()
213 struct phl_info_t *phl_info = (struct phl_info_t *)priv; in _phl_role_cmd_done() local
216 _os_kmem_free(phl_to_drvpriv(phl_info), in _phl_role_cmd_done()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_init.c119 struct phl_info_t *phl_info = (struct phl_info_t *)priv; in phl_msg_entry() local
128 phl_msg_hub_phy_mgnt_evt_hdlr(phl_info, evt_id); in phl_msg_entry()
131 phl_msg_hub_tx_evt_hdlr(phl_info, evt_id, msg->inbuf, msg->inlen); in phl_msg_entry()
134 phl_msg_hub_rx_evt_hdlr(phl_info, evt_id, msg->inbuf, msg->inlen); in phl_msg_entry()
137 rtw_phl_btc_hub_msg_hdl(phl_info, msg); in phl_msg_entry()
144 static enum rtw_phl_status phl_register_msg_entry(struct phl_info_t *phl_info) in phl_register_msg_entry() argument
147 void *d = phl_to_drvpriv(phl_info); in phl_register_msg_entry()
152 ctx.priv = (void*)phl_info; in phl_register_msg_entry()
153 if( phl_msg_hub_register_recver((void*)phl_info, in phl_register_msg_entry()
157 phl_msg_hub_update_recver_mask((void*)phl_info, MSG_RECV_PHL, in phl_register_msg_entry()
[all …]
H A Dphl_watchdog.c19 static void _phl_datapath_watchdog(struct phl_info_t *phl_info) in _phl_datapath_watchdog() argument
21 phl_tx_watchdog(phl_info); in _phl_datapath_watchdog()
22 phl_rx_watchdog(phl_info); in _phl_datapath_watchdog()
23 phl_sta_trx_tfc_upd(phl_info); in _phl_datapath_watchdog()
28 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_watchdog_callback() local
30 _phl_datapath_watchdog(phl_info); in rtw_phl_watchdog_callback()
33 phl_ltr_ctrl_watchdog(phl_info); in rtw_phl_watchdog_callback()
36 phl_pcie_trx_mit_watchdog(phl_info); in rtw_phl_watchdog_callback()
39 phl_mr_watchdog(phl_info); in rtw_phl_watchdog_callback()
40 rtw_hal_watchdog(phl_info->hal); in rtw_phl_watchdog_callback()
[all …]
H A Dphl_tx.c237 void phl_tx_statistics(struct phl_info_t *phl_info, struct rtw_xmit_req *tx_req) in phl_tx_statistics() argument
239 struct rtw_phl_com_t *phl_com = phl_info->phl_com; in phl_tx_statistics()
245 if (!phl_macid_is_valid(phl_info, macid)) in phl_tx_statistics()
248 sta = rtw_phl_get_stainfo_by_macid(phl_info, macid); in phl_tx_statistics()
263 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in _phl_free_phl_tring_list() local
264 void *drv_priv = phl_to_drvpriv(phl_info); in _phl_free_phl_tring_list()
265 struct rtw_phl_evt_ops *ops = &phl_info->phl_com->evt_ops; in _phl_free_phl_tring_list()
303 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in _phl_allocate_phl_tring_list() local
309 drv_priv = phl_to_drvpriv(phl_info); in _phl_allocate_phl_tring_list()
326 dma_ch = rtw_hal_tx_chnl_mapping(phl_info->hal, macid, in _phl_allocate_phl_tring_list()
[all …]
H A Dphl_ps.c94 static void _ps_ntfy_before_pwr_cfg(struct phl_info_t *phl_info, u8 ps_mode, in _ps_ntfy_before_pwr_cfg() argument
102 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_WL_OFF); in _ps_ntfy_before_pwr_cfg()
105 phl_ltr_sw_ctrl_ntfy(phl_info->phl_com, false); in _ps_ntfy_before_pwr_cfg()
109 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_FW_CTRL); in _ps_ntfy_before_pwr_cfg()
113 phl_ltr_sw_ctrl_ntfy(phl_info->phl_com, false); in _ps_ntfy_before_pwr_cfg()
119 static void _ps_ntfy_after_pwr_cfg(struct phl_info_t *phl_info, u8 ps_mode, in _ps_ntfy_after_pwr_cfg() argument
128 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_WL_ON); in _ps_ntfy_after_pwr_cfg()
131 phl_ltr_sw_ctrl_ntfy(phl_info->phl_com, true); in _ps_ntfy_after_pwr_cfg()
136 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_LPS_WL_ON); in _ps_ntfy_after_pwr_cfg()
138 rtw_hal_btc_radio_state_ntfy(phl_info->hal, BTC_RFCTRL_WL_ON); in _ps_ntfy_after_pwr_cfg()
[all …]
H A Dphl_ser_fsm.c37 struct phl_info_t *phl_info; member
128 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in _ser_event_notify() local
129 struct ser_obj *pser = phl_info->ser_obj; in _ser_event_notify()
134 notify = rtw_hal_ser_get_error_status(pser->phl_info->hal, &err); in _ser_event_notify()
139 phl_info->phl_com->phl_stats.ser_event[notify]++; in _ser_event_notify()
158 phl_msg_hub_send(phl_info, NULL, &msg); in _ser_event_notify()
200 phl_ser_event_to_fw(pser->phl_info, event); in ser_send_l0_handle_method_event()
209 phl_ser_event_to_fw(pser->phl_info, RTW_PHL_SER_L0_RCVY_EN); in ser_send_l0_do_rcvy_event()
218 phl_ser_event_to_fw(pser->phl_info, RTW_PHL_SER_L1_DISABLE_EN); in ser_send_m2_event()
225 phl_ser_event_to_fw(pser->phl_info, RTW_PHL_SER_L1_RCVY_EN); in ser_send_m4_event()
[all …]
H A Dphl_api_drv.c20 struct phl_info_t *phl_info = (struct phl_info_t *)phl_com->phl_priv; in rtw_phl_get_txbd_buf() local
22 return phl_info->hci_trx_ops->get_txbd_buf(phl_info); in rtw_phl_get_txbd_buf()
27 struct phl_info_t *phl_info = (struct phl_info_t *)phl_com->phl_priv; in rtw_phl_get_rxbd_buf() local
29 return phl_info->hci_trx_ops->get_rxbd_buf(phl_info); in rtw_phl_get_rxbd_buf()
36 struct phl_info_t *phl_info = (struct phl_info_t *)phl_com->phl_priv; in rtw_phl_query_h2c_pkt() local
38 h2c_pkt = (struct rtw_h2c_pkt *)phl_query_idle_h2c_pkt(phl_info, type); in rtw_phl_query_h2c_pkt()
41 phl_dump_h2c_pool_stats(phl_info->h2c_pool); in rtw_phl_query_h2c_pkt()
50 struct phl_info_t *phl_info = (struct phl_info_t *)phl_com->phl_priv; in rtw_phl_pltfm_tx() local
53 struct phl_hci_trx_ops *hci_trx_ops = phl_info->hci_trx_ops; in rtw_phl_pltfm_tx()
54 hci_trx_ops->recycle_busy_h2c(phl_info); in rtw_phl_pltfm_tx()
[all …]
H A Dphl_cmd_ser.c58 struct phl_info_t *phl_info; member
76 static void _ser_int_ntfy_ctrl(struct phl_info_t *phl_info, in _ser_int_ntfy_ctrl() argument
80 rtw_hal_clear_interrupt(phl_info->hal); in _ser_int_ntfy_ctrl()
82 rtw_hal_config_interrupt(phl_info->hal, int_type); in _ser_int_ntfy_ctrl()
88 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in _ser_event_notify() local
93 notify = rtw_hal_ser_get_error_status(phl_info->hal, &err); in _ser_event_notify()
98 phl_info->phl_com->phl_stats.ser_event[notify]++; in _ser_event_notify()
117 phl_msg_hub_send(phl_info, NULL, &msg); in _ser_event_notify()
139 void *drv = phl_to_drvpriv(cser->phl_info); in _ser_reset_status()
151 _ser_int_ntfy_ctrl(cser->phl_info, RTW_PHL_EN_HCI_INT); in _ser_reset_status()
[all …]
H A Dphl_rx.c21 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_query_phl_rx() local
22 void *drv_priv = phl_to_drvpriv(phl_info); in rtw_phl_query_phl_rx()
26 rx_pkt_pool = (struct phl_rx_pkt_pool *)phl_info->rx_pkt_pool; in rtw_phl_query_phl_rx()
42 u8 rtw_phl_is_phl_rx_idle(struct phl_info_t *phl_info) in rtw_phl_is_phl_rx_idle() argument
47 rx_pkt_pool = (struct phl_rx_pkt_pool *)phl_info->rx_pkt_pool; in rtw_phl_is_phl_rx_idle()
49 _os_spinlock(phl_to_drvpriv(phl_info), &rx_pkt_pool->idle_lock, _bh, NULL); in rtw_phl_is_phl_rx_idle()
56 _os_spinunlock(phl_to_drvpriv(phl_info), &rx_pkt_pool->idle_lock, _bh, NULL); in rtw_phl_is_phl_rx_idle()
153 void phl_rx_statistics(struct phl_info_t *phl_info, struct rtw_recv_pkt *rx_pkt) in phl_rx_statistics() argument
155 struct rtw_phl_com_t *phl_com = phl_info->phl_com; in phl_rx_statistics()
161 if (!phl_macid_is_valid(phl_info, macid)) in phl_rx_statistics()
[all …]
H A Dphl_sound.c39 struct phl_info_t *phl_info) in _phl_snd_init_snd_grp() argument
42 struct phl_sound_obj *snd = (struct phl_sound_obj *)phl_info->snd_obj; in _phl_snd_init_snd_grp()
67 struct phl_info_t *phl_info) in phl_snd_new_obj() argument
72 void *drv_priv = phl_to_drvpriv(phl_info); in phl_snd_new_obj()
83 phl_info->snd_obj = snd_obj; in phl_snd_new_obj()
87 snd_obj->phl_info = phl_info; in phl_snd_new_obj()
90 status = _phl_snd_init_snd_grp(phl_info); in phl_snd_new_obj()
96 phl_snd_func_snd_init(snd_obj->phl_info); in phl_snd_new_obj()
116 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_snd_chk_in_progress() local
117 struct phl_sound_obj *snd = (struct phl_sound_obj *)phl_info->snd_obj; in rtw_phl_snd_chk_in_progress()
[all …]
H A Dphl_connect.c23 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_connect_prepare() local
28 phl_wifi_role_change(phl_info, wrole, WR_CHG_STBC_CFG, NULL); in rtw_phl_connect_prepare()
34 phl_status = phl_disp_eng_send_msg(phl_info, &msg, &attr, NULL); in rtw_phl_connect_prepare()
52 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_connect_linked() local
62 phl_status = phl_disp_eng_send_msg(phl_info, &msg, &attr, NULL); in rtw_phl_connect_linked()
78 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_connected() local
86 phl_status = phl_disp_eng_send_msg(phl_info, &msg, &attr, NULL); in rtw_phl_connected()
102 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_disconnect() local
117 phl_status = phl_disp_eng_send_msg(phl_info, &msg, &attr, NULL); in rtw_phl_disconnect()
133 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in rtw_phl_connect_prepare() local
[all …]
H A Dphl_cmd_dispr_controller.c21 struct phl_info_t *phl_info; member
47 _dispr_resume_io_ctrl(struct phl_info_t *phl_info, in _dispr_resume_io_ctrl() argument
57 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_resume_io_ctrl()
61 phl_info->pause_tx_id, ctl.id, in _dispr_resume_io_ctrl()
69 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_resume_io_ctrl()
73 phl_info->pause_rx_id, ctl.id, in _dispr_resume_io_ctrl()
87 _dispr_cannot_io_ctrl(struct phl_info_t *phl_info, in _dispr_cannot_io_ctrl() argument
96 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_cannot_io_ctrl()
110 _dispr_hw_trx_rst_resume_ctrl(struct phl_info_t *phl_info, in _dispr_hw_trx_rst_resume_ctrl() argument
119 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_hw_trx_rst_resume_ctrl()
[all …]
H A Dphl_role.c142 struct phl_info_t *phl_info, u8 *mac_addr) in _phl_search_roleidx_by_addr() argument
144 struct rtw_phl_com_t *phl_com = phl_info->phl_com; in _phl_search_roleidx_by_addr()
150 if (_os_mem_cmp(phl_to_drvpriv(phl_info), in _phl_search_roleidx_by_addr()
165 phl_get_wrole_by_addr(struct phl_info_t *phl_info, u8 *mac_addr) in phl_get_wrole_by_addr() argument
167 struct rtw_phl_com_t *phl_com = phl_info->phl_com; in phl_get_wrole_by_addr()
176 if (_os_mem_cmp(phl_to_drvpriv(phl_info), in phl_get_wrole_by_addr()
202 struct phl_info_t *phl_info = (struct phl_info_t *)priv; in _phl_role_notify_buf_done() local
205 _os_mem_free(phl_to_drvpriv(phl_info), msg->inbuf, msg->inlen); in _phl_role_notify_buf_done()
213 struct phl_info_t *phl_info = (struct phl_info_t *)priv; in _phl_role_cmd_done() local
216 _os_kmem_free(phl_to_drvpriv(phl_info), in _phl_role_cmd_done()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hci/
H A Dphl_trx_pcie.c21 void phl_recycle_payload(struct phl_info_t *phl_info, u8 dma_ch, u16 wp_seq,
30 struct phl_info_t *phl_info = (struct phl_info_t *)phl; in phl_dump_link_list() local
31 void *drv_priv = phl_to_drvpriv(phl_info); in phl_dump_link_list()
128 void _phl_dump_wp_stats(struct phl_info_t *phl_info) in _phl_dump_wp_stats() argument
130 struct hci_info_t *hci_info = (struct hci_info_t *)phl_info->hci; in _phl_dump_wp_stats()
131 struct rtw_hal_com_t *hal_com = rtw_hal_get_halcom(phl_info->hal); in _phl_dump_wp_stats()
179 void _phl_dump_busy_wp(struct phl_info_t *phl_info) in _phl_dump_busy_wp() argument
181 struct hci_info_t *hci_info = (struct hci_info_t *)phl_info->hci; in _phl_dump_busy_wp()
235 void phl_tx_start_pcie(struct phl_info_t *phl_info) in phl_tx_start_pcie() argument
237 void *drv = phl_to_drvpriv(phl_info); in phl_tx_start_pcie()
[all …]

123456789