/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 126 struct link_params; 129 typedef u8 (*config_init_t)(struct bnx2x_phy *phy, struct link_params *params, 131 typedef u8 (*read_status_t)(struct bnx2x_phy *phy, struct link_params *params, 134 struct link_params *params); 136 struct link_params *params); 138 typedef void (*hw_reset_t)(struct bnx2x_phy *phy, struct link_params *params); 140 struct link_params *params, u8 mode); 142 struct link_params *params, u32 action); 236 struct link_params { struct 377 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() 275 media_type = bp->link_params.phy[bnx2x_get_cur_phy_idx(bp)].media_type; in bnx2x_get_link_ksettings() 298 if (bp->link_params.req_line_speed[cfg_idx] == SPEED_AUTO_NEG) in bnx2x_get_link_ksettings() 431 old_multi_phy_config = bp->link_params.multi_phy_config; in bnx2x_set_link_ksettings() 441 bp->link_params.multi_phy_config &= in bnx2x_set_link_ksettings() 443 if (bp->link_params.multi_phy_config & in bnx2x_set_link_ksettings() 445 bp->link_params.multi_phy_config |= in bnx2x_set_link_ksettings() 448 bp->link_params.multi_phy_config |= in bnx2x_set_link_ksettings() 460 bp->link_params.multi_phy_config &= in bnx2x_set_link_ksettings() 462 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() 2833 bp->link_params.feature_config_flags &= ~FEATURE_CONFIG_BOOT_FROM_SAN; in bnx2x_nic_load() 4796 if (bp->link_params.num_phys <= 1) in bnx2x_get_cur_phy_idx() 4803 (bp->link_params.phy[EXT_PHY2].supported & SUPPORTED_FIBRE)) in bnx2x_get_cur_phy_idx() 4807 switch (bnx2x_phy_selection(&bp->link_params)) { in bnx2x_get_cur_phy_idx() 4831 if (bp->link_params.multi_phy_config & in bnx2x_get_link_cfg_idx() 4939 if (bp->link_params.loopback_mode != LOOPBACK_BMAC) { in bnx2x_set_features() 4940 bp->link_params.loopback_mode = LOOPBACK_BMAC; in bnx2x_set_features() 4944 if (bp->link_params.loopback_mode != LOOPBACK_NONE) { in bnx2x_set_features() 4945 bp->link_params.loopback_mode = LOOPBACK_NONE; in bnx2x_set_features()
|
D | bnx2x.h | 1532 struct link_params link_params; member
|
D | bnx2x_vfpf.c | 371 bp->link_params.chip_id = bp->common.chip_id; in bnx2x_vfpf_acquire()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_main.c | 1305 struct qed_mcp_link_params *link_params; in qed_set_link() local 1328 link_params = qed_mcp_get_link_params(hwfn); in qed_set_link() 1330 link_params->speed.autoneg = params->autoneg; in qed_set_link() 1332 link_params->speed.advertised_speeds = 0; in qed_set_link() 1335 link_params->speed.advertised_speeds |= in qed_set_link() 1338 link_params->speed.advertised_speeds |= in qed_set_link() 1341 link_params->speed.advertised_speeds |= in qed_set_link() 1344 link_params->speed.advertised_speeds |= in qed_set_link() 1347 link_params->speed.advertised_speeds |= in qed_set_link() 1350 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()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 679 struct qed_link_params link_params; in qede_nway_reset() local 695 memset(&link_params, 0, sizeof(link_params)); in qede_nway_reset() 696 link_params.link_up = false; in qede_nway_reset() 697 edev->ops->common->set_link(edev->cdev, &link_params); in qede_nway_reset() 698 link_params.link_up = true; in qede_nway_reset() 699 edev->ops->common->set_link(edev->cdev, &link_params); in qede_nway_reset() 1575 struct qed_link_params link_params; in qede_selftest_run_loopback() local 1589 memset(&link_params, 0, sizeof(link_params)); in qede_selftest_run_loopback() 1590 link_params.link_up = true; in qede_selftest_run_loopback() 1591 link_params.override_flags = QED_LINK_OVERRIDE_LOOPBACK_MODE; in qede_selftest_run_loopback() [all …]
|
D | qede_main.c | 2052 struct qed_link_params link_params; in qede_unload() local 2069 memset(&link_params, 0, sizeof(link_params)); in qede_unload() 2070 link_params.link_up = false; in qede_unload() 2071 edev->ops->common->set_link(edev->cdev, &link_params); in qede_unload() 2111 struct qed_link_params link_params; in qede_load() local 2167 memset(&link_params, 0, sizeof(link_params)); in qede_load() 2168 link_params.link_up = true; in qede_load() 2169 edev->ops->common->set_link(edev->cdev, &link_params); in qede_load()
|
/Linux-v4.19/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-v4.19/drivers/scsi/qedi/ |
D | qedi_main.c | 2347 struct qed_link_params link_params; in __qedi_probe() local 2500 memset(&link_params, 0, sizeof(link_params)); in __qedi_probe() 2501 link_params.link_up = true; in __qedi_probe() 2502 rc = qedi_ops->common->set_link(qedi->cdev, &link_params); in __qedi_probe()
|
/Linux-v4.19/drivers/scsi/qedf/ |
D | qedf_main.c | 2969 struct qed_link_params link_params; in __qedf_probe() local 3303 memset(&link_params, 0, sizeof(struct qed_link_params)); in __qedf_probe() 3304 link_params.link_up = true; in __qedf_probe() 3305 status = qed_ops->common->set_link(qedf->cdev, &link_params); in __qedf_probe()
|