Searched refs:dev_num_vf (Results 1 – 2 of 2) sorted by relevance
1136 static inline int dev_num_vf(struct device *dev) in dev_num_vf() function
949 int num_vfs = dev_num_vf(dev->dev.parent); in rtnl_vfinfo_size()1008 if (dev_num_vf(dev->dev.parent)) in rtnl_port_size()1010 vf_port_size * dev_num_vf(dev->dev.parent); in rtnl_port_size()1128 for (vf = 0; vf < dev_num_vf(dev->dev.parent); vf++) { in rtnl_vf_ports_fill()1186 if (dev_num_vf(dev->dev.parent)) { in rtnl_port_fill()1429 num_vfs = dev_num_vf(dev->dev.parent); in rtnl_fill_vf()