/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | psp_v11_0_8.c | 32 enum psp_ring_type ring_type) in psp_v11_0_8_ring_init() argument 40 ring->ring_type = ring_type; in psp_v11_0_8_ring_init() 58 enum psp_ring_type ring_type) in psp_v11_0_8_ring_stop() argument 87 enum psp_ring_type ring_type) in psp_v11_0_8_ring_create() argument 95 ret = psp_v11_0_8_ring_stop(psp, ring_type); in psp_v11_0_8_ring_create() 138 psp_ring_reg = ring_type; in psp_v11_0_8_ring_create() 154 enum psp_ring_type ring_type) in psp_v11_0_8_ring_destroy() argument 160 ret = psp_v11_0_8_ring_stop(psp, ring_type); in psp_v11_0_8_ring_destroy()
|
A D | psp_v3_1.c | 54 enum psp_ring_type ring_type); 163 enum psp_ring_type ring_type) in psp_v3_1_ring_init() argument 171 ring->ring_type = ring_type; in psp_v3_1_ring_init() 220 enum psp_ring_type ring_type) in psp_v3_1_ring_create() argument 231 ret = psp_v3_1_ring_stop(psp, ring_type); in psp_v3_1_ring_create() 245 psp_ring_reg = ring_type; in psp_v3_1_ring_create() 268 psp_ring_reg = ring_type; in psp_v3_1_ring_create() 285 enum psp_ring_type ring_type) in psp_v3_1_ring_stop() argument 313 enum psp_ring_type ring_type) in psp_v3_1_ring_destroy() argument 319 ret = psp_v3_1_ring_stop(psp, ring_type); in psp_v3_1_ring_destroy()
|
A D | psp_v10_0.c | 130 enum psp_ring_type ring_type) in psp_v10_0_ring_init() argument 138 ring->ring_type = ring_type; in psp_v10_0_ring_init() 156 enum psp_ring_type ring_type) in psp_v10_0_ring_create() argument 173 psp_ring_reg = ring_type; in psp_v10_0_ring_create() 188 enum psp_ring_type ring_type) in psp_v10_0_ring_stop() argument 209 enum psp_ring_type ring_type) in psp_v10_0_ring_destroy() argument 215 ret = psp_v10_0_ring_stop(psp, ring_type); in psp_v10_0_ring_destroy()
|
A D | psp_v13_0.c | 220 enum psp_ring_type ring_type) in psp_v13_0_ring_init() argument 228 ring->ring_type = ring_type; in psp_v13_0_ring_init() 246 enum psp_ring_type ring_type) in psp_v13_0_ring_stop() argument 275 enum psp_ring_type ring_type) in psp_v13_0_ring_create() argument 283 ret = psp_v13_0_ring_stop(psp, ring_type); in psp_v13_0_ring_create() 326 psp_ring_reg = ring_type; in psp_v13_0_ring_create() 342 enum psp_ring_type ring_type) in psp_v13_0_ring_destroy() argument 348 ret = psp_v13_0_ring_stop(psp, ring_type); in psp_v13_0_ring_destroy()
|
A D | psp_v12_0.c | 230 enum psp_ring_type ring_type) in psp_v12_0_ring_init() argument 240 ring->ring_type = ring_type; in psp_v12_0_ring_init() 258 enum psp_ring_type ring_type) in psp_v12_0_ring_create() argument 295 psp_ring_reg = ring_type; in psp_v12_0_ring_create() 311 enum psp_ring_type ring_type) in psp_v12_0_ring_stop() argument 339 enum psp_ring_type ring_type) in psp_v12_0_ring_destroy() argument 345 ret = psp_v12_0_ring_stop(psp, ring_type); in psp_v12_0_ring_destroy()
|
A D | psp_v11_0.c | 412 enum psp_ring_type ring_type) in psp_v11_0_ring_init() argument 420 ring->ring_type = ring_type; in psp_v11_0_ring_init() 438 enum psp_ring_type ring_type) in psp_v11_0_ring_stop() argument 466 enum psp_ring_type ring_type) in psp_v11_0_ring_create() argument 475 ret = psp_v11_0_ring_stop(psp, ring_type); in psp_v11_0_ring_create() 518 psp_ring_reg = ring_type; in psp_v11_0_ring_create() 535 enum psp_ring_type ring_type) in psp_v11_0_ring_destroy() argument 541 ret = psp_v11_0_ring_stop(psp, ring_type); in psp_v11_0_ring_destroy()
|
A D | amdgpu_psp.h | 81 enum psp_ring_type ring_type; member 107 int (*ring_init)(struct psp_context *psp, enum psp_ring_type ring_type); 109 enum psp_ring_type ring_type); 111 enum psp_ring_type ring_type); 113 enum psp_ring_type ring_type);
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | hal.c | 489 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath11k_hal_srng_get_entrysize() 492 srng_config = &ab->hal.srng_config[ring_type]; in ath11k_hal_srng_get_entrysize() 501 if (WARN_ON(ring_type >= HAL_MAX_RING_TYPES)) in ath11k_hal_srng_get_max_entries() 1042 enum hal_ring_type ring_type, in ath11k_hal_srng_update_hp_tp_addr() argument 1065 enum hal_ring_type ring_type, in ath11k_hal_srng_update_shadow_config() argument 1097 ring_type, ring_num); in ath11k_hal_srng_update_shadow_config() 1105 int ring_type, ring_num; in ath11k_hal_srng_shadow_config() local 1108 for (ring_type = 0; ring_type < HAL_MAX_RING_TYPES; ring_type++) { in ath11k_hal_srng_shadow_config() 1111 if (ring_type == HAL_CE_SRC || in ath11k_hal_srng_shadow_config() 1112 ring_type == HAL_CE_DST || in ath11k_hal_srng_shadow_config() [all …]
|
A D | dp_tx.c | 662 enum hal_ring_type ring_type, in ath11k_dp_tx_get_ring_id_type() argument 669 switch (ring_type) { in ath11k_dp_tx_get_ring_id_type() 716 ath11k_warn(ab, "Unsupported ring type in DP :%d\n", ring_type); in ath11k_dp_tx_get_ring_id_type() 723 int mac_id, enum hal_ring_type ring_type) in ath11k_dp_tx_htt_srng_setup() argument 747 ring_type, &htt_ring_type, in ath11k_dp_tx_htt_srng_setup() 773 ret = ath11k_hal_srng_get_entrysize(ab, ring_type); in ath11k_dp_tx_htt_srng_setup() 828 ring_id, ring_type, cmd->intr_info, cmd->info2); in ath11k_dp_tx_htt_srng_setup() 921 int mac_id, enum hal_ring_type ring_type, in ath11k_dp_tx_htt_rx_filter_setup() argument 942 ring_type, &htt_ring_type, in ath11k_dp_tx_htt_rx_filter_setup()
|
A D | dp_tx.h | 36 int mac_id, enum hal_ring_type ring_type,
|
A D | dp.c | 602 u32 ring_type, struct dp_srng *ring) in ath11k_dp_link_desc_cleanup() argument 606 if (ring_type != HAL_RXDMA_MONITOR_DESC) { in ath11k_dp_link_desc_cleanup() 650 u32 ring_type, struct hal_srng *srng, in ath11k_dp_link_desc_setup() argument 687 entry_sz = ath11k_hal_srng_get_entrysize(ab, ring_type); in ath11k_dp_link_desc_setup() 692 ring_type != HAL_RXDMA_MONITOR_DESC) { in ath11k_dp_link_desc_setup()
|
A D | hal.h | 927 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type); 928 int ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type); 957 enum hal_ring_type ring_type,
|
A D | dp.h | 1631 int mac_id, enum hal_ring_type ring_type); 1640 u32 ring_type, struct dp_srng *ring); 1643 u32 ring_type, struct hal_srng *srng,
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_cmd.c | 59 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()
|
A D | hclge_mbx.c | 190 req->msg.param[0].ring_type); in hclge_get_ring_chain_from_mbx() 205 req->msg.param[i].ring_type); in hclge_get_ring_chain_from_mbx()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_ring.h | 138 enum atl_ring_type ring_type; member 178 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type);
|
A D | aq_ring.c | 220 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() 591 if (self->ring_type == ATL_RING_RX) { in aq_ring_fill_stats_data()
|
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);
|
A D | aq_ptp.c | 1393 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()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
A D | hclgevf_cmd.c | 147 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()
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_dsaf_rcb.c | 247 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()
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
A D | hclge_mbx.h | 84 u8 ring_type; member
|
/linux/drivers/usb/cdns3/ |
A D | cdnsp-mem.c | 945 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/ |
A D | bnxt.c | 5486 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument 5512 switch (ring_type) { in hwrm_ring_alloc_send_msg() 5518 req->ring_type = RING_ALLOC_REQ_RING_TYPE_TX; in hwrm_ring_alloc_send_msg() 5582 ring_type); in hwrm_ring_alloc_send_msg() 5595 ring_type, rc, err); in hwrm_ring_alloc_send_msg() 5639 switch (ring_type) { in bnxt_set_db() 5657 switch (ring_type) { in bnxt_set_db() 5797 u32 ring_type, int cmpl_ring_id) in hwrm_ring_free_send_msg() argument 5812 req->ring_type = ring_type; in hwrm_ring_free_send_msg() 5822 ring_type, rc, error_code); in hwrm_ring_free_send_msg() [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
A D | bgmac.c | 506 enum bgmac_dma_ring_type ring_type) in bgmac_dma_unaligned() argument 508 switch (ring_type) { in bgmac_dma_unaligned()
|