Home
last modified time | relevance | path

Searched refs:vnic_dev_get_res_count (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_res.c190 enic->wq_count = vnic_dev_get_res_count(enic->vdev, RES_TYPE_WQ); in enic_get_res_counts()
191 enic->rq_count = vnic_dev_get_res_count(enic->vdev, RES_TYPE_RQ); in enic_get_res_counts()
192 enic->cq_count = vnic_dev_get_res_count(enic->vdev, RES_TYPE_CQ); in enic_get_res_counts()
193 enic->intr_count = vnic_dev_get_res_count(enic->vdev, in enic_get_res_counts()
H A Dvnic_dev.h105 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
H A Dvnic_dev.c120 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count() function
125 EXPORT_SYMBOL(vnic_dev_get_res_count);
H A Denic_main.c2951 if (vnic_dev_get_res_count(enic->vdev, RES_TYPE_WQ) == 1 || in enic_probe()
/openbmc/linux/drivers/scsi/fnic/
H A Dfnic_res.c189 fnic->wq_count = vnic_dev_get_res_count(fnic->vdev, RES_TYPE_WQ); in fnic_get_res_counts()
192 fnic->rq_count = vnic_dev_get_res_count(fnic->vdev, RES_TYPE_RQ); in fnic_get_res_counts()
193 fnic->cq_count = vnic_dev_get_res_count(fnic->vdev, RES_TYPE_CQ); in fnic_get_res_counts()
194 fnic->intr_count = vnic_dev_get_res_count(fnic->vdev, in fnic_get_res_counts()
H A Dvnic_dev.h17 #define vnic_dev_get_res_count fnic_dev_get_res_count macro
101 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
H A Dvnic_dev.c149 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count() function
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c307 cnt = vnic_dev_get_res_count(vnic->vdev, _to_vnic_res_type(type)); in usnic_vnic_alloc_res_chunk()