Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c1365 struct hinic_cmd_get_std_sfp_info sfp_info = {0}; in hinic_get_sfp_eeprom() local
1366 u16 out_size = sizeof(sfp_info); in hinic_get_sfp_eeprom()
1378 sfp_info.port_id = port_id; in hinic_get_sfp_eeprom()
1380 &sfp_info, sizeof(sfp_info), &sfp_info, in hinic_get_sfp_eeprom()
1382 if (sfp_info.status || err || !out_size) { in hinic_get_sfp_eeprom()
1385 port_id, err, sfp_info.status, out_size); in hinic_get_sfp_eeprom()
1389 *len = min_t(u16, sfp_info.eeprom_len, STD_SFP_INFO_MAX_SIZE); in hinic_get_sfp_eeprom()
1390 memcpy(data, sfp_info.sfp_info, STD_SFP_INFO_MAX_SIZE); in hinic_get_sfp_eeprom()
H A Dhinic_port.h739 u8 sfp_info[STD_SFP_INFO_MAX_SIZE]; member
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_els.c6703 desc->sfp_info.temperature = cpu_to_be16(temperature); in lpfc_rdp_res_sfp_desc()
6704 desc->sfp_info.rx_power = cpu_to_be16(rx_power); in lpfc_rdp_res_sfp_desc()
6705 desc->sfp_info.tx_bias = cpu_to_be16(tx_bias); in lpfc_rdp_res_sfp_desc()
6706 desc->sfp_info.tx_power = cpu_to_be16(tx_power); in lpfc_rdp_res_sfp_desc()
6707 desc->sfp_info.vcc = cpu_to_be16(vcc); in lpfc_rdp_res_sfp_desc()
6709 desc->sfp_info.flags = cpu_to_be16(flag); in lpfc_rdp_res_sfp_desc()
6710 desc->length = cpu_to_be32(sizeof(desc->sfp_info)); in lpfc_rdp_res_sfp_desc()
H A Dlpfc_hw.h1242 struct fc_rdp_sfp_info sfp_info; member