Lines Matching refs:vq_num
76 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_free_irqs()
220 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_reset_dev()
353 snet_write32(snet, off, snet->cfg->vq_num); in snet_write_conf()
362 for (i = 0 ; i < snet->cfg->vq_num ; i++) { in snet_write_conf()
415 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_request_irqs()
738 cfg->devs[i]->vq_num = psnet_read32(psnet, off); in psnet_read_cfg()
753 if (SNET_GENERAL_CFG_LEN + SNET_GENERAL_CFG_VQ_LEN * cfg->devs[i]->vq_num > in psnet_read_cfg()
770 irq_num += psnet->cfg.devs[i]->vq_num + 1; in psnet_alloc_irq_vector()
788 irq_num = snet_cfg->vq_num + 1; in snet_alloc_irq_vector()
806 for (i = 0 ; i < snet->cfg->vq_num ; i++) { in snet_free_vqs()
819 snet->vqs = kcalloc(snet->cfg->vq_num, sizeof(void *), GFP_KERNEL); in snet_build_vqs()
824 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_build_vqs()
864 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_reserve_irq_idx()
1054 ret = vdpa_register_device(&snet->vdpa, snet->cfg->vq_num); in snet_vdpa_probe_vf()