Home
last modified time | relevance | path

Searched refs:ring_num (Results 1 – 25 of 26) sorted by relevance

12

/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/kiwi/
Dhal_kiwi_tx.h177 uint8_t ring_num; in hal_tx_config_rbm_mapping_be_kiwi() local
181 ring_num = hal_soc->hw_srng_table[ring_type].start_ring_id; in hal_tx_config_rbm_mapping_be_kiwi()
182 ring_num = srng->ring_id - ring_num; in hal_tx_config_rbm_mapping_be_kiwi()
187 ring_num = ring_num + RBM_PPE2TCL_OFFSET; in hal_tx_config_rbm_mapping_be_kiwi()
189 ring_num = ring_num + RBM_TCL_CMD_CREDIT_OFFSET; in hal_tx_config_rbm_mapping_be_kiwi()
195 val &= (~(RBM_MAPPING_BMSK << (RBM_MAPPING_SHFT * ring_num))); in hal_tx_config_rbm_mapping_be_kiwi()
198 (RBM_MAPPING_SHFT * ring_num)); in hal_tx_config_rbm_mapping_be_kiwi()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca5332/
Dhal_5332_tx.h208 uint8_t ring_num; in hal_tx_config_rbm_mapping_be_5332() local
212 ring_num = hal_soc->hw_srng_table[ring_type].start_ring_id; in hal_tx_config_rbm_mapping_be_5332()
213 ring_num = srng->ring_id - ring_num; in hal_tx_config_rbm_mapping_be_5332()
218 ring_num = ring_num + RBM_TCL_CMD_CREDIT_OFFSET; in hal_tx_config_rbm_mapping_be_5332()
224 val &= (~(RBM_MAPPING_BMSK << (RBM_MAPPING_SHFT * ring_num))); in hal_tx_config_rbm_mapping_be_5332()
227 (RBM_MAPPING_SHFT * ring_num)); in hal_tx_config_rbm_mapping_be_5332()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_rings.h117 int ring_type, int ring_num);
121 int ring_type, int ring_num,
164 static inline int dp_srng_find_ring_in_mask(int ring_num, uint8_t *grp_mask) in dp_srng_find_ring_in_mask() argument
167 uint8_t mask = 1 << ring_num; in dp_srng_find_ring_in_mask()
832 int ring_type, int ring_num, int nf_msi_grp_num);
839 int ring_num);
848 int ring_type, int ring_num, int nf_msi_grp_num) in dp_srng_msi2_setup() argument
863 int ring_num) in dp_srng_get_near_full_irq_mask() argument
Ddp_rings_main.c141 int ring_num) in dp_soc_ring_if_nss_offloaded() argument
151 status = ((nss_config) & (1 << ring_num)); in dp_soc_ring_if_nss_offloaded()
225 dp_is_reo_ring_num_in_nf_grp1(struct dp_soc *soc, int ring_num) in dp_is_reo_ring_num_in_nf_grp1() argument
227 return (WLAN_CFG_RX_NEAR_FULL_IRQ_MASK_1 & (1 << ring_num)); in dp_is_reo_ring_num_in_nf_grp1()
240 dp_is_reo_ring_num_in_nf_grp2(struct dp_soc *soc, int ring_num) in dp_is_reo_ring_num_in_nf_grp2() argument
242 return (WLAN_CFG_RX_NEAR_FULL_IRQ_MASK_2 & (1 << ring_num)); in dp_is_reo_ring_num_in_nf_grp2()
256 int ring_num) in dp_srng_get_near_full_irq_mask() argument
266 if (ring_num != wbm2_sw_rx_rel_ring_id) { in dp_srng_get_near_full_irq_mask()
272 if (dp_is_reo_ring_num_in_nf_grp1(soc, ring_num)) in dp_srng_get_near_full_irq_mask()
275 else if (dp_is_reo_ring_num_in_nf_grp2(soc, ring_num)) in dp_srng_get_near_full_irq_mask()
[all …]
Ddp_rx.c172 dp_rx_ring_record_entry(struct dp_soc *soc, uint8_t ring_num, in dp_rx_ring_record_entry() argument
179 if (qdf_unlikely(!soc->rx_ring_history[ring_num])) in dp_rx_ring_record_entry()
188 idx = dp_history_get_next_index(&soc->rx_ring_history[ring_num]->index, in dp_rx_ring_record_entry()
192 record = &soc->rx_ring_history[ring_num]->entry[idx]; in dp_rx_ring_record_entry()
288 dp_rx_refill_ring_record_entry(struct dp_soc *soc, uint8_t ring_num, in dp_rx_refill_ring_record_entry() argument
297 if (qdf_unlikely(ring_num >= MAX_PDEV_CNT || in dp_rx_refill_ring_record_entry()
298 !soc->rx_refill_ring_history[ring_num])) in dp_rx_refill_ring_record_entry()
301 idx = dp_history_get_next_index(&soc->rx_refill_ring_history[ring_num]->index, in dp_rx_refill_ring_record_entry()
305 record = &soc->rx_refill_ring_history[ring_num]->entry[idx]; in dp_rx_refill_ring_record_entry()
316 dp_rx_refill_ring_record_entry(struct dp_soc *soc, uint8_t ring_num, in dp_rx_refill_ring_record_entry() argument
Ddp_main.c1497 int ring_num, in dp_srng_calculate_msi_group() argument
1511 if (ring_num == wbm2_sw_rx_rel_ring_id) { in dp_srng_calculate_msi_group()
1514 ring_num = 0; in dp_srng_calculate_msi_group()
1515 } else if (ring_num == WBM2_SW_PPE_REL_RING_ID) { in dp_srng_calculate_msi_group()
1517 ring_num = 0; in dp_srng_calculate_msi_group()
1522 ring_num); in dp_srng_calculate_msi_group()
1530 if (ring_num == WBM2SW_TXCOMP_RING4_NUM) in dp_srng_calculate_msi_group()
1531 ring_num = TXCOMP_RING4_NUM; in dp_srng_calculate_msi_group()
1544 ring_num); in dp_srng_calculate_msi_group()
1615 *reg_msi_grp_num = dp_srng_find_ring_in_mask(ring_num, grp_mask); in dp_srng_calculate_msi_group()
[all …]
Ddp_types.h2537 int ring_type, int ring_num);
2540 int ring_num);
2560 int ring_type, int ring_num, int mac_id);
5352 int ring_type, int ring_num, int mac_id);
5366 int ring_type, int ring_num, int mac_id,
5379 int ring_type, int ring_num);
Ddp_tx.c6643 dp_tx_comp_reset_stale_entry_detection(struct dp_soc *soc, uint32_t ring_num) argument
6645 soc->stale_entry[ring_num].detected = 0;
6659 dp_tx_comp_stale_entry_handle(struct dp_soc *soc, uint32_t ring_num, argument
6666 dp_tx_comp_reset_stale_entry_detection(soc, ring_num);
6670 if (soc->stale_entry[ring_num].detected) {
6673 soc->stale_entry[ring_num].start_time;
6680 soc->stale_entry[ring_num].detected = 1;
6681 soc->stale_entry[ring_num].start_time = curr_timestamp;
6689 dp_tx_comp_reset_stale_entry_detection(struct dp_soc *soc, uint32_t ring_num) argument
6694 dp_tx_comp_stale_entry_handle(struct dp_soc *soc, uint32_t ring_num, argument
Ddp_rx.h3466 void dp_rx_ring_record_entry(struct dp_soc *soc, uint8_t ring_num,
3470 dp_rx_ring_record_entry(struct dp_soc *soc, uint8_t ring_num, in dp_rx_ring_record_entry() argument
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn9224/
Dhal_9224_tx.h304 uint8_t ring_num; in hal_tx_config_rbm_mapping_be_9224() local
308 ring_num = hal_soc->hw_srng_table[ring_type].start_ring_id; in hal_tx_config_rbm_mapping_be_9224()
309 ring_num = srng->ring_id - ring_num; in hal_tx_config_rbm_mapping_be_9224()
314 ring_num = ring_num + RBM_PPE2TCL_OFFSET; in hal_tx_config_rbm_mapping_be_9224()
316 ring_num = ring_num + RBM_TCL_CMD_CREDIT_OFFSET; in hal_tx_config_rbm_mapping_be_9224()
322 val &= (~(RBM_MAPPING_BMSK << (RBM_MAPPING_SHFT * ring_num))); in hal_tx_config_rbm_mapping_be_9224()
325 (RBM_MAPPING_SHFT * ring_num)); in hal_tx_config_rbm_mapping_be_9224()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn6432/
Dhal_6432_tx.h223 uint8_t ring_num; in hal_tx_config_rbm_mapping_be_6432() local
227 ring_num = hal_soc->hw_srng_table[ring_type].start_ring_id; in hal_tx_config_rbm_mapping_be_6432()
228 ring_num = srng->ring_id - ring_num; in hal_tx_config_rbm_mapping_be_6432()
233 ring_num = ring_num + RBM_PPE2TCL_OFFSET; in hal_tx_config_rbm_mapping_be_6432()
235 ring_num = ring_num + RBM_TCL_CMD_CREDIT_OFFSET; in hal_tx_config_rbm_mapping_be_6432()
241 val &= (~(RBM_MAPPING_BMSK << (RBM_MAPPING_SHFT * ring_num))); in hal_tx_config_rbm_mapping_be_6432()
244 (RBM_MAPPING_SHFT * ring_num)); in hal_tx_config_rbm_mapping_be_6432()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/
Dhal_srng.c124 int ring_num, int mac_id) in hal_get_srng_ring_id() argument
130 if (ring_num >= ring_config->max_rings) { in hal_get_srng_ring_id()
143 ring_id = (ring_config->start_ring_id + ring_num + in hal_get_srng_ring_id()
146 ring_id = ring_config->start_ring_id + ring_num; in hal_get_srng_ring_id()
164 int ring_num) in hal_update_srng_hp_tp_address() argument
171 ring_id = hal_get_srng_ring_id(hal_soc, ring_type, ring_num, 0); in hal_update_srng_hp_tp_address()
273 int ring_num) in hal_set_one_shadow_config() argument
289 *ring_num); in hal_set_one_shadow_config()
299 ring_num); in hal_set_one_shadow_config()
305 ring_type, ring_num); in hal_set_one_shadow_config()
[all …]
Dhal_api.h1125 int ring_num);
1162 int ring_type, int ring_num);
1166 int ring_type, int ring_num) in hal_srng_is_near_full_irq_supported() argument
1191 void *hal_srng_setup(void *hal_soc, int ring_type, int ring_num,
1215 void *hal_srng_setup_idx(void *hal_soc, int ring_type, int ring_num,
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/
Ddp_rh.c35 int ring_num, int mac_id) in dp_srng_init_rh() argument
42 soc, ring_type, ring_num); in dp_srng_init_rh()
56 ring_type, ring_num, in dp_srng_init_rh()
67 ring_type, ring_num); in dp_srng_init_rh()
69 ring_type, ring_num); in dp_srng_init_rh()
75 ring_type, ring_num); in dp_srng_init_rh()
79 ring_type, ring_num, in dp_srng_init_rh()
83 srng->hal_srng = hal_srng_setup(hal_soc, ring_type, ring_num, in dp_srng_init_rh()
Ddp_rh_rx.c292 dp_rx_ring_record_entry_rh(struct dp_soc *soc, uint8_t ring_num, in dp_rx_ring_record_entry_rh() argument
298 if (qdf_unlikely(!soc->rx_ring_history[ring_num])) in dp_rx_ring_record_entry_rh()
301 idx = dp_history_get_next_index(&soc->rx_ring_history[ring_num]->index, in dp_rx_ring_record_entry_rh()
305 record = &soc->rx_ring_history[ring_num]->entry[idx]; in dp_rx_ring_record_entry_rh()
/wlan-driver/qca-wifi-host-cmn/target_if/wifi_pos/src/
Dtarget_if_wifi_pos.c40 void *paddr, uint8_t ring_num, uint32_t cookie) in target_if_wifi_pos_vaddr_lookup() argument
42 if (priv->dma_buf_pool[ring_num][cookie].paddr == paddr) { in target_if_wifi_pos_vaddr_lookup()
43 return priv->dma_buf_pool[ring_num][cookie].vaddr + in target_if_wifi_pos_vaddr_lookup()
44 priv->dma_buf_pool[ring_num][cookie].offset; in target_if_wifi_pos_vaddr_lookup()
/wlan-driver/qca-wifi-host-cmn/target_if/dp/inc/
Dtarget_if_dp.h125 bool hash_based, uint8_t ring_num,
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/
Ddp_li.c432 int ring_type, int ring_num, int mac_id) in dp_srng_init_li() argument
434 return dp_srng_init_idx(soc, srng, ring_type, ring_num, mac_id, 0); in dp_srng_init_li()
/wlan-driver/qcacld-3.0/components/dp/core/inc/
Dwlan_dp_txrx.h252 QDF_STATUS wlan_dp_rx_fisa_flush_by_ctx_id(void *dp_soc, int ring_num);
/wlan-driver/qca-wifi-host-cmn/target_if/dp/src/
Dtarget_if_dp.c61 bool hash_based, uint8_t ring_num, in target_if_peer_set_default_routing() argument
88 value = ((hash_based) ? 1 : 0) | (ring_num << 1); in target_if_peer_set_default_routing()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
Ddp_be.c1661 int ring_type, int ring_num) in dp_free_ppeds_interrupts() argument
1666 ring_num == WBM2_SW_PPE_REL_RING_ID) in dp_free_ppeds_interrupts()
1676 int vector, int ring_type, int ring_num) in dp_register_ppeds_interrupts() argument
1687 ring_num == WBM2_SW_PPE_REL_RING_ID) { in dp_register_ppeds_interrupts()
2115 int ring_type, int ring_num, int mac_id) in dp_srng_init_be() argument
2117 return dp_srng_init_idx(soc, srng, ring_type, ring_num, mac_id, 0); in dp_srng_init_be()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/
Ddp_mon_1.0.c48 int ring_type, int ring_num, int mac_id);
50 int ring_type, int ring_num);
/wlan-driver/qcacld-3.0/components/dp/core/src/
Dwlan_dp_txrx.c1638 QDF_STATUS wlan_dp_rx_fisa_flush_by_ctx_id(void *dp_soc, int ring_num) in wlan_dp_rx_fisa_flush_by_ctx_id() argument
1640 return dp_rx_fisa_flush_by_ctx_id((struct dp_soc *)dp_soc, ring_num); in wlan_dp_rx_fisa_flush_by_ctx_id()
/wlan-driver/qca-wifi-host-cmn/dp/inc/
Dcdp_txrx_cmn_struct.h1002 typedef QDF_STATUS(*ol_txrx_fisa_flush_fp)(void *soc, int ring_num);
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/
Ddp_mon.c705 struct dp_pdev *pdev, uint8_t ring_num, in dp_monitor_mode_ring_config() argument
712 soc->rxdma_mon_buf_ring[ring_num] in dp_monitor_mode_ring_config()
719 pdev->rx_mac_buf_ring[ring_num] in dp_monitor_mode_ring_config()

12