Home
last modified time | relevance | path

Searched refs:sfp_info (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A 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 in hinic_get_sfp_eeprom()
[all...]
H A Dhinic_port.h728 u8 sfp_info[STD_SFP_INFO_MAX_SIZE]; member
/kernel/linux/linux-6.6/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 in hinic_get_sfp_eeprom()
[all...]
H A Dhinic_port.h739 u8 sfp_info[STD_SFP_INFO_MAX_SIZE]; member
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_els.c5600 desc->sfp_info.temperature = cpu_to_be16(temperature); in lpfc_rdp_res_sfp_desc()
5601 desc->sfp_info.rx_power = cpu_to_be16(rx_power); in lpfc_rdp_res_sfp_desc()
5602 desc->sfp_info.tx_bias = cpu_to_be16(tx_bias); in lpfc_rdp_res_sfp_desc()
5603 desc->sfp_info.tx_power = cpu_to_be16(tx_power); in lpfc_rdp_res_sfp_desc()
5604 desc->sfp_info.vcc = cpu_to_be16(vcc); in lpfc_rdp_res_sfp_desc()
5606 desc->sfp_info.flags = cpu_to_be16(flag); in lpfc_rdp_res_sfp_desc()
5607 desc->length = cpu_to_be32(sizeof(desc->sfp_info)); in lpfc_rdp_res_sfp_desc()
H A Dlpfc_hw.h1232 uint32_t length; /* set to size of sfp_info struct */
1233 struct fc_rdp_sfp_info sfp_info; member
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A 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()
H A Dlpfc_hw.h1241 uint32_t length; /* set to size of sfp_info struct */
1242 struct fc_rdp_sfp_info sfp_info; member

Completed in 53 milliseconds