Lines Matching refs:acaps

4108 	fw_port_cap32_t fw_fc, fw_fec, acaps;  in t4_link_acaps()  local
4137 acaps = lc->acaps | fw_fc | fw_fec; in t4_link_acaps()
4141 acaps = lc->speed_caps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps()
4145 acaps = lc->acaps | fw_fc | fw_fec | fw_mdi; in t4_link_acaps()
4156 if ((acaps & ~lc->pcaps) & ~FW_PORT_CAP32_FORCE_PAUSE) { in t4_link_acaps()
4158 acaps, lc->pcaps); in t4_link_acaps()
4162 return acaps; in t4_link_acaps()
8502 static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) in fwcap_to_fwspeed() argument
8506 if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ in fwcap_to_fwspeed()
8570 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; in t4_handle_get_port_info() local
8590 acaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.acap)); in t4_handle_get_port_info()
8605 acaps = be32_to_cpu(cmd->u.info32.acaps32); in t4_handle_get_port_info()
8617 fec = fwcap_to_cc_fec(acaps); in t4_handle_get_port_info()
8618 adv_fc = fwcap_to_cc_pause(acaps); in t4_handle_get_port_info()
8648 lc->def_acaps = acaps; in t4_handle_get_port_info()
8692 lc->acaps = acaps & ADVERT_MASK; in t4_handle_get_port_info()
8699 if (!(lc->acaps & FW_PORT_CAP32_ANEG)) { in t4_handle_get_port_info()
8701 } else if (lc->acaps & FW_PORT_CAP32_ANEG) { in t4_handle_get_port_info()
8708 lc->acaps = 0; in t4_handle_get_port_info()
8709 lc->speed_caps = fwcap_to_fwspeed(acaps); in t4_handle_get_port_info()
8897 fw_port_cap32_t acaps) in init_link_config() argument
8900 lc->def_acaps = acaps; in init_link_config()
8920 lc->acaps = lc->pcaps & ADVERT_MASK; in init_link_config()
8924 lc->acaps = 0; in init_link_config()
8926 lc->speed_caps = fwcap_to_fwspeed(acaps); in init_link_config()
9607 fw_port_cap32_t pcaps, acaps; in t4_init_portinfo() local
9651 acaps = fwcaps16_to_caps32(be16_to_cpu(cmd.u.info.acap)); in t4_init_portinfo()
9660 acaps = be32_to_cpu(cmd.u.info32.acaps32); in t4_init_portinfo()
9690 init_link_config(&pi->link_cfg, pcaps, acaps); in t4_init_portinfo()