Lines Matching full:xcvr
142 switch (le16_to_cpu(idev->port_info->status.xcvr.pid)) { in ionic_get_link_ksettings()
227 dev_info(lif->ionic->dev, "unknown xcvr type pid=%d / 0x%x\n", in ionic_get_link_ksettings()
228 idev->port_info->status.xcvr.pid, in ionic_get_link_ksettings()
229 idev->port_info->status.xcvr.pid); in ionic_get_link_ksettings()
245 if (idev->port_info->status.xcvr.phy == IONIC_PHY_TYPE_COPPER || in ionic_get_link_ksettings()
248 else if (idev->port_info->status.xcvr.phy == IONIC_PHY_TYPE_FIBER) in ionic_get_link_ksettings()
918 struct ionic_xcvr_status *xcvr; in ionic_get_module_info() local
921 xcvr = &idev->port_info->status.xcvr; in ionic_get_module_info()
922 sfp = (struct sfp_eeprom_base *) xcvr->sprom; in ionic_get_module_info()
936 netdev_info(netdev, "unknown xcvr type 0x%02x\n", in ionic_get_module_info()
937 xcvr->sprom[0]); in ionic_get_module_info()
952 struct ionic_xcvr_status *xcvr; in ionic_get_module_eeprom() local
953 char tbuf[sizeof(xcvr->sprom)]; in ionic_get_module_eeprom()
960 xcvr = &idev->port_info->status.xcvr; in ionic_get_module_eeprom()
961 len = min_t(u32, sizeof(xcvr->sprom), ee->len); in ionic_get_module_eeprom()
964 memcpy(data, xcvr->sprom, len); in ionic_get_module_eeprom()
965 memcpy(tbuf, xcvr->sprom, len); in ionic_get_module_eeprom()