Lines Matching refs:vq_num
123 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_free_irqs()
240 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_reset_dev()
373 snet_write32(snet, off, snet->cfg->vq_num); in snet_write_conf()
382 for (i = 0 ; i < snet->cfg->vq_num ; i++) { in snet_write_conf()
432 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_request_irqs()
724 cfg->devs[i]->vq_num = psnet_read32(psnet, off); in psnet_read_cfg()
739 if (SNET_GENERAL_CFG_LEN + SNET_GENERAL_CFG_VQ_LEN * cfg->devs[i]->vq_num > in psnet_read_cfg()
756 irq_num += psnet->cfg.devs[i]->vq_num + 1; in psnet_alloc_irq_vector()
774 irq_num = snet_cfg->vq_num + 1; in snet_alloc_irq_vector()
792 for (i = 0 ; i < snet->cfg->vq_num ; i++) { in snet_free_vqs()
805 snet->vqs = kcalloc(snet->cfg->vq_num, sizeof(void *), GFP_KERNEL); in snet_build_vqs()
810 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_build_vqs()
850 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_reserve_irq_idx()
1033 ret = vdpa_register_device(&snet->vdpa, snet->cfg->vq_num); in snet_vdpa_probe_vf()