Home
last modified time | relevance | path

Searched refs:eee_status (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c250 u32 saved_val, req_val, eee_status; in bnx2x_check_lfa() local
349 eee_status = REG_RD(bp, params->shmem2_base + in bnx2x_check_lfa()
351 eee_status[params->port])); in bnx2x_check_lfa()
353 if (((eee_status & SHMEM_EEE_LPI_REQUESTED_BIT) ^ in bnx2x_check_lfa()
355 ((eee_status & SHMEM_EEE_REQUESTED_BIT) ^ in bnx2x_check_lfa()
358 eee_status); in bnx2x_check_lfa()
1599 if (vars->eee_status & SHMEM_EEE_ADV_STATUS_MASK) { in bnx2x_umac_enable()
1775 if (vars->eee_status & SHMEM_EEE_ADV_STATUS_MASK) { in bnx2x_xmac_enable()
2821 offsetof(struct shmem2_region, eee_status[params->port])) in bnx2x_eee_has_cap()
2917 vars->eee_status &= ~(SHMEM_EEE_TIMER_MASK | SHMEM_EEE_TIME_OUTPUT_BIT); in bnx2x_eee_set_timers()
[all …]
Dbnx2x_link.h362 u32 eee_status; member
Dbnx2x_ethtool.c2116 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_get_eee()
2121 eee_cfg = bp->link_vars.eee_status; in bnx2x_get_eee()
2153 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_set_eee()
2158 eee_cfg = bp->link_vars.eee_status; in bnx2x_set_eee()
Dbnx2x_hsi.h2283 u32 eee_status[PORT_MAX]; member
/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c1276 u32 eee_status, val; in qed_mcp_read_eee_config() local
1280 eee_status = qed_rd(p_hwfn, in qed_mcp_read_eee_config()
1283 offsetof(struct public_port, eee_status)); in qed_mcp_read_eee_config()
1284 p_link->eee_active = !!(eee_status & EEE_ACTIVE_BIT); in qed_mcp_read_eee_config()
1285 val = (eee_status & EEE_LD_ADV_STATUS_MASK) >> EEE_LD_ADV_STATUS_OFFSET; in qed_mcp_read_eee_config()
1290 val = (eee_status & EEE_LP_ADV_STATUS_MASK) >> EEE_LP_ADV_STATUS_OFFSET; in qed_mcp_read_eee_config()
Dqed_dev.c4514 u32 eee_status; in qed_get_eee_caps() local
4521 eee_status = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + in qed_get_eee_caps()
4522 offsetof(struct public_port, eee_status)); in qed_get_eee_caps()
4523 eee_status = (eee_status & EEE_SUPPORTED_SPEED_MASK) >> in qed_get_eee_caps()
4526 if (eee_status & EEE_1G_SUPPORTED) in qed_get_eee_caps()
4528 if (eee_status & EEE_10G_ADV) in qed_get_eee_caps()
Dqed_mfw_hsi.h724 u32 eee_status; member
/drivers/net/ethernet/ti/
Dnetcp_ethss.c404 u32 eee_status; /* 2U */ member
432 u32 eee_status; /* 2U */ member