Searched refs:linkattr (Results 1 – 4 of 4) sorted by relevance
1916 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; in t4vf_handle_get_port_info() local1942 linkattr = 0; in t4vf_handle_get_port_info()1944 linkattr |= FW_PORT_CAP32_FC_RX; in t4vf_handle_get_port_info()1946 linkattr |= FW_PORT_CAP32_FC_TX; in t4vf_handle_get_port_info()1948 linkattr |= FW_PORT_CAP32_SPEED_100M; in t4vf_handle_get_port_info()1950 linkattr |= FW_PORT_CAP32_SPEED_1G; in t4vf_handle_get_port_info()1952 linkattr |= FW_PORT_CAP32_SPEED_10G; in t4vf_handle_get_port_info()1954 linkattr |= FW_PORT_CAP32_SPEED_25G; in t4vf_handle_get_port_info()1956 linkattr |= FW_PORT_CAP32_SPEED_40G; in t4vf_handle_get_port_info()1958 linkattr |= FW_PORT_CAP32_SPEED_100G; in t4vf_handle_get_port_info()[all …]
1653 fw_port_cap32_t linkattr = 0; in lstatus_to_fwcap() local1660 linkattr |= FW_PORT_CAP32_FC_RX; in lstatus_to_fwcap()1662 linkattr |= FW_PORT_CAP32_FC_TX; in lstatus_to_fwcap()1664 linkattr |= FW_PORT_CAP32_SPEED_100M; in lstatus_to_fwcap()1666 linkattr |= FW_PORT_CAP32_SPEED_1G; in lstatus_to_fwcap()1668 linkattr |= FW_PORT_CAP32_SPEED_10G; in lstatus_to_fwcap()1670 linkattr |= FW_PORT_CAP32_SPEED_25G; in lstatus_to_fwcap()1672 linkattr |= FW_PORT_CAP32_SPEED_40G; in lstatus_to_fwcap()1674 linkattr |= FW_PORT_CAP32_SPEED_100G; in lstatus_to_fwcap()1676 return linkattr; in lstatus_to_fwcap()
1413 fw_port_cap32_t linkattr; in csio_mb_fwevt_handler() local1431 linkattr = lstatus_to_fwcap(link_status); in csio_mb_fwevt_handler()1439 linkattr = ntohl(pcmd->u.info32.linkattr32); in csio_mb_fwevt_handler()1445 hw->pport[port_id].link_speed = fwcap_to_fwspeed(linkattr); in csio_mb_fwevt_handler()
8534 fw_port_cap32_t linkattr = 0; in lstatus_to_fwcap() local8541 linkattr |= FW_PORT_CAP32_FC_RX; in lstatus_to_fwcap()8543 linkattr |= FW_PORT_CAP32_FC_TX; in lstatus_to_fwcap()8545 linkattr |= FW_PORT_CAP32_SPEED_100M; in lstatus_to_fwcap()8547 linkattr |= FW_PORT_CAP32_SPEED_1G; in lstatus_to_fwcap()8549 linkattr |= FW_PORT_CAP32_SPEED_10G; in lstatus_to_fwcap()8551 linkattr |= FW_PORT_CAP32_SPEED_25G; in lstatus_to_fwcap()8553 linkattr |= FW_PORT_CAP32_SPEED_40G; in lstatus_to_fwcap()8555 linkattr |= FW_PORT_CAP32_SPEED_100G; in lstatus_to_fwcap()8557 return linkattr; in lstatus_to_fwcap()[all …]