Searched refs:link_params (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 124 struct link_params; 127 typedef u8 (*config_init_t)(struct bnx2x_phy *phy, struct link_params *params, 129 typedef u8 (*read_status_t)(struct bnx2x_phy *phy, struct link_params *params, 132 struct link_params *params); 134 struct link_params *params); 136 typedef void (*hw_reset_t)(struct bnx2x_phy *phy, struct link_params *params); 138 struct link_params *params, u8 mode); 140 struct link_params *params, u32 action); 234 struct link_params { struct 375 int bnx2x_phy_init(struct link_params *params, struct link_vars *vars); [all …]
|
D | bnx2x_ethtool.c | 194 switch (bp->link_params.phy[phy_idx].media_type) { in bnx2x_get_port_type() 266 if (bp->link_params.phy[bnx2x_get_cur_phy_idx(bp)].media_type == in bnx2x_get_settings() 290 if (bp->link_params.req_line_speed[cfg_idx] == SPEED_AUTO_NEG) in bnx2x_get_settings() 397 old_multi_phy_config = bp->link_params.multi_phy_config; in bnx2x_set_settings() 407 bp->link_params.multi_phy_config &= in bnx2x_set_settings() 409 if (bp->link_params.multi_phy_config & in bnx2x_set_settings() 411 bp->link_params.multi_phy_config |= in bnx2x_set_settings() 414 bp->link_params.multi_phy_config |= in bnx2x_set_settings() 426 bp->link_params.multi_phy_config &= in bnx2x_set_settings() 428 if (bp->link_params.multi_phy_config & in bnx2x_set_settings() [all …]
|
D | bnx2x_link.c | 31 struct link_params *params, 219 static int bnx2x_check_half_open_conn(struct link_params *params, 222 struct link_params *params); 250 static int bnx2x_check_lfa(struct link_params *params) in bnx2x_check_lfa() 444 static void bnx2x_ets_e2e3a0_disabled(struct link_params *params) in bnx2x_ets_e2e3a0_disabled() 535 const struct link_params *params, in bnx2x_ets_e3b0_set_credit_upper_bound_nig() 573 static void bnx2x_ets_e3b0_nig_disabled(const struct link_params *params, in bnx2x_ets_e3b0_nig_disabled() 657 const struct link_params *params, in bnx2x_ets_e3b0_set_credit_upper_bound_pbf() 690 static void bnx2x_ets_e3b0_pbf_disabled(const struct link_params *params) in bnx2x_ets_e3b0_pbf_disabled() 748 static int bnx2x_ets_e3b0_disabled(const struct link_params *params, in bnx2x_ets_e3b0_disabled() [all …]
|
D | bnx2x_main.c | 2320 bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_TX; in bnx2x_set_requested_fc() 2322 bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH; in bnx2x_set_requested_fc() 2345 u16 req_line_speed = bp->link_params.req_line_speed[cfx_idx]; in bnx2x_initial_phy_init() 2352 struct link_params *lp = &bp->link_params; in bnx2x_initial_phy_init() 2367 struct link_params *lp = &bp->link_params; in bnx2x_initial_phy_init() 2371 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_initial_phy_init() 2384 bp->link_params.req_line_speed[cfx_idx] = req_line_speed; in bnx2x_initial_phy_init() 2395 bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_link_set() 2409 bnx2x_lfa_reset(&bp->link_params, &bp->link_vars); in bnx2x__link_reset() 2418 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); in bnx2x_force_link_reset() [all …]
|
D | bnx2x_dcb.c | 109 bp->link_params.feature_config_flags |= FEATURE_CONFIG_PFC_ENABLED; in bnx2x_pfc_set() 110 bnx2x_update_pfc(&bp->link_params, &bp->link_vars, &pfc_params); in bnx2x_pfc_set() 119 bp->link_params.feature_config_flags &= ~FEATURE_CONFIG_PFC_ENABLED; in bnx2x_pfc_clear() 120 bnx2x_update_pfc(&bp->link_params, &bp->link_vars, &nig_params); in bnx2x_pfc_clear() 521 bnx2x_ets_bw_limit(&bp->link_params, bw_tbl_0, bw_tbl_1); in bnx2x_dcbx_2cos_limit_update_ets_config() 524 rc = bnx2x_ets_strict(&bp->link_params, 0); in bnx2x_dcbx_2cos_limit_update_ets_config() 527 rc = bnx2x_ets_strict(&bp->link_params, 1); in bnx2x_dcbx_2cos_limit_update_ets_config() 567 if (bnx2x_ets_e3b0_config(&bp->link_params, &bp->link_vars, in bnx2x_dcbx_update_ets_config() 570 bnx2x_ets_disabled(&bp->link_params, &bp->link_vars); in bnx2x_dcbx_update_ets_config() 580 bnx2x_ets_disabled(&bp->link_params, &bp->link_vars); in bnx2x_dcbx_update_ets_params()
|
D | bnx2x_cmn.c | 151 bnx2x_get_ext_phy_fw_version(&bp->link_params, in bnx2x_fill_fw_str() 2808 bp->link_params.feature_config_flags &= ~FEATURE_CONFIG_BOOT_FROM_SAN; in bnx2x_nic_load() 4715 if (bp->link_params.num_phys <= 1) in bnx2x_get_cur_phy_idx() 4722 (bp->link_params.phy[EXT_PHY2].supported & SUPPORTED_FIBRE)) in bnx2x_get_cur_phy_idx() 4726 switch (bnx2x_phy_selection(&bp->link_params)) { in bnx2x_get_cur_phy_idx() 4750 if (bp->link_params.multi_phy_config & in bnx2x_get_link_cfg_idx() 4855 if (bp->link_params.loopback_mode != LOOPBACK_BMAC) { in bnx2x_set_features() 4856 bp->link_params.loopback_mode = LOOPBACK_BMAC; in bnx2x_set_features() 4860 if (bp->link_params.loopback_mode != LOOPBACK_NONE) { in bnx2x_set_features() 4861 bp->link_params.loopback_mode = LOOPBACK_NONE; in bnx2x_set_features()
|
D | bnx2x.h | 1606 struct link_params link_params; member
|
D | bnx2x_vfpf.c | 364 bp->link_params.chip_id = bp->common.chip_id; in bnx2x_vfpf_acquire()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | intel_bios.h | 477 struct edp_link_params link_params[16]; member
|
D | intel_bios.c | 91 edp_link_params = &edp->link_params[panel_type]; in parse_edp()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_bios.h | 551 struct edp_link_params link_params[16]; member
|
D | intel_bios.c | 599 edp_link_params = &edp->link_params[panel_type]; in parse_edp()
|