Home
last modified time | relevance | path

Searched refs:ring_type (Results 1 – 25 of 34) sorted by relevance

12

/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,
250 static inline bool dp_skip_msi_cfg(struct dp_soc *soc, int ring_type) in dp_skip_msi_cfg() argument
252 if (ring_type == RXDMA_MONITOR_STATUS) in dp_skip_msi_cfg()
260 static inline bool dp_skip_msi_cfg(struct dp_soc *soc, int ring_type) in dp_skip_msi_cfg() argument
264 if (ring_type != RXDMA_MONITOR_STATUS) in dp_skip_msi_cfg()
266 } else if (ring_type == RXDMA_MONITOR_STATUS && in dp_skip_msi_cfg()
274 static inline bool dp_skip_msi_cfg(struct dp_soc *soc, int ring_type) in dp_skip_msi_cfg() argument
278 if (ring_type == REO_DST || ring_type == RXDMA_DST) in dp_skip_msi_cfg()
280 } else if (ring_type == RXDMA_MONITOR_STATUS && in dp_skip_msi_cfg()
[all …]
Ddp_rings_main.c140 enum hal_ring_type ring_type, in dp_soc_ring_if_nss_offloaded() argument
146 switch (ring_type) { in dp_soc_ring_if_nss_offloaded()
255 enum hal_ring_type ring_type, in dp_srng_get_near_full_irq_mask() argument
262 switch (ring_type) { in dp_srng_get_near_full_irq_mask()
318 int ring_type, int ring_num, int nf_msi_grp_num) in dp_srng_msi2_setup() argument
331 soc, ring_type, ring_num); in dp_srng_msi2_setup()
371 int ring_type) in dp_srng_configure_nf_interrupt_thresholds() argument
466 int ring_type, int ring_num, in dp_srng_configure_pointer_update_thresholds() argument
469 if (ring_type == REO_DST) { in dp_srng_configure_pointer_update_thresholds()
480 int ring_type, int ring_num, int mac_id, in dp_srng_init_idx() argument
[all …]
Ddp_main.c1278 uint32_t ring_type) in dp_srng_aligned_mem_alloc_consistent() argument
1295 DP_RING_BASE_ALIGN, ring_type); in dp_srng_aligned_mem_alloc_consistent()
1310 srng, ring_type, srng->alloc_size, srng->num_entries); in dp_srng_aligned_mem_alloc_consistent()
1394 uint32_t ring_type) in dp_srng_aligned_mem_alloc_consistent() argument
1496 enum hal_ring_type ring_type, in dp_srng_calculate_msi_group() argument
1507 switch (ring_type) { in dp_srng_calculate_msi_group()
1521 ring_type, in dp_srng_calculate_msi_group()
1543 nf_irq_mask = dp_srng_get_near_full_irq_mask(soc, ring_type, in dp_srng_calculate_msi_group()
1627 dp_ipa_vlan_srng_msi_setup(struct hal_srng_params *ring_params, int ring_type, in dp_ipa_vlan_srng_msi_setup() argument
1631 if ((ring_type == REO_DST) && in dp_ipa_vlan_srng_msi_setup()
[all …]
Ddp_types.h2537 int ring_type, int ring_num);
2539 struct dp_srng *srng, int ring_type,
2560 int ring_type, int ring_num, int mac_id);
3550 enum hal_ring_type ring_type; member
5329 int ring_type, uint32_t num_entries,
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_htt.c2848 enum hal_ring_type ring_type, argument
2862 &state->hw_tail, ring_type);
2864 state->ring_type = ring_type;
3224 u_int8_t ring_type; local
3245 ring_type = HTT_T2H_RX_BKPRESSURE_RING_TYPE_GET(*msg_word);
3262 switch (ring_type) {
3279 dp_alert("Invalid ring type: %d", ring_type);
5589 (ring_state->ring_type);
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/kiwi/
Dhal_kiwi_tx.h178 enum hal_ring_type ring_type; in hal_tx_config_rbm_mapping_be_kiwi() local
180 ring_type = srng->ring_type; in hal_tx_config_rbm_mapping_be_kiwi()
181 ring_num = hal_soc->hw_srng_table[ring_type].start_ring_id; in hal_tx_config_rbm_mapping_be_kiwi()
186 if (ring_type == PPE2TCL) in hal_tx_config_rbm_mapping_be_kiwi()
188 else if (ring_type == TCL_CMD_CREDIT) in hal_tx_config_rbm_mapping_be_kiwi()
/wlan-driver/qcacld-3.0/components/dp/core/src/
Dwlan_dp_prealloc.c78 enum hal_ring_type ring_type; member
116 enum hal_ring_type ring_type; member
568 enum hal_ring_type ring_type) in dp_get_tx_mon_mem_size() argument
575 if (ring_type == TX_MONITOR_BUF) { in dp_get_tx_mon_mem_size()
578 } else if (ring_type == TX_MONITOR_DST) { in dp_get_tx_mon_mem_size()
601 enum hal_ring_type ring_type) in dp_get_tx_mon_mem_size() argument
620 enum hal_ring_type ring_type) in dp_get_tx_mon_mem_size() argument
666 enum hal_ring_type ring_type, in dp_update_mem_size_by_ring_type() argument
669 switch (ring_type) { in dp_update_mem_size_by_ring_type()
709 *mem_size = dp_get_tx_mon_mem_size(cfg, ring_type); in dp_update_mem_size_by_ring_type()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/
Dhal_srng.c123 static int hal_get_srng_ring_id(struct hal_soc *hal, int ring_type, in hal_get_srng_ring_id() argument
127 HAL_SRNG_CONFIG(hal, ring_type); in hal_get_srng_ring_id()
163 int ring_type, in hal_update_srng_hp_tp_address() argument
169 HAL_SRNG_CONFIG(hal_soc, ring_type); in hal_update_srng_hp_tp_address()
171 ring_id = hal_get_srng_ring_id(hal_soc, ring_type, ring_num, 0); in hal_update_srng_hp_tp_address()
272 int ring_type, in hal_set_one_shadow_config() argument
277 struct hal_hw_srng_config *srng_config = &hal->hw_srng_table[ring_type]; in hal_set_one_shadow_config()
298 hal_update_srng_hp_tp_address(hal_soc, shadow_config_index, ring_type, in hal_set_one_shadow_config()
305 ring_type, ring_num); in hal_set_one_shadow_config()
314 int ring_type, ring_num; in hal_construct_srng_shadow_regs() local
[all …]
Dhal_api.h992 uint32_t hal_srng_get_entrysize(void *hal_soc, int ring_type);
1001 uint32_t hal_srng_max_entries(void *hal_soc, int ring_type);
1019 enum hal_srng_dir hal_srng_get_dir(void *hal_soc, int ring_type);
1124 QDF_STATUS hal_set_one_shadow_config(void *hal_soc, int ring_type,
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,
2912 uint8_t ring_type) in hal_get_hw_hptp() argument
2917 headp, tailp, ring_type); in hal_get_hw_hptp()
[all …]
Dhal_generic_api.h140 enum hal_ring_type ring_type = (enum hal_ring_type)ring; in hal_get_hw_hptp_generic() local
148 ring_config = HAL_SRNG_CONFIG(hal_soc, ring_type); in hal_get_hw_hptp_generic()
186 HAL_SRNG_CONFIG(hal, srng->ring_type); in hal_srng_hw_disable_generic()
/wlan-driver/qcacld-3.0/components/dp/core/inc/
Dwlan_dp_swlm.h131 static inline int dp_swlm_query_policy(struct dp_soc *soc, int ring_type, in dp_swlm_query_policy() argument
136 switch (ring_type) { in dp_swlm_query_policy()
142 ring_type); in dp_swlm_query_policy()
Dwlan_dp_prealloc.h89 uint32_t ring_type);
139 uint32_t ring_type);
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca5332/
Dhal_5332_tx.h209 enum hal_ring_type ring_type; in hal_tx_config_rbm_mapping_be_5332() local
211 ring_type = srng->ring_type; in hal_tx_config_rbm_mapping_be_5332()
212 ring_num = hal_soc->hw_srng_table[ring_type].start_ring_id; in hal_tx_config_rbm_mapping_be_5332()
217 if (ring_type == TCL_CMD_CREDIT) in hal_tx_config_rbm_mapping_be_5332()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn9224/
Dhal_9224_tx.h305 enum hal_ring_type ring_type; in hal_tx_config_rbm_mapping_be_9224() local
307 ring_type = srng->ring_type; in hal_tx_config_rbm_mapping_be_9224()
308 ring_num = hal_soc->hw_srng_table[ring_type].start_ring_id; in hal_tx_config_rbm_mapping_be_9224()
313 if (ring_type == PPE2TCL) in hal_tx_config_rbm_mapping_be_9224()
315 else if (ring_type == TCL_CMD_CREDIT) in hal_tx_config_rbm_mapping_be_9224()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn6432/
Dhal_6432_tx.h224 enum hal_ring_type ring_type; in hal_tx_config_rbm_mapping_be_6432() local
226 ring_type = srng->ring_type; in hal_tx_config_rbm_mapping_be_6432()
227 ring_num = hal_soc->hw_srng_table[ring_type].start_ring_id; in hal_tx_config_rbm_mapping_be_6432()
232 if (ring_type == PPE2TCL) in hal_tx_config_rbm_mapping_be_6432()
234 else if (ring_type == TCL_CMD_CREDIT) in hal_tx_config_rbm_mapping_be_6432()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/
Ddp_rh.c34 dp_srng_init_rh(struct dp_soc *soc, struct dp_srng *srng, int ring_type, 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()
65 !dp_skip_msi_cfg(soc, ring_type)) { 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()
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
Dce_api.h610 uint32_t (*ce_get_desc_size)(uint8_t ring_type);
611 int (*ce_ring_setup)(struct hif_softc *scn, uint8_t ring_type,
615 struct CE_state *CE_state, uint8_t ring_type);
Dce_service_srng.c731 static uint32_t ce_get_desc_size_srng(uint8_t ring_type) in ce_get_desc_size_srng() argument
733 switch (ring_type) { in ce_get_desc_size_srng()
952 static int ce_ring_setup_srng(struct hif_softc *scn, uint8_t ring_type, in ce_ring_setup_srng() argument
956 switch (ring_type) { in ce_ring_setup_srng()
976 uint8_t ring_type) in ce_ring_cleanup_srng() argument
980 switch (ring_type) { in ce_ring_cleanup_srng()
Dce_service_legacy.c1480 static uint32_t ce_get_desc_size_legacy(uint8_t ring_type) in ce_get_desc_size_legacy() argument
1482 switch (ring_type) { in ce_get_desc_size_legacy()
1497 static int ce_ring_setup_legacy(struct hif_softc *scn, uint8_t ring_type, in ce_ring_setup_legacy() argument
1506 switch (ring_type) { in ce_ring_setup_legacy()
Dce_main.c1992 uint8_t ring_type) in ce_get_desc_size() argument
1996 return hif_state->ce_services->ce_get_desc_size(ring_type); in ce_get_desc_size()
2020 uint8_t ring_type, uint32_t nentries) in ce_alloc_ring_state() argument
2043 ce_ring->hal_ring_type = ce_ring_type_to_hal_ring_type(ring_type); in ce_alloc_ring_state()
2045 desc_size = ce_get_desc_size(scn, ring_type); in ce_alloc_ring_state()
2087 static int ce_ring_setup(struct hif_softc *scn, uint8_t ring_type, in ce_ring_setup() argument
2093 return hif_state->ce_services->ce_ring_setup(scn, ring_type, ce_id, in ce_ring_setup()
2098 uint8_t ring_type) in ce_srng_cleanup() argument
2104 CE_state, ring_type); in ce_srng_cleanup()
/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
1665 if (ring_type == WBM2SW_RELEASE && in dp_free_ppeds_interrupts()
1668 else if (ring_type == REO2PPE || ring_type == PPE2TCL) in dp_free_ppeds_interrupts()
1676 int vector, int ring_type, int ring_num) in dp_register_ppeds_interrupts() argument
1686 if (ring_type == WBM2SW_RELEASE && in dp_register_ppeds_interrupts()
1698 } else if (ring_type == REO2PPE && be_soc->ppeds_int_mode_enabled) { in dp_register_ppeds_interrupts()
1709 } else if (ring_type == PPE2TCL && be_soc->ppeds_int_mode_enabled) { in dp_register_ppeds_interrupts()
1728 irq, soc, ring_type); in dp_register_ppeds_interrupts()
1733 ring_type, irq, vector); in dp_register_ppeds_interrupts()
2115 int ring_type, int ring_num, int mac_id) in dp_srng_init_be() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_main.h707 uint32_t ring_type,
750 uint32_t ring_type, in hif_mem_alloc_consistent_unaligned() argument
/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/core/hdd/src/
Dwlan_hdd_driver_ops.c122 uint32_t ring_type) in hdd_get_consistent_mem_unaligned() argument
125 ring_type); in hdd_get_consistent_mem_unaligned()
177 uint32_t ring_type) in hdd_get_consistent_mem_unaligned() argument
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/
Ddp_mon_1.0.c44 int ring_type, uint32_t num_entries,
48 int ring_type, int ring_num, int mac_id);
50 int ring_type, int ring_num);

12