Lines Matching refs:mport_desc
68 struct mae_mport_desc *mport_desc; in efx_devlink_port_addr_get() local
73 mport_desc = container_of(port, struct mae_mport_desc, dl_port); in efx_devlink_port_addr_get()
75 if (!ef100_mport_on_local_intf(devlink->efx, mport_desc)) { in efx_devlink_port_addr_get()
79 mport_desc->mport_id); in efx_devlink_port_addr_get()
83 if (ef100_mport_is_vf(mport_desc)) in efx_devlink_port_addr_get()
86 PCIE_FUNCTION_VF, mport_desc->vf_idx, in efx_devlink_port_addr_get()
90 PCIE_FUNCTION_PF, mport_desc->pf_idx, in efx_devlink_port_addr_get()
98 mport_desc->mport_id); in efx_devlink_port_addr_get()
106 mport_desc->mport_id); in efx_devlink_port_addr_get()
118 struct mae_mport_desc *mport_desc; in efx_devlink_port_addr_set() local
123 mport_desc = container_of(port, struct mae_mport_desc, dl_port); in efx_devlink_port_addr_set()
125 if (!ef100_mport_is_vf(mport_desc)) { in efx_devlink_port_addr_set()
128 mport_desc->mport_id); in efx_devlink_port_addr_set()
134 PCIE_FUNCTION_VF, mport_desc->vf_idx, in efx_devlink_port_addr_set()
141 mport_desc->mport_id); in efx_devlink_port_addr_set()
156 mport_desc->mport_id); in efx_devlink_port_addr_set()