Lines Matching refs:lstatus
564 u32 lstatus = be32_to_cpu(port_rpl.u.info.lstatus_to_modtype); in t4vf_port_init() local
566 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_port_init()
567 mdio_addr = ((lstatus & FW_PORT_CMD_MDIOCAP_F) in t4vf_port_init()
568 ? FW_PORT_CMD_MDIOADDR_G(lstatus) in t4vf_port_init()
1927 u32 lstatus = be32_to_cpu(cmd->u.info.lstatus_to_modtype); in t4vf_handle_get_port_info() local
1929 link_ok = (lstatus & FW_PORT_CMD_LSTATUS_F) != 0; in t4vf_handle_get_port_info()
1930 linkdnrc = FW_PORT_CMD_LINKDNRC_G(lstatus); in t4vf_handle_get_port_info()
1931 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_handle_get_port_info()
1932 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4vf_handle_get_port_info()
1942 if (lstatus & FW_PORT_CMD_RXPAUSE_F) in t4vf_handle_get_port_info()
1944 if (lstatus & FW_PORT_CMD_TXPAUSE_F) in t4vf_handle_get_port_info()
1946 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100M)) in t4vf_handle_get_port_info()
1948 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_1G)) in t4vf_handle_get_port_info()
1950 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_10G)) in t4vf_handle_get_port_info()
1952 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_25G)) in t4vf_handle_get_port_info()
1954 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_40G)) in t4vf_handle_get_port_info()
1956 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100G)) in t4vf_handle_get_port_info()