Home
last modified time | relevance | path

Searched refs:drvpriv (Results 1 – 17 of 17) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_chan_info.h23 u32 rtw_phl_get_chaninfo_idle_number(void *drvpriv, struct rtw_phl_com_t *phl_com);
24 u32 rtw_phl_get_chaninfo_busy_number(void *drvpriv, struct rtw_phl_com_t *phl_com);
25 struct chan_info_t *rtw_phl_query_idle_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com);
27 struct chan_info_t *rtw_phl_query_busy_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com);
29 struct chan_info_t *rtw_phl_query_busy_chaninfo_latest(void *drvpriv, struct rtw_phl_com_t *phl_com…
32 void rtw_phl_enqueue_idle_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com,
35 struct chan_info_t * rtw_phl_recycle_busy_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com,
H A Dphl_api_drv.h65 u32 rtw_phl_get_chaninfo_idle_number(void *drvpriv, struct rtw_phl_com_t *phl_com);
66 u32 rtw_phl_get_chaninfo_busy_number(void *drvpriv, struct rtw_phl_com_t *phl_com);
67 struct chan_info_t *rtw_phl_query_idle_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com);
69 struct chan_info_t *rtw_phl_query_busy_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com);
71 struct chan_info_t *rtw_phl_query_busy_chaninfo_latest(void *drvpriv, struct rtw_phl_com_t *phl_com…
73 void rtw_phl_enqueue_idle_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com,
76 struct chan_info_t * rtw_phl_recycle_busy_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com,
H A Dphl_p2pps.c76 void *drvpriv = phlcom_to_drvpriv(psinfo->phl_info->phl_com); in _phl_p2pps_dump_noa_table() local
81 _os_spinlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_dump_noa_table()
109 _os_spinunlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_dump_noa_table()
272 void *drvpriv = phlcom_to_drvpriv(psinfo->phl_info->phl_com); in _phl_p2pps_copy_noa_desc() local
274 _os_spinlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_copy_noa_desc()
275 _os_mem_cpy(drvpriv, dest, src, sizeof(struct rtw_phl_noa_desc)); in _phl_p2pps_copy_noa_desc()
276 _os_spinunlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_copy_noa_desc()
283 void *drvpriv = phlcom_to_drvpriv(psinfo->phl_info->phl_com); in _phl_p2pps_clear_noa_desc() local
285 _os_spinlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_clear_noa_desc()
286 _os_mem_set(drvpriv, desc, 0, sizeof(struct rtw_phl_noa_desc)); in _phl_p2pps_clear_noa_desc()
[all …]
H A Dphl_tx.c642 void *drvpriv = phl_to_drvpriv(phl_info); in phl_check_xmit_ring_resource() local
646 _os_spinlock(drvpriv, &phl_info->t_ring_list_lock, _bh, NULL); in phl_check_xmit_ring_resource()
657 _os_atomic_set(drvpriv, &phl_info->phl_sw_tx_more, 0); in phl_check_xmit_ring_resource()
659 _os_spinunlock(drvpriv, &phl_info->t_ring_list_lock, _bh, NULL); in phl_check_xmit_ring_resource()
1423 void *drvpriv = phl_to_drvpriv(phl_info); in _phl_datapath_chk_pwr() local
1446 if (true == _os_atomic_read(drvpriv, trx_more) && in _phl_datapath_chk_pwr()
1447 false == _os_atomic_read(drvpriv, req_pwr)) in _phl_datapath_chk_pwr()
1455 void *drvpriv = phl_to_drvpriv(phl_info); in phl_datapath_chk_trx_pause() local
1463 if (PHL_TX_STATUS_SW_PAUSE == _os_atomic_read(drvpriv, sw_sts)) { in phl_datapath_chk_trx_pause()
H A Dphl_trx_def.h399 void *drvpriv; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_chan_info.h23 u32 rtw_phl_get_chaninfo_idle_number(void *drvpriv, struct rtw_phl_com_t *phl_com);
24 u32 rtw_phl_get_chaninfo_busy_number(void *drvpriv, struct rtw_phl_com_t *phl_com);
25 struct chan_info_t *rtw_phl_query_idle_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com);
27 struct chan_info_t *rtw_phl_query_busy_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com);
29 struct chan_info_t *rtw_phl_query_busy_chaninfo_latest(void *drvpriv, struct rtw_phl_com_t *phl_com…
32 void rtw_phl_enqueue_idle_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com,
35 struct chan_info_t * rtw_phl_recycle_busy_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com,
H A Dphl_api_drv.h65 u32 rtw_phl_get_chaninfo_idle_number(void *drvpriv, struct rtw_phl_com_t *phl_com);
66 u32 rtw_phl_get_chaninfo_busy_number(void *drvpriv, struct rtw_phl_com_t *phl_com);
67 struct chan_info_t *rtw_phl_query_idle_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com);
69 struct chan_info_t *rtw_phl_query_busy_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com);
71 struct chan_info_t *rtw_phl_query_busy_chaninfo_latest(void *drvpriv, struct rtw_phl_com_t *phl_com…
73 void rtw_phl_enqueue_idle_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com,
76 struct chan_info_t * rtw_phl_recycle_busy_chaninfo(void *drvpriv, struct rtw_phl_com_t *phl_com,
H A Dphl_p2pps.c76 void *drvpriv = phlcom_to_drvpriv(psinfo->phl_info->phl_com); in _phl_p2pps_dump_noa_table() local
81 _os_spinlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_dump_noa_table()
109 _os_spinunlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_dump_noa_table()
272 void *drvpriv = phlcom_to_drvpriv(psinfo->phl_info->phl_com); in _phl_p2pps_copy_noa_desc() local
274 _os_spinlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_copy_noa_desc()
275 _os_mem_cpy(drvpriv, dest, src, sizeof(struct rtw_phl_noa_desc)); in _phl_p2pps_copy_noa_desc()
276 _os_spinunlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_copy_noa_desc()
283 void *drvpriv = phlcom_to_drvpriv(psinfo->phl_info->phl_com); in _phl_p2pps_clear_noa_desc() local
285 _os_spinlock(drvpriv, &psinfo->p2pps_lock, _bh, NULL); in _phl_p2pps_clear_noa_desc()
286 _os_mem_set(drvpriv, desc, 0, sizeof(struct rtw_phl_noa_desc)); in _phl_p2pps_clear_noa_desc()
[all …]
H A Dphl_tx.c642 void *drvpriv = phl_to_drvpriv(phl_info); in phl_check_xmit_ring_resource() local
646 _os_spinlock(drvpriv, &phl_info->t_ring_list_lock, _bh, NULL); in phl_check_xmit_ring_resource()
657 _os_atomic_set(drvpriv, &phl_info->phl_sw_tx_more, 0); in phl_check_xmit_ring_resource()
659 _os_spinunlock(drvpriv, &phl_info->t_ring_list_lock, _bh, NULL); in phl_check_xmit_ring_resource()
1442 void *drvpriv = phl_to_drvpriv(phl_info); in _phl_datapath_chk_pwr() local
1465 if (true == _os_atomic_read(drvpriv, trx_more) && in _phl_datapath_chk_pwr()
1466 false == _os_atomic_read(drvpriv, req_pwr)) in _phl_datapath_chk_pwr()
1474 void *drvpriv = phl_to_drvpriv(phl_info); in phl_datapath_chk_trx_pause() local
1482 if (PHL_TX_STATUS_SW_PAUSE == _os_atomic_read(drvpriv, sw_sts)) { in phl_datapath_chk_trx_pause()
H A Dphl_trx_def.h403 void *drvpriv; member
/OK3568_Linux_fs/u-boot/include/
H A Dspi-mem.h141 void *drvpriv; member
152 mem->drvpriv = data; in spi_mem_set_drvdata()
164 return mem->drvpriv; in spi_mem_get_drvdata()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Dusb_intf.c229 static struct drv_priv drvpriv = { variable
603 if (drvpriv.drv_registered) in r871xu_dev_remove()
631 drvpriv.drv_registered = true; in r8712u_drv_entry()
632 return usb_register(&drvpriv.r871xu_drv); in r8712u_drv_entry()
637 drvpriv.drv_registered = false; in r8712u_drv_halt()
638 usb_deregister(&drvpriv.r871xu_drv); in r8712u_drv_halt()
/OK3568_Linux_fs/kernel/include/linux/spi/
H A Dspi-mem.h196 void *drvpriv; member
208 mem->drvpriv = data; in spi_mem_set_drvdata()
220 return mem->drvpriv; in spi_mem_get_drvdata()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hci/
H A Dphl_trx_sdio.c1596 void *drvpriv = phl_to_drvpriv(phl); in phl_is_tx_pause_sdio() local
1598 if (PHL_TX_STATUS_SW_PAUSE == _os_atomic_read(drvpriv, in phl_is_tx_pause_sdio()
1607 void *drvpriv = phl_to_drvpriv(phl); in phl_is_rx_pause_sdio() local
1609 if (PHL_RX_STATUS_SW_PAUSE == _os_atomic_read(drvpriv, in phl_is_rx_pause_sdio()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/rtl8852b/
H A Dhal_trx_8852b.c417 _hal_rx_wlanhdr_check_8852b(void *drvpriv, void *hdr, struct rtw_r_meta_data *mdata) in _hal_rx_wlanhdr_check_8852b() argument
427 PHL_GET_80211_HDR_ADDRESS2(drvpriv, hdr, mdata->ta); in _hal_rx_wlanhdr_check_8852b()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/
H A Dhal_trx_8852b.c417 _hal_rx_wlanhdr_check_8852b(void *drvpriv, void *hdr, struct rtw_r_meta_data *mdata) in _hal_rx_wlanhdr_check_8852b() argument
427 PHL_GET_80211_HDR_ADDRESS2(drvpriv, hdr, mdata->ta); in _hal_rx_wlanhdr_check_8852b()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hci/
H A Dphl_trx_pcie.c262 void *drvpriv = phl_to_drvpriv(phl_info); in phl_is_tx_sw_pause_pcie() local
264 if (PHL_TX_STATUS_SW_PAUSE == _os_atomic_read(drvpriv, in phl_is_tx_sw_pause_pcie()
299 void *drvpriv = phl_to_drvpriv(phl_info); in phl_is_rx_sw_pause_pcie() local
301 if (PHL_RX_STATUS_SW_PAUSE == _os_atomic_read(drvpriv, in phl_is_rx_sw_pause_pcie()
2224 void *drvpriv = phl_to_drvpriv(phl_info); in _phl_tx_callback_pcie() local
2264 _os_atomic_read(drvpriv, &phl_info->phl_sw_tx_sts)) { in _phl_tx_callback_pcie()
2308 void *drvpriv = phl_to_drvpriv(phl_info); in _phl_rx_callback_pcie() local
2333 _os_atomic_read(drvpriv, &phl_info->phl_sw_rx_sts)) { in _phl_rx_callback_pcie()