Lines Matching refs:num_rings
284 u32 num_rings; member
930 for (i = 0; i < mbox->num_rings; i++) { in flexrm_write_config_in_seqfile()
958 for (i = 0; i < mbox->num_rings; i++) { in flexrm_write_stats_in_seqfile()
1287 val = ring->mbox->num_rings; in flexrm_startup()
1516 mbox->num_rings = 0; in flexrm_mbox_probe()
1519 mbox->num_rings++; in flexrm_mbox_probe()
1521 if (!mbox->num_rings) { in flexrm_mbox_probe()
1527 ring = devm_kcalloc(dev, mbox->num_rings, sizeof(*ring), GFP_KERNEL); in flexrm_mbox_probe()
1536 for (index = 0; index < mbox->num_rings; index++) { in flexrm_mbox_probe()
1590 ret = platform_device_msi_init_and_alloc_irqs(dev, mbox->num_rings, in flexrm_mbox_probe()
1596 for (index = 0; index < mbox->num_rings; index++) in flexrm_mbox_probe()
1621 mbox->controller.num_chans = mbox->num_rings; in flexrm_mbox_probe()
1623 mbox->controller.chans = devm_kcalloc(dev, mbox->num_rings, in flexrm_mbox_probe()
1629 for (index = 0; index < mbox->num_rings; index++) in flexrm_mbox_probe()