Home
last modified time | relevance | path

Searched refs:ring_type (Results 1 – 25 of 27) 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_v3_1.c55 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 Dpsp_v10_0.c71 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 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_v12_0.c143 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 Dpsp_v11_0.c284 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 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.c375 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 Damdgpu_psp.h120 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 Dhal.c1840 int ath12k_hal_srng_get_entrysize(struct ath12k_base *ab, u32 ring_type) in ath12k_hal_srng_get_entrysize() argument
1844 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath12k_hal_srng_get_entrysize()
1847 srng_config = &ab->hal.srng_config[ring_type]; in ath12k_hal_srng_get_entrysize()
1852 int ath12k_hal_srng_get_max_entries(struct ath12k_base *ab, u32 ring_type) in ath12k_hal_srng_get_max_entries() argument
1856 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath12k_hal_srng_get_max_entries()
1859 srng_config = &ab->hal.srng_config[ring_type]; in ath12k_hal_srng_get_max_entries()
2449 enum hal_ring_type ring_type, in ath12k_hal_srng_update_hp_tp_addr() argument
2455 struct hal_srng_config *srng_config = &hal->srng_config[ring_type]; in ath12k_hal_srng_update_hp_tp_addr()
2457 ring_id = ath12k_hal_srng_get_ring_id(ab, ring_type, ring_num, 0); in ath12k_hal_srng_update_hp_tp_addr()
2472 enum hal_ring_type ring_type, in ath12k_hal_srng_update_shadow_config() argument
[all …]
H A Ddp_tx.c1104 enum hal_ring_type ring_type, in ath12k_dp_tx_get_ring_id_type() argument
1110 switch (ring_type) { in ath12k_dp_tx_get_ring_id_type()
1153 ath12k_warn(ab, "Unsupported ring type in DP :%d\n", ring_type); in ath12k_dp_tx_get_ring_id_type()
1160 int mac_id, enum hal_ring_type ring_type) in ath12k_dp_tx_htt_srng_setup() argument
1184 ring_type, &htt_ring_type, in ath12k_dp_tx_htt_srng_setup()
1211 ret = ath12k_hal_srng_get_entrysize(ab, ring_type); in ath12k_dp_tx_htt_srng_setup()
1261 ring_id, ring_type, cmd->intr_info, cmd->info2); in ath12k_dp_tx_htt_srng_setup()
1364 int mac_id, enum hal_ring_type ring_type, in ath12k_dp_tx_htt_rx_filter_setup() argument
1385 ring_type, &htt_ring_type, in ath12k_dp_tx_htt_rx_filter_setup()
1676 int mac_id, enum hal_ring_type ring_type, in ath12k_dp_tx_htt_tx_filter_setup() argument
[all …]
/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/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()
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_tx.c817 enum hal_ring_type ring_type, in ath11k_dp_tx_get_ring_id_type() argument
824 switch (ring_type) { in ath11k_dp_tx_get_ring_id_type()
871 ath11k_warn(ab, "Unsupported ring type in DP :%d\n", ring_type); in ath11k_dp_tx_get_ring_id_type()
878 int mac_id, enum hal_ring_type ring_type) in ath11k_dp_tx_htt_srng_setup() argument
902 ring_type, &htt_ring_type, in ath11k_dp_tx_htt_srng_setup()
928 ret = ath11k_hal_srng_get_entrysize(ab, ring_type); in ath11k_dp_tx_htt_srng_setup()
979 cmd->msi_data, ring_id, ring_type, cmd->intr_info, cmd->info2); in ath11k_dp_tx_htt_srng_setup()
1072 int mac_id, enum hal_ring_type ring_type, in ath11k_dp_tx_htt_rx_filter_setup() argument
1093 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.c639 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 Ddp.h1670 int mac_id, enum hal_ring_type ring_type);
1679 u32 ring_type, struct dp_srng *ring);
1682 u32 ring_type, struct hal_srng *srng,
/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.c134 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/usb/cdns3/
H A Dcdnsp-mem.c945 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 Dbnxt.c7057 static void bnxt_set_rx_ring_params_p5(struct bnxt *bp, u32 ring_type, in bnxt_set_rx_ring_params_p5() argument
7065 if (ring_type == HWRM_RING_ALLOC_AGG) { in bnxt_set_rx_ring_params_p5()
7066 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX_AGG; in bnxt_set_rx_ring_params_p5()
7083 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument
7109 switch (ring_type) { in hwrm_ring_alloc_send_msg()
7116 req->ring_type = RING_ALLOC_REQ_RING_TYPE_TX; in hwrm_ring_alloc_send_msg()
7133 req->ring_type = RING_ALLOC_REQ_RING_TYPE_RX; in hwrm_ring_alloc_send_msg()
7134 req->length = (ring_type == HWRM_RING_ALLOC_RX) ? in hwrm_ring_alloc_send_msg()
7138 bnxt_set_rx_ring_params_p5(bp, ring_type, req, ring); in hwrm_ring_alloc_send_msg()
7141 req->ring_type = RING_ALLOC_REQ_RING_TYPE_L2_CMPL; in hwrm_ring_alloc_send_msg()
[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()
/linux/drivers/net/ethernet/nvidia/
H A Dforcedeth.c354 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()

12