Searched refs:fw_caps (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 503 fw_port_cap32_t fw_caps, in fw_caps_to_lmm() argument 514 if (fw_caps & FW_PORT_CAP32_ ## __fw_name) \ in fw_caps_to_lmm() 615 if (fw_caps & FW_PORT_CAP32_FEC_V(FW_PORT_CAP32_FEC_M)) { in fw_caps_to_lmm() 640 unsigned int fw_caps = 0; in lmm_to_fw_caps() local 646 fw_caps |= FW_PORT_CAP32_ ## __fw_name; \ in lmm_to_fw_caps() 659 return fw_caps; in lmm_to_fw_caps() 724 unsigned int fw_caps; in set_link_ksettings() local 734 fw_caps = speed_to_fw_caps(base->speed); in set_link_ksettings() 737 if (!(lc->pcaps & fw_caps)) in set_link_ksettings() 740 lc->speed_caps = fw_caps; in set_link_ksettings() [all …]
|
D | t4_hw.c | 4205 unsigned int fw_caps = adapter->params.fw_caps_support; in t4_link_l1cfg_core() local 4224 cpu_to_be32(FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4_link_l1cfg_core() 4228 if (fw_caps == FW_CAPS16) in t4_link_l1cfg_core() 4261 unsigned int fw_caps = adap->params.fw_caps_support; in t4_restart_aneg() local 4269 cpu_to_be32(FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4_restart_aneg() 4273 if (fw_caps == FW_CAPS16) in t4_restart_aneg() 8771 unsigned int fw_caps = pi->adapter->params.fw_caps_support; in t4_update_port_info() local 8780 FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4_update_port_info() 8807 unsigned int fw_caps = pi->adapter->params.fw_caps_support; in t4_get_link_params() local 8817 action = (fw_caps == FW_CAPS16 in t4_get_link_params() [all …]
|
D | cxgb4.h | 574 enum fw_caps { enum
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 498 unsigned int fw_caps = adapter->params.fw_caps_support; in t4vf_port_init() local 512 if (fw_caps == FW_CAPS_UNKNOWN) { in t4vf_port_init() 519 fw_caps = (ret == 0 ? FW_CAPS32 : FW_CAPS16); in t4vf_port_init() 520 adapter->params.fw_caps_support = fw_caps; in t4vf_port_init() 554 FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4vf_port_init() 563 if (fw_caps == FW_CAPS16) { in t4vf_port_init() 2068 unsigned int fw_caps = pi->adapter->params.fw_caps_support; in t4vf_update_port_info() local 2077 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 | 1311 unsigned int fw_caps, in fw_caps_to_lmm() argument 1320 if (fw_caps & FW_PORT_CAP32_ ## __fw_name) \ in fw_caps_to_lmm() 1421 if (fw_caps & FW_PORT_CAP32_FEC_V(FW_PORT_CAP32_FEC_M)) { in fw_caps_to_lmm()
|
/Linux-v5.10/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
|