/drivers/soc/ti/ |
D | k3-ringacc.c | 211 u32 num_rings; /* number of rings in Ringacc module */ member 409 *compl_ring = &ringacc->rings[fwd_id + ringacc->num_rings]; in k3_dmaring_request_dual_ring() 740 reverse_ring = &ringacc->rings[ring->ring_id + ringacc->num_rings]; in k3_dmaring_cfg() 1302 ret = of_property_read_u32(node, "ti,num-rings", &ringacc->num_rings); in k3_ringacc_probe_dt() 1403 ringacc->num_rings, in k3_ringacc_init() 1406 BITS_TO_LONGS(ringacc->num_rings), in k3_ringacc_init() 1415 for (i = 0; i < ringacc->num_rings; i++) { in k3_ringacc_init() 1428 ringacc->num_rings, in k3_ringacc_init() 1471 ringacc->num_rings = data->num_rings; in k3_ringacc_dmarings_init() 1484 ringacc->num_rings * 2, in k3_ringacc_dmarings_init() [all …]
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 471 int num_rings, i; in enetc_port_si_configure() local 475 num_rings = min(ENETC_PCAPR0_RXBDR(val), ENETC_PCAPR0_TXBDR(val)); in enetc_port_si_configure() 480 if (unlikely(num_rings < ENETC_PF_NUM_RINGS)) { in enetc_port_si_configure() 481 val = ENETC_PSICFGR0_SET_TXBDR(num_rings); in enetc_port_si_configure() 482 val |= ENETC_PSICFGR0_SET_RXBDR(num_rings); in enetc_port_si_configure() 485 num_rings, ENETC_PF_NUM_RINGS); in enetc_port_si_configure() 487 num_rings = 0; in enetc_port_si_configure() 495 if (num_rings) in enetc_port_si_configure() 496 num_rings -= ENETC_PF_NUM_RINGS; in enetc_port_si_configure() 502 if (num_rings) { in enetc_port_si_configure() [all …]
|
/drivers/mailbox/ |
D | bcm-flexrm-mailbox.c | 294 u32 num_rings; member 940 for (i = 0; i < mbox->num_rings; i++) { in flexrm_write_config_in_seqfile() 968 for (i = 0; i < mbox->num_rings; i++) { in flexrm_write_stats_in_seqfile() 1297 val = ring->mbox->num_rings; in flexrm_startup() 1531 mbox->num_rings = 0; in flexrm_mbox_probe() 1534 mbox->num_rings++; in flexrm_mbox_probe() 1536 if (!mbox->num_rings) { in flexrm_mbox_probe() 1542 ring = devm_kcalloc(dev, mbox->num_rings, sizeof(*ring), GFP_KERNEL); in flexrm_mbox_probe() 1551 for (index = 0; index < mbox->num_rings; index++) { in flexrm_mbox_probe() 1605 ret = platform_msi_domain_alloc_irqs(dev, mbox->num_rings, in flexrm_mbox_probe() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_kms.c | 418 unsigned int num_rings = 0; in amdgpu_hw_ip_info() local 429 ++num_rings; in amdgpu_hw_ip_info() 437 ++num_rings; in amdgpu_hw_ip_info() 445 ++num_rings; in amdgpu_hw_ip_info() 456 ++num_rings; in amdgpu_hw_ip_info() 463 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_hw_ip_info() 465 ++num_rings; in amdgpu_hw_ip_info() 477 ++num_rings; in amdgpu_hw_ip_info() 489 ++num_rings; in amdgpu_hw_ip_info() 502 ++num_rings; in amdgpu_hw_ip_info() [all …]
|
D | vce_v2_0.c | 405 adev->vce.num_rings = 2; in vce_v2_0_early_init() 433 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v2_0_sw_init() 467 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v2_0_hw_init() 657 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v2_0_set_ring_funcs()
|
D | vce_v3_0.c | 410 adev->vce.num_rings = 3; in vce_v3_0_early_init() 436 adev->vce.num_rings = 2; in vce_v3_0_sw_init() 442 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_sw_init() 477 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_hw_init() 974 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_set_ring_funcs() 980 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_set_ring_funcs()
|
D | amdgpu_vce.h | 53 unsigned num_rings; member
|
D | amdgpu_ring.c | 188 if (adev->num_rings >= AMDGPU_MAX_RINGS) in amdgpu_ring_init() 192 ring->idx = adev->num_rings++; in amdgpu_ring_init()
|
D | vce_v4_0.c | 415 adev->vce.num_rings = 1; in vce_v4_0_early_init() 417 adev->vce.num_rings = 3; in vce_v4_0_early_init() 465 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_sw_init() 530 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_hw_init() 1135 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_set_ring_funcs()
|
D | amdgpu_ib.c | 388 for (i = 0; i < adev->num_rings; ++i) { in amdgpu_ib_ring_tests()
|
D | amdgpu_vce.c | 226 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_vce_sw_fini() 343 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_vce_idle_work_handler()
|
D | amdgpu_gmc.c | 536 for (i = 0; i < adev->num_rings; ++i) { in amdgpu_gmc_allocate_vm_inv_eng()
|
D | amdgpu.h | 934 unsigned num_rings; member
|
D | amdgpu_vm.c | 1108 for (i = 0; i < adev->num_rings; i++) { in amdgpu_vm_check_compute_bug()
|
D | amdgpu_device.c | 3535 adev->num_rings = 0; in amdgpu_device_init()
|
/drivers/gpu/drm/radeon/ |
D | radeon_fence.c | 615 unsigned i, num_rings = 0; in radeon_fence_wait_any() local 626 ++num_rings; in radeon_fence_wait_any() 630 if (num_rings == 0) in radeon_fence_wait_any()
|
/drivers/scsi/lpfc/ |
D | lpfc_sli.h | 333 uint32_t num_rings; member
|
D | lpfc_mbox.c | 966 pcbp->maxRing = (psli->num_rings - 1); in lpfc_config_pcb_setup() 968 for (i = 0; i < psli->num_rings; i++) { in lpfc_config_pcb_setup() 1412 for (i = 0; i < phba->sli.num_rings; i++) { in lpfc_config_port()
|
D | lpfc_sli.c | 1691 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_ring_map() 5002 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_brdreset() 11754 psli->num_rings = MAX_SLI3_CONFIGURED_RINGS; in lpfc_sli_setup() 11761 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_setup() 11939 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_queue_init() 12049 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_host_down() 12156 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_hba_down() 12662 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_hba_iocb_abort()
|
D | lpfc_init.c | 572 if (psli->num_rings > 0) in lpfc_config_port_post() 574 if (psli->num_rings > 1) in lpfc_config_port_post() 576 if (psli->num_rings > 2) in lpfc_config_port_post() 578 if (psli->num_rings > 3) in lpfc_config_port_post() 960 for (i = 0; i < psli->num_rings; i++) { in lpfc_hba_clean_txcmplq()
|
/drivers/net/wireless/ath/ath10k/ |
D | htt_tx.c | 868 cmd->rx_setup_32.hdr.num_rings = 1; in ath10k_htt_send_rx_ring_cfg_32() 939 cmd->rx_setup_64.hdr.num_rings = 1; in ath10k_htt_send_rx_ring_cfg_64() 1008 cmd->rx_setup_32.hdr.num_rings = 1; in ath10k_htt_send_rx_ring_cfg_hl()
|
D | htt.h | 286 u8 num_rings; /* supported values: 1, 2 */ member
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 626 int num_rings, max_rings = QLCNIC_MAX_SDS_RINGS; in qlcnic_max_rings() local 633 num_rings = rounddown_pow_of_two(min_t(int, num_online_cpus(), in qlcnic_max_rings() 636 if (ring_cnt > num_rings) in qlcnic_max_rings() 637 return num_rings; in qlcnic_max_rings()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 5211 u32 buf_size, int num_rings) in bnx2_init_rxbd_rings() argument 5216 for (i = 0; i < num_rings; i++) { in bnx2_init_rxbd_rings() 5224 if (i == (num_rings - 1)) in bnx2_init_rxbd_rings() 5368 u32 max, num_rings = 1; in bnx2_find_max_ring() local 5372 num_rings++; in bnx2_find_max_ring() 5376 while ((max & num_rings) == 0) in bnx2_find_max_ring() 5379 if (num_rings != max) in bnx2_find_max_ring()
|
/drivers/dma/ti/ |
D | k3-udma.c | 5284 ring_init_data.num_rings = ud->bchan_cnt + in udma_probe() 5288 ring_init_data.num_rings = ud->rflow_cnt + in udma_probe()
|