Searched refs:ring_type (Results 1 - 25 of 42) sorted by relevance

12

/linux-master/drivers/net/wireless/ath/ath12k/
H A Ddp_tx.h31 int mac_id, enum hal_ring_type ring_type,
36 int mac_id, enum hal_ring_type ring_type,
H A Dhal.c1852 int ath12k_hal_srng_get_entrysize(struct ath12k_base *ab, u32 ring_type) argument
1856 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES))
1859 srng_config = &ab->hal.srng_config[ring_type];
1864 int ath12k_hal_srng_get_max_entries(struct ath12k_base *ab, u32 ring_type) argument
1868 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES))
1871 srng_config = &ab->hal.srng_config[ring_type];
2405 enum hal_ring_type ring_type,
2411 struct hal_srng_config *srng_config = &hal->srng_config[ring_type];
2413 ring_id = ath12k_hal_srng_get_ring_id(ab, ring_type, ring_num, 0);
2428 enum hal_ring_type ring_type,
2403 ath12k_hal_srng_update_hp_tp_addr(struct ath12k_base *ab, int shadow_cfg_idx, enum hal_ring_type ring_type, int ring_num) argument
2427 ath12k_hal_srng_update_shadow_config(struct ath12k_base *ab, enum hal_ring_type ring_type, int ring_num) argument
2468 int ring_type, ring_num; local
[all...]
H A Ddp_tx.c624 enum hal_ring_type ring_type,
630 switch (ring_type) {
681 ath12k_warn(ab, "Unsupported ring type in DP :%d\n", ring_type);
688 int mac_id, enum hal_ring_type ring_type)
712 ring_type, &htt_ring_type,
739 ret = ath12k_hal_srng_get_entrysize(ab, ring_type);
788 "ring_id:%d, ring_type:%d, intr_info:0x%x, flags:0x%x\n",
789 ring_id, ring_type, cmd->intr_info, cmd->info2);
882 int mac_id, enum hal_ring_type ring_type,
903 ring_type,
622 ath12k_dp_tx_get_ring_id_type(struct ath12k_base *ab, int mac_id, u32 ring_id, enum hal_ring_type ring_type, enum htt_srng_ring_type *htt_ring_type, enum htt_srng_ring_id *htt_ring_id) argument
687 ath12k_dp_tx_htt_srng_setup(struct ath12k_base *ab, u32 ring_id, int mac_id, enum hal_ring_type ring_type) argument
881 ath12k_dp_tx_htt_rx_filter_setup(struct ath12k_base *ab, u32 ring_id, int mac_id, enum hal_ring_type ring_type, int rx_buf_size, struct htt_rx_ring_tlv_filter *tlv_filter) argument
1105 ath12k_dp_tx_htt_tx_filter_setup(struct ath12k_base *ab, u32 ring_id, int mac_id, enum hal_ring_type ring_type, int tx_buf_size, struct htt_tx_ring_tlv_filter *htt_tlv_filter) argument
[all...]
H A Ddp.h447 * | ring_type | ring_id | pdev_id | msg_type |
486 * b'24:31 - ring_type: identify type of host rings,
1819 int mac_id, enum hal_ring_type ring_type);
1828 u32 ring_type, struct dp_srng *ring);
1831 u32 ring_type, struct hal_srng *srng,
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_v10_0.c71 enum psp_ring_type ring_type)
88 psp_ring_reg = ring_type;
103 enum psp_ring_type ring_type)
124 enum psp_ring_type ring_type)
130 ret = psp_v10_0_ring_stop(psp, ring_type);
70 psp_v10_0_ring_create(struct psp_context *psp, enum psp_ring_type ring_type) argument
102 psp_v10_0_ring_stop(struct psp_context *psp, enum psp_ring_type ring_type) argument
123 psp_v10_0_ring_destroy(struct psp_context *psp, enum psp_ring_type ring_type) argument
H A Dpsp_v11_0_8.c32 enum psp_ring_type ring_type)
61 enum psp_ring_type ring_type)
69 ret = psp_v11_0_8_ring_stop(psp, ring_type);
112 psp_ring_reg = ring_type;
128 enum psp_ring_type ring_type)
134 ret = psp_v11_0_8_ring_stop(psp, ring_type);
31 psp_v11_0_8_ring_stop(struct psp_context *psp, enum psp_ring_type ring_type) argument
60 psp_v11_0_8_ring_create(struct psp_context *psp, enum psp_ring_type ring_type) argument
127 psp_v11_0_8_ring_destroy(struct psp_context *psp, enum psp_ring_type ring_type) argument
H A Dpsp_v3_1.c55 enum psp_ring_type ring_type);
187 enum psp_ring_type ring_type)
198 ret = psp_v3_1_ring_stop(psp, ring_type);
212 psp_ring_reg = ring_type;
235 psp_ring_reg = ring_type;
252 enum psp_ring_type ring_type)
280 enum psp_ring_type ring_type)
286 ret = psp_v3_1_ring_stop(psp, ring_type);
186 psp_v3_1_ring_create(struct psp_context *psp, enum psp_ring_type ring_type) argument
251 psp_v3_1_ring_stop(struct psp_context *psp, enum psp_ring_type ring_type) argument
279 psp_v3_1_ring_destroy(struct psp_context *psp, enum psp_ring_type ring_type) argument
H A Dpsp_v13_0_4.c195 enum psp_ring_type ring_type)
224 enum psp_ring_type ring_type)
232 ret = psp_v13_0_4_ring_stop(psp, ring_type);
275 psp_ring_reg = ring_type;
291 enum psp_ring_type ring_type)
297 ret = psp_v13_0_4_ring_stop(psp, ring_type);
194 psp_v13_0_4_ring_stop(struct psp_context *psp, enum psp_ring_type ring_type) argument
223 psp_v13_0_4_ring_create(struct psp_context *psp, enum psp_ring_type ring_type) argument
290 psp_v13_0_4_ring_destroy(struct psp_context *psp, enum psp_ring_type ring_type) argument
H A Dpsp_v12_0.c182 enum psp_ring_type ring_type)
221 psp_ring_reg = ring_type;
237 enum psp_ring_type ring_type)
265 enum psp_ring_type ring_type)
271 ret = psp_v12_0_ring_stop(psp, ring_type);
181 psp_v12_0_ring_create(struct psp_context *psp, enum psp_ring_type ring_type) argument
236 psp_v12_0_ring_stop(struct psp_context *psp, enum psp_ring_type ring_type) argument
264 psp_v12_0_ring_destroy(struct psp_context *psp, enum psp_ring_type ring_type) argument
H A Dpsp_v13_0.c331 enum psp_ring_type ring_type)
360 enum psp_ring_type ring_type)
368 ret = psp_v13_0_ring_stop(psp, ring_type);
411 psp_ring_reg = ring_type;
427 enum psp_ring_type ring_type)
433 ret = psp_v13_0_ring_stop(psp, ring_type);
330 psp_v13_0_ring_stop(struct psp_context *psp, enum psp_ring_type ring_type) argument
359 psp_v13_0_ring_create(struct psp_context *psp, enum psp_ring_type ring_type) argument
426 psp_v13_0_ring_destroy(struct psp_context *psp, enum psp_ring_type ring_type) argument
H A Dpsp_v14_0.c219 enum psp_ring_type ring_type)
248 enum psp_ring_type ring_type)
256 ret = psp_v14_0_ring_stop(psp, ring_type);
299 psp_ring_reg = ring_type;
315 enum psp_ring_type ring_type)
321 ret = psp_v14_0_ring_stop(psp, ring_type);
218 psp_v14_0_ring_stop(struct psp_context *psp, enum psp_ring_type ring_type) argument
247 psp_v14_0_ring_create(struct psp_context *psp, enum psp_ring_type ring_type) argument
314 psp_v14_0_ring_destroy(struct psp_context *psp, enum psp_ring_type ring_type) argument
H A Dpsp_v11_0.c261 enum psp_ring_type ring_type)
289 enum psp_ring_type ring_type)
298 ret = psp_v11_0_ring_stop(psp, ring_type);
341 psp_ring_reg = ring_type;
358 enum psp_ring_type ring_type)
364 ret = psp_v11_0_ring_stop(psp, ring_type);
260 psp_v11_0_ring_stop(struct psp_context *psp, enum psp_ring_type ring_type) argument
288 psp_v11_0_ring_create(struct psp_context *psp, enum psp_ring_type ring_type) argument
357 psp_v11_0_ring_destroy(struct psp_context *psp, enum psp_ring_type ring_type) argument
H A Damdgpu_psp.h94 enum psp_ring_type ring_type; member in struct:psp_ring
122 enum psp_ring_type ring_type);
124 enum psp_ring_type ring_type);
126 enum psp_ring_type ring_type);
/linux-master/drivers/net/wireless/ath/ath11k/
H A Ddp_tx.h39 int mac_id, enum hal_ring_type ring_type,
H A Dhal.c486 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type) argument
490 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES))
493 srng_config = &ab->hal.srng_config[ring_type];
498 int ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type) argument
502 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES))
505 srng_config = &ab->hal.srng_config[ring_type];
1084 enum hal_ring_type ring_type,
1090 struct hal_srng_config *srng_config = &hal->srng_config[ring_type];
1092 ring_id = ath11k_hal_srng_get_ring_id(ab, ring_type, ring_num, 0);
1107 enum hal_ring_type ring_type,
1082 ath11k_hal_srng_update_hp_tp_addr(struct ath11k_base *ab, int shadow_cfg_idx, enum hal_ring_type ring_type, int ring_num) argument
1106 ath11k_hal_srng_update_shadow_config(struct ath11k_base *ab, enum hal_ring_type ring_type, int ring_num) argument
1147 int ring_type, ring_num; local
[all...]
H A Ddp_tx.c808 enum hal_ring_type ring_type,
815 switch (ring_type) {
862 ath11k_warn(ab, "Unsupported ring type in DP :%d\n", ring_type);
869 int mac_id, enum hal_ring_type ring_type)
893 ring_type, &htt_ring_type,
919 ret = ath11k_hal_srng_get_entrysize(ab, ring_type);
968 "htt srng setup msi_addr_lo 0x%x msi_addr_hi 0x%x msi_data 0x%x ring_id %d ring_type %d intr_info 0x%x flags 0x%x\n",
970 cmd->msi_data, ring_id, ring_type, cmd->intr_info, cmd->info2);
1063 int mac_id, enum hal_ring_type ring_type,
1084 ring_type,
806 ath11k_dp_tx_get_ring_id_type(struct ath11k_base *ab, int mac_id, u32 ring_id, enum hal_ring_type ring_type, enum htt_srng_ring_type *htt_ring_type, enum htt_srng_ring_id *htt_ring_id) argument
868 ath11k_dp_tx_htt_srng_setup(struct ath11k_base *ab, u32 ring_id, int mac_id, enum hal_ring_type ring_type) argument
1062 ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id, int mac_id, enum hal_ring_type ring_type, int rx_buf_size, struct htt_rx_ring_tlv_filter *tlv_filter) argument
[all...]
H A Ddp.c202 "ring not part of an ext_group; ring_type: %d,ring_num %d",
650 u32 ring_type, struct dp_srng *ring)
654 if (ring_type != HAL_RXDMA_MONITOR_DESC) {
698 u32 ring_type, struct hal_srng *srng,
735 entry_sz = ath11k_hal_srng_get_entrysize(ab, ring_type);
740 ring_type != HAL_RXDMA_MONITOR_DESC) {
648 ath11k_dp_link_desc_cleanup(struct ath11k_base *ab, struct dp_link_desc_bank *desc_bank, u32 ring_type, struct dp_srng *ring) argument
696 ath11k_dp_link_desc_setup(struct ath11k_base *ab, struct dp_link_desc_bank *link_desc_banks, u32 ring_type, struct hal_srng *srng, u32 n_link_desc) argument
H A Ddp.h368 * | ring_type | ring_id | pdev_id | msg_type |
407 * b'24:31 - ring_type: identify type of host rings,
1692 int mac_id, enum hal_ring_type ring_type);
1701 u32 ring_type, struct dp_srng *ring);
1704 u32 ring_type, struct hal_srng *srng,
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.h153 enum atl_ring_type ring_type; member in struct:aq_ring_s
195 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type);
H A Daq_ptp.h78 int aq_ptp_get_ring_cnt(struct aq_nic_s *aq_nic, const enum atl_ring_type ring_type);
H A Daq_ring.c230 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type) argument
235 self->ring_type = ring_type;
237 if (self->ring_type == ATL_RING_RX)
940 if (self->ring_type == ATL_RING_RX) {
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.c13 if (ring->ring_type == HCLGE_COMM_TYPE_CSQ) {
207 int hclge_comm_alloc_cmd_queue(struct hclge_comm_hw *hw, int ring_type) argument
210 (ring_type == HCLGE_COMM_TYPE_CSQ) ? &hw->cmq.csq :
214 ring->ring_type = ring_type;
219 (ring_type == HCLGE_COMM_TYPE_CSQ) ? "CSQ" : "CRQ",
H A Dhclge_comm_cmd.h415 u8 ring_type; /* cmq ring type */ member in struct:hclge_comm_cmq_ring
461 int hclge_comm_alloc_cmd_queue(struct hclge_comm_hw *hw, int ring_type);
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhclge_mbx.h88 u8 ring_type; member in struct:hclge_ring_chain_param
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_rcb.c241 *@ring_type: ring type, RX_RING or TX_RING
243 static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) argument
247 (ring_type == RX_RING) ? &q->rx_ring : &q->tx_ring;
250 if (ring_type == RX_RING) {
437 static void hns_rcb_ring_get_cfg(struct hnae_queue *q, int ring_type) argument
447 if (ring_type == RX_RING) {

Completed in 240 milliseconds

12