Lines Matching refs:pci_vf
255 attrs->pci_vf.controller) || in devlink_nl_port_attrs_put()
256 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, attrs->pci_vf.pf) || in devlink_nl_port_attrs_put()
257 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_VF_NUMBER, attrs->pci_vf.vf)) in devlink_nl_port_attrs_put()
259 if (nla_put_u8(msg, DEVLINK_ATTR_PORT_EXTERNAL, attrs->pci_vf.external)) in devlink_nl_port_attrs_put()
1414 attrs->pci_vf.controller = controller; in devlink_port_attrs_pci_vf_set()
1415 attrs->pci_vf.pf = pf; in devlink_port_attrs_pci_vf_set()
1416 attrs->pci_vf.vf = vf; in devlink_port_attrs_pci_vf_set()
1417 attrs->pci_vf.external = external; in devlink_port_attrs_pci_vf_set()
1544 if (attrs->pci_vf.external || attrs->pci_vf.controller) { in __devlink_port_phys_port_name_get()
1545 n = snprintf(name, len, "c%u", attrs->pci_vf.controller); in __devlink_port_phys_port_name_get()
1552 attrs->pci_vf.pf, attrs->pci_vf.vf); in __devlink_port_phys_port_name_get()