Lines Matching refs:lstatus

8528 static fw_port_cap32_t lstatus_to_fwcap(u32 lstatus)  in lstatus_to_fwcap()  argument
8536 if (lstatus & FW_PORT_CMD_RXPAUSE_F) in lstatus_to_fwcap()
8538 if (lstatus & FW_PORT_CMD_TXPAUSE_F) in lstatus_to_fwcap()
8540 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100M)) in lstatus_to_fwcap()
8542 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_1G)) in lstatus_to_fwcap()
8544 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_10G)) in lstatus_to_fwcap()
8546 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_25G)) in lstatus_to_fwcap()
8548 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_40G)) in lstatus_to_fwcap()
8550 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100G)) in lstatus_to_fwcap()
8579 u32 lstatus = be32_to_cpu(cmd->u.info.lstatus_to_modtype); in t4_handle_get_port_info() local
8581 link_ok = (lstatus & FW_PORT_CMD_LSTATUS_F) != 0; in t4_handle_get_port_info()
8582 linkdnrc = FW_PORT_CMD_LINKDNRC_G(lstatus); in t4_handle_get_port_info()
8583 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4_handle_get_port_info()
8584 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4_handle_get_port_info()
8588 linkattr = lstatus_to_fwcap(lstatus); in t4_handle_get_port_info()
8801 u32 lstatus = be32_to_cpu(port_cmd.u.info.lstatus_to_modtype); in t4_get_link_params() local
8803 link_ok = !!(lstatus & FW_PORT_CMD_LSTATUS_F); in t4_get_link_params()
8804 linkattr = lstatus_to_fwcap(lstatus); in t4_get_link_params()
9634 u32 lstatus = be32_to_cpu(cmd.u.info.lstatus_to_modtype); in t4_init_portinfo() local
9636 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4_init_portinfo()
9637 mdio_addr = ((lstatus & FW_PORT_CMD_MDIOCAP_F) in t4_init_portinfo()
9638 ? FW_PORT_CMD_MDIOADDR_G(lstatus) in t4_init_portinfo()