Searched refs:SFP (Results 1 - 48 of 48) sorted by relevance

/linux-4.4.14/fs/reiserfs/
H A Dprocfs.c50 #define SFP( x ) SF( s_proc_info_data.x ) macro
51 #define SFPL( x ) SFP( x[ level ] )
52 #define SFPF( x ) SFP( scan_bitmap.x )
53 #define SFPJ( x ) SFP( journal.x )
122 SF(s_indirect2direct), SFP(max_hash_collisions), SFP(breads), show_super()
123 SFP(bread_miss), SFP(search_by_key), show_super()
124 SFP(search_by_key_fs_changed), SFP(search_by_key_restarted), show_super()
125 SFP(insert_item_restarted), SFP(paste_into_item_restarted), show_super()
126 SFP(cut_from_item_restarted), show_super()
127 SFP(delete_solid_item_restarted), SFP(delete_item_restarted), show_super()
128 SFP(leaked_oid), SFP(leaves_removable)); show_super()
214 SFP(free_block), show_bitmap()
/linux-4.4.14/drivers/scsi/bfa/
H A Dbfa_defs.h136 BFA_STATUS_SFP_UNSUPP = 10, /* Unsupported SFP - Replace SFP */
167 BFA_STATUS_NO_SFP_DEV = 89, /* No SFP device check or replace SFP */
176 BFA_STATUS_SFP_NOT_READY = 159, /* SFP info is not ready. Retry */
205 BFA_STATUS_DPORT_NO_SFP = 243, /* SFP is not present.\n D-port will be
207 * only after inserting a valid SFP. */
224 * replace SFP */
230 BFA_STATUS_DPORT_INV_SFP = 271, /* Invalid SFP for D-PORT mode. */
451 BFA_PORT_AEN_SFP_INSERT = 4, /* SFP inserted event */
452 BFA_PORT_AEN_SFP_REMOVE = 5, /* SFP removed event */
453 BFA_PORT_AEN_SFP_POM = 6, /* SFP POM event */
461 BFA_PORT_AEN_SFP_ACCESS_ERROR = 14, /* SFP read error event */
462 BFA_PORT_AEN_SFP_UNSUPPORT = 15, /* Unsupported SFP event */
475 u32 phy_port_num; /* For SFP related events */
806 * SFP module specific
810 /* SFP state change notification event */
H A Dbfi.h212 BFI_MC_SFP = 22, /* SFP module */
821 * SFP related
835 * SFP state change notification
846 * SFP state
849 BFA_SFP_STATE_INIT = 0, /* SFP state is uninit */
850 BFA_SFP_STATE_REMOVED = 1, /* SFP is removed */
851 BFA_SFP_STATE_INSERTED = 2, /* SFP is inserted */
852 BFA_SFP_STATE_VALID = 3, /* SFP is valid */
853 BFA_SFP_STATE_UNSUPPORT = 4, /* SFP is unsupport */
854 BFA_SFP_STATE_FAILED = 5, /* SFP i2c read fail */
858 * SFP memory access type
H A Dbfa_modules.h43 struct bfa_sfp_s sfp; /* SFP module */
H A Dbfa_ioc.c3640 * SFP module specific
3715 * SFP's State Change Notification post to AEN
3763 * SFP get data send
3781 * SFP is valid, read sfp data
3802 * SFP scn handler
3846 * SFP show complete
3900 * SFP query fw sfp state
3996 * SFP hmbox handler
4028 * Attach virtual and physical memory for SFP.
4058 * Claim Memory for SFP
4072 * Show SFP eeprom content
4103 * Return SFP Media type
4137 * Check if user set port speed is allowed by the SFP
4156 /* Check SFP state */ bfa_sfp_speed()
H A Dbfa_ioc.h418 * SFP module specific
H A Dbfa_svc.c7054 * Check if there is SFP bfa_dport_show()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A De1000_phy.h157 /* SFP modules ID memory locations */
163 /* Flags for SFP modules compatible with ETH up to 1Gb */
H A De1000_82575.c468 * igb_set_sfp_media_type_82575 - derives SFP module media type.
471 * The media type is chosen based on SFP module.
472 * compatibility flags retrieved from SFP ID EEPROM.
490 /* Read SFP module data */ igb_set_sfp_media_type_82575()
509 /* Check if there is some SFP module plugged and powered */ igb_set_sfp_media_type_82575()
625 /* read media type from SFP EEPROM */ igb_get_invariants_82575()
915 /* SFP documentation requires the following to configure the SPF module igb_phy_hw_reset_sgmii_82575()
1585 /* allow time for SFP cage time to power up phy */ igb_setup_copper_link_82575()
H A De1000_phy.c293 /* Prevent overwritting SFP I2C EEPROM which is at A0 address.*/ igb_write_phy_reg_i2c()
334 * igb_read_sfp_data_byte - Reads SFP module data.
339 * Reads one byte from SFP module data stored
340 * in SFP resided EEPROM memory or SFP diagnostic area.
342 * E1000_I2CCMD_SFP_DATA_ADDR(<byte offset>) for SFP module database access
343 * E1000_I2CCMD_SFP_DIAG_ADDR(<byte offset>) for SFP diagnostics parameters
H A Digb_ethtool.c2789 /* We have an SFP, but it does not support SFF-8472 */ igb_get_module_info()
2793 /* We have an SFP which supports a revision of SFF-8472 */ igb_get_module_info()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.c1150 * ixgbe_identify_sfp_module_generic - Identifies SFP modules
1153 * Searches for and identifies the SFP module and assigns appropriate PHY type.
1295 /* Determine if the SFP+ PHY is dual speed or not. */ ixgbe_identify_sfp_module_generic()
1368 /* Verify supported 1G SFP modules */ ixgbe_identify_sfp_module_generic()
1399 hw_dbg(hw, "SFP+ module not supported\n"); ixgbe_identify_sfp_module_generic()
1597 * @list_offset: offset to the SFP ID list
1598 * @data_offset: offset to the SFP data block
1600 * Checks the MAC's EEPROM to see if it supports a given SFP+ module type, if
1649 * Find the matching SFP ID in the EEPROM ixgbe_get_sfp_init_sequence_offsets()
1661 hw_dbg(hw, "SFP+ module not supported\n"); ixgbe_get_sfp_init_sequence_offsets()
1674 hw_dbg(hw, "No matching SFP+ module found\n"); ixgbe_get_sfp_init_sequence_offsets()
1691 * Performs byte read operation to SFP module's EEPROM over I2C interface.
1707 * Performs byte read operation to SFP module's SFF-8472 data over I2C
1723 * Performs byte write operation to SFP module's EEPROM over I2C interface.
1734 * ixgbe_is_sfp_probe - Returns true if SFP is being detected
1755 * Performs byte read operation to SFP module's EEPROM over I2C interface at
1842 * Performs byte read operation to SFP module's EEPROM over I2C interface at
1858 * Performs byte read operation to SFP module's EEPROM over I2C interface at
1875 * Performs byte write operation to SFP module's EEPROM over I2C interface at
1942 * Performs byte write operation to SFP module's EEPROM over I2C interface at
1958 * Performs byte write operation to SFP module's EEPROM over I2C interface at
H A Dixgbe_82598.c113 * ixgbe_init_phy_ops_82598 - PHY/SFP specific init
117 * set during get_invariants because the PHY/SFP type was
118 * not known. Perform the SFP init if necessary.
148 /* Call SFP+ identify routine to get the SFP+ module type */ ixgbe_init_phy_ops_82598()
155 /* Check to see if SFP+ module is supported */ ixgbe_init_phy_ops_82598()
750 /* Init PHY and function pointers, perform SFP setup */ ixgbe_reset_hw_82598()
995 * Performs 8 byte read operation to SFP module's data over I2C interface.
1018 * 0xC30D. These registers are used to talk to the SFP+ ixgbe_read_i2c_phy_82598()
1066 * Performs 8 byte read operation to SFP module's EEPROM over I2C interface.
1081 * Performs 8 byte read operation to SFP module's SFF-8472 data over I2C
H A Dixgbe_x550.c1199 * ixgbe_supported_sfp_modules_X550em - Check if SFP module type is supported
1201 * @linear: true if SFP module is linear
1233 * ixgbe_setup_mac_link_sfp_x550em - Configure the KR PHY for SFP.
1236 * Configures the extern PHY and the integrated KR PHY for SFP support.
1247 /* Check if SFP module is supported and linear */ ixgbe_setup_mac_link_sfp_x550em()
1250 /* If no SFP module present, then return success. Return success since ixgbe_setup_mac_link_sfp_x550em()
1251 * there is no reason to configure CS4227 and SFP not present error is ixgbe_setup_mac_link_sfp_x550em()
1377 * functions for SFP+ fiber ixgbe_init_mac_link_ops_X550em()
1396 /** ixgbe_setup_sfp_modules_X550em - Setup SFP module
1404 /* Check if SFP module is supported */ ixgbe_setup_sfp_modules_X550em()
1424 /* SFP */ ixgbe_get_link_capabilities_X550em()
1426 /* CS4227 SFP must not enable auto-negotiation */ ixgbe_get_link_capabilities_X550em()
1435 /* Link capabilities are based on SFP */ ixgbe_get_link_capabilities_X550em()
1962 /** ixgbe_init_phy_ops_X550em - PHY/SFP specific init
1966 * set during init_shared_code because the PHY/SFP type was
1967 * not known. Perform the SFP init if necessary.
1994 /* Identify the PHY or SFP module */ ixgbe_init_phy_ops_X550em()
2152 /* Setup SFP module if there is one present. */ ixgbe_reset_hw_X550em()
H A Dixgbe_82599.c92 /* enable the laser control functions for SFP+ fiber ixgbe_init_mac_link_ops_82599()
109 /* Set up dual speed SFP+ support */ ixgbe_init_mac_link_ops_82599()
283 * ixgbe_init_phy_ops_82599 - PHY/SFP specific init
287 * set during get_invariants because the PHY/SFP type was
288 * not known. Perform the SFP init if necessary.
316 /* Identify the PHY or SFP module */ ixgbe_init_phy_ops_82599()
319 /* Setup function pointers based on detected SFP module and speeds */ ixgbe_init_phy_ops_82599()
358 /* Determine 1G link capabilities off of SFP+ type */ ixgbe_get_link_capabilities_82599()
587 * The base drivers may require better control over SFP+ module
610 * The base drivers may require better control over SFP+ module
960 /* Setup SFP module if there is one present. */ ixgbe_reset_hw_82599()
1843 /* Return error if SFP module has been detected but is not supported */ ixgbe_identify_phy_82599()
2079 * Performs byte read operation to SFP module's EEPROM over I2C interface at
2132 * Performs byte write operation to SFP module's EEPROM over I2C interface at
H A Dixgbe_phy.h140 /* SFP+ SFF-8472 Compliance code */
H A Dixgbe_main.c166 "Allow unsupported and untested SFP+ modules on 82599-based adapters");
4823 * ixgbe_sfp_link_config - set up SFP+ link
4830 * is that an SFP was inserted/removed after the reset ixgbe_sfp_link_config()
4831 * but before SFP detection was enabled. As such the best ixgbe_sfp_link_config()
4842 * ixgbe_non_sfp_link_config - set up non-SFP+ link
4966 /* enable the optics for 82599 SFP+ fiber */ ixgbe_up_complete()
5049 /* lock SFP init bit to prevent race conditions with the watchdog */ ixgbe_reset()
5053 /* clear all SFP and link config related flags while holding SFP_INIT */ ixgbe_reset()
5263 /* power down the optics for 82599 SFP+ fiber */ ixgbe_down()
5968 /* enable the optics for 82599 SFP+ fiber as we can WoL */ __ixgbe_shutdown()
6524 /* poll for SFP+ cable when link is down */ ixgbe_watchdog_link_is_down()
6721 * ixgbe_sfp_detection_subtask - poll for SFP+ cable
6729 /* not searching for SFP so there is nothing to do here */ ixgbe_sfp_detection_subtask()
6736 return; /* If not yet time to poll for SFP */ ixgbe_sfp_detection_subtask()
6778 e_info(probe, "detected SFP+: %d\n", hw->phy.sfp_type); ixgbe_sfp_detection_subtask()
6786 "SFP+ module type was detected.\n"); ixgbe_sfp_detection_subtask()
6794 * ixgbe_sfp_link_config_subtask - set up link SFP after module install
8750 e_dev_err("failed to load because an unsupported SFP+ or QSFP module type was detected.\n"); ixgbe_probe()
8935 e_dev_info("MAC: %d, PHY: %d, SFP+: %d, PBA No: %s\n", ixgbe_probe()
8962 /* power down the optics for 82599 SFP+ fiber */ ixgbe_probe()
9000 /* setup link for SFP devices with MNG FW, else wait for IXGBE_UP */ ixgbe_probe()
H A Dixgbe_ethtool.c232 /* SFP+ devices, further checking needed */ ixgbe_get_settings()
3137 /* We have a SFP, but it does not support SFF-8472 */ ixgbe_get_module_info()
3141 /* We have a SFP which supports a revision of SFF-8472. */ ixgbe_get_module_info()
H A Dixgbe.h605 #define IXGBE_SFP_POLL_JIFFIES (2 * HZ) /* SFP poll every 2 seconds */
H A Dixgbe_common.c2777 * upon for non-SFP connections, so we must call it here.
H A Dixgbe_type.h3011 * SFP+ module type IDs:
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dqt202x_phy.c10 * Driver for AMCC QT202x SFP+ and XFP adapters; see www.amcc.com for details
97 "If an SFP+ direct attach cable is" qt2025c_wait_heartbeat()
99 " with the SFP+ specification\n"); qt2025c_wait_heartbeat()
223 /* Only 2.0.1.0+ PHY firmware supports the more optimal SFP+ qt2025c_select_phy_mode()
229 /* In general we will get optimal behaviour in "SFP+ Self-Configure" qt2025c_select_phy_mode()
H A Dmcdi_pcol.h2431 /* enum: SFP+. */
4256 * Read media-specific data from PHY (e.g. SFP/SFP+ module ID information for
4257 * SFP+ PHYs). The 'media type' can be found via GET_PHY_CFG
4259 * output data, are interpreted on a per-type basis. For SFP+: PAGE=0 or 1
/linux-4.4.14/drivers/scsi/qla2xxx/
H A Dqla_isr.c464 * Bits 10-11 = SFP Status qla83xx_handle_8200_aen()
465 * SFP Status 0x0 = SFP+ transceiver not expected qla83xx_handle_8200_aen()
466 * SFP Status 0x1 = SFP+ transceiver not present qla83xx_handle_8200_aen()
467 * SFP Status 0x2 = SFP+ transceiver invalid qla83xx_handle_8200_aen()
468 * SFP Status 0x3 = SFP+ transceiver present and qla83xx_handle_8200_aen()
472 * Bits 16-17 = SFP Additional Info qla83xx_handle_8200_aen()
473 * SFP info 0x0 = Unregocnized transceiver for qla83xx_handle_8200_aen()
475 * SFP info 0x1 = SFP+ brand validation failed qla83xx_handle_8200_aen()
476 * SFP info 0x2 = SFP+ speed validation failed qla83xx_handle_8200_aen()
477 * SFP info 0x3 = SFP+ access error qla83xx_handle_8200_aen()
478 * Bit 18 = SFP Multirate qla83xx_handle_8200_aen()
479 * Bit 19 = SFP Tx Fault qla83xx_handle_8200_aen()
H A Dqla_devtbl.h35 "QLA200P", "133MHz PCI-X to 2Gb FC SFP", /* 0x11c */
H A Dqla_attr.c652 "Unable to allocate memory for SFP read-data.\n"); qla2x00_sysfs_read_sfp()
671 "Unable to read SFP data (%x/%x/%x).\n", rval, qla2x00_sysfs_read_sfp()
H A Dqla_def.h956 #define MBC_WRITE_SFP 0x30 /* Write SFP Data. */
957 #define MBC_READ_SFP 0x31 /* Read SFP Data. */
H A Dqla_mbx.c1281 /* mb3 is additional info about the installed SFP. */ qla2x00_init_firmware()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
H A Dqlge_mpi.c323 netif_err(qdev, drv, qdev->ndev, "SFP in AEN broken!\n"); ql_sfp_in()
325 netif_err(qdev, drv, qdev->ndev, "SFP insertion detected.\n"); ql_sfp_in()
338 netif_err(qdev, drv, qdev->ndev, "SFP out AEN broken!\n"); ql_sfp_out()
340 netif_err(qdev, drv, qdev->ndev, "SFP removal detected.\n"); ql_sfp_out()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c7758 /* SFP+ module Section */
7806 /* Disable/Enable transmitter ( TX laser of the SFP+ module.)*/ bnx2x_sfp_e1e2_set_transmitter()
7859 DP(NETIF_MSG_LINK, "Setting SFP+ transmitter to %d\n", tx_en); bnx2x_sfp_set_transmitter()
7908 "Got bad status 0x%x when reading from SFP+ EEPROM\n", bnx2x_8726_read_sfp_module_eeprom()
7947 DP(NETIF_MSG_LINK, "Setting SFP+ module power to %d using pin cfg %d\n", bnx2x_warpcore_power_module()
7949 /* Low ==> corresponding SFP+ module is powered bnx2x_warpcore_power_module()
7950 * high ==> the SFP+ module is powered down bnx2x_warpcore_power_module()
8009 /* Set 2-wire transfer rate of SFP+ module EEPROM bnx2x_8727_read_sfp_module_eeprom()
8065 "Got bad status 0x%x when reading from SFP+ EEPROM\n", bnx2x_8727_read_sfp_module_eeprom()
8148 DP(NETIF_MSG_LINK, "Failed to read from SFP+ module EEPROM\n"); bnx2x_get_edc_mode()
8160 /* Check if its active cable (includes SFP+ module) bnx2x_get_edc_mode()
8198 DP(NETIF_MSG_LINK, "1G SFP module detected\n"); bnx2x_get_edc_mode()
8208 "Warning: Link speed was forced to 1000Mbps. Current SFP module in port %d is not compliant with 10G Ethernet\n", bnx2x_get_edc_mode()
8271 /* This function read the relevant field from the module (SFP+), and verify it
8339 netdev_err(bp->dev, "Warning: Unqualified SFP+ module detected," bnx2x_verify_sfp_module()
8371 "SFP+ module initialization took %d ms\n", bnx2x_wait_for_sfp_module_initialized()
8528 * status which reflect SFP+ module over-current bnx2x_8727_specific_func()
8595 DP(NETIF_MSG_LINK, "Setting SFP+ module fault LED to %d\n", gpio_mode); bnx2x_set_sfp_module_fault_led()
8597 /* Low ==> if SFP+ module is supported otherwise bnx2x_set_sfp_module_fault_led()
8598 * High ==> if SFP+ module is not on the approved vendor list bnx2x_set_sfp_module_fault_led()
8624 DP(NETIF_MSG_LINK, "Setting SFP+ power to %x\n", power); bnx2x_power_sfp_module()
8708 DP(NETIF_MSG_LINK, "SFP+ module plugged in/out detected on port %d\n", bnx2x_sfp_module_detection()
8716 /* Check SFP+ module compatibility */ bnx2x_sfp_module_detection()
8723 /* Check if need to power down the SFP+ module */ bnx2x_sfp_module_detection()
8726 DP(NETIF_MSG_LINK, "Shutdown SFP+ module!!\n"); bnx2x_sfp_module_detection()
8807 DP(NETIF_MSG_LINK, "SFP+ module is not initialized\n"); bnx2x_handle_module_detect_int()
9469 DP(NETIF_MSG_LINK, "SFP+ module is not initialized\n"); bnx2x_8727_handle_mod_abs()
9533 "that SFP+ module has been removed " bnx2x_8727_read_status()
9535 "Please remove the SFP+ module and " bnx2x_8727_read_status()
13519 "that SFP+ module has been removed" bnx2x_check_over_curr()
13521 " Please remove the SFP+ module and" bnx2x_check_over_curr()
13675 /* Get The SFP+ TX_Fault controlling pin ([eg]pio) */ bnx2x_sfp_tx_fault_detection()
13914 /* Set GPIO3 to trigger SFP+ module insertion/removal */ bnx2x_init_mod_abs_int()
H A Dbnx2x_hsi.h432 /* Controls the TX laser of the SFP+ module */
442 /* Controls the fault module LED of the SFP+ */
451 /* The output pin TX_DIS that controls the TX laser of the SFP+
461 /* The input pin MOD_ABS that indicates whether SFP+ module is
466 /* The output pin PWRDIS_SFP_X which disable the power of the SFP+
512 /* SFP+ Tx Equalization: NIC recommended and tested value is 0xBEB2
520 /* SFP+ Tx driver broadcast IDRIVER: NIC recommended and tested
526 /* Set non-default values for TXFIR in SFP mode. */
530 /* Set non-default values for IPREDRIVER in SFP mode. */
534 /* Set non-default values for POST2 in SFP mode. */
H A Dbnx2x_link.h436 /* Read "byte_cnt" bytes from address "addr" from the SFP+ EEPROM */
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
H A Dbfi.h128 BFI_MC_SFP = 22, /*!< SFP module */
H A Dbna_enet.c1721 * Attach common modules (Diag, SFP, CEE, Port) and claim respective bna_ioceth_init()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c598 /* for SFP+ modules and DA cables on 82599 it can take up to 500usecs ixgbevf_check_mac_link_vf()
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic.h1843 {NETXEN_BRDTYPE_P3_10G_SFP_PLUS, 2, "Dual XGb SFP+ LP"},
1848 {NETXEN_BRDTYPE_P3_10G_SFP_QT, 2, "Quanta Dual XGb SFP+"},
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1429 /* Some SFP cables do not support i2c slave mlx4_get_module_info()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c993 dev_info(&adapter->pdev->dev, "SFP+ Insert AEN:0x%x.\n", __qlcnic_83xx_process_aen()
997 dev_info(&adapter->pdev->dev, "SFP Removed AEN:0x%x.\n", __qlcnic_83xx_process_aen()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c23 "A valid SFP module detected",
27 "Unknown port SFP status"
H A Dbe_main.c5461 "Unqualified SFP+ detected on %c from %s part no: %s", be_log_sfp_info()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4fw_api.h2575 * lengths decoded from SFP+ module i2c PROMs. These should
H A Dt4_hw.c5334 "R SFP+", t4_get_port_type_description()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_driver.c1066 * @gfp_mask: the sk_buff SFP mask
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_mbox.c2369 * lpfc_sli4_dump_sfp_pagea0 - Dump sli4 read SFP Diagnostic.
H A Dlpfc_els.c4619 /* check if its SFP+ */ lpfc_rdp_res_sfp_desc()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c4515 /* SFP mode will be enabled for all TCs on port */ i40e_pf_get_num_tc()
4569 /* SFP mode we want PF to be enabled for all TCs */ i40e_pf_get_tc_map()
8836 * available on the port in SFP mode. i40e_add_vsi()
/linux-4.4.14/drivers/net/ethernet/marvell/
H A Dsky2.c414 /* for SFP-module set SIGDET polarity to low */ sky2_phy_init()
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c1808 /* We've found either an XFP, quad ribbon fiber, or SFP+ */ myri10ge_get_settings()

Completed in 2325 milliseconds