Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Dpsp_v10_0.c122 enum psp_ring_type ring_type) in psp_v10_0_ring_init() argument
130 ring->ring_type = ring_type; in psp_v10_0_ring_init()
148 enum psp_ring_type ring_type) in psp_v10_0_ring_create() argument
165 psp_ring_reg = ring_type; in psp_v10_0_ring_create()
180 enum psp_ring_type ring_type) in psp_v10_0_ring_stop() argument
201 enum psp_ring_type ring_type) in psp_v10_0_ring_destroy() argument
207 ret = psp_v10_0_ring_stop(psp, ring_type); in psp_v10_0_ring_destroy()
Dpsp_v3_1.c54 enum psp_ring_type ring_type);
167 enum psp_ring_type ring_type) in psp_v3_1_ring_init() argument
175 ring->ring_type = ring_type; in psp_v3_1_ring_init()
224 enum psp_ring_type ring_type) in psp_v3_1_ring_create() argument
234 ret = psp_v3_1_ring_stop(psp, ring_type); in psp_v3_1_ring_create()
248 psp_ring_reg = ring_type; in psp_v3_1_ring_create()
271 psp_ring_reg = ring_type; in psp_v3_1_ring_create()
288 enum psp_ring_type ring_type) in psp_v3_1_ring_stop() argument
316 enum psp_ring_type ring_type) in psp_v3_1_ring_destroy() argument
322 ret = psp_v3_1_ring_stop(psp, ring_type); in psp_v3_1_ring_destroy()
Dpsp_v12_0.c234 enum psp_ring_type ring_type) in psp_v12_0_ring_init() argument
244 ring->ring_type = ring_type; in psp_v12_0_ring_init()
262 enum psp_ring_type ring_type) in psp_v12_0_ring_create() argument
299 psp_ring_reg = ring_type; in psp_v12_0_ring_create()
315 enum psp_ring_type ring_type) in psp_v12_0_ring_stop() argument
343 enum psp_ring_type ring_type) in psp_v12_0_ring_destroy() argument
349 ret = psp_v12_0_ring_stop(psp, ring_type); in psp_v12_0_ring_destroy()
Dpsp_v11_0.c403 enum psp_ring_type ring_type) in psp_v11_0_ring_init() argument
416 ring->ring_type = ring_type; in psp_v11_0_ring_init()
434 enum psp_ring_type ring_type) in psp_v11_0_ring_stop() argument
462 enum psp_ring_type ring_type) in psp_v11_0_ring_create() argument
470 ret = psp_v11_0_ring_stop(psp, ring_type); in psp_v11_0_ring_create()
513 psp_ring_reg = ring_type; in psp_v11_0_ring_create()
530 enum psp_ring_type ring_type) in psp_v11_0_ring_destroy() argument
536 ret = psp_v11_0_ring_stop(psp, ring_type); in psp_v11_0_ring_destroy()
Damdgpu_psp.h71 enum psp_ring_type ring_type; member
94 int (*ring_init)(struct psp_context *psp, enum psp_ring_type ring_type);
96 enum psp_ring_type ring_type);
98 enum psp_ring_type ring_type);
100 enum psp_ring_type ring_type);
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dhal.c529 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type) in ath11k_hal_srng_get_entrysize() argument
533 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath11k_hal_srng_get_entrysize()
536 srng_config = &ab->hal.srng_config[ring_type]; in ath11k_hal_srng_get_entrysize()
541 int ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type) in ath11k_hal_srng_get_max_entries() argument
545 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath11k_hal_srng_get_max_entries()
548 srng_config = &ab->hal.srng_config[ring_type]; in ath11k_hal_srng_get_max_entries()
1087 enum hal_ring_type ring_type, in ath11k_hal_srng_update_hp_tp_addr() argument
1093 struct hal_srng_config *srng_config = &hal->srng_config[ring_type]; in ath11k_hal_srng_update_hp_tp_addr()
1095 ring_id = ath11k_hal_srng_get_ring_id(ab, ring_type, ring_num, 0); in ath11k_hal_srng_update_hp_tp_addr()
1110 enum hal_ring_type ring_type, in ath11k_hal_srng_update_shadow_config() argument
[all …]
Ddp_tx.c653 enum hal_ring_type ring_type, in ath11k_dp_tx_get_ring_id_type() argument
660 switch (ring_type) { in ath11k_dp_tx_get_ring_id_type()
707 ath11k_warn(ab, "Unsupported ring type in DP :%d\n", ring_type); in ath11k_dp_tx_get_ring_id_type()
714 int mac_id, enum hal_ring_type ring_type) in ath11k_dp_tx_htt_srng_setup() argument
738 ring_type, &htt_ring_type, in ath11k_dp_tx_htt_srng_setup()
764 ret = ath11k_hal_srng_get_entrysize(ab, ring_type); in ath11k_dp_tx_htt_srng_setup()
819 ring_id, ring_type, cmd->intr_info, cmd->info2); in ath11k_dp_tx_htt_srng_setup()
912 int mac_id, enum hal_ring_type ring_type, in ath11k_dp_tx_htt_rx_filter_setup() argument
933 ring_type, &htt_ring_type, in ath11k_dp_tx_htt_rx_filter_setup()
Ddp_tx.h36 int mac_id, enum hal_ring_type ring_type,
Ddp.c614 u32 ring_type, struct dp_srng *ring) in ath11k_dp_link_desc_cleanup() argument
618 if (ring_type != HAL_RXDMA_MONITOR_DESC) { in ath11k_dp_link_desc_cleanup()
662 u32 ring_type, struct hal_srng *srng, in ath11k_dp_link_desc_setup() argument
699 entry_sz = ath11k_hal_srng_get_entrysize(ab, ring_type); in ath11k_dp_link_desc_setup()
704 ring_type != HAL_RXDMA_MONITOR_DESC) { in ath11k_dp_link_desc_setup()
Dhal.h917 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type);
918 int ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type);
947 enum hal_ring_type ring_type,
Ddp.h1622 int mac_id, enum hal_ring_type ring_type);
1631 u32 ring_type, struct dp_srng *ring);
1634 u32 ring_type, struct hal_srng *srng,
Ddp_rx.c1595 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler() local
1601 ring_type = FIELD_GET(HTT_BACKPRESSURE_EVENT_RING_TYPE_M, *data); in ath11k_htt_backpressure_event_handler()
1612 pdev_id, ring_type, ring_id, hp, tp, backpressure_time); in ath11k_htt_backpressure_event_handler()
1614 if (ring_type == HTT_BACKPRESSURE_UMAC_RING_TYPE) { in ath11k_htt_backpressure_event_handler()
1619 } else if (ring_type == HTT_BACKPRESSURE_LMAC_RING_TYPE) { in ath11k_htt_backpressure_event_handler()
1628 ring_type); in ath11k_htt_backpressure_event_handler()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.c59 static int hclge_alloc_cmd_queue(struct hclge_dev *hdev, int ring_type) in hclge_alloc_cmd_queue() argument
63 (ring_type == HCLGE_TYPE_CSQ) ? &hw->cmq.csq : &hw->cmq.crq; in hclge_alloc_cmd_queue()
66 ring->ring_type = ring_type; in hclge_alloc_cmd_queue()
72 (ring_type == HCLGE_TYPE_CSQ) ? "CSQ" : "CRQ", ret); in hclge_alloc_cmd_queue()
106 if (ring->ring_type == HCLGE_TYPE_CSQ) { in hclge_cmd_config_regs()
Dhclge_mbx.c195 req->msg.param[0].ring_type); in hclge_get_ring_chain_from_mbx()
210 req->msg.param[i].ring_type); in hclge_get_ring_chain_from_mbx()
Dhclge_cmd.h39 u8 ring_type; /* cmq ring type */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.h138 enum atl_ring_type ring_type; member
178 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type);
Daq_ring.c220 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type) in aq_ring_init() argument
225 self->ring_type = ring_type; in aq_ring_init()
227 if (self->ring_type == ATL_RING_RX) in aq_ring_init()
592 if (self->ring_type == ATL_RING_RX) { in aq_ring_fill_stats_data()
Daq_ptp.h78 int aq_ptp_get_ring_cnt(struct aq_nic_s *aq_nic, const enum atl_ring_type ring_type);
Daq_ptp.c1393 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
1399 return (aq_nic->aq_ptp->a1_ptp && ring_type == ATL_RING_RX) ? 2 : 1; in aq_ptp_get_ring_cnt()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.c147 static int hclgevf_alloc_cmd_queue(struct hclgevf_dev *hdev, int ring_type) in hclgevf_alloc_cmd_queue() argument
151 (ring_type == HCLGEVF_TYPE_CSQ) ? &hw->cmq.csq : &hw->cmq.crq; in hclgevf_alloc_cmd_queue()
155 ring->flag = ring_type; in hclgevf_alloc_cmd_queue()
161 (ring_type == HCLGEVF_TYPE_CSQ) ? "CSQ" : "CRQ"); in hclgevf_alloc_cmd_queue()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhclge_mbx.h83 u8 ring_type; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c247 static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) in hns_rcb_ring_init() argument
251 (ring_type == RX_RING) ? &q->rx_ring : &q->tx_ring; in hns_rcb_ring_init()
254 if (ring_type == RX_RING) { in hns_rcb_ring_init()
441 static void hns_rcb_ring_get_cfg(struct hnae_queue *q, int ring_type) in hns_rcb_ring_get_cfg() argument
451 if (ring_type == RX_RING) { in hns_rcb_ring_get_cfg()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c5563 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument
5587 switch (ring_type) { in hwrm_ring_alloc_send_msg()
5593 req.ring_type = RING_ALLOC_REQ_RING_TYPE_TX; in hwrm_ring_alloc_send_msg()
5603 req.ring_type = RING_ALLOC_REQ_RING_TYPE_RX; in hwrm_ring_alloc_send_msg()
5621 req.ring_type = RING_ALLOC_REQ_RING_TYPE_RX_AGG; in hwrm_ring_alloc_send_msg()
5631 req.ring_type = RING_ALLOC_REQ_RING_TYPE_RX; in hwrm_ring_alloc_send_msg()
5636 req.ring_type = RING_ALLOC_REQ_RING_TYPE_L2_CMPL; in hwrm_ring_alloc_send_msg()
5650 req.ring_type = RING_ALLOC_REQ_RING_TYPE_NQ; in hwrm_ring_alloc_send_msg()
5657 ring_type); in hwrm_ring_alloc_send_msg()
5669 ring_type, rc, err); in hwrm_ring_alloc_send_msg()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbgmac.c506 enum bgmac_dma_ring_type ring_type) in bgmac_dma_unaligned() argument
508 switch (ring_type) { in bgmac_dma_unaligned()
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-mem.c1453 enum xhci_ring_type ring_type; in xhci_endpoint_init() local
1469 ring_type = usb_endpoint_type(&ep->desc); in xhci_endpoint_init()
1518 xhci_ring_alloc(xhci, 2, 1, ring_type, max_packet, mem_flags); in xhci_endpoint_init()

12