Home
last modified time | relevance | path

Searched refs:sfp_info (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c1350 struct hinic_cmd_get_std_sfp_info sfp_info = {0}; in hinic_get_sfp_eeprom() local
1351 u16 out_size = sizeof(sfp_info); in hinic_get_sfp_eeprom()
1363 sfp_info.port_id = port_id; in hinic_get_sfp_eeprom()
1365 &sfp_info, sizeof(sfp_info), &sfp_info, in hinic_get_sfp_eeprom()
1367 if (sfp_info.status || err || !out_size) { in hinic_get_sfp_eeprom()
1370 port_id, err, sfp_info.status, out_size); in hinic_get_sfp_eeprom()
1374 *len = min_t(u16, sfp_info.eeprom_len, STD_SFP_INFO_MAX_SIZE); in hinic_get_sfp_eeprom()
1375 memcpy(data, sfp_info.sfp_info, STD_SFP_INFO_MAX_SIZE); in hinic_get_sfp_eeprom()
Dhinic_port.h729 u8 sfp_info[STD_SFP_INFO_MAX_SIZE]; member
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_els.c6588 desc->sfp_info.temperature = cpu_to_be16(temperature); in lpfc_rdp_res_sfp_desc()
6589 desc->sfp_info.rx_power = cpu_to_be16(rx_power); in lpfc_rdp_res_sfp_desc()
6590 desc->sfp_info.tx_bias = cpu_to_be16(tx_bias); in lpfc_rdp_res_sfp_desc()
6591 desc->sfp_info.tx_power = cpu_to_be16(tx_power); in lpfc_rdp_res_sfp_desc()
6592 desc->sfp_info.vcc = cpu_to_be16(vcc); in lpfc_rdp_res_sfp_desc()
6594 desc->sfp_info.flags = cpu_to_be16(flag); in lpfc_rdp_res_sfp_desc()
6595 desc->length = cpu_to_be32(sizeof(desc->sfp_info)); in lpfc_rdp_res_sfp_desc()
Dlpfc_hw.h1239 struct fc_rdp_sfp_info sfp_info; member