Lines Matching full:xcvr
140 switch (le16_to_cpu(idev->port_info->status.xcvr.pid)) { in ionic_get_link_ksettings()
225 dev_info(lif->ionic->dev, "unknown xcvr type pid=%d / 0x%x\n", in ionic_get_link_ksettings()
226 idev->port_info->status.xcvr.pid, in ionic_get_link_ksettings()
227 idev->port_info->status.xcvr.pid); in ionic_get_link_ksettings()
243 if (idev->port_info->status.xcvr.phy == IONIC_PHY_TYPE_COPPER || in ionic_get_link_ksettings()
246 else if (idev->port_info->status.xcvr.phy == IONIC_PHY_TYPE_FIBER) in ionic_get_link_ksettings()
902 struct ionic_xcvr_status *xcvr; in ionic_get_module_info() local
905 xcvr = &idev->port_info->status.xcvr; in ionic_get_module_info()
906 sfp = (struct sfp_eeprom_base *) xcvr->sprom; in ionic_get_module_info()
920 netdev_info(netdev, "unknown xcvr type 0x%02x\n", in ionic_get_module_info()
921 xcvr->sprom[0]); in ionic_get_module_info()
936 struct ionic_xcvr_status *xcvr; in ionic_get_module_eeprom() local
937 char tbuf[sizeof(xcvr->sprom)]; in ionic_get_module_eeprom()
944 xcvr = &idev->port_info->status.xcvr; in ionic_get_module_eeprom()
945 len = min_t(u32, sizeof(xcvr->sprom), ee->len); in ionic_get_module_eeprom()
948 memcpy(data, &xcvr->sprom[ee->offset], len); in ionic_get_module_eeprom()
949 memcpy(tbuf, &xcvr->sprom[ee->offset], len); in ionic_get_module_eeprom()