Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_v11_0_8.c32 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 Dpsp_v15_0.c56 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 Dpsp_v15_0_8.c52 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 Dpsp_v13_0_4.c193 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 Dpsp_v14_0.c240 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 Dpsp_v13_0.c381 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 Damdgpu_userq.c51 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/ethernet/broadcom/bnge/
H A Dbnge_hwrm_lib.c1042 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 …]
H A Dbnge_netdev.c1422 u32 ring_type) in bnge_set_db_mask() argument
1424 switch (ring_type) { in bnge_set_db_mask()
1444 u32 ring_type, u32 map_idx, u32 xid) in bnge_set_db() argument
1448 switch (ring_type) { in bnge_set_db()
1466 bnge_set_db_mask(bn, db, ring_type); in bnge_set_db()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.c13 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 Dhclge_comm_cmd.h425 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/wireless/ath/ath12k/
H A Ddp_htt.c673 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 Ddp.c700 u32 ring_type, struct dp_srng *ring) in ath12k_dp_link_desc_cleanup() argument
704 if (ring_type != HAL_RXDMA_MONITOR_DESC) { in ath12k_dp_link_desc_cleanup()
748 u32 ring_type, struct hal_srng *srng, in ath12k_dp_link_desc_setup() argument
788 entry_sz = ath12k_hal_srng_get_entrysize(ab, ring_type); in ath12k_dp_link_desc_setup()
793 ring_type != HAL_RXDMA_MONITOR_DESC) { in ath12k_dp_link_desc_setup()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.h153 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 Daq_ring.c230 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 Daq_ptp.c1383 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/wireless/ath/ath11k/
H A Ddp_tx.c818 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 Ddp_tx.h39 int mac_id, enum hal_ring_type ring_type,
H A Ddp_rx.c1632 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler()
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()
1633 u8 pdev_id, ring_type, ring_id, pdev_idx; ath11k_htt_backpressure_event_handler() local
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhclge_mbx.h88 u8 ring_type; member
/linux/drivers/infiniband/hw/bng_re/
H A Dbng_dev.c125 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 Dhclge_mbx.c205 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 Dcdnsp-mem.c944 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 Dbnxt.c7094 static void bnxt_set_rx_ring_params_p5(struct bnxt *bp, u32 ring_type, in bnxt_set_rx_ring_params_p5() argument
7103 if (ring_type == HWRM_RING_ALLOC_AGG) { in bnxt_set_rx_ring_params_p5()
7104 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX_AGG; in bnxt_set_rx_ring_params_p5()
7122 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument
7148 switch (ring_type) { in hwrm_ring_alloc_send_msg()
7155 req->ring_type = RING_ALLOC_REQ_RING_TYPE_TX; in hwrm_ring_alloc_send_msg()
7172 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX; in hwrm_ring_alloc_send_msg()
7173 req->length = (ring_type == HWRM_RING_ALLOC_RX) ? in hwrm_ring_alloc_send_msg()
7177 bnxt_set_rx_ring_params_p5(bp, ring_type, req, in hwrm_ring_alloc_send_msg()
7181 req->ring_type in hwrm_ring_alloc_send_msg()
7251 bnxt_set_db_mask(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type) bnxt_set_db_mask() argument
7274 bnxt_set_db(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnxt_set_db() argument
7490 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
14062 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...]
/linux/drivers/usb/host/
H A Dxhci-mem.c1417 enum xhci_ring_type ring_type; in xhci_endpoint_init() local
1433 ring_type = usb_endpoint_type(&ep->desc); in xhci_endpoint_init()
1489 xhci_ring_alloc(xhci, 2, ring_type, max_packet, mem_flags); in xhci_endpoint_init()

12