linkattr 8531 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fw_port_cap32_t linkattr = 0; linkattr 8538 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr |= FW_PORT_CAP32_FC_RX; linkattr 8540 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr |= FW_PORT_CAP32_FC_TX; linkattr 8542 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr |= FW_PORT_CAP32_SPEED_100M; linkattr 8544 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr |= FW_PORT_CAP32_SPEED_1G; linkattr 8546 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr |= FW_PORT_CAP32_SPEED_10G; linkattr 8548 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr |= FW_PORT_CAP32_SPEED_25G; linkattr 8550 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr |= FW_PORT_CAP32_SPEED_40G; linkattr 8552 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr |= FW_PORT_CAP32_SPEED_100G; linkattr 8554 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c return linkattr; linkattr 8567 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; linkattr 8589 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr = lstatus_to_fwcap(lstatus); linkattr 8604 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr = be32_to_cpu(cmd->u.info32.linkattr32); linkattr 8616 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fc = fwcap_to_cc_pause(linkattr); linkattr 8617 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c speed = fwcap_to_speed(linkattr); linkattr 8787 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fw_port_cap32_t linkattr; linkattr 8809 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr = lstatus_to_fwcap(lstatus); linkattr 8816 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr = be32_to_cpu(port_cmd.u.info32.linkattr32); linkattr 8822 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *speedp = fwcap_to_speed(linkattr); linkattr 1916 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; linkattr 1942 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr = 0; linkattr 1944 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr |= FW_PORT_CAP32_FC_RX; linkattr 1946 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr |= FW_PORT_CAP32_FC_TX; linkattr 1948 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr |= FW_PORT_CAP32_SPEED_100M; linkattr 1950 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr |= FW_PORT_CAP32_SPEED_1G; linkattr 1952 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr |= FW_PORT_CAP32_SPEED_10G; linkattr 1954 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr |= FW_PORT_CAP32_SPEED_25G; linkattr 1956 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr |= FW_PORT_CAP32_SPEED_40G; linkattr 1958 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr |= FW_PORT_CAP32_SPEED_100G; linkattr 1974 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr = be32_to_cpu(cmd->u.info32.linkattr32); linkattr 1986 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c fc = fwcap_to_cc_pause(linkattr); linkattr 1987 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c speed = fwcap_to_speed(linkattr); linkattr 1653 drivers/scsi/csiostor/csio_hw.c fw_port_cap32_t linkattr = 0; linkattr 1660 drivers/scsi/csiostor/csio_hw.c linkattr |= FW_PORT_CAP32_FC_RX; linkattr 1662 drivers/scsi/csiostor/csio_hw.c linkattr |= FW_PORT_CAP32_FC_TX; linkattr 1664 drivers/scsi/csiostor/csio_hw.c linkattr |= FW_PORT_CAP32_SPEED_100M; linkattr 1666 drivers/scsi/csiostor/csio_hw.c linkattr |= FW_PORT_CAP32_SPEED_1G; linkattr 1668 drivers/scsi/csiostor/csio_hw.c linkattr |= FW_PORT_CAP32_SPEED_10G; linkattr 1670 drivers/scsi/csiostor/csio_hw.c linkattr |= FW_PORT_CAP32_SPEED_25G; linkattr 1672 drivers/scsi/csiostor/csio_hw.c linkattr |= FW_PORT_CAP32_SPEED_40G; linkattr 1674 drivers/scsi/csiostor/csio_hw.c linkattr |= FW_PORT_CAP32_SPEED_100G; linkattr 1676 drivers/scsi/csiostor/csio_hw.c return linkattr; linkattr 1413 drivers/scsi/csiostor/csio_mb.c fw_port_cap32_t linkattr; linkattr 1431 drivers/scsi/csiostor/csio_mb.c linkattr = lstatus_to_fwcap(link_status); linkattr 1439 drivers/scsi/csiostor/csio_mb.c linkattr = ntohl(pcmd->u.info32.linkattr32); linkattr 1445 drivers/scsi/csiostor/csio_mb.c hw->pport[port_id].link_speed = fwcap_to_fwspeed(linkattr);