Home
last modified time | relevance | path

Searched refs:linkattr (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c1916 fw_port_cap32_t pcaps, acaps, lpacaps, linkattr; in t4vf_handle_get_port_info() local
1942 linkattr = 0; in t4vf_handle_get_port_info()
1944 linkattr |= FW_PORT_CAP32_FC_RX; in t4vf_handle_get_port_info()
1946 linkattr |= FW_PORT_CAP32_FC_TX; in t4vf_handle_get_port_info()
1948 linkattr |= FW_PORT_CAP32_SPEED_100M; in t4vf_handle_get_port_info()
1950 linkattr |= FW_PORT_CAP32_SPEED_1G; in t4vf_handle_get_port_info()
1952 linkattr |= FW_PORT_CAP32_SPEED_10G; in t4vf_handle_get_port_info()
1954 linkattr |= FW_PORT_CAP32_SPEED_25G; in t4vf_handle_get_port_info()
1956 linkattr |= FW_PORT_CAP32_SPEED_40G; in t4vf_handle_get_port_info()
1958 linkattr |= FW_PORT_CAP32_SPEED_100G; in t4vf_handle_get_port_info()
[all …]
/linux/drivers/scsi/csiostor/
H A Dcsio_hw.c1653 fw_port_cap32_t linkattr = 0; in lstatus_to_fwcap() local
1660 linkattr |= FW_PORT_CAP32_FC_RX; in lstatus_to_fwcap()
1662 linkattr |= FW_PORT_CAP32_FC_TX; in lstatus_to_fwcap()
1664 linkattr |= FW_PORT_CAP32_SPEED_100M; in lstatus_to_fwcap()
1666 linkattr |= FW_PORT_CAP32_SPEED_1G; in lstatus_to_fwcap()
1668 linkattr |= FW_PORT_CAP32_SPEED_10G; in lstatus_to_fwcap()
1670 linkattr |= FW_PORT_CAP32_SPEED_25G; in lstatus_to_fwcap()
1672 linkattr |= FW_PORT_CAP32_SPEED_40G; in lstatus_to_fwcap()
1674 linkattr |= FW_PORT_CAP32_SPEED_100G; in lstatus_to_fwcap()
1676 return linkattr; in lstatus_to_fwcap()
H A Dcsio_mb.c1413 fw_port_cap32_t linkattr; in csio_mb_fwevt_handler() local
1431 linkattr = lstatus_to_fwcap(link_status); in csio_mb_fwevt_handler()
1439 linkattr = ntohl(pcmd->u.info32.linkattr32); in csio_mb_fwevt_handler()
1445 hw->pport[port_id].link_speed = fwcap_to_fwspeed(linkattr); in csio_mb_fwevt_handler()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c8536 fw_port_cap32_t linkattr = 0; in lstatus_to_fwcap() local
8543 linkattr |= FW_PORT_CAP32_FC_RX; in lstatus_to_fwcap()
8545 linkattr |= FW_PORT_CAP32_FC_TX; in lstatus_to_fwcap()
8547 linkattr |= FW_PORT_CAP32_SPEED_100M; in lstatus_to_fwcap()
8549 linkattr |= FW_PORT_CAP32_SPEED_1G; in lstatus_to_fwcap()
8551 linkattr |= FW_PORT_CAP32_SPEED_10G; in lstatus_to_fwcap()
8553 linkattr |= FW_PORT_CAP32_SPEED_25G; in lstatus_to_fwcap()
8555 linkattr |= FW_PORT_CAP32_SPEED_40G; in lstatus_to_fwcap()
8557 linkattr |= FW_PORT_CAP32_SPEED_100G; in lstatus_to_fwcap()
8559 return linkattr; in lstatus_to_fwcap()
[all …]