Searched refs:fw_caps (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_ethtool.c | 433 fw_port_cap32_t fw_caps, in fw_caps_to_lmm() argument 444 if (fw_caps & FW_PORT_CAP32_ ## __fw_name) \ in fw_caps_to_lmm() 545 if (fw_caps & FW_PORT_CAP32_FEC_V(FW_PORT_CAP32_FEC_M)) { in fw_caps_to_lmm() 570 unsigned int fw_caps = 0; in lmm_to_fw_caps() local 576 fw_caps |= FW_PORT_CAP32_ ## __fw_name; \ in lmm_to_fw_caps() 589 return fw_caps; in lmm_to_fw_caps() 654 unsigned int fw_caps; in set_link_ksettings() local 664 fw_caps = speed_to_fw_caps(base->speed); in set_link_ksettings() 667 if (!(lc->pcaps & fw_caps)) in set_link_ksettings() 670 lc->speed_caps = fw_caps; in set_link_ksettings() [all …]
|
| D | t4_hw.c | 4218 unsigned int fw_caps = adapter->params.fw_caps_support; in t4_link_l1cfg_core() local 4237 cpu_to_be32(FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4_link_l1cfg_core() 4241 if (fw_caps == FW_CAPS16) in t4_link_l1cfg_core() 4274 unsigned int fw_caps = adap->params.fw_caps_support; in t4_restart_aneg() local 4282 cpu_to_be32(FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4_restart_aneg() 4286 if (fw_caps == FW_CAPS16) in t4_restart_aneg() 8743 unsigned int fw_caps = pi->adapter->params.fw_caps_support; in t4_update_port_info() local 8752 FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4_update_port_info() 8779 unsigned int fw_caps = pi->adapter->params.fw_caps_support; in t4_get_link_params() local 8789 action = (fw_caps == FW_CAPS16 in t4_get_link_params() [all …]
|
| D | cxgb4.h | 489 enum fw_caps { enum
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/ |
| D | t4vf_hw.c | 500 unsigned int fw_caps = adapter->params.fw_caps_support; in t4vf_port_init() local 514 if (fw_caps == FW_CAPS_UNKNOWN) { in t4vf_port_init() 521 fw_caps = (ret == 0 ? FW_CAPS32 : FW_CAPS16); in t4vf_port_init() 522 adapter->params.fw_caps_support = fw_caps; in t4vf_port_init() 556 FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4vf_port_init() 565 if (fw_caps == FW_CAPS16) { in t4vf_port_init() 2065 unsigned int fw_caps = pi->adapter->params.fw_caps_support; in t4vf_update_port_info() local 2074 FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4vf_update_port_info()
|
| D | t4vf_common.h | 110 enum fw_caps { enum
|
| D | cxgb4vf_main.c | 1313 unsigned int fw_caps, in fw_caps_to_lmm() argument 1322 if (fw_caps & FW_PORT_CAP32_ ## __fw_name) \ in fw_caps_to_lmm() 1423 if (fw_caps & FW_PORT_CAP32_FEC_V(FW_PORT_CAP32_FEC_M)) { in fw_caps_to_lmm()
|
| /Linux-v5.4/drivers/scsi/csiostor/ |
| D | csio_mb.c | 343 u8 portid, bool wr, uint32_t fc, uint16_t fw_caps, in csio_mb_port() argument 356 FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in csio_mb_port() 365 FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in csio_mb_port() 370 if (fw_caps == FW_CAPS16) in csio_mb_port() 386 enum fw_retval *retval, uint16_t fw_caps, in csio_mb_process_read_port_rsp() argument 394 if (fw_caps == FW_CAPS16) { in csio_mb_process_read_port_rsp()
|
| D | csio_hw.c | 1723 static void csio_link_l1cfg(struct link_config *lc, uint16_t fw_caps, in csio_link_l1cfg() argument 1779 u16 fw_caps = FW_CAPS_UNKNOWN; in csio_enable_ports() local 1794 if (fw_caps == FW_CAPS_UNKNOWN) { in csio_enable_ports() 1814 fw_caps = retval ? FW_CAPS16 : FW_CAPS32; in csio_enable_ports() 1819 false, 0, fw_caps, NULL); in csio_enable_ports() 1828 csio_mb_process_read_port_rsp(hw, mbp, &retval, fw_caps, in csio_enable_ports() 1839 csio_link_l1cfg(&hw->pport[i].link_cfg, fw_caps, &rcaps); in csio_enable_ports() 1843 true, rcaps, fw_caps, NULL); in csio_enable_ports()
|
| D | csio_hw.h | 276 enum fw_caps { enum
|