Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
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()
Dhinic_port.h739 u8 sfp_info[STD_SFP_INFO_MAX_SIZE]; member
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_els.c6698 desc->sfp_info.temperature = cpu_to_be16(temperature); in lpfc_rdp_res_sfp_desc()
6699 desc->sfp_info.rx_power = cpu_to_be16(rx_power); in lpfc_rdp_res_sfp_desc()
6700 desc->sfp_info.tx_bias = cpu_to_be16(tx_bias); in lpfc_rdp_res_sfp_desc()
6701 desc->sfp_info.tx_power = cpu_to_be16(tx_power); in lpfc_rdp_res_sfp_desc()
6702 desc->sfp_info.vcc = cpu_to_be16(vcc); in lpfc_rdp_res_sfp_desc()
6704 desc->sfp_info.flags = cpu_to_be16(flag); in lpfc_rdp_res_sfp_desc()
6705 desc->length = cpu_to_be32(sizeof(desc->sfp_info)); in lpfc_rdp_res_sfp_desc()
Dlpfc_hw.h1242 struct fc_rdp_sfp_info sfp_info; member