| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A 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 …]
|
| H A D | t4_hw.c | 4216 unsigned int fw_caps = adapter->params.fw_caps_support; in t4_link_l1cfg_core() local 4235 cpu_to_be32(FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4_link_l1cfg_core() 4239 if (fw_caps == FW_CAPS16) in t4_link_l1cfg_core() 4272 unsigned int fw_caps = adap->params.fw_caps_support; in t4_restart_aneg() local 4280 cpu_to_be32(FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4_restart_aneg() 4284 if (fw_caps == FW_CAPS16) in t4_restart_aneg() 8782 unsigned int fw_caps = pi->adapter->params.fw_caps_support; in t4_update_port_info() local 8791 FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 in t4_update_port_info() 8818 unsigned int fw_caps = pi->adapter->params.fw_caps_support; in t4_get_link_params() local 8828 action = (fw_caps == FW_CAPS16 in t4_get_link_params() [all …]
|
| H A D | cxgb4.h | 574 enum fw_caps { enum
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A 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()
|
| H A D | t4vf_common.h | 110 enum fw_caps { enum
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/csiostor/ |
| H A 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()
|
| H A 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()
|
| H A D | csio_hw.h | 276 enum fw_caps { enum
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_wlfc.c | 3569 uint32 tlv, mode, fw_caps; in dhd_wlfc_init() local 3611 ret = dhd_wl_ioctl_get_intiovar(dhd, "wlfc_mode", &fw_caps, WLC_GET_VAR, FALSE, 0); in dhd_wlfc_init() 3614 DHD_PRINT("%s: query wlfc_mode succeed, fw_caps=0x%x\n", __FUNCTION__, fw_caps); in dhd_wlfc_init() 3616 if (WLFC_IS_OLD_DEF(fw_caps)) { in dhd_wlfc_init() 3624 WLFC_SET_AFQ(mode, WLFC_GET_AFQ(fw_caps)); in dhd_wlfc_init() 3628 WLFC_SET_REUSESEQ(mode, WLFC_GET_REUSESEQ(fw_caps)); in dhd_wlfc_init() 3629 WLFC_SET_REORDERSUPP(mode, WLFC_GET_REORDERSUPP(fw_caps)); in dhd_wlfc_init() 3701 uint32 tlv, mode, fw_caps; in dhd_chipalive_wlfc_init() local 3724 fw_caps = *((uint32 *)iovbuf); in dhd_chipalive_wlfc_init() 3726 DHD_PRINT("%s: query wlfc_mode succeed, fw_caps=0x%x\n", __FUNCTION__, fw_caps); in dhd_chipalive_wlfc_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_wlfc.c | 3914 uint32 tlv, mode, fw_caps; in dhd_wlfc_init() local 3958 ret = dhd_wl_ioctl_get_intiovar(dhd, "wlfc_mode", &fw_caps, WLC_GET_VAR, FALSE, 0); in dhd_wlfc_init() 3961 DHD_INFO(("%s: query wlfc_mode succeed, fw_caps=0x%x\n", __FUNCTION__, fw_caps)); in dhd_wlfc_init() 3963 if (WLFC_IS_OLD_DEF(fw_caps)) { in dhd_wlfc_init() 3971 WLFC_SET_AFQ(mode, WLFC_GET_AFQ(fw_caps)); in dhd_wlfc_init() 3975 WLFC_SET_REUSESEQ(mode, WLFC_GET_REUSESEQ(fw_caps)); in dhd_wlfc_init() 3976 WLFC_SET_REORDERSUPP(mode, WLFC_GET_REORDERSUPP(fw_caps)); in dhd_wlfc_init()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_wlfc.c | 3917 uint32 tlv, mode, fw_caps; in dhd_wlfc_init() local 3961 ret = dhd_wl_ioctl_get_intiovar(dhd, "wlfc_mode", &fw_caps, WLC_GET_VAR, FALSE, 0); in dhd_wlfc_init() 3964 DHD_INFO(("%s: query wlfc_mode succeed, fw_caps=0x%x\n", __FUNCTION__, fw_caps)); in dhd_wlfc_init() 3966 if (WLFC_IS_OLD_DEF(fw_caps)) { in dhd_wlfc_init() 3974 WLFC_SET_AFQ(mode, WLFC_GET_AFQ(fw_caps)); in dhd_wlfc_init() 3978 WLFC_SET_REUSESEQ(mode, WLFC_GET_REUSESEQ(fw_caps)); in dhd_wlfc_init() 3979 WLFC_SET_REORDERSUPP(mode, WLFC_GET_REORDERSUPP(fw_caps)); in dhd_wlfc_init()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_wlfc.c | 3555 uint32 tlv, mode, fw_caps; in dhd_wlfc_init() local 3596 ret = dhd_wl_ioctl_get_intiovar(dhd, "wlfc_mode", &fw_caps, WLC_GET_VAR, FALSE, 0); in dhd_wlfc_init() 3599 DHD_INFO(("%s: query wlfc_mode succeed, fw_caps=0x%x\n", __FUNCTION__, fw_caps)); in dhd_wlfc_init() 3601 if (WLFC_IS_OLD_DEF(fw_caps)) { in dhd_wlfc_init() 3605 WLFC_SET_AFQ(mode, WLFC_GET_AFQ(fw_caps)); in dhd_wlfc_init() 3606 WLFC_SET_REORDERSUPP(mode, WLFC_GET_REORDERSUPP(fw_caps)); in dhd_wlfc_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_wlfc.c | 3554 uint32 tlv, mode, fw_caps; in dhd_wlfc_init() local 3595 ret = dhd_wl_ioctl_get_intiovar(dhd, "wlfc_mode", &fw_caps, WLC_GET_VAR, FALSE, 0); in dhd_wlfc_init() 3598 DHD_INFO(("%s: query wlfc_mode succeed, fw_caps=0x%x\n", __FUNCTION__, fw_caps)); in dhd_wlfc_init() 3600 if (WLFC_IS_OLD_DEF(fw_caps)) { in dhd_wlfc_init() 3604 WLFC_SET_AFQ(mode, WLFC_GET_AFQ(fw_caps)); in dhd_wlfc_init() 3605 WLFC_SET_REORDERSUPP(mode, WLFC_GET_REORDERSUPP(fw_caps)); in dhd_wlfc_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_wlfc.c | 3557 uint32 tlv, mode, fw_caps; in dhd_wlfc_init() local 3598 ret = dhd_wl_ioctl_get_intiovar(dhd, "wlfc_mode", &fw_caps, WLC_GET_VAR, FALSE, 0); in dhd_wlfc_init() 3601 DHD_INFO(("%s: query wlfc_mode succeed, fw_caps=0x%x\n", __FUNCTION__, fw_caps)); in dhd_wlfc_init() 3603 if (WLFC_IS_OLD_DEF(fw_caps)) { in dhd_wlfc_init() 3607 WLFC_SET_AFQ(mode, WLFC_GET_AFQ(fw_caps)); in dhd_wlfc_init() 3608 WLFC_SET_REORDERSUPP(mode, WLFC_GET_REORDERSUPP(fw_caps)); in dhd_wlfc_init()
|