acaps 498 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h fw_port_cap32_t acaps; /* advertised capabilities */ acaps 671 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c lc->acaps = fw_caps; acaps 678 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c lc->acaps = fw_caps | FW_PORT_CAP32_ANEG; acaps 4141 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fw_port_cap32_t fw_fc, fw_fec, acaps; acaps 4170 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = lc->acaps | fw_fc | fw_fec; acaps 4174 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = lc->speed_caps | fw_fc | fw_fec | fw_mdi; acaps 4178 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = lc->acaps | fw_fc | fw_fec | fw_mdi; acaps 4189 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if ((acaps & ~lc->pcaps) & ~FW_PORT_CAP32_FORCE_PAUSE) { acaps 4191 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps, lc->pcaps); acaps 4195 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c return acaps; acaps 8499 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) acaps 8503 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ acaps 8567 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; acaps 8587 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.acap)); acaps 8602 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = be32_to_cpu(cmd->u.info32.acaps32); acaps 8614 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fec = fwcap_to_cc_fec(acaps); acaps 8615 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c adv_fc = fwcap_to_cc_pause(acaps); acaps 8645 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lc->def_acaps = acaps; acaps 8689 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lc->acaps = acaps & ADVERT_MASK; acaps 8696 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (!(lc->acaps & FW_PORT_CAP32_ANEG)) { acaps 8698 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c } else if (lc->acaps & FW_PORT_CAP32_ANEG) { acaps 8705 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lc->acaps = 0; acaps 8706 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lc->speed_caps = fwcap_to_fwspeed(acaps); acaps 8891 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fw_port_cap32_t acaps) acaps 8894 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lc->def_acaps = acaps; acaps 8914 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lc->acaps = lc->pcaps & ADVERT_MASK; acaps 8918 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lc->acaps = 0; acaps 8920 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lc->speed_caps = fwcap_to_fwspeed(acaps); acaps 9602 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fw_port_cap32_t pcaps, acaps; acaps 9646 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = fwcaps16_to_caps32(be16_to_cpu(cmd.u.info.acap)); acaps 9655 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = be32_to_cpu(cmd.u.info32.acaps32); acaps 9685 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c init_link_config(&pi->link_cfg, pcaps, acaps); acaps 1469 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, acaps 130 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h fw_port_cap32_t acaps; /* advertised capabilities */ acaps 426 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c static fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) acaps 430 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ acaps 459 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c fw_port_cap32_t acaps) acaps 470 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lc->auto_fec = fwcap_to_cc_fec(acaps); acaps 482 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lc->acaps = acaps & ADVERT_MASK; acaps 486 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lc->acaps = 0; acaps 488 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lc->speed_caps = fwcap_to_fwspeed(acaps); acaps 505 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c fw_port_cap32_t pcaps, acaps; acaps 573 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c acaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.acap)); acaps 583 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c acaps = be32_to_cpu(port_rpl.u.info32.acaps32); acaps 590 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c init_link_config(&pi->link_cfg, pcaps, acaps); acaps 1916 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; acaps 1935 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c acaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.acap)); acaps 1972 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c acaps = be32_to_cpu(cmd->u.info32.acaps32); acaps 1984 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c fec = fwcap_to_cc_fec(acaps); acaps 1985 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c adv_fc = fwcap_to_cc_pause(acaps); acaps 2034 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lc->acaps = acaps & ADVERT_MASK; acaps 2043 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c } else if (lc->acaps & FW_PORT_CAP32_ANEG) { acaps 2050 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lc->acaps = 0; acaps 2051 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lc->speed_caps = fwcap_to_speed(acaps); acaps 1544 drivers/scsi/csiostor/csio_hw.c fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps) acaps 1548 drivers/scsi/csiostor/csio_hw.c if (acaps & FW_PORT_CAP32_SPEED_##__caps_speed) \ acaps 1689 drivers/scsi/csiostor/csio_hw.c fw_port_cap32_t acaps) acaps 1692 drivers/scsi/csiostor/csio_hw.c lc->def_acaps = acaps; acaps 1714 drivers/scsi/csiostor/csio_hw.c lc->acaps = lc->pcaps & ADVERT_MASK; acaps 1718 drivers/scsi/csiostor/csio_hw.c lc->acaps = 0; acaps 1764 drivers/scsi/csiostor/csio_hw.c lrcap = lc->acaps | fw_fc | fw_fec | fw_mdi; acaps 1782 drivers/scsi/csiostor/csio_hw.c fw_port_cap32_t pcaps, acaps, rcaps; acaps 1829 drivers/scsi/csiostor/csio_hw.c &pcaps, &acaps); acaps 1837 drivers/scsi/csiostor/csio_hw.c csio_init_link_config(&hw->pport[i].link_cfg, pcaps, acaps); acaps 297 drivers/scsi/csiostor/csio_hw.h fw_port_cap32_t acaps; /* advertised capabilities */ acaps 640 drivers/scsi/csiostor/csio_hw.h fw_port_cap32_t fwcap_to_fwspeed(fw_port_cap32_t acaps); acaps 387 drivers/scsi/csiostor/csio_mb.c u32 *pcaps, u32 *acaps) acaps 396 drivers/scsi/csiostor/csio_mb.c *acaps = fwcaps16_to_caps32(ntohs(rsp->u.info.acap)); acaps 399 drivers/scsi/csiostor/csio_mb.c *acaps = be32_to_cpu(rsp->u.info32.acaps32);