| /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 | 57 enum psp_ring_type ring_type) in psp_v15_0_0_ring_stop() argument 86 enum psp_ring_type ring_type) in psp_v15_0_0_ring_create() argument 94 ret = psp_v15_0_0_ring_stop(psp, ring_type); in psp_v15_0_0_ring_create() 137 psp_ring_reg = ring_type; in psp_v15_0_0_ring_create() 153 enum psp_ring_type ring_type) in psp_v15_0_0_ring_destroy() argument 159 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 | 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() 117 int ring_type = queue_types[i]; in amdgpu_userq_mgr_reset_work() local 119 adev->userq_funcs[ring_type]; in amdgpu_userq_mgr_reset_work() 121 if (!amdgpu_userq_is_reset_type_supported(adev, ring_type, in amdgpu_userq_mgr_reset_work() 125 if (atomic_read(&uq_mgr->userq_count[ring_type]) > 0 && in amdgpu_userq_mgr_reset_work() 127 r = funcs->detect_and_reset(adev, ring_type); in amdgpu_userq_mgr_reset_work()
|
| /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_rx.c | 1632 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler() local 1638 ring_type = FIELD_GET(HTT_BACKPRESSURE_EVENT_RING_TYPE_M, *data); in ath11k_htt_backpressure_event_handler() 1649 pdev_id, ring_type, ring_id, hp, tp, backpressure_time); in ath11k_htt_backpressure_event_handler() 1651 if (ring_type == HTT_BACKPRESSURE_UMAC_RING_TYPE) { in ath11k_htt_backpressure_event_handler() 1656 } else if (ring_type == HTT_BACKPRESSURE_LMAC_RING_TYPE) { in ath11k_htt_backpressure_event_handler() 1665 ring_type); in ath11k_htt_backpressure_event_handler()
|
| /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.c | 1383 int aq_ptp_get_ring_cnt(struct aq_nic_s *aq_nic, const enum atl_ring_type ring_type) in aq_ptp_get_ring_cnt() argument 1389 return (aq_nic->aq_ptp->a1_ptp && ring_type == ATL_RING_RX) ? 2 : 1; in aq_ptp_get_ring_cnt()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hclge_mbx.h | 88 u8 ring_type; member
|
| H A D | hns3_enet.c | 4945 unsigned int ring_type) in hns3_ring_get_cfg() argument 4951 if (ring_type == HNAE3_RING_TYPE_TX) { in hns3_ring_get_cfg() 4964 hnae3_set_bit(ring->flag, HNAE3_RING_TYPE_B, ring_type); in hns3_ring_get_cfg()
|
| /linux/drivers/infiniband/hw/bng_re/ |
| H A D | bng_dev.c | 125 req.ring_type = type; in bng_re_net_ring_free() 158 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 | 944 enum cdnsp_ring_type ring_type; in cdnsp_endpoint_init() local 962 ring_type = usb_endpoint_type(pep->endpoint.desc); in cdnsp_endpoint_init() 988 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 | 7187 static void bnxt_set_rx_ring_params_p5(struct bnxt *bp, u32 ring_type, in bnxt_set_rx_ring_params_p5() argument 7196 if (ring_type == HWRM_RING_ALLOC_AGG) { in bnxt_set_rx_ring_params_p5() 7197 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX_AGG; in bnxt_set_rx_ring_params_p5() 7215 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument 7241 switch (ring_type) { in hwrm_ring_alloc_send_msg() 7248 req->ring_type = RING_ALLOC_REQ_RING_TYPE_TX; in hwrm_ring_alloc_send_msg() 7265 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX; in hwrm_ring_alloc_send_msg() 7266 req->length = (ring_type == HWRM_RING_ALLOC_RX) ? in hwrm_ring_alloc_send_msg() 7270 bnxt_set_rx_ring_params_p5(bp, ring_type, req, in hwrm_ring_alloc_send_msg() 7274 req->ring_type = RING_ALLOC_REQ_RING_TYPE_L2_CMPL; in hwrm_ring_alloc_send_msg() [all …]
|
| /linux/drivers/net/ethernet/nvidia/ |
| H A D | forcedeth.c | 354 union ring_type { union 799 union ring_type get_rx, put_rx, last_rx; 804 union ring_type rx_ring; 825 union ring_type get_tx, put_tx, last_tx; 830 union ring_type tx_ring; 2728 union ring_type put_tx; in nv_tx_timeout()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_debugfs.c | 14 enum ring_type { enum 484 struct i40e_pf *pf, enum ring_type type) in i40e_dbg_dump_desc()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_main.c | 672 send_msg.param[i].ring_type = in hclgevf_bind_ring_to_vector()
|