Home
last modified time | relevance | path

Searched refs:link_params (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h127 struct link_params;
130 typedef u8 (*config_init_t)(struct bnx2x_phy *phy, struct link_params *params,
132 typedef u8 (*read_status_t)(struct bnx2x_phy *phy, struct link_params *params,
135 struct link_params *params);
137 struct link_params *params);
139 typedef void (*hw_reset_t)(struct bnx2x_phy *phy, struct link_params *params);
141 struct link_params *params, u8 mode);
143 struct link_params *params, u32 action);
237 struct link_params { struct
378 int bnx2x_phy_init(struct link_params *params, struct link_vars *vars);
[all …]
Dbnx2x_ethtool.c196 switch (bp->link_params.phy[phy_idx].media_type) { in bnx2x_get_port_type()
269 media_type = bp->link_params.phy[bnx2x_get_cur_phy_idx(bp)].media_type; in bnx2x_get_settings()
293 if (bp->link_params.req_line_speed[cfg_idx] == SPEED_AUTO_NEG) in bnx2x_get_settings()
414 old_multi_phy_config = bp->link_params.multi_phy_config; in bnx2x_set_settings()
424 bp->link_params.multi_phy_config &= in bnx2x_set_settings()
426 if (bp->link_params.multi_phy_config & in bnx2x_set_settings()
428 bp->link_params.multi_phy_config |= in bnx2x_set_settings()
431 bp->link_params.multi_phy_config |= in bnx2x_set_settings()
443 bp->link_params.multi_phy_config &= in bnx2x_set_settings()
445 if (bp->link_params.multi_phy_config & in bnx2x_set_settings()
[all …]
Dbnx2x_link.c33 struct link_params *params,
221 static int bnx2x_check_half_open_conn(struct link_params *params,
224 struct link_params *params);
252 static int bnx2x_check_lfa(struct link_params *params) in bnx2x_check_lfa()
446 static void bnx2x_ets_e2e3a0_disabled(struct link_params *params) in bnx2x_ets_e2e3a0_disabled()
537 const struct link_params *params, in bnx2x_ets_e3b0_set_credit_upper_bound_nig()
575 static void bnx2x_ets_e3b0_nig_disabled(const struct link_params *params, in bnx2x_ets_e3b0_nig_disabled()
659 const struct link_params *params, in bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
692 static void bnx2x_ets_e3b0_pbf_disabled(const struct link_params *params) in bnx2x_ets_e3b0_pbf_disabled()
750 static int bnx2x_ets_e3b0_disabled(const struct link_params *params, in bnx2x_ets_e3b0_disabled()
[all …]
Dbnx2x_main.c2321 bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_TX; in bnx2x_set_requested_fc()
2323 bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH; in bnx2x_set_requested_fc()
2346 u16 req_line_speed = bp->link_params.req_line_speed[cfx_idx]; in bnx2x_initial_phy_init()
2353 struct link_params *lp = &bp->link_params; in bnx2x_initial_phy_init()
2372 struct link_params *lp = &bp->link_params; in bnx2x_initial_phy_init()
2376 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_initial_phy_init()
2389 bp->link_params.req_line_speed[cfx_idx] = req_line_speed; in bnx2x_initial_phy_init()
2400 bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_link_set()
2414 bnx2x_lfa_reset(&bp->link_params, &bp->link_vars); in bnx2x__link_reset()
2423 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); in bnx2x_force_link_reset()
[all …]
Dbnx2x_dcb.c111 bp->link_params.feature_config_flags |= FEATURE_CONFIG_PFC_ENABLED; in bnx2x_pfc_set()
112 bnx2x_update_pfc(&bp->link_params, &bp->link_vars, &pfc_params); in bnx2x_pfc_set()
121 bp->link_params.feature_config_flags &= ~FEATURE_CONFIG_PFC_ENABLED; in bnx2x_pfc_clear()
122 bnx2x_update_pfc(&bp->link_params, &bp->link_vars, &nig_params); in bnx2x_pfc_clear()
523 bnx2x_ets_bw_limit(&bp->link_params, bw_tbl_0, bw_tbl_1); in bnx2x_dcbx_2cos_limit_update_ets_config()
526 rc = bnx2x_ets_strict(&bp->link_params, 0); in bnx2x_dcbx_2cos_limit_update_ets_config()
529 rc = bnx2x_ets_strict(&bp->link_params, 1); in bnx2x_dcbx_2cos_limit_update_ets_config()
569 if (bnx2x_ets_e3b0_config(&bp->link_params, &bp->link_vars, in bnx2x_dcbx_update_ets_config()
572 bnx2x_ets_disabled(&bp->link_params, &bp->link_vars); in bnx2x_dcbx_update_ets_config()
582 bnx2x_ets_disabled(&bp->link_params, &bp->link_vars); in bnx2x_dcbx_update_ets_params()
Dbnx2x_cmn.c153 bnx2x_get_ext_phy_fw_version(&bp->link_params, in bnx2x_fill_fw_str()
2858 bp->link_params.feature_config_flags &= ~FEATURE_CONFIG_BOOT_FROM_SAN; in bnx2x_nic_load()
4845 if (bp->link_params.num_phys <= 1) in bnx2x_get_cur_phy_idx()
4852 (bp->link_params.phy[EXT_PHY2].supported & SUPPORTED_FIBRE)) in bnx2x_get_cur_phy_idx()
4856 switch (bnx2x_phy_selection(&bp->link_params)) { in bnx2x_get_cur_phy_idx()
4880 if (bp->link_params.multi_phy_config & in bnx2x_get_link_cfg_idx()
4988 if (bp->link_params.loopback_mode != LOOPBACK_BMAC) { in bnx2x_set_features()
4989 bp->link_params.loopback_mode = LOOPBACK_BMAC; in bnx2x_set_features()
4993 if (bp->link_params.loopback_mode != LOOPBACK_NONE) { in bnx2x_set_features()
4994 bp->link_params.loopback_mode = LOOPBACK_NONE; in bnx2x_set_features()
Dbnx2x.h1633 struct link_params link_params; member
Dbnx2x_vfpf.c369 bp->link_params.chip_id = bp->common.chip_id; in bnx2x_vfpf_acquire()
/drivers/net/ethernet/qlogic/qed/
Dqed_main.c908 struct qed_mcp_link_params *link_params; in qed_set_link() local
922 link_params = qed_mcp_get_link_params(hwfn); in qed_set_link()
924 link_params->speed.autoneg = params->autoneg; in qed_set_link()
926 link_params->speed.advertised_speeds = 0; in qed_set_link()
929 link_params->speed.advertised_speeds |= in qed_set_link()
932 link_params->speed.advertised_speeds |= in qed_set_link()
935 link_params->speed.advertised_speeds |= in qed_set_link()
938 link_params->speed.advertised_speeds |= in qed_set_link()
941 link_params->speed.advertised_speeds |= in qed_set_link()
945 link_params->speed.forced_speed = params->forced_speed; in qed_set_link()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2237 struct qed_link_params link_params; in qede_unload() local
2250 memset(&link_params, 0, sizeof(link_params)); in qede_unload()
2251 link_params.link_up = false; in qede_unload()
2252 edev->ops->common->set_link(edev->cdev, &link_params); in qede_unload()
2283 struct qed_link_params link_params; in qede_load() local
2330 memset(&link_params, 0, sizeof(link_params)); in qede_load()
2331 link_params.link_up = true; in qede_load()
2332 edev->ops->common->set_link(edev->cdev, &link_params); in qede_load()
/drivers/gpu/drm/gma500/
Dintel_bios.h477 struct edp_link_params link_params[16]; member
Dintel_bios.c91 edp_link_params = &edp->link_params[panel_type]; in parse_edp()
/drivers/gpu/drm/i915/
Dintel_bios.h562 struct edp_link_params link_params[16]; member
Dintel_bios.c547 edp_link_params = &edp->link_params[panel_type]; in parse_edp()