| /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_v15_0.c | 56 enum psp_ring_type ring_type) in psp_v15_0_0_ring_stop() argument 85 enum psp_ring_type ring_type) in psp_v15_0_0_ring_create() argument 93 ret = psp_v15_0_0_ring_stop(psp, ring_type); in psp_v15_0_0_ring_create() 136 psp_ring_reg = ring_type; in psp_v15_0_0_ring_create() 152 enum psp_ring_type ring_type) in psp_v15_0_0_ring_destroy() argument 158 ret = psp_v15_0_0_ring_stop(psp, ring_type); in psp_v15_0_0_ring_destroy()
|
| H A D | psp_v15_0_8.c | 52 enum psp_ring_type ring_type) in psp_v15_0_8_ring_stop() argument 81 enum psp_ring_type ring_type) in psp_v15_0_8_ring_create() argument 89 ret = psp_v15_0_8_ring_stop(psp, ring_type); in psp_v15_0_8_ring_create() 132 psp_ring_reg = ring_type; in psp_v15_0_8_ring_create() 148 enum psp_ring_type ring_type) in psp_v15_0_8_ring_destroy() argument 154 ret = psp_v15_0_8_ring_stop(psp, ring_type); in psp_v15_0_8_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_v11_0.c | 285 enum psp_ring_type ring_type) in psp_v11_0_ring_stop() argument 315 enum psp_ring_type ring_type) in psp_v11_0_ring_create() argument 324 ret = psp_v11_0_ring_stop(psp, ring_type); in psp_v11_0_ring_create() 369 psp_ring_reg = ring_type; in psp_v11_0_ring_create() 387 enum psp_ring_type ring_type) in psp_v11_0_ring_destroy() argument 393 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 | 381 enum psp_ring_type ring_type) in psp_v13_0_ring_stop() argument 412 enum psp_ring_type ring_type) in psp_v13_0_ring_create() argument 420 ret = psp_v13_0_ring_stop(psp, ring_type); in psp_v13_0_ring_create() 465 psp_ring_reg = ring_type; in psp_v13_0_ring_create() 482 enum psp_ring_type ring_type) in psp_v13_0_ring_destroy() argument 488 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()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | hal.c | 42 enum hal_ring_type ring_type, in ath12k_hal_srng_update_shadow_config() argument 45 return ab->hal.ops->srng_update_shadow_config(ab, ring_type, in ath12k_hal_srng_update_shadow_config() 215 int ath12k_hal_srng_get_entrysize(struct ath12k_base *ab, u32 ring_type) in ath12k_hal_srng_get_entrysize() argument 219 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath12k_hal_srng_get_entrysize() 222 srng_config = &ab->hal.srng_config[ring_type]; in ath12k_hal_srng_get_entrysize() 228 int ath12k_hal_srng_get_max_entries(struct ath12k_base *ab, u32 ring_type) in ath12k_hal_srng_get_max_entries() argument 232 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath12k_hal_srng_get_max_entries() 235 srng_config = &ab->hal.srng_config[ring_type]; in ath12k_hal_srng_get_max_entries() 676 int ring_type, ring_num; in ath12k_hal_srng_shadow_config() local 679 for (ring_type = 0; ring_type < HAL_MAX_RING_TYPES; ring_type++) { in ath12k_hal_srng_shadow_config() [all …]
|
| H A D | dp_htt.c | 673 enum hal_ring_type ring_type, in ath12k_dp_tx_get_ring_id_type() argument 679 switch (ring_type) { in ath12k_dp_tx_get_ring_id_type() 722 ath12k_warn(ab, "Unsupported ring type in DP :%d\n", ring_type); in ath12k_dp_tx_get_ring_id_type() 729 int mac_id, enum hal_ring_type ring_type) in ath12k_dp_tx_htt_srng_setup() argument 754 ring_type, &htt_ring_type, in ath12k_dp_tx_htt_srng_setup() 781 ret = ath12k_hal_srng_get_entrysize(ab, ring_type); in ath12k_dp_tx_htt_srng_setup() 831 ring_id, ring_type, cmd->intr_info, cmd->info2); in ath12k_dp_tx_htt_srng_setup() 932 int mac_id, enum hal_ring_type ring_type, in ath12k_dp_tx_htt_rx_filter_setup() argument 954 ring_type, &htt_ring_type, in ath12k_dp_tx_htt_rx_filter_setup() 1247 int mac_id, enum hal_ring_type ring_type, in ath12k_dp_tx_htt_tx_filter_setup() argument [all …]
|
| H A D | hal.h | 1387 enum hal_ring_type ring_type, 1473 int ath12k_hal_srng_get_entrysize(struct ath12k_base *ab, u32 ring_type); 1474 int ath12k_hal_srng_get_max_entries(struct ath12k_base *ab, u32 ring_type); 1505 enum hal_ring_type ring_type,
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | hal.c | 487 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type) in ath11k_hal_srng_get_entrysize() argument 491 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath11k_hal_srng_get_entrysize() 494 srng_config = &ab->hal.srng_config[ring_type]; in ath11k_hal_srng_get_entrysize() 499 int ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type) in ath11k_hal_srng_get_max_entries() argument 503 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath11k_hal_srng_get_max_entries() 506 srng_config = &ab->hal.srng_config[ring_type]; in ath11k_hal_srng_get_max_entries() 1124 enum hal_ring_type ring_type, in ath11k_hal_srng_update_hp_tp_addr() argument 1130 struct hal_srng_config *srng_config = &hal->srng_config[ring_type]; in ath11k_hal_srng_update_hp_tp_addr() 1132 ring_id = ath11k_hal_srng_get_ring_id(ab, ring_type, ring_num, 0); in ath11k_hal_srng_update_hp_tp_addr() 1147 enum hal_ring_type ring_type, in ath11k_hal_srng_update_shadow_config() argument [all …]
|
| H A D | dp_tx.c | 818 enum hal_ring_type ring_type, in ath11k_dp_tx_get_ring_id_type() argument 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() argument 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() 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() argument 1094 ring_type, &htt_ring_type, in ath11k_dp_tx_htt_rx_filter_setup()
|
| H A D | dp_tx.h | 39 int mac_id, enum hal_ring_type ring_type,
|
| H A D | dp.c | 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()
|
| /linux/drivers/net/wireless/ath/ath12k/wifi7/ |
| H A D | hal.c | 371 enum hal_ring_type ring_type, in ath12k_wifi7_hal_srng_update_hp_tp_addr() argument 377 struct hal_srng_config *srng_config = &hal->srng_config[ring_type]; in ath12k_wifi7_hal_srng_update_hp_tp_addr() 379 ring_id = ath12k_wifi7_hal_srng_get_ring_id(hal, ring_type, ring_num, in ath12k_wifi7_hal_srng_update_hp_tp_addr() 409 enum hal_ring_type ring_type, in ath12k_wifi7_hal_srng_update_shadow_config() argument 413 struct hal_srng_config *srng_config = &hal->srng_config[ring_type]; in ath12k_wifi7_hal_srng_update_shadow_config() 433 ath12k_wifi7_hal_srng_update_hp_tp_addr(ab, shadow_cfg_idx, ring_type, in ath12k_wifi7_hal_srng_update_shadow_config() 441 ring_type, ring_num); in ath12k_wifi7_hal_srng_update_shadow_config()
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_hwrm_lib.h | 53 u32 ring_type, int cmpl_ring_id); 56 u32 ring_type, u32 map_index);
|
| H A D | bnge_hwrm_lib.c | 1042 u32 ring_type, int cmpl_ring_id) in hwrm_ring_free_send_msg() argument 1053 req->ring_type = ring_type; in hwrm_ring_free_send_msg() 1061 netdev_err(bd->netdev, "hwrm_ring_free type %d failed. rc:%d\n", ring_type, rc); in hwrm_ring_free_send_msg() 1069 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument 1096 switch (ring_type) { in hwrm_ring_alloc_send_msg() 1102 req->ring_type = RING_ALLOC_REQ_RING_TYPE_TX; in hwrm_ring_alloc_send_msg() 1113 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX; in hwrm_ring_alloc_send_msg() 1127 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX_AGG; in hwrm_ring_alloc_send_msg() 1139 req->ring_type = RING_ALLOC_REQ_RING_TYPE_L2_CMPL; in hwrm_ring_alloc_send_msg() 1149 req->ring_type = RING_ALLOC_REQ_RING_TYPE_NQ; in hwrm_ring_alloc_send_msg() [all …]
|
| /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()
|
| H A D | aq_ptp.h | 78 int aq_ptp_get_ring_cnt(struct aq_nic_s *aq_nic, const enum atl_ring_type ring_type);
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_dsaf_rcb.c | 238 static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) in hns_rcb_ring_init() argument 242 (ring_type == RX_RING) ? &q->rx_ring : &q->tx_ring; in hns_rcb_ring_init() 245 if (ring_type == RX_RING) { in hns_rcb_ring_init() 432 static void hns_rcb_ring_get_cfg(struct hnae_queue *q, int ring_type) in hns_rcb_ring_get_cfg() argument 442 if (ring_type == RX_RING) { in hns_rcb_ring_get_cfg()
|
| /linux/drivers/crypto/intel/qat/qat_6xxx/ |
| H A D | adf_6xxx_hw_data.c | 38 enum adf_cfg_service_type ring_type; member 196 rp_config[i].ring_type = get_ring_type(service); in get_rp_config() 280 rps[rp_num] = rp_config[i].ring_type; in get_ring_to_svc_map()
|