Lines Matching refs:acaps
4140 fw_port_cap32_t fw_fc, fw_fec, acaps; in t4_link_acaps() local
4169 acaps = lc->acaps | fw_fc | fw_fec; in t4_link_acaps()
4173 acaps = lc->speed_caps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps()
4177 acaps = lc->acaps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps()
4188 if ((acaps & ~lc->pcaps) & ~FW_PORT_CAP32_FORCE_PAUSE) { in t4_link_acaps()
4190 acaps, lc->pcaps); in t4_link_acaps()
4194 return acaps; in t4_link_acaps()
8498 static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument
8502 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed()
8573 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; in t4_handle_get_port_info() local
8586 acaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.acap)); in t4_handle_get_port_info()
8601 acaps = be32_to_cpu(cmd->u.info32.acaps32); in t4_handle_get_port_info()
8613 fec = fwcap_to_cc_fec(acaps); in t4_handle_get_port_info()
8643 lc->def_acaps = acaps; in t4_handle_get_port_info()
8684 lc->acaps = acaps & ADVERT_MASK; in t4_handle_get_port_info()
8691 if (!(lc->acaps & FW_PORT_CAP32_ANEG)) { in t4_handle_get_port_info()
8693 } else if (lc->acaps & FW_PORT_CAP32_ANEG) { in t4_handle_get_port_info()
8700 lc->acaps = 0; in t4_handle_get_port_info()
8701 lc->speed_caps = fwcap_to_fwspeed(acaps); in t4_handle_get_port_info()
8886 fw_port_cap32_t acaps) in init_link_config() argument
8889 lc->def_acaps = acaps; in init_link_config()
8909 lc->acaps = lc->pcaps & ADVERT_MASK; in init_link_config()
8913 lc->acaps = 0; in init_link_config()
8915 lc->speed_caps = fwcap_to_fwspeed(acaps); in init_link_config()
9597 fw_port_cap32_t pcaps, acaps; in t4_init_portinfo() local
9641 acaps = fwcaps16_to_caps32(be16_to_cpu(cmd.u.info.acap)); in t4_init_portinfo()
9650 acaps = be32_to_cpu(cmd.u.info32.acaps32); in t4_init_portinfo()
9680 init_link_config(&pi->link_cfg, pcaps, acaps); in t4_init_portinfo()