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()
744 cfg->devs[i]->vq_num = psnet_read32(psnet, off); in psnet_read_cfg()
759 if (SNET_GENERAL_CFG_LEN + SNET_GENERAL_CFG_VQ_LEN * cfg->devs[i]->vq_num > in psnet_read_cfg()
776 irq_num += psnet->cfg.devs[i]->vq_num + 1; in psnet_alloc_irq_vector()
794 irq_num = snet_cfg->vq_num + 1; in snet_alloc_irq_vector()
812 for (i = 0 ; i < snet->cfg->vq_num ; i++) { in snet_free_vqs()
825 snet->vqs = kcalloc(snet->cfg->vq_num, sizeof(void *), GFP_KERNEL); in snet_build_vqs()
830 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_build_vqs()
870 for (i = 0; i < snet->cfg->vq_num; i++) { in snet_reserve_irq_idx()
1060 ret = vdpa_register_device(&snet->vdpa, snet->cfg->vq_num); in snet_vdpa_probe_vf()