Lines Matching refs:lstatus

8552 static fw_port_cap32_t lstatus_to_fwcap(u32 lstatus)  in lstatus_to_fwcap()  argument
8560 if (lstatus & FW_PORT_CMD_RXPAUSE_F) in lstatus_to_fwcap()
8562 if (lstatus & FW_PORT_CMD_TXPAUSE_F) in lstatus_to_fwcap()
8564 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100M)) in lstatus_to_fwcap()
8566 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_1G)) in lstatus_to_fwcap()
8568 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_10G)) in lstatus_to_fwcap()
8570 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_25G)) in lstatus_to_fwcap()
8572 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_40G)) in lstatus_to_fwcap()
8574 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100G)) in lstatus_to_fwcap()
8603 u32 lstatus = be32_to_cpu(cmd->u.info.lstatus_to_modtype); in t4_handle_get_port_info() local
8605 link_ok = (lstatus & FW_PORT_CMD_LSTATUS_F) != 0; in t4_handle_get_port_info()
8606 linkdnrc = FW_PORT_CMD_LINKDNRC_G(lstatus); in t4_handle_get_port_info()
8607 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4_handle_get_port_info()
8608 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4_handle_get_port_info()
8612 linkattr = lstatus_to_fwcap(lstatus); in t4_handle_get_port_info()
8829 u32 lstatus = be32_to_cpu(port_cmd.u.info.lstatus_to_modtype); in t4_get_link_params() local
8831 link_ok = !!(lstatus & FW_PORT_CMD_LSTATUS_F); in t4_get_link_params()
8832 linkattr = lstatus_to_fwcap(lstatus); in t4_get_link_params()
9664 u32 lstatus = be32_to_cpu(cmd.u.info.lstatus_to_modtype); in t4_init_portinfo() local
9666 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4_init_portinfo()
9667 mdio_addr = ((lstatus & FW_PORT_CMD_MDIOCAP_F) in t4_init_portinfo()
9668 ? FW_PORT_CMD_MDIOADDR_G(lstatus) in t4_init_portinfo()