Lines Matching refs:linkattr
8554 fw_port_cap32_t linkattr = 0; in lstatus_to_fwcap() local
8561 linkattr |= FW_PORT_CAP32_FC_RX; in lstatus_to_fwcap()
8563 linkattr |= FW_PORT_CAP32_FC_TX; in lstatus_to_fwcap()
8565 linkattr |= FW_PORT_CAP32_SPEED_100M; in lstatus_to_fwcap()
8567 linkattr |= FW_PORT_CAP32_SPEED_1G; in lstatus_to_fwcap()
8569 linkattr |= FW_PORT_CAP32_SPEED_10G; in lstatus_to_fwcap()
8571 linkattr |= FW_PORT_CAP32_SPEED_25G; in lstatus_to_fwcap()
8573 linkattr |= FW_PORT_CAP32_SPEED_40G; in lstatus_to_fwcap()
8575 linkattr |= FW_PORT_CAP32_SPEED_100G; in lstatus_to_fwcap()
8577 return linkattr; in lstatus_to_fwcap()
8590 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; in t4_handle_get_port_info() local
8612 linkattr = lstatus_to_fwcap(lstatus); in t4_handle_get_port_info()
8627 linkattr = be32_to_cpu(cmd->u.info32.linkattr32); in t4_handle_get_port_info()
8639 fc = fwcap_to_cc_pause(linkattr); in t4_handle_get_port_info()
8640 speed = fwcap_to_speed(linkattr); in t4_handle_get_port_info()
8810 fw_port_cap32_t linkattr; in t4_get_link_params() local
8832 linkattr = lstatus_to_fwcap(lstatus); in t4_get_link_params()
8839 linkattr = be32_to_cpu(port_cmd.u.info32.linkattr32); in t4_get_link_params()
8847 *speedp = fwcap_to_speed(linkattr); in t4_get_link_params()