Lines Matching refs:acaps
424 static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument
428 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed()
457 fw_port_cap32_t acaps) in init_link_config() argument
468 lc->auto_fec = fwcap_to_cc_fec(acaps); in init_link_config()
480 lc->acaps = acaps & ADVERT_MASK; in init_link_config()
484 lc->acaps = 0; in init_link_config()
486 lc->speed_caps = fwcap_to_fwspeed(acaps); in init_link_config()
503 fw_port_cap32_t pcaps, acaps; in t4vf_port_init() local
571 acaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.acap)); in t4vf_port_init()
581 acaps = be32_to_cpu(port_rpl.u.info32.acaps32); in t4vf_port_init()
588 init_link_config(&pi->link_cfg, pcaps, acaps); in t4vf_port_init()
1915 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; in t4vf_handle_get_port_info() local
1934 acaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.acap)); in t4vf_handle_get_port_info()
1971 acaps = be32_to_cpu(cmd->u.info32.acaps32); in t4vf_handle_get_port_info()
1983 fec = fwcap_to_cc_fec(acaps); in t4vf_handle_get_port_info()
1984 adv_fc = fwcap_to_cc_pause(acaps); in t4vf_handle_get_port_info()
2033 lc->acaps = acaps & ADVERT_MASK; in t4vf_handle_get_port_info()
2042 } else if (lc->acaps & FW_PORT_CAP32_ANEG) { in t4vf_handle_get_port_info()
2049 lc->acaps = 0; in t4vf_handle_get_port_info()
2050 lc->speed_caps = fwcap_to_speed(acaps); in t4vf_handle_get_port_info()