/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 127 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 …]
|
D | bnx2x_ethtool.c | 196 switch (bp->link_params.phy[phy_idx].media_type) { in bnx2x_get_port_type() 277 media_type = bp->link_params.phy[bnx2x_get_cur_phy_idx(bp)].media_type; in bnx2x_get_link_ksettings() 300 if (bp->link_params.req_line_speed[cfg_idx] == SPEED_AUTO_NEG) in bnx2x_get_link_ksettings() 433 old_multi_phy_config = bp->link_params.multi_phy_config; in bnx2x_set_link_ksettings() 443 bp->link_params.multi_phy_config &= in bnx2x_set_link_ksettings() 445 if (bp->link_params.multi_phy_config & in bnx2x_set_link_ksettings() 447 bp->link_params.multi_phy_config |= in bnx2x_set_link_ksettings() 450 bp->link_params.multi_phy_config |= in bnx2x_set_link_ksettings() 462 bp->link_params.multi_phy_config &= in bnx2x_set_link_ksettings() 464 if (bp->link_params.multi_phy_config & in bnx2x_set_link_ksettings() [all …]
|
D | bnx2x_link.c | 33 struct link_params *params, 215 static int bnx2x_check_half_open_conn(struct link_params *params, 218 struct link_params *params); 246 static int bnx2x_check_lfa(struct link_params *params) in bnx2x_check_lfa() 440 static void bnx2x_ets_e2e3a0_disabled(struct link_params *params) in bnx2x_ets_e2e3a0_disabled() 531 const struct link_params *params, in bnx2x_ets_e3b0_set_credit_upper_bound_nig() 569 static void bnx2x_ets_e3b0_nig_disabled(const struct link_params *params, in bnx2x_ets_e3b0_nig_disabled() 653 const struct link_params *params, in bnx2x_ets_e3b0_set_credit_upper_bound_pbf() 686 static void bnx2x_ets_e3b0_pbf_disabled(const struct link_params *params) in bnx2x_ets_e3b0_pbf_disabled() 744 static int bnx2x_ets_e3b0_disabled(const struct link_params *params, in bnx2x_ets_e3b0_disabled() [all …]
|
D | bnx2x_main.c | 2325 bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_TX; in bnx2x_set_requested_fc() 2327 bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH; in bnx2x_set_requested_fc() 2350 u16 req_line_speed = bp->link_params.req_line_speed[cfx_idx]; in bnx2x_initial_phy_init() 2357 struct link_params *lp = &bp->link_params; in bnx2x_initial_phy_init() 2376 struct link_params *lp = &bp->link_params; in bnx2x_initial_phy_init() 2380 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_initial_phy_init() 2393 bp->link_params.req_line_speed[cfx_idx] = req_line_speed; in bnx2x_initial_phy_init() 2404 bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_link_set() 2418 bnx2x_lfa_reset(&bp->link_params, &bp->link_vars); in bnx2x__link_reset() 2427 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); in bnx2x_force_link_reset() [all …]
|
D | bnx2x_dcb.c | 111 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() 552 bnx2x_ets_bw_limit(&bp->link_params, bw_tbl_0, bw_tbl_1); in bnx2x_dcbx_2cos_limit_update_ets_config() 555 rc = bnx2x_ets_strict(&bp->link_params, 0); in bnx2x_dcbx_2cos_limit_update_ets_config() 558 rc = bnx2x_ets_strict(&bp->link_params, 1); in bnx2x_dcbx_2cos_limit_update_ets_config() 598 if (bnx2x_ets_e3b0_config(&bp->link_params, &bp->link_vars, in bnx2x_dcbx_update_ets_config() 601 bnx2x_ets_disabled(&bp->link_params, &bp->link_vars); in bnx2x_dcbx_update_ets_config() 611 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() 2834 bp->link_params.feature_config_flags &= ~FEATURE_CONFIG_BOOT_FROM_SAN; in bnx2x_nic_load() 4800 if (bp->link_params.num_phys <= 1) in bnx2x_get_cur_phy_idx() 4807 (bp->link_params.phy[EXT_PHY2].supported & SUPPORTED_FIBRE)) in bnx2x_get_cur_phy_idx() 4811 switch (bnx2x_phy_selection(&bp->link_params)) { in bnx2x_get_cur_phy_idx() 4835 if (bp->link_params.multi_phy_config & in bnx2x_get_link_cfg_idx() 4937 if (bp->link_params.loopback_mode != LOOPBACK_BMAC) { in bnx2x_set_features() 4938 bp->link_params.loopback_mode = LOOPBACK_BMAC; in bnx2x_set_features() 4942 if (bp->link_params.loopback_mode != LOOPBACK_NONE) { in bnx2x_set_features() 4943 bp->link_params.loopback_mode = LOOPBACK_NONE; in bnx2x_set_features()
|
D | bnx2x.h | 1529 struct link_params link_params; member
|
D | bnx2x_vfpf.c | 369 bp->link_params.chip_id = bp->common.chip_id; in bnx2x_vfpf_acquire()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_main.c | 1234 struct qed_mcp_link_params *link_params; in qed_set_link() local 1257 link_params = qed_mcp_get_link_params(hwfn); in qed_set_link() 1259 link_params->speed.autoneg = params->autoneg; in qed_set_link() 1261 link_params->speed.advertised_speeds = 0; in qed_set_link() 1264 link_params->speed.advertised_speeds |= in qed_set_link() 1267 link_params->speed.advertised_speeds |= in qed_set_link() 1270 link_params->speed.advertised_speeds |= in qed_set_link() 1273 link_params->speed.advertised_speeds |= in qed_set_link() 1276 link_params->speed.advertised_speeds |= in qed_set_link() 1279 link_params->speed.advertised_speeds |= in qed_set_link() [all …]
|
D | qed_sriov.c | 998 struct qed_mcp_link_params link_params; in qed_iov_init_hw_for_vf() local 1084 memcpy(&link_params, qed_mcp_get_link_params(p_hwfn), in qed_iov_init_hw_for_vf() 1085 sizeof(link_params)); in qed_iov_init_hw_for_vf() 1090 &link_params, &link_state, &link_caps); in qed_iov_init_hw_for_vf()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 666 struct qed_link_params link_params; in qede_nway_reset() local 682 memset(&link_params, 0, sizeof(link_params)); in qede_nway_reset() 683 link_params.link_up = false; in qede_nway_reset() 684 edev->ops->common->set_link(edev->cdev, &link_params); in qede_nway_reset() 685 link_params.link_up = true; in qede_nway_reset() 686 edev->ops->common->set_link(edev->cdev, &link_params); in qede_nway_reset() 1532 struct qed_link_params link_params; in qede_selftest_run_loopback() local 1546 memset(&link_params, 0, sizeof(link_params)); in qede_selftest_run_loopback() 1547 link_params.link_up = true; in qede_selftest_run_loopback() 1548 link_params.override_flags = QED_LINK_OVERRIDE_LOOPBACK_MODE; in qede_selftest_run_loopback() [all …]
|
D | qede_main.c | 1963 struct qed_link_params link_params; in qede_unload() local 1980 memset(&link_params, 0, sizeof(link_params)); in qede_unload() 1981 link_params.link_up = false; in qede_unload() 1982 edev->ops->common->set_link(edev->cdev, &link_params); in qede_unload() 2022 struct qed_link_params link_params; in qede_load() local 2073 memset(&link_params, 0, sizeof(link_params)); in qede_load() 2074 link_params.link_up = true; in qede_load() 2075 edev->ops->common->set_link(edev->cdev, &link_params); in qede_load()
|
/drivers/scsi/qedi/ |
D | qedi_main.c | 2161 struct qed_link_params link_params; in __qedi_probe() local 2313 memset(&link_params, 0, sizeof(link_params)); in __qedi_probe() 2314 link_params.link_up = true; in __qedi_probe() 2315 rc = qedi_ops->common->set_link(qedi->cdev, &link_params); in __qedi_probe()
|
/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()
|
/drivers/gpu/drm/i915/ |
D | intel_vbt_defs.h | 598 struct edp_link_params link_params[16]; member
|
D | intel_bios.c | 604 edp_link_params = &edp->link_params[panel_type]; in parse_edp()
|
/drivers/scsi/qedf/ |
D | qedf_main.c | 2928 struct qed_link_params link_params; in __qedf_probe() local 3248 memset(&link_params, 0, sizeof(struct qed_link_params)); in __qedf_probe() 3249 link_params.link_up = true; in __qedf_probe() 3250 status = qed_ops->common->set_link(qedf->cdev, &link_params); in __qedf_probe()
|