Home
last modified time | relevance | path

Searched refs:link_info (Results 1 - 25 of 210) sorted by relevance

123456789

/kernel/linux/linux-5.10/drivers/staging/octeon/
H A Dethernet-rgmii.c56 union cvmx_helper_link_info link_info; in cvm_oct_check_preamble_errors() local
59 link_info.u64 = priv->link_info; in cvm_oct_check_preamble_errors()
67 if (link_info.s.speed == 10 && priv->last_speed == 10) { in cvm_oct_check_preamble_errors()
96 if (priv->last_speed != link_info.s.speed) in cvm_oct_check_preamble_errors()
98 priv->last_speed = link_info.s.speed; in cvm_oct_check_preamble_errors()
106 union cvmx_helper_link_info link_info; in cvm_oct_rgmii_poll() local
109 link_info = cvmx_helper_link_get(priv->port); in cvm_oct_rgmii_poll()
110 if (priv->link_info != link_info in cvm_oct_rgmii_poll()
[all...]
H A Dethernet-mdio.c84 union cvmx_helper_link_info link_info; in cvm_oct_adjust_link() local
86 link_info.u64 = 0; in cvm_oct_adjust_link()
87 link_info.s.link_up = dev->phydev->link ? 1 : 0; in cvm_oct_adjust_link()
88 link_info.s.full_duplex = dev->phydev->duplex ? 1 : 0; in cvm_oct_adjust_link()
89 link_info.s.speed = dev->phydev->speed; in cvm_oct_adjust_link()
90 priv->link_info = link_info.u64; in cvm_oct_adjust_link()
100 cvmx_helper_link_set(priv->port, link_info); in cvm_oct_adjust_link()
101 cvm_oct_note_carrier(priv, link_info); in cvm_oct_adjust_link()
109 union cvmx_helper_link_info link_info; in cvm_oct_common_stop() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/octeon/
H A Dethernet-rgmii.c56 union cvmx_helper_link_info link_info; in cvm_oct_check_preamble_errors() local
59 link_info.u64 = priv->link_info; in cvm_oct_check_preamble_errors()
67 if (link_info.s.speed == 10 && priv->last_speed == 10) { in cvm_oct_check_preamble_errors()
96 if (priv->last_speed != link_info.s.speed) in cvm_oct_check_preamble_errors()
98 priv->last_speed = link_info.s.speed; in cvm_oct_check_preamble_errors()
106 union cvmx_helper_link_info link_info; in cvm_oct_rgmii_poll() local
109 link_info = cvmx_helper_link_get(priv->port); in cvm_oct_rgmii_poll()
110 if (priv->link_info != link_info in cvm_oct_rgmii_poll()
[all...]
H A Dethernet-mdio.c84 union cvmx_helper_link_info link_info; in cvm_oct_adjust_link() local
86 link_info.u64 = 0; in cvm_oct_adjust_link()
87 link_info.s.link_up = dev->phydev->link ? 1 : 0; in cvm_oct_adjust_link()
88 link_info.s.full_duplex = dev->phydev->duplex ? 1 : 0; in cvm_oct_adjust_link()
89 link_info.s.speed = dev->phydev->speed; in cvm_oct_adjust_link()
90 priv->link_info = link_info.u64; in cvm_oct_adjust_link()
100 cvmx_helper_link_set(priv->port, link_info); in cvm_oct_adjust_link()
101 cvm_oct_note_carrier(priv, link_info); in cvm_oct_adjust_link()
109 union cvmx_helper_link_info link_info; in cvm_oct_common_stop() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_link.c14 struct bpf_link_info link_info; in test_xdp_link() local
17 __u32 link_info_len = sizeof(link_info); in test_xdp_link()
122 memset(&link_info, 0, sizeof(link_info)); in test_xdp_link()
123 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in test_xdp_link()
124 if (CHECK(err, "link_info", "failed: %d\n", err)) in test_xdp_link()
127 CHECK(link_info.type != BPF_LINK_TYPE_XDP, "link_type", in test_xdp_link()
128 "got %u != exp %u\n", link_info.type, BPF_LINK_TYPE_XDP); in test_xdp_link()
129 CHECK(link_info.prog_id != id1, "link_prog_id", in test_xdp_link()
130 "got %u != exp %u\n", link_info in test_xdp_link()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dlink.c54 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; in iwl_mvm_add_link() local
57 if (WARN_ON_ONCE(!link_info)) in iwl_mvm_add_link()
60 if (link_info->fw_link_id == IWL_MVM_FW_LINK_ID_INVALID) { in iwl_mvm_add_link()
61 link_info->fw_link_id = iwl_mvm_get_free_fw_link_id(mvm, in iwl_mvm_add_link()
63 if (link_info->fw_link_id >= ARRAY_SIZE(mvm->link_id_to_link_conf)) in iwl_mvm_add_link()
66 rcu_assign_pointer(mvm->link_id_to_link_conf[link_info->fw_link_id], in iwl_mvm_add_link()
76 cmd.link_id = cpu_to_le32(link_info->fw_link_id); in iwl_mvm_add_link()
79 WARN_ON_ONCE(link_info->phy_ctxt); in iwl_mvm_add_link()
87 cmd.listen_lmac = cpu_to_le32(link_info->listen_lmac); in iwl_mvm_add_link()
98 struct iwl_mvm_vif_link_info *link_info in iwl_mvm_link_changed() local
241 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; iwl_mvm_remove_link() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dtc_helpers.h23 struct bpf_link_info link_info = {}; in id_from_link_fd() local
24 __u32 link_info_len = sizeof(link_info); in id_from_link_fd()
27 err = bpf_link_get_info_by_fd(fd, &link_info, &link_info_len); in id_from_link_fd()
31 ASSERT_NEQ(link_info.id, 0, "link_info.id"); in id_from_link_fd()
32 return link_info.id; in id_from_link_fd()
37 struct bpf_link_info link_info = {}; in ifindex_from_link_fd() local
38 __u32 link_info_len = sizeof(link_info); in ifindex_from_link_fd()
41 err = bpf_link_get_info_by_fd(fd, &link_info, &link_info_len); in ifindex_from_link_fd()
45 return link_info in ifindex_from_link_fd()
[all...]
H A Dxdp_link.c14 struct bpf_link_info link_info; in serial_test_xdp_link() local
18 __u32 link_info_len = sizeof(link_info); in serial_test_xdp_link()
121 memset(&link_info, 0, sizeof(link_info)); in serial_test_xdp_link()
123 &link_info, &link_info_len); in serial_test_xdp_link()
124 if (!ASSERT_OK(err, "link_info")) in serial_test_xdp_link()
127 ASSERT_EQ(link_info.type, BPF_LINK_TYPE_XDP, "link_type"); in serial_test_xdp_link()
128 ASSERT_EQ(link_info.prog_id, id1, "link_prog_id"); in serial_test_xdp_link()
129 ASSERT_EQ(link_info.xdp.ifindex, IFINDEX_LO, "link_ifindex"); in serial_test_xdp_link()
140 memset(&link_info, in serial_test_xdp_link()
[all...]
H A Dcheck_mtu.c41 struct bpf_link_info link_info; in test_check_mtu_xdp_attach() local
42 __u32 link_info_len = sizeof(link_info); in test_check_mtu_xdp_attach()
60 memset(&link_info, 0, sizeof(link_info)); in test_check_mtu_xdp_attach()
62 err = bpf_link_get_info_by_fd(fd, &link_info, &link_info_len); in test_check_mtu_xdp_attach()
63 if (CHECK(err, "link_info", "failed: %d\n", err)) in test_check_mtu_xdp_attach()
66 CHECK(link_info.type != BPF_LINK_TYPE_XDP, "link_type", in test_check_mtu_xdp_attach()
67 "got %u != exp %u\n", link_info.type, BPF_LINK_TYPE_XDP); in test_check_mtu_xdp_attach()
68 CHECK(link_info.xdp.ifindex != IFINDEX_LO, "link_ifindex", in test_check_mtu_xdp_attach()
69 "got %u != exp %u\n", link_info in test_check_mtu_xdp_attach()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/
H A Ddp_panel.c50 struct dp_link_info *link_info; in dp_panel_read_dpcd() local
57 link_info = &dp_panel->link_info; in dp_panel_read_dpcd()
92 link_info->revision = dpcd[DP_DPCD_REV]; in dp_panel_read_dpcd()
93 major = (link_info->revision >> 4) & 0x0f; in dp_panel_read_dpcd()
94 minor = link_info->revision & 0x0f; in dp_panel_read_dpcd()
96 link_info->rate = drm_dp_bw_code_to_link_rate(dpcd[DP_MAX_LINK_RATE]); in dp_panel_read_dpcd()
97 link_info->num_lanes = dpcd[DP_MAX_LANE_COUNT] & DP_MAX_LANE_COUNT_MASK; in dp_panel_read_dpcd()
100 if (link_info->num_lanes > dp_panel->max_dp_lanes) in dp_panel_read_dpcd()
101 link_info in dp_panel_read_dpcd()
139 struct dp_link_info *link_info; dp_panel_get_supported_bpp() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
H A Ddp_panel.c28 struct dp_link_info *link_info; in dp_panel_read_dpcd() local
35 link_info = &dp_panel->link_info; in dp_panel_read_dpcd()
69 link_info->revision = dpcd[DP_DPCD_REV]; in dp_panel_read_dpcd()
70 major = (link_info->revision >> 4) & 0x0f; in dp_panel_read_dpcd()
71 minor = link_info->revision & 0x0f; in dp_panel_read_dpcd()
73 link_info->rate = drm_dp_bw_code_to_link_rate(dpcd[DP_MAX_LINK_RATE]); in dp_panel_read_dpcd()
74 link_info->num_lanes = dpcd[DP_MAX_LANE_COUNT] & DP_MAX_LANE_COUNT_MASK; in dp_panel_read_dpcd()
76 if (link_info->num_lanes > dp_panel->max_dp_lanes) in dp_panel_read_dpcd()
77 link_info in dp_panel_read_dpcd()
114 struct dp_link_info *link_info; dp_panel_get_supported_bpp() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ctrl_net.c237 struct octep_iface_link_info *link_info) in octep_ctrl_net_get_link_info()
246 req->link_info.cmd = OCTEP_CTRL_NET_CMD_GET; in octep_ctrl_net_get_link_info()
252 link_info->supported_modes = resp->link_info.supported_modes; in octep_ctrl_net_get_link_info()
253 link_info->advertised_modes = resp->link_info.advertised_modes; in octep_ctrl_net_get_link_info()
254 link_info->autoneg = resp->link_info.autoneg; in octep_ctrl_net_get_link_info()
255 link_info->pause = resp->link_info in octep_ctrl_net_get_link_info()
236 octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid, struct octep_iface_link_info *link_info) octep_ctrl_net_get_link_info() argument
261 octep_ctrl_net_set_link_info(struct octep_device *oct, int vfid, struct octep_iface_link_info *link_info, bool wait_for_response) octep_ctrl_net_set_link_info() argument
[all...]
H A Doctep_ethtool.c283 struct octep_iface_link_info *link_info; in octep_get_link_ksettings() local
289 link_info = &oct->link_info; in octep_get_link_ksettings()
290 octep_ctrl_net_get_link_info(oct, OCTEP_CTRL_NET_INVALID_VFID, link_info); in octep_get_link_ksettings()
292 advertised_modes = oct->link_info.advertised_modes; in octep_get_link_ksettings()
293 supported_modes = oct->link_info.supported_modes; in octep_get_link_ksettings()
298 if (link_info->autoneg) { in octep_get_link_ksettings()
299 if (link_info->autoneg & OCTEP_LINK_MODE_AUTONEG_SUPPORTED) in octep_get_link_ksettings()
301 if (link_info->autoneg & OCTEP_LINK_MODE_AUTONEG_ADVERTISED) { in octep_get_link_ksettings()
311 if (link_info in octep_get_link_ksettings()
337 struct octep_iface_link_info *link_info; octep_set_link_ksettings() local
[all...]
H A Doctep_ctrl_net.h122 struct octep_ctrl_net_h2f_req_cmd_link_info link_info; member
173 struct octep_ctrl_net_link_info link_info; member
306 * @param link_info: non-null pointer to struct octep_iface_link_info.
311 struct octep_iface_link_info *link_info);
317 * @param link_info: non-null pointer to struct octep_iface_link_info.
324 struct octep_iface_link_info *link_info,
/kernel/linux/linux-6.6/tools/perf/util/
H A Dbpf_counter.h97 struct bpf_link_info link_info = { .id = 0, }; in bpf_link_get_id() local
98 __u32 link_info_len = sizeof(link_info); in bpf_link_get_id()
100 bpf_obj_get_info_by_fd(fd, &link_info, &link_info_len); in bpf_link_get_id()
101 return link_info.id; in bpf_link_get_id()
106 struct bpf_link_info link_info = { .id = 0, }; in bpf_link_get_prog_id() local
107 __u32 link_info_len = sizeof(link_info); in bpf_link_get_prog_id()
109 bpf_obj_get_info_by_fd(fd, &link_info, &link_info_len); in bpf_link_get_prog_id()
110 return link_info.prog_id; in bpf_link_get_prog_id()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1593 static void bnxt_fw_to_ethtool_advertised_fec(struct bnxt_link_info *link_info, in bnxt_fw_to_ethtool_advertised_fec() argument
1596 u16 fec_cfg = link_info->fec_cfg; in bnxt_fw_to_ethtool_advertised_fec()
1614 static void bnxt_fw_to_ethtool_advertised_spds(struct bnxt_link_info *link_info, in bnxt_fw_to_ethtool_advertised_spds() argument
1617 u16 fw_speeds = link_info->advertising; in bnxt_fw_to_ethtool_advertised_spds()
1620 if (link_info->autoneg & BNXT_AUTONEG_FLOW_CTRL) in bnxt_fw_to_ethtool_advertised_spds()
1621 fw_pause = link_info->auto_pause_setting; in bnxt_fw_to_ethtool_advertised_spds()
1624 fw_speeds = link_info->advertising_pam4; in bnxt_fw_to_ethtool_advertised_spds()
1626 bnxt_fw_to_ethtool_advertised_fec(link_info, lk_ksettings); in bnxt_fw_to_ethtool_advertised_spds()
1629 static void bnxt_fw_to_ethtool_lp_adv(struct bnxt_link_info *link_info, in bnxt_fw_to_ethtool_lp_adv() argument
1632 u16 fw_speeds = link_info in bnxt_fw_to_ethtool_lp_adv()
1644 bnxt_fw_to_ethtool_support_fec(struct bnxt_link_info *link_info, struct ethtool_link_ksettings *lk_ksettings) bnxt_fw_to_ethtool_support_fec() argument
1665 bnxt_fw_to_ethtool_support_spds(struct bnxt_link_info *link_info, struct ethtool_link_ksettings *lk_ksettings) bnxt_fw_to_ethtool_support_spds() argument
1721 struct bnxt_link_info *link_info = &bp->link_info; bnxt_get_link_ksettings() local
1782 struct bnxt_link_info *link_info = &bp->link_info; bnxt_force_link_speed() local
1887 struct bnxt_link_info *link_info = &bp->link_info; bnxt_set_link_ksettings() local
1951 struct bnxt_link_info *link_info; bnxt_get_fecparam() local
2015 bnxt_ethtool_forced_fec_to_fw(struct bnxt_link_info *link_info, u32 fec) bnxt_ethtool_forced_fec_to_fw() argument
2034 struct bnxt_link_info *link_info; bnxt_set_fecparam() local
2082 struct bnxt_link_info *link_info = &bp->link_info; bnxt_get_pauseparam() local
2112 struct bnxt_link_info *link_info = &bp->link_info; bnxt_set_pauseparam() local
3109 struct bnxt_link_info *link_info = &bp->link_info; bnxt_set_eee() local
3369 struct bnxt_link_info *link_info = &bp->link_info; bnxt_nway_reset() local
3491 struct bnxt_link_info *link_info = &bp->link_info; bnxt_disable_an_for_lpbk() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1543 static void bnxt_fw_to_ethtool_advertised_fec(struct bnxt_link_info *link_info, in bnxt_fw_to_ethtool_advertised_fec() argument
1546 u16 fec_cfg = link_info->fec_cfg; in bnxt_fw_to_ethtool_advertised_fec()
1564 static void bnxt_fw_to_ethtool_advertised_spds(struct bnxt_link_info *link_info, in bnxt_fw_to_ethtool_advertised_spds() argument
1567 u16 fw_speeds = link_info->advertising; in bnxt_fw_to_ethtool_advertised_spds()
1570 if (link_info->autoneg & BNXT_AUTONEG_FLOW_CTRL) in bnxt_fw_to_ethtool_advertised_spds()
1571 fw_pause = link_info->auto_pause_setting; in bnxt_fw_to_ethtool_advertised_spds()
1574 fw_speeds = link_info->advertising_pam4; in bnxt_fw_to_ethtool_advertised_spds()
1576 bnxt_fw_to_ethtool_advertised_fec(link_info, lk_ksettings); in bnxt_fw_to_ethtool_advertised_spds()
1579 static void bnxt_fw_to_ethtool_lp_adv(struct bnxt_link_info *link_info, in bnxt_fw_to_ethtool_lp_adv() argument
1582 u16 fw_speeds = link_info in bnxt_fw_to_ethtool_lp_adv()
1594 bnxt_fw_to_ethtool_support_fec(struct bnxt_link_info *link_info, struct ethtool_link_ksettings *lk_ksettings) bnxt_fw_to_ethtool_support_fec() argument
1615 bnxt_fw_to_ethtool_support_spds(struct bnxt_link_info *link_info, struct ethtool_link_ksettings *lk_ksettings) bnxt_fw_to_ethtool_support_spds() argument
1667 struct bnxt_link_info *link_info = &bp->link_info; bnxt_get_link_ksettings() local
1728 struct bnxt_link_info *link_info = &bp->link_info; bnxt_force_link_speed() local
1833 struct bnxt_link_info *link_info = &bp->link_info; bnxt_set_link_ksettings() local
1896 struct bnxt_link_info *link_info; bnxt_get_fecparam() local
1938 bnxt_ethtool_forced_fec_to_fw(struct bnxt_link_info *link_info, u32 fec) bnxt_ethtool_forced_fec_to_fw() argument
1957 struct bnxt_link_info *link_info; bnxt_set_fecparam() local
2003 struct bnxt_link_info *link_info = &bp->link_info; bnxt_get_pauseparam() local
2033 struct bnxt_link_info *link_info = &bp->link_info; bnxt_set_pauseparam() local
2821 struct bnxt_link_info *link_info = &bp->link_info; bnxt_set_eee() local
3017 struct bnxt_link_info *link_info = &bp->link_info; bnxt_nway_reset() local
3125 struct bnxt_link_info *link_info = &bp->link_info; bnxt_disable_an_for_lpbk() local
[all...]
/kernel/linux/linux-6.6/include/sound/
H A Dgraph_card.h14 struct link_info *li);
29 struct device_node *lnk, struct link_info *li);
31 struct device_node *lnk, struct link_info *li);
33 struct device_node *lnk, struct link_info *li);
/kernel/linux/linux-6.6/sound/soc/generic/
H A Daudio-graph-card.c108 struct link_info *li, in graph_parse_node()
147 struct link_info *li, in graph_link_init()
170 struct link_info *li) in graph_dai_link_of_dpcm()
264 struct link_info *li) in graph_dai_link_of()
322 struct link_info *li, in __graph_for_each_link()
326 struct link_info *li), in __graph_for_each_link()
330 struct link_info *li)) in __graph_for_each_link()
396 struct link_info *li, in graph_for_each_link()
400 struct link_info *li), in graph_for_each_link()
404 struct link_info *l in graph_for_each_link()
[all...]
H A Dsimple-card.c153 struct link_info *li, in simple_parse_node()
193 struct link_info *li, in simple_link_init()
214 struct link_info *li, in simple_dai_link_of_dpcm()
294 struct link_info *li, in simple_dai_link_of()
352 struct link_info *li, in __simple_for_each_link()
356 struct link_info *li, bool is_top), in __simple_for_each_link()
360 struct link_info *li, bool is_top)) in __simple_for_each_link()
463 struct link_info *li, in simple_for_each_link()
467 struct link_info *li, bool is_top), in simple_for_each_link()
471 struct link_info *l in simple_for_each_link()
[all...]
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dtb_msgs.h183 u16 link_info; member
205 u16 link_info; member
211 u16 link_info; member
223 u16 link_info; member
266 u16 link_info; member
277 u16 link_info; member
304 u16 link_info; member
310 u16 link_info; member
356 u16 link_info; member
369 u16 link_info; member
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dtb_msgs.h194 u16 link_info; member
216 u16 link_info; member
222 u16 link_info; member
234 u16 link_info; member
277 u16 link_info; member
288 u16 link_info; member
315 u16 link_info; member
321 u16 link_info; member
369 u16 link_info; member
382 u16 link_info; member
[all...]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-sgmii.c197 * @link_info: Link state to configure
204 link_info) in __cvmx_helper_sgmii_hardware_init_link_speed()
243 pcsx_miscx_ctl_reg.s.gmxeno = !link_info.s.link_up; in __cvmx_helper_sgmii_hardware_init_link_speed()
246 if (link_info.s.link_up) in __cvmx_helper_sgmii_hardware_init_link_speed()
247 gmxx_prtx_cfg.s.duplex = link_info.s.full_duplex; in __cvmx_helper_sgmii_hardware_init_link_speed()
250 switch (link_info.s.speed) { in __cvmx_helper_sgmii_hardware_init_link_speed()
503 * @link_info: The new link state
508 union cvmx_helper_link_info link_info) in __cvmx_helper_sgmii_link_set()
514 link_info); in __cvmx_helper_sgmii_link_set()
201 __cvmx_helper_sgmii_hardware_init_link_speed(int interface, int index, union cvmx_helper_link_info link_info) __cvmx_helper_sgmii_hardware_init_link_speed() argument
507 __cvmx_helper_sgmii_link_set(int ipd_port, union cvmx_helper_link_info link_info) __cvmx_helper_sgmii_link_set() argument
H A Dcvmx-helper-rgmii.c290 * @link_info: The new link state
295 union cvmx_helper_link_info link_info) in __cvmx_helper_rgmii_link_set()
366 else if (!link_info.s.link_up) in __cvmx_helper_rgmii_link_set()
370 new_gmx_cfg.s.duplex = link_info.s.full_duplex; in __cvmx_helper_rgmii_link_set()
373 if (link_info.s.speed == 10) { in __cvmx_helper_rgmii_link_set()
376 } else if (link_info.s.speed == 100) { in __cvmx_helper_rgmii_link_set()
385 if (link_info.s.speed == 10) { in __cvmx_helper_rgmii_link_set()
389 } else if (link_info.s.speed == 100) { in __cvmx_helper_rgmii_link_set()
400 if ((link_info.s.speed == 10) || (link_info in __cvmx_helper_rgmii_link_set()
294 __cvmx_helper_rgmii_link_set(int ipd_port, union cvmx_helper_link_info link_info) __cvmx_helper_rgmii_link_set() argument
[all...]
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-sgmii.c197 * @link_info: Link state to configure
204 link_info) in __cvmx_helper_sgmii_hardware_init_link_speed()
243 pcsx_miscx_ctl_reg.s.gmxeno = !link_info.s.link_up; in __cvmx_helper_sgmii_hardware_init_link_speed()
246 if (link_info.s.link_up) in __cvmx_helper_sgmii_hardware_init_link_speed()
247 gmxx_prtx_cfg.s.duplex = link_info.s.full_duplex; in __cvmx_helper_sgmii_hardware_init_link_speed()
250 switch (link_info.s.speed) { in __cvmx_helper_sgmii_hardware_init_link_speed()
503 * @link_info: The new link state
508 union cvmx_helper_link_info link_info) in __cvmx_helper_sgmii_link_set()
514 link_info); in __cvmx_helper_sgmii_link_set()
201 __cvmx_helper_sgmii_hardware_init_link_speed(int interface, int index, union cvmx_helper_link_info link_info) __cvmx_helper_sgmii_hardware_init_link_speed() argument
507 __cvmx_helper_sgmii_link_set(int ipd_port, union cvmx_helper_link_info link_info) __cvmx_helper_sgmii_link_set() argument

Completed in 18 milliseconds

123456789