Lines Matching refs:acaps
425 static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument
429 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed()
458 fw_port_cap32_t acaps) in init_link_config() argument
469 lc->auto_fec = fwcap_to_cc_fec(acaps); in init_link_config()
481 lc->acaps = acaps & ADVERT_MASK; in init_link_config()
485 lc->acaps = 0; in init_link_config()
487 lc->speed_caps = fwcap_to_fwspeed(acaps); in init_link_config()
504 fw_port_cap32_t pcaps, acaps; in t4vf_port_init() local
572 acaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.acap)); in t4vf_port_init()
582 acaps = be32_to_cpu(port_rpl.u.info32.acaps32); in t4vf_port_init()
589 init_link_config(&pi->link_cfg, pcaps, acaps); in t4vf_port_init()
1916 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; in t4vf_handle_get_port_info() local
1935 acaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.acap)); in t4vf_handle_get_port_info()
1972 acaps = be32_to_cpu(cmd->u.info32.acaps32); in t4vf_handle_get_port_info()
1984 fec = fwcap_to_cc_fec(acaps); in t4vf_handle_get_port_info()
1985 adv_fc = fwcap_to_cc_pause(acaps); in t4vf_handle_get_port_info()
2034 lc->acaps = acaps & ADVERT_MASK; in t4vf_handle_get_port_info()
2043 } else if (lc->acaps & FW_PORT_CAP32_ANEG) { in t4vf_handle_get_port_info()
2050 lc->acaps = 0; in t4vf_handle_get_port_info()
2051 lc->speed_caps = fwcap_to_speed(acaps); in t4vf_handle_get_port_info()