Home
last modified time | relevance | path

Searched refs:trx_ops (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/
H A Dhal_tx.c70 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_tx_chnl_mapping() local
73 tx_chnl = trx_ops->map_hw_tx_chnl(macid, cat, band); in rtw_hal_tx_chnl_mapping()
87 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_get_fwcmd_queue_idx() local
89 return trx_ops->get_fwcmd_queue_idx(); in rtw_hal_get_fwcmd_queue_idx()
156 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_convert_qsel_to_tid() local
158 hstatus = trx_ops->qsel_to_tid(hal_info, qsel_id, tid_indic); in rtw_hal_convert_qsel_to_tid()
175 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_tx_res_query() local
178 res_num = trx_ops->query_tx_res(hal_info->hal_com, dma_ch, host_idx, in rtw_hal_tx_res_query()
193 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_query_txch_num() local
196 ch_num = trx_ops->query_txch_num(); in rtw_hal_query_txch_num()
[all …]
H A Dhal_rx.c178 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_rx_res_query() local
181 res_num = trx_ops->query_rx_res(hal_info->hal_com, dma_ch, host_idx, in rtw_hal_rx_res_query()
196 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_query_rxch_num() local
199 ch_num = trx_ops->query_rxch_num(); in rtw_hal_query_rxch_num()
206 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_check_rxrdy() local
209 res = trx_ops->check_rxrdy(phl_com, rxbuf, dma_ch); in rtw_hal_check_rxrdy()
217 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_handle_rxbd_info() local
220 res = trx_ops->handle_rxbd_info(hal_info, rxbuf, buf_size); in rtw_hal_handle_rxbd_info()
231 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_update_rxbd() local
233 hstatus = trx_ops->update_rxbd(hal_info, rxbd, rxbuf); in rtw_hal_update_rxbd()
[all …]
H A Dhal_init.c421 struct hal_trx_ops *trx_ops = hal_get_trx_ops(hal); in hal_ops_check() local
546 if (!trx_ops->init) { in hal_ops_check()
550 if (!trx_ops->deinit) { in hal_ops_check()
554 if (!trx_ops->map_hw_tx_chnl) { in hal_ops_check()
558 if (!trx_ops->get_fwcmd_queue_idx) { in hal_ops_check()
563 if (!trx_ops->query_tx_res) { in hal_ops_check()
567 if (!trx_ops->query_rx_res) { in hal_ops_check()
571 if (!trx_ops->cfg_wow_txdma) { in hal_ops_check()
575 if (!trx_ops->poll_txdma_idle) { in hal_ops_check()
579 if (!trx_ops->qsel_to_tid) { in hal_ops_check()
[all …]
H A Dhal_wow.c190 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_wow_cfg_txdma() local
194 trx_ops->cfg_wow_txdma(hal_info, en); in rtw_hal_wow_cfg_txdma()
H A Dhal_struct.h21 #define hal_get_trx_ops(_halinfo) (_halinfo->trx_ops)
249 struct hal_trx_ops *trx_ops; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/
H A Dhal_tx.c70 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_tx_chnl_mapping() local
73 tx_chnl = trx_ops->map_hw_tx_chnl(macid, cat, band); in rtw_hal_tx_chnl_mapping()
87 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_get_fwcmd_queue_idx() local
89 return trx_ops->get_fwcmd_queue_idx(); in rtw_hal_get_fwcmd_queue_idx()
156 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_convert_qsel_to_tid() local
158 hstatus = trx_ops->qsel_to_tid(hal_info, qsel_id, tid_indic); in rtw_hal_convert_qsel_to_tid()
175 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_tx_res_query() local
178 res_num = trx_ops->query_tx_res(hal_info->hal_com, dma_ch, host_idx, in rtw_hal_tx_res_query()
193 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_query_txch_num() local
196 ch_num = trx_ops->query_txch_num(); in rtw_hal_query_txch_num()
[all …]
H A Dhal_rx.c178 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_rx_res_query() local
181 res_num = trx_ops->query_rx_res(hal_info->hal_com, dma_ch, host_idx, in rtw_hal_rx_res_query()
196 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_query_rxch_num() local
199 ch_num = trx_ops->query_rxch_num(); in rtw_hal_query_rxch_num()
206 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_check_rxrdy() local
209 res = trx_ops->check_rxrdy(phl_com, rxbuf, dma_ch); in rtw_hal_check_rxrdy()
217 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_handle_rxbd_info() local
220 res = trx_ops->handle_rxbd_info(hal_info, rxbuf, buf_size); in rtw_hal_handle_rxbd_info()
231 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_update_rxbd() local
233 hstatus = trx_ops->update_rxbd(hal_info, rxbd, rxbuf); in rtw_hal_update_rxbd()
[all …]
H A Dhal_init.c421 struct hal_trx_ops *trx_ops = hal_get_trx_ops(hal); in hal_ops_check() local
546 if (!trx_ops->init) { in hal_ops_check()
550 if (!trx_ops->deinit) { in hal_ops_check()
554 if (!trx_ops->map_hw_tx_chnl) { in hal_ops_check()
558 if (!trx_ops->get_fwcmd_queue_idx) { in hal_ops_check()
563 if (!trx_ops->query_tx_res) { in hal_ops_check()
567 if (!trx_ops->query_rx_res) { in hal_ops_check()
571 if (!trx_ops->cfg_wow_txdma) { in hal_ops_check()
575 if (!trx_ops->poll_txdma_idle) { in hal_ops_check()
579 if (!trx_ops->qsel_to_tid) { in hal_ops_check()
[all …]
H A Dhal_wow.c190 struct hal_trx_ops *trx_ops = hal_info->trx_ops; in rtw_hal_wow_cfg_txdma() local
194 trx_ops->cfg_wow_txdma(hal_info, en); in rtw_hal_wow_cfg_txdma()
H A Dhal_struct.h21 #define hal_get_trx_ops(_halinfo) (_halinfo->trx_ops)
248 struct hal_trx_ops *trx_ops; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_init.c390 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in _phl_hci_ops_check() local
392 if (!trx_ops->hci_trx_init) { in _phl_hci_ops_check()
396 if (!trx_ops->hci_trx_deinit) { in _phl_hci_ops_check()
400 if (!trx_ops->prepare_tx) { in _phl_hci_ops_check()
404 if (!trx_ops->recycle_rx_buf) { in _phl_hci_ops_check()
408 if (!trx_ops->tx) { in _phl_hci_ops_check()
412 if (!trx_ops->rx) { in _phl_hci_ops_check()
416 if (!trx_ops->trx_cfg) { in _phl_hci_ops_check()
420 if (!trx_ops->pltfm_tx) { in _phl_hci_ops_check()
424 if (!trx_ops->alloc_h2c_pkt_buf) { in _phl_hci_ops_check()
[all …]
H A Dphl_wow.c1058 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in phl_wow_init_precfg() local
1064 trx_ops->req_tx_stop(phl_info); in phl_wow_init_precfg()
1073 if (trx_ops->is_tx_pause(phl_info)) { in phl_wow_init_precfg()
1105 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in phl_wow_init_postcfg() local
1124 trx_ops->req_rx_stop(phl_info); in phl_wow_init_postcfg()
1130 if (trx_ops->is_rx_pause(phl_info)) { in phl_wow_init_postcfg()
1151 trx_ops->trx_stop(phl_info); in phl_wow_init_postcfg()
1153 trx_ops->trx_reset(phl_info, PHL_CTRL_TX | PHL_CTRL_RX); in phl_wow_init_postcfg()
1289 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in phl_wow_deinit_precfg() local
1301 trx_ops->trx_cfg(phl_info); in phl_wow_deinit_precfg()
[all …]
H A Dphl_tx.c1709 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in phl_tx_watchdog() local
1713 trx_ops->tx_watchdog(phl_info); in phl_tx_watchdog()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_init.c393 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in _phl_hci_ops_check() local
395 if (!trx_ops->hci_trx_init) { in _phl_hci_ops_check()
399 if (!trx_ops->hci_trx_deinit) { in _phl_hci_ops_check()
403 if (!trx_ops->prepare_tx) { in _phl_hci_ops_check()
407 if (!trx_ops->recycle_rx_buf) { in _phl_hci_ops_check()
411 if (!trx_ops->tx) { in _phl_hci_ops_check()
415 if (!trx_ops->rx) { in _phl_hci_ops_check()
419 if (!trx_ops->trx_cfg) { in _phl_hci_ops_check()
423 if (!trx_ops->pltfm_tx) { in _phl_hci_ops_check()
427 if (!trx_ops->alloc_h2c_pkt_buf) { in _phl_hci_ops_check()
[all …]
H A Dphl_wow.c1044 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in phl_wow_init_precfg() local
1050 trx_ops->req_tx_stop(phl_info); in phl_wow_init_precfg()
1059 if (trx_ops->is_tx_pause(phl_info)) { in phl_wow_init_precfg()
1091 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in phl_wow_init_postcfg() local
1110 trx_ops->req_rx_stop(phl_info); in phl_wow_init_postcfg()
1116 if (trx_ops->is_rx_pause(phl_info)) { in phl_wow_init_postcfg()
1137 trx_ops->trx_stop(phl_info); in phl_wow_init_postcfg()
1139 trx_ops->trx_reset(phl_info, PHL_CTRL_TX | PHL_CTRL_RX); in phl_wow_init_postcfg()
1275 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in phl_wow_deinit_precfg() local
1287 trx_ops->trx_cfg(phl_info); in phl_wow_deinit_precfg()
[all …]
H A Dphl_tx.c1690 struct phl_hci_trx_ops *trx_ops = phl_info->hci_trx_ops; in phl_tx_watchdog() local
1694 trx_ops->tx_watchdog(phl_info); in phl_tx_watchdog()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_phl.c291 if (!hal_com->trx_ops.intf_hal_configure) {
296 if (!hal_com->trx_ops.get_txdesc_len) {
300 if (!hal_com->trx_ops.fill_txdesc_h2c) {
304 if (!hal_com->trx_ops.fill_txdesc_fwdl) {
308 if (!hal_com->trx_ops.fill_txdesc_pkt) {
314 if (!hal_com->trx_ops.get_bulkout_id) {
321 if (!hal_com->trx_ops.init_xmit) {
326 if (!hal_com->trx_ops.init_recv) {
332 if (!hal_com->trx_ops.check_enough_txdesc) {
336 if (!hal_com->trx_ops.trxbd_init) {
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_phl.c291 if (!hal_com->trx_ops.intf_hal_configure) {
296 if (!hal_com->trx_ops.get_txdesc_len) {
300 if (!hal_com->trx_ops.fill_txdesc_h2c) {
304 if (!hal_com->trx_ops.fill_txdesc_fwdl) {
308 if (!hal_com->trx_ops.fill_txdesc_pkt) {
314 if (!hal_com->trx_ops.get_bulkout_id) {
321 if (!hal_com->trx_ops.init_xmit) {
326 if (!hal_com->trx_ops.init_recv) {
332 if (!hal_com->trx_ops.check_enough_txdesc) {
336 if (!hal_com->trx_ops.trxbd_init) {
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/rtl8852b/sdio/
H A Drtl8852bs_ops.c133 hal_info->trx_ops = &ops; in hal_hook_trx_ops_8852bs()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/pci/
H A Dhal_trx_8852be.c1422 hal_info->trx_ops = &ops; in hal_hook_trx_ops_8852be()