link_params 78 drivers/gpu/drm/gma500/intel_bios.c edp_link_params = &edp->link_params[panel_type]; link_params 463 drivers/gpu/drm/gma500/intel_bios.h struct edp_link_params link_params[16]; link_params 1533 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h struct link_params link_params; link_params 150 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_get_ext_phy_fw_version(&bp->link_params, link_params 2833 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bp->link_params.feature_config_flags &= ~FEATURE_CONFIG_BOOT_FROM_SAN; link_params 4799 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (bp->link_params.num_phys <= 1) link_params 4806 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c (bp->link_params.phy[EXT_PHY2].supported & SUPPORTED_FIBRE)) link_params 4810 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c switch (bnx2x_phy_selection(&bp->link_params)) { link_params 4834 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (bp->link_params.multi_phy_config & link_params 4942 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (bp->link_params.loopback_mode != LOOPBACK_BMAC) { link_params 4943 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bp->link_params.loopback_mode = LOOPBACK_BMAC; link_params 4947 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (bp->link_params.loopback_mode != LOOPBACK_NONE) { link_params 4948 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bp->link_params.loopback_mode = LOOPBACK_NONE; link_params 111 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bp->link_params.feature_config_flags |= FEATURE_CONFIG_PFC_ENABLED; link_params 112 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bnx2x_update_pfc(&bp->link_params, &bp->link_vars, &pfc_params); link_params 121 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bp->link_params.feature_config_flags &= ~FEATURE_CONFIG_PFC_ENABLED; link_params 122 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bnx2x_update_pfc(&bp->link_params, &bp->link_vars, &nig_params); link_params 552 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bnx2x_ets_bw_limit(&bp->link_params, bw_tbl_0, bw_tbl_1); link_params 555 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c rc = bnx2x_ets_strict(&bp->link_params, 0); link_params 558 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c rc = bnx2x_ets_strict(&bp->link_params, 1); link_params 598 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c if (bnx2x_ets_e3b0_config(&bp->link_params, &bp->link_vars, link_params 601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bnx2x_ets_disabled(&bp->link_params, &bp->link_vars); link_params 611 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bnx2x_ets_disabled(&bp->link_params, &bp->link_vars); link_params 196 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c switch (bp->link_params.phy[phy_idx].media_type) { link_params 277 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c media_type = bp->link_params.phy[bnx2x_get_cur_phy_idx(bp)].media_type; link_params 300 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (bp->link_params.req_line_speed[cfg_idx] == SPEED_AUTO_NEG) link_params 433 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c old_multi_phy_config = bp->link_params.multi_phy_config; link_params 443 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.multi_phy_config &= link_params 445 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (bp->link_params.multi_phy_config & link_params 447 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.multi_phy_config |= link_params 450 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.multi_phy_config |= link_params 462 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.multi_phy_config &= link_params 464 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (bp->link_params.multi_phy_config & link_params 466 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.multi_phy_config |= link_params 469 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.multi_phy_config |= link_params 478 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c new_multi_phy_config = bp->link_params.multi_phy_config; link_params 482 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.multi_phy_config = old_multi_phy_config; link_params 487 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (bp->link_params.phy[EXT_PHY1].type == link_params 503 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_line_speed[cfg_idx] = SPEED_AUTO_NEG; link_params 504 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_duplex[cfg_idx] = duplex; link_params 509 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.speed_cap_mask[cfg_idx] = 0; link_params 511 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.speed_cap_mask[cfg_idx] |= link_params 515 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.speed_cap_mask[cfg_idx] |= link_params 519 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.speed_cap_mask[cfg_idx] |= link_params 523 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.speed_cap_mask[cfg_idx] |= link_params 527 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.speed_cap_mask[cfg_idx] |= link_params 532 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.speed_cap_mask[cfg_idx] |= link_params 538 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.speed_cap_mask[cfg_idx] |= link_params 542 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.speed_cap_mask[cfg_idx] |= link_params 646 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c (bp->link_params.phy[phy_idx].media_type != link_params 667 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_line_speed[cfg_idx] = speed; link_params 668 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_duplex[cfg_idx] = duplex; link_params 674 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_line_speed[cfg_idx], link_params 675 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_duplex[cfg_idx], link_params 679 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.multi_phy_config = new_multi_phy_config; link_params 1534 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], link_params 1535 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c &bp->link_params, link_params 1559 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], link_params 1560 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c &bp->link_params, link_params 1588 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], link_params 1589 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c &bp->link_params, link_params 1601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], link_params 1602 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c &bp->link_params, link_params 1839 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c rc |= bnx2x_link_reset(&bp->link_params, link_params 1852 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c rc |= bnx2x_link_reset(&bp->link_params, link_params 1855 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c rc |= bnx2x_phy_init(&bp->link_params, link_params 1872 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c &bp->link_params.phy[EXT_PHY1]); link_params 1985 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c epause->autoneg = (bp->link_params.req_flow_ctrl[cfg_idx] == link_params 1989 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cfg_reg = bp->link_params.req_flow_ctrl[cfg_idx]; link_params 1991 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cfg_reg = bp->link_params.req_fc_auto_adv; link_params 2015 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_flow_ctrl[cfg_idx] = BNX2X_FLOW_CTRL_AUTO; link_params 2018 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_RX; link_params 2021 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_TX; link_params 2023 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (bp->link_params.req_flow_ctrl[cfg_idx] == BNX2X_FLOW_CTRL_AUTO) link_params 2024 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_flow_ctrl[cfg_idx] = BNX2X_FLOW_CTRL_NONE; link_params 2032 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (bp->link_params.req_line_speed[cfg_idx] == SPEED_AUTO_NEG) { link_params 2033 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_flow_ctrl[cfg_idx] = link_params 2036 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_fc_auto_adv = 0; link_params 2038 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_fc_auto_adv |= BNX2X_FLOW_CTRL_RX; link_params 2041 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_fc_auto_adv |= BNX2X_FLOW_CTRL_TX; link_params 2043 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (!bp->link_params.req_fc_auto_adv) link_params 2044 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_fc_auto_adv |= BNX2X_FLOW_CTRL_NONE; link_params 2048 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c "req_flow_ctrl 0x%x\n", bp->link_params.req_flow_ctrl[cfg_idx]); link_params 2187 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.eee_mode |= EEE_MODE_ADV_LPI; link_params 2189 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.eee_mode &= ~EEE_MODE_ADV_LPI; link_params 2192 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.eee_mode |= EEE_MODE_ENABLE_LPI; link_params 2194 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.eee_mode &= ~EEE_MODE_ENABLE_LPI; link_params 2196 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.eee_mode &= ~EEE_MODE_TIMER_MASK; link_params 2197 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.eee_mode |= (edata->tx_lpi_timer & link_params 2518 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (bp->link_params.loopback_mode != LOOPBACK_XGXS) { link_params 2530 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.loopback_mode = LOOPBACK_XMAC; link_params 2532 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.loopback_mode = LOOPBACK_UMAC; link_params 2534 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.loopback_mode = LOOPBACK_BMAC; link_params 2536 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bnx2x_phy_init(&bp->link_params, &bp->link_vars); link_params 2539 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (bp->link_params.loopback_mode != LOOPBACK_EXT) { link_params 2691 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.loopback_mode = LOOPBACK_NONE; link_params 3304 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bnx2x_set_led(&bp->link_params, &bp->link_vars, link_params 3311 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bnx2x_set_led(&bp->link_params, &bp->link_vars, link_params 3318 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bnx2x_set_led(&bp->link_params, &bp->link_vars, link_params 33 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 215 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_check_half_open_conn(struct link_params *params, link_params 218 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params); link_params 246 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_check_lfa(struct link_params *params) link_params 440 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_ets_e2e3a0_disabled(struct link_params *params) link_params 531 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c const struct link_params *params, link_params 569 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_ets_e3b0_nig_disabled(const struct link_params *params, link_params 653 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c const struct link_params *params, link_params 686 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_ets_e3b0_pbf_disabled(const struct link_params *params) link_params 744 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_ets_e3b0_disabled(const struct link_params *params, link_params 767 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_ets_disabled(struct link_params *params, link_params 790 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_ets_e3b0_cli_map(const struct link_params *params, link_params 893 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c const struct link_params *params, link_params 953 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_ets_e3b0_sp_pri_to_cos_set(const struct link_params *params, link_params 1035 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_ets_e3b0_sp_set_pri_cli_reg(const struct link_params *params, link_params 1128 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_ets_e3b0_config(const struct link_params *params, link_params 1230 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_ets_bw_limit_common(const struct link_params *params) link_params 1274 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c void bnx2x_ets_bw_limit(const struct link_params *params, const u32 cos0_bw, link_params 1306 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_ets_strict(const struct link_params *params, const u8 strict_cos) link_params 1349 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_update_pfc_xmac(struct link_params *params, link_params 1444 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 1467 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_emac_init(struct link_params *params, link_params 1512 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_xumac_nig(struct link_params *params, link_params 1526 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_umac_rxtx(struct link_params *params, u8 en) link_params 1545 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_umac_enable(struct link_params *params, link_params 1644 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_xmac_init(struct link_params *params, u32 max_speed) link_params 1706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_xmac_rxtx(struct link_params *params, u8 en) link_params 1734 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_xmac_enable(struct link_params *params, link_params 1804 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_emac_enable(struct link_params *params, link_params 1937 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_update_pfc_bmac1(struct link_params *params, link_params 1966 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_update_pfc_bmac2(struct link_params *params, link_params 2099 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_update_mng(struct link_params *params, u32 link_status) link_params 2108 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_update_link_attr(struct link_params *params, u32 link_attr) link_params 2118 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_update_pfc_nig(struct link_params *params, link_params 2214 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_update_pfc(struct link_params *params, link_params 2268 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_bmac1_enable(struct link_params *params, link_params 2332 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_bmac2_enable(struct link_params *params, link_params 2397 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_bmac_enable(struct link_params *params, link_params 2468 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_pbf_update(struct link_params *params, u32 flow_ctrl, link_params 2816 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static u8 bnx2x_eee_has_cap(struct link_params *params) link_params 2867 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static u32 bnx2x_eee_calc_timer(struct link_params *params) link_params 2899 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_eee_set_timers(struct link_params *params, link_params 2932 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_eee_initial_config(struct link_params *params, link_params 2952 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 2968 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 2994 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_update_mng_eee(struct link_params *params, u32 eee_status) link_params 3005 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 3054 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_bsc_module_sel(struct link_params *params) link_params 3080 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_bsc_read(struct link_params *params, link_params 3184 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_phy_read(struct link_params *params, u8 phy_addr, link_params 3201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_phy_write(struct link_params *params, u8 phy_addr, link_params 3218 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 3271 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_aer_mmd(struct link_params *params, link_params 3342 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 3356 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_xgxs_deassert(struct link_params *params) link_params 3375 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, u16 *ieee_fc) link_params 3415 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void set_phy_vars(struct link_params *params, link_params 3456 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_ext_phy_set_pause(struct link_params *params, link_params 3484 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 3531 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 3586 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 3625 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 3663 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_disable_kr2(struct link_params *params, link_params 3699 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 3711 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 3726 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 3878 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 3946 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 4082 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 4189 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 4289 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 4364 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 4382 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 4396 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 4449 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 4465 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_sfp_e3_set_transmitter(struct link_params *params, link_params 4487 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 4595 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 4650 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 4694 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_sync_link(struct link_params *params, link_params 4800 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c void bnx2x_link_status_update(struct link_params *params, link_params 4867 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_master_ln(struct link_params *params, link_params 4888 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_reset_unicore(struct link_params *params, link_params 4932 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_swap_lanes(struct link_params *params, link_params 4975 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 5028 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5132 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5181 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 5201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5222 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5262 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5334 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 5368 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5415 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5443 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 5511 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5524 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5615 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5689 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5813 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_gmii_tx_driver(struct link_params *params) link_params 5852 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_emac_program(struct link_params *params, link_params 5900 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 5924 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 5973 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 6013 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 6038 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_link_int_enable(struct link_params *params) link_params 6120 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_link_int_ack(struct link_params *params, link_params 6197 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_get_ext_phy_fw_version(struct link_params *params, u8 *version, link_params 6238 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 6292 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_set_led(struct link_params *params, link_params 6441 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_test_link(struct link_params *params, struct link_vars *vars, link_params 6522 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_link_initialize(struct link_params *params, link_params 6601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 6609 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 6627 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_update_link_down(struct link_params *params, link_params 6674 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_update_link_up(struct link_params *params, link_params 6765 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_chng_link_count(struct link_params *params, bool clear) link_params 6795 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_link_update(struct link_params *params, struct link_vars *vars) link_params 7108 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 7316 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_8073_set_pause_cl37(struct link_params *params, link_params 7352 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 7368 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 7516 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 7661 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 7680 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 7707 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 7742 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_disable_pmd_transmit(struct link_params *params, link_params 7765 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static u8 bnx2x_get_gpio_port(struct link_params *params) link_params 7779 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_sfp_e1e2_set_transmitter(struct link_params *params, link_params 7836 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_sfp_set_transmitter(struct link_params *params, link_params 7849 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 7915 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_warpcore_power_module(struct link_params *params, link_params 7937 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 7978 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 8073 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, u8 dev_addr, link_params 8115 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 8257 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 8331 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 8480 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 8525 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_e1e2_module_fault_led(struct link_params *params, link_params 8557 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_e3_module_fault_led(struct link_params *params, link_params 8573 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_sfp_module_fault_led(struct link_params *params, link_params 8588 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 8601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_power_sfp_module(struct link_params *params, link_params 8620 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_warpcore_set_limiting_mode(struct link_params *params, link_params 8660 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_limiting_mode(struct link_params *params, link_params 8679 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 8733 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c void bnx2x_handle_module_detect_int(struct link_params *params) link_params 8829 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 8891 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 8997 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 9007 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 9015 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 9053 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 9074 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 9159 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 9174 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, u8 mode) link_params 9220 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) { link_params 9235 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 9292 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 9378 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 9463 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 9622 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 9781 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 9804 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 9950 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 9970 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 10047 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, u16 fw_cmd, link_params 10125 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 10146 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 10214 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 10247 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 10268 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 10287 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 10488 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 10634 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 10643 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 10652 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 10679 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, u8 mode) link_params 11013 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 11042 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 11249 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, u8 mode) link_params 11285 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 11310 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 11417 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 11460 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) link_params 11469 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 11509 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 11587 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params) { link_params 11597 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, u8 mode) link_params 12489 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_phy_def_cfg(struct link_params *params, link_params 12564 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 bnx2x_phy_selection(struct link_params *params) link_params 12596 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_phy_probe(struct link_params *params) link_params 12670 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_init_bmac_loopback(struct link_params *params, link_params 12690 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_init_emac_loopback(struct link_params *params, link_params 12709 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_init_xmac_loopback(struct link_params *params, link_params 12735 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_init_umac_loopback(struct link_params *params, link_params 12750 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_init_xgxs_loopback(struct link_params *params, link_params 12802 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c void bnx2x_set_rx_filter(struct link_params *params, u8 en) link_params 12820 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_avoid_link_flap(struct link_params *params, link_params 12895 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_cannot_avoid_link_flap(struct link_params *params, link_params 12955 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_phy_init(struct link_params *params, struct link_vars *vars) link_params 13044 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_link_reset(struct link_params *params, struct link_vars *vars, link_params 13135 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_lfa_reset(struct link_params *params, link_params 13622 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_check_over_curr(struct link_params *params, link_params 13658 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static u8 bnx2x_analyze_link_error(struct link_params *params, link_params 13737 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_check_half_open_conn(struct link_params *params, link_params 13793 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_params *params, link_params 13835 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_kr2_recovery(struct link_params *params, link_params 13845 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_check_kr2_wa(struct link_params *params, link_params 13918 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c void bnx2x_period_func(struct link_params *params, struct link_vars *vars) link_params 13984 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c void bnx2x_hw_reset_phy(struct link_params *params) link_params 127 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h struct link_params; link_params 130 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h typedef u8 (*config_init_t)(struct bnx2x_phy *phy, struct link_params *params, link_params 132 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h typedef u8 (*read_status_t)(struct bnx2x_phy *phy, struct link_params *params, link_params 135 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h struct link_params *params); link_params 137 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h struct link_params *params); link_params 139 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h typedef void (*hw_reset_t)(struct bnx2x_phy *phy, struct link_params *params); link_params 141 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h struct link_params *params, u8 mode); link_params 143 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h struct link_params *params, u32 action); link_params 378 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_phy_init(struct link_params *params, struct link_vars *vars); link_params 383 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_link_reset(struct link_params *params, struct link_vars *vars, link_params 385 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_lfa_reset(struct link_params *params, struct link_vars *vars); link_params 387 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_link_update(struct link_params *params, struct link_vars *vars); link_params 393 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_phy_read(struct link_params *params, u8 phy_addr, link_params 396 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_phy_write(struct link_params *params, u8 phy_addr, link_params 401 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h void bnx2x_link_status_update(struct link_params *input, link_params 404 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_get_ext_phy_fw_version(struct link_params *params, u8 *version, link_params 411 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_set_led(struct link_params *params, link_params 420 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h void bnx2x_handle_module_detect_int(struct link_params *params); link_params 424 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_test_link(struct link_params *params, struct link_vars *vars, link_params 439 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h struct link_params *params, u8 dev_addr, link_params 442 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h void bnx2x_hw_reset_phy(struct link_params *params); link_params 445 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h u32 bnx2x_phy_selection(struct link_params *params); link_params 448 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_phy_probe(struct link_params *params); link_params 455 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h void bnx2x_set_rx_filter(struct link_params *params, u8 en); link_params 519 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_update_pfc(struct link_params *params, link_params 525 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_ets_disabled(struct link_params *params, link_params 529 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h void bnx2x_ets_bw_limit(const struct link_params *params, const u32 cos0_bw, link_params 533 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_ets_strict(const struct link_params *params, const u8 strict_cos); link_params 537 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_ets_e3b0_config(const struct link_params *params, link_params 545 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h void bnx2x_period_func(struct link_params *params, struct link_vars *vars); link_params 2312 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_TX; link_params 2314 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH; link_params 2337 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u16 req_line_speed = bp->link_params.req_line_speed[cfx_idx]; link_params 2344 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c struct link_params *lp = &bp->link_params; link_params 2363 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c struct link_params *lp = &bp->link_params; link_params 2367 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); link_params 2380 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[cfx_idx] = req_line_speed; link_params 2391 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_phy_init(&bp->link_params, &bp->link_vars); link_params 2405 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_lfa_reset(&bp->link_params, &bp->link_vars); link_params 2414 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); link_params 2424 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c rc = bnx2x_test_link(&bp->link_params, &bp->link_vars, link_params 2635 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_link_update(&bp->link_params, &bp->link_vars); link_params 2670 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_link_status_update(&bp->link_params, &bp->link_vars); link_params 2693 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.bp = bp; link_params 2694 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.port = BP_PORT(bp); link_params 2695 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_duplex[0] = DUPLEX_FULL; link_params 2696 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_flow_ctrl[0] = BNX2X_FLOW_CTRL_NONE; link_params 2697 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[0] = SPEED_10000; link_params 2698 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[0] = 0x7f0000; link_params 2699 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.switch_cfg = SWITCH_CFG_10G; link_params 4159 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_hw_reset_phy(&bp->link_params); link_params 4165 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_handle_module_detect_int(&bp->link_params); link_params 7831 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_set_rx_filter(&bp->link_params, 0); link_params 7869 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_set_rx_filter(&bp->link_params, 1); link_params 8242 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_phy_probe(&bp->link_params); link_params 10450 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_period_func(&bp->link_params, &bp->link_vars); link_params 10849 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_set_rx_filter(&bp->link_params, 0); link_params 10850 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.port ^= 1; link_params 10851 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_set_rx_filter(&bp->link_params, 0); link_params 10852 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.port ^= 1; link_params 10994 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.feature_config_flags |= link_params 11059 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.chip_id = bp->common.chip_id; link_params 11081 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.shmem_base = bp->common.shmem_base; link_params 11082 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.shmem2_base = bp->common.shmem2_base; link_params 11085 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.lfa_base = link_params 11090 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.lfa_base = 0; link_params 11103 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.hw_led_mode = ((bp->common.hw_config & link_params 11107 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.feature_config_flags = 0; link_params 11110 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.feature_config_flags |= link_params 11113 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.feature_config_flags &= link_params 11125 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.feature_config_flags |= link_params 11129 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.feature_config_flags |= link_params 11132 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.feature_config_flags |= link_params 11135 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.feature_config_flags |= link_params 11139 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.feature_config_flags |= link_params 11257 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c switch (bp->link_params.num_phys) { link_params 11259 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->port.supported[0] = bp->link_params.phy[INT_PHY].supported; link_params 11263 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->port.supported[0] = bp->link_params.phy[EXT_PHY1].supported; link_params 11267 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (bp->link_params.multi_phy_config & link_params 11270 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.phy[EXT_PHY1].supported; link_params 11272 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.phy[EXT_PHY2].supported; link_params 11275 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.phy[EXT_PHY1].supported; link_params 11277 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.phy[EXT_PHY2].supported; link_params 11313 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!(bp->link_params.speed_cap_mask[idx] & link_params 11317 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!(bp->link_params.speed_cap_mask[idx] & link_params 11321 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!(bp->link_params.speed_cap_mask[idx] & link_params 11325 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!(bp->link_params.speed_cap_mask[idx] & link_params 11329 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!(bp->link_params.speed_cap_mask[idx] & link_params 11334 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!(bp->link_params.speed_cap_mask[idx] & link_params 11338 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!(bp->link_params.speed_cap_mask[idx] & link_params 11342 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!(bp->link_params.speed_cap_mask[idx] & link_params 11356 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c switch (bp->link_params.num_phys) { link_params 11366 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_duplex[idx] = DUPLEX_FULL; link_params 11371 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11375 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (bp->link_params.phy[EXT_PHY1].type == link_params 11382 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11393 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11401 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[idx]); link_params 11408 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11410 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_duplex[idx] = link_params 11418 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[idx]); link_params 11426 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11434 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[idx]); link_params 11442 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11444 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_duplex[idx] = link_params 11452 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[idx]); link_params 11460 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11467 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11474 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[idx]); link_params 11482 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11490 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[idx]); link_params 11498 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11505 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11513 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[idx]); link_params 11518 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = SPEED_20000; link_params 11524 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx] = link_params 11531 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_flow_ctrl[idx] = (link_config & link_params 11533 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (bp->link_params.req_flow_ctrl[idx] == link_params 11536 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_flow_ctrl[idx] = link_params 11543 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_line_speed[idx], link_params 11544 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_duplex[idx], link_params 11545 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_flow_ctrl[idx], link_params 11564 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.bp = bp; link_params 11565 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.port = port; link_params 11567 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.lane_config = link_params 11570 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[0] = link_params 11574 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[1] = link_params 11584 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.multi_phy_config = link_params 11601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.lane_config, link_params 11602 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.speed_cap_mask[0], link_params 11605 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.switch_cfg = (bp->port.link_config[0] & link_params 11607 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_phy_probe(&bp->link_params); link_params 11608 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_link_settings_supported(bp, bp->link_params.switch_cfg); link_params 11634 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.eee_mode = EEE_MODE_ADV_LPI | link_params 11638 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.eee_mode = 0; link_params 11938 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c memcpy(bp->link_params.mac_addr, bp->dev->dev_addr, ETH_ALEN); link_params 12893 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c rc = bnx2x_phy_read(&bp->link_params, prtad, devad, addr, &value); link_params 12917 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c rc = bnx2x_phy_write(&bp->link_params, prtad, devad, addr, value); link_params 369 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bp->link_params.chip_id = bp->common.chip_id; link_params 1477 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_mcp_link_params *link_params; link_params 1501 drivers/net/ethernet/qlogic/qed/qed_main.c link_params = qed_mcp_get_link_params(hwfn); link_params 1503 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.autoneg = params->autoneg; link_params 1505 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.advertised_speeds = 0; link_params 1510 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.advertised_speeds |= link_params 1521 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.advertised_speeds |= link_params 1524 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.advertised_speeds |= link_params 1530 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.advertised_speeds |= link_params 1537 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.advertised_speeds |= link_params 1543 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.advertised_speeds |= link_params 1550 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.advertised_speeds |= link_params 1554 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->speed.forced_speed = params->forced_speed; link_params 1557 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->pause.autoneg = true; link_params 1559 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->pause.autoneg = false; link_params 1561 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->pause.forced_rx = true; link_params 1563 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->pause.forced_rx = false; link_params 1565 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->pause.forced_tx = true; link_params 1567 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->pause.forced_tx = false; link_params 1572 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->loopback_mode = ETH_LOOPBACK_INT_PHY; link_params 1575 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->loopback_mode = ETH_LOOPBACK_EXT_PHY; link_params 1578 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->loopback_mode = ETH_LOOPBACK_EXT; link_params 1581 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->loopback_mode = ETH_LOOPBACK_MAC; link_params 1584 drivers/net/ethernet/qlogic/qed/qed_main.c link_params->loopback_mode = ETH_LOOPBACK_NONE; link_params 1590 drivers/net/ethernet/qlogic/qed/qed_main.c memcpy(&link_params->eee, ¶ms->eee, link_params 1591 drivers/net/ethernet/qlogic/qed/qed_main.c sizeof(link_params->eee)); link_params 1000 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_mcp_link_params link_params; link_params 1086 drivers/net/ethernet/qlogic/qed/qed_sriov.c memcpy(&link_params, qed_mcp_get_link_params(p_hwfn), link_params 1087 drivers/net/ethernet/qlogic/qed/qed_sriov.c sizeof(link_params)); link_params 1092 drivers/net/ethernet/qlogic/qed/qed_sriov.c &link_params, &link_state, &link_caps); link_params 765 drivers/net/ethernet/qlogic/qede/qede_ethtool.c struct qed_link_params link_params; link_params 781 drivers/net/ethernet/qlogic/qede/qede_ethtool.c memset(&link_params, 0, sizeof(link_params)); link_params 782 drivers/net/ethernet/qlogic/qede/qede_ethtool.c link_params.link_up = false; link_params 783 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->ops->common->set_link(edev->cdev, &link_params); link_params 784 drivers/net/ethernet/qlogic/qede/qede_ethtool.c link_params.link_up = true; link_params 785 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->ops->common->set_link(edev->cdev, &link_params); link_params 1653 drivers/net/ethernet/qlogic/qede/qede_ethtool.c struct qed_link_params link_params; link_params 1667 drivers/net/ethernet/qlogic/qede/qede_ethtool.c memset(&link_params, 0, sizeof(link_params)); link_params 1668 drivers/net/ethernet/qlogic/qede/qede_ethtool.c link_params.link_up = true; link_params 1669 drivers/net/ethernet/qlogic/qede/qede_ethtool.c link_params.override_flags = QED_LINK_OVERRIDE_LOOPBACK_MODE; link_params 1670 drivers/net/ethernet/qlogic/qede/qede_ethtool.c link_params.loopback_mode = loopback_mode; link_params 1671 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->ops->common->set_link(edev->cdev, &link_params); link_params 1709 drivers/net/ethernet/qlogic/qede/qede_ethtool.c memset(&link_params, 0, sizeof(link_params)); link_params 1710 drivers/net/ethernet/qlogic/qede/qede_ethtool.c link_params.link_up = true; link_params 1711 drivers/net/ethernet/qlogic/qede/qede_ethtool.c link_params.override_flags = QED_LINK_OVERRIDE_LOOPBACK_MODE; link_params 1712 drivers/net/ethernet/qlogic/qede/qede_ethtool.c link_params.loopback_mode = QED_LINK_LOOPBACK_NONE; link_params 1713 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->ops->common->set_link(edev->cdev, &link_params); link_params 2169 drivers/net/ethernet/qlogic/qede/qede_main.c struct qed_link_params link_params; link_params 2190 drivers/net/ethernet/qlogic/qede/qede_main.c memset(&link_params, 0, sizeof(link_params)); link_params 2191 drivers/net/ethernet/qlogic/qede/qede_main.c link_params.link_up = false; link_params 2192 drivers/net/ethernet/qlogic/qede/qede_main.c edev->ops->common->set_link(edev->cdev, &link_params); link_params 2244 drivers/net/ethernet/qlogic/qede/qede_main.c struct qed_link_params link_params; link_params 2302 drivers/net/ethernet/qlogic/qede/qede_main.c memset(&link_params, 0, sizeof(link_params)); link_params 2303 drivers/net/ethernet/qlogic/qede/qede_main.c link_params.link_up = true; link_params 2304 drivers/net/ethernet/qlogic/qede/qede_main.c edev->ops->common->set_link(edev->cdev, &link_params); link_params 3161 drivers/scsi/qedf/qedf_main.c struct qed_link_params link_params; link_params 3504 drivers/scsi/qedf/qedf_main.c memset(&link_params, 0, sizeof(struct qed_link_params)); link_params 3505 drivers/scsi/qedf/qedf_main.c link_params.link_up = true; link_params 3506 drivers/scsi/qedf/qedf_main.c status = qed_ops->common->set_link(qedf->cdev, &link_params); link_params 2398 drivers/scsi/qedi/qedi_main.c struct qed_link_params link_params; link_params 2556 drivers/scsi/qedi/qedi_main.c memset(&link_params, 0, sizeof(link_params)); link_params 2557 drivers/scsi/qedi/qedi_main.c link_params.link_up = true; link_params 2558 drivers/scsi/qedi/qedi_main.c rc = qedi_ops->common->set_link(qedi->cdev, &link_params);