| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | psp_v11_0_8.c | 32 enum psp_ring_type ring_type) in psp_v11_0_8_ring_stop() argument 63 enum psp_ring_type ring_type) in psp_v11_0_8_ring_create() argument 71 ret = psp_v11_0_8_ring_stop(psp, ring_type); in psp_v11_0_8_ring_create() 116 psp_ring_reg = ring_type; in psp_v11_0_8_ring_create() 133 enum psp_ring_type ring_type) in psp_v11_0_8_ring_destroy() argument 139 ret = psp_v11_0_8_ring_stop(psp, ring_type); in psp_v11_0_8_ring_destroy()
|
| H A D | psp_v10_0.c | 71 enum psp_ring_type ring_type) in psp_v10_0_ring_create() argument 88 psp_ring_reg = ring_type; in psp_v10_0_ring_create() 103 enum psp_ring_type ring_type) in psp_v10_0_ring_stop() argument 124 enum psp_ring_type ring_type) in psp_v10_0_ring_destroy() argument 130 ret = psp_v10_0_ring_stop(psp, ring_type); in psp_v10_0_ring_destroy()
|
| H A D | psp_v3_1.c | 55 enum psp_ring_type ring_type); 187 enum psp_ring_type ring_type) in psp_v3_1_ring_create() argument 198 ret = psp_v3_1_ring_stop(psp, ring_type); in psp_v3_1_ring_create() 212 psp_ring_reg = ring_type; in psp_v3_1_ring_create() 235 psp_ring_reg = ring_type; in psp_v3_1_ring_create() 251 enum psp_ring_type ring_type) in psp_v3_1_ring_stop() argument 281 enum psp_ring_type ring_type) in psp_v3_1_ring_destroy() argument 287 ret = psp_v3_1_ring_stop(psp, ring_type); in psp_v3_1_ring_destroy()
|
| H A D | psp_v13_0_4.c | 193 enum psp_ring_type ring_type) in psp_v13_0_4_ring_stop() argument 224 enum psp_ring_type ring_type) in psp_v13_0_4_ring_create() argument 232 ret = psp_v13_0_4_ring_stop(psp, ring_type); in psp_v13_0_4_ring_create() 277 psp_ring_reg = ring_type; in psp_v13_0_4_ring_create() 294 enum psp_ring_type ring_type) in psp_v13_0_4_ring_destroy() argument 300 ret = psp_v13_0_4_ring_stop(psp, ring_type); in psp_v13_0_4_ring_destroy()
|
| H A D | psp_v12_0.c | 143 enum psp_ring_type ring_type) in psp_v12_0_ring_create() argument 160 psp_ring_reg = ring_type; in psp_v12_0_ring_create() 172 enum psp_ring_type ring_type) in psp_v12_0_ring_stop() argument 199 enum psp_ring_type ring_type) in psp_v12_0_ring_destroy() argument 205 ret = psp_v12_0_ring_stop(psp, ring_type); in psp_v12_0_ring_destroy()
|
| H A D | psp_v11_0.c | 284 enum psp_ring_type ring_type) in psp_v11_0_ring_stop() argument 314 enum psp_ring_type ring_type) in psp_v11_0_ring_create() argument 323 ret = psp_v11_0_ring_stop(psp, ring_type); in psp_v11_0_ring_create() 368 psp_ring_reg = ring_type; in psp_v11_0_ring_create() 386 enum psp_ring_type ring_type) in psp_v11_0_ring_destroy() argument 392 ret = psp_v11_0_ring_stop(psp, ring_type); in psp_v11_0_ring_destroy()
|
| H A D | psp_v14_0.c | 240 enum psp_ring_type ring_type) in psp_v14_0_ring_stop() argument 271 enum psp_ring_type ring_type) in psp_v14_0_ring_create() argument 279 ret = psp_v14_0_ring_stop(psp, ring_type); in psp_v14_0_ring_create() 324 psp_ring_reg = ring_type; in psp_v14_0_ring_create() 341 enum psp_ring_type ring_type) in psp_v14_0_ring_destroy() argument 347 ret = psp_v14_0_ring_stop(psp, ring_type); in psp_v14_0_ring_destroy()
|
| H A D | psp_v13_0.c | 375 enum psp_ring_type ring_type) in psp_v13_0_ring_stop() argument 406 enum psp_ring_type ring_type) in psp_v13_0_ring_create() argument 414 ret = psp_v13_0_ring_stop(psp, ring_type); in psp_v13_0_ring_create() 459 psp_ring_reg = ring_type; in psp_v13_0_ring_create() 476 enum psp_ring_type ring_type) in psp_v13_0_ring_destroy() argument 482 ret = psp_v13_0_ring_stop(psp, ring_type); in psp_v13_0_ring_destroy()
|
| H A D | amdgpu_userq.c | 51 enum amdgpu_ring_type ring_type, int reset_type) in amdgpu_userq_is_reset_type_supported() argument 54 if (ring_type < 0 || ring_type >= AMDGPU_RING_TYPE_MAX) in amdgpu_userq_is_reset_type_supported() 57 switch (ring_type) { in amdgpu_userq_is_reset_type_supported() 129 int ring_type = queue_types[i]; in amdgpu_userq_detect_and_reset_queues() local 130 const struct amdgpu_userq_funcs *funcs = adev->userq_funcs[ring_type]; in amdgpu_userq_detect_and_reset_queues() 132 if (!amdgpu_userq_is_reset_type_supported(adev, ring_type, AMDGPU_RESET_TYPE_PER_QUEUE)) in amdgpu_userq_detect_and_reset_queues() 135 if (atomic_read(&uq_mgr->userq_count[ring_type]) > 0 && in amdgpu_userq_detect_and_reset_queues() 137 r = funcs->detect_and_reset(adev, ring_type); in amdgpu_userq_detect_and_reset_queues()
|
| H A D | amdgpu_psp.h | 120 enum psp_ring_type ring_type; member 154 enum psp_ring_type ring_type); 156 enum psp_ring_type ring_type); 158 enum psp_ring_type ring_type);
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | hal.c | 42 enum hal_ring_type ring_type, 45 return ab->hal.ops->srng_update_shadow_config(ab, ring_type, 215 int ath12k_hal_srng_get_entrysize(struct ath12k_base *ab, u32 ring_type) 219 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) 222 srng_config = &ab->hal.srng_config[ring_type]; 228 int ath12k_hal_srng_get_max_entries(struct ath12k_base *ab, u32 ring_type) 232 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) 235 srng_config = &ab->hal.srng_config[ring_type]; 676 int ring_type, ring_num; in ath12k_hw_qcn9274_dp_rx_h_mpdu_err() 679 for (ring_type in ath12k_hw_qcn9274_dp_rx_h_mpdu_err() 1840 ath12k_hal_srng_get_entrysize(struct ath12k_base * ab,u32 ring_type) ath12k_hal_srng_get_entrysize() argument 1852 ath12k_hal_srng_get_max_entries(struct ath12k_base * ab,u32 ring_type) ath12k_hal_srng_get_max_entries() argument 2449 ath12k_hal_srng_update_hp_tp_addr(struct ath12k_base * ab,int shadow_cfg_idx,enum hal_ring_type ring_type,int ring_num) ath12k_hal_srng_update_hp_tp_addr() argument 2472 ath12k_hal_srng_update_shadow_config(struct ath12k_base * ab,enum hal_ring_type ring_type,int ring_num) ath12k_hal_srng_update_shadow_config() argument 2512 int ring_type, ring_num; ath12k_hal_srng_shadow_config() local [all...] |
| H A D | dp_tx.c | 1104 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) ath12k_dp_tx_get_ring_id_type() argument 1160 ath12k_dp_tx_htt_srng_setup(struct ath12k_base * ab,u32 ring_id,int mac_id,enum hal_ring_type ring_type) ath12k_dp_tx_htt_srng_setup() argument 1364 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) ath12k_dp_tx_htt_rx_filter_setup() argument 1676 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) ath12k_dp_tx_htt_tx_filter_setup() argument
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
| H A D | hclge_comm_cmd.c | 13 if (ring->ring_type == HCLGE_COMM_TYPE_CSQ) { in hclge_comm_cmd_config_regs() 210 int hclge_comm_alloc_cmd_queue(struct hclge_comm_hw *hw, int ring_type) in hclge_comm_alloc_cmd_queue() argument 213 (ring_type == HCLGE_COMM_TYPE_CSQ) ? &hw->cmq.csq : in hclge_comm_alloc_cmd_queue() 217 ring->ring_type = ring_type; in hclge_comm_alloc_cmd_queue() 222 (ring_type == HCLGE_COMM_TYPE_CSQ) ? "CSQ" : "CRQ", in hclge_comm_alloc_cmd_queue()
|
| H A D | hclge_comm_cmd.h | 425 u8 ring_type; /* cmq ring type */ member 482 int hclge_comm_alloc_cmd_queue(struct hclge_comm_hw *hw, int ring_type);
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ring.h | 153 enum atl_ring_type ring_type; member 195 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type);
|
| H A D | aq_ring.c | 230 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type) in aq_ring_init() argument 235 self->ring_type = ring_type; in aq_ring_init() 237 if (self->ring_type == ATL_RING_RX) in aq_ring_init() 945 if (self->ring_type == ATL_RING_RX) { in aq_ring_fill_stats_data()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | dp_tx.c | 818 enum hal_ring_type ring_type, in ath11k_dp_tx_get_ring_id_type() 825 switch (ring_type) { in ath11k_dp_tx_get_ring_id_type() 872 ath11k_warn(ab, "Unsupported ring type in DP :%d\n", ring_type); in ath11k_dp_tx_get_ring_id_type() 879 int mac_id, enum hal_ring_type ring_type) in ath11k_dp_tx_htt_srng_setup() 903 ring_type, &htt_ring_type, in ath11k_dp_tx_htt_srng_setup() 929 ret = ath11k_hal_srng_get_entrysize(ab, ring_type); in ath11k_dp_tx_htt_srng_setup() 978 "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", in ath11k_dp_tx_htt_srng_setup() 980 cmd->msi_data, ring_id, ring_type, cmd->intr_info, cmd->info2); in ath11k_dp_tx_htt_srng_setup() 1073 int mac_id, enum hal_ring_type ring_type, in ath11k_dp_tx_htt_rx_filter_setup() 1094 ring_type, in ath11k_dp_tx_htt_rx_filter_setup() 817 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) ath11k_dp_tx_get_ring_id_type() argument 878 ath11k_dp_tx_htt_srng_setup(struct ath11k_base * ab,u32 ring_id,int mac_id,enum hal_ring_type ring_type) ath11k_dp_tx_htt_srng_setup() argument 1072 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) ath11k_dp_tx_htt_rx_filter_setup() argument [all...] |
| H A D | dp_tx.h | 39 int mac_id, enum hal_ring_type ring_type,
|
| H A D | dp.c | 202 "ring not part of an ext_group; ring_type: %d,ring_num %d", in ath11k_dp_srng_msi_setup() 639 u32 ring_type, struct dp_srng *ring) in ath11k_dp_link_desc_cleanup() argument 643 if (ring_type != HAL_RXDMA_MONITOR_DESC) { in ath11k_dp_link_desc_cleanup() 687 u32 ring_type, struct hal_srng *srng, in ath11k_dp_link_desc_setup() argument 724 entry_sz = ath11k_hal_srng_get_entrysize(ab, ring_type); in ath11k_dp_link_desc_setup() 729 ring_type != HAL_RXDMA_MONITOR_DESC) { in ath11k_dp_link_desc_setup()
|
| H A D | dp.h | 368 * | ring_type | ring_id | pdev_id | msg_type | 407 * b'24:31 - ring_type: identify type of host rings, 1669 int mac_id, enum hal_ring_type ring_type); 1678 u32 ring_type, struct dp_srng *ring); 1681 u32 ring_type, struct hal_srng *srng,
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hclge_mbx.h | 88 u8 ring_type; member
|
| /linux/drivers/infiniband/hw/bng_re/ |
| H A D | bng_dev.c | 134 req.ring_type = type; in bng_re_net_ring_free() 170 req.ring_type = ring_attr->type; in bng_re_net_ring_alloc()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_mbx.c | 205 req->msg.param[0].ring_type); in hclge_get_ring_chain_from_mbx() 220 req->msg.param[i].ring_type); in hclge_get_ring_chain_from_mbx() 323 resp->data[HCLGE_RING_TYPE_OFFSET] = req->msg.param[0].ring_type; in hclge_get_vf_ring_vector_map()
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-mem.c | 945 enum cdnsp_ring_type ring_type; in cdnsp_endpoint_init() local 963 ring_type = usb_endpoint_type(pep->endpoint.desc); in cdnsp_endpoint_init() 989 pep->ring = cdnsp_ring_alloc(pdev, 2, ring_type, max_packet, mem_flags); in cdnsp_endpoint_init()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 7097 static void bnxt_set_rx_ring_params_p5(struct bnxt *bp, u32 ring_type, in hwrm_ring_alloc_send_msg() 7106 if (ring_type == HWRM_RING_ALLOC_AGG) { in hwrm_ring_alloc_send_msg() 7107 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX_AGG; in hwrm_ring_alloc_send_msg() 7125 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() 7151 switch (ring_type) { in hwrm_ring_alloc_send_msg() 7158 req->ring_type = RING_ALLOC_REQ_RING_TYPE_TX; in hwrm_ring_alloc_send_msg() 7175 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX; in hwrm_ring_alloc_send_msg() 7176 req->length = (ring_type == HWRM_RING_ALLOC_RX) ? in hwrm_ring_alloc_send_msg() 7180 bnxt_set_rx_ring_params_p5(bp, ring_type, req, in hwrm_ring_alloc_send_msg() 7184 req->ring_type in hwrm_ring_alloc_send_msg() 7066 bnxt_set_rx_ring_params_p5(struct bnxt * bp,u32 ring_type,struct hwrm_ring_alloc_input * req,struct bnxt_ring_struct * ring) bnxt_set_rx_ring_params_p5() argument 7092 hwrm_ring_alloc_send_msg(struct bnxt * bp,struct bnxt_ring_struct * ring,u32 ring_type,u32 map_index) hwrm_ring_alloc_send_msg() argument 7220 bnxt_set_db_mask(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type) bnxt_set_db_mask() argument 7243 bnxt_set_db(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnxt_set_db() argument 7459 hwrm_ring_free_send_msg(struct bnxt * bp,struct bnxt_ring_struct * ring,u32 ring_type,int cmpl_ring_id) hwrm_ring_free_send_msg() argument 14000 bnxt_dbg_hwrm_ring_info_get(struct bnxt * bp,u8 ring_type,u32 ring_id,u32 * prod,u32 * cons) bnxt_dbg_hwrm_ring_info_get() argument [all...] |