Home
last modified time | relevance | path

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

/freebsd/sys/dev/bxe/
H A Dbxe.c6991 elink_link_update(&sc->link_params, &sc->link_vars); in bxe_link_attn()
8165 elink_hw_reset_phy(&sc->link_params); in bxe_attn_int_deasserted0()
8171 elink_handle_module_detect_int(&sc->link_params); in bxe_attn_int_deasserted0()
10835 sc->link_params.shmem_base = in bxe_init_shmem()
11611 return (bxe_set_mac_one(sc, sc->link_params.mac_addr, in bxe_set_eth_mac()
11621 if (sc->link_params.num_phys <= 1) { in bxe_get_cur_phy_idx()
11629 (sc->link_params.phy[ELINK_EXT_PHY2].supported & in bxe_get_cur_phy_idx()
11633 switch (elink_phy_selection(&sc->link_params)) { in bxe_get_cur_phy_idx()
11660 if (sc->link_params.multi_phy_config & PORT_HW_CFG_PHY_SWAPPED_ENABLED) { in bxe_get_link_cfg_idx()
11679 sc->link_params.req_fc_auto_adv = ELINK_FLOW_CTRL_TX; in bxe_set_requested_fc()
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_pcie.c175 const struct al_pcie_link_params *link_params) in al_pcie_port_link_config() argument
180 if ((link_params->max_payload_size != AL_PCIE_MPS_DEFAULT) && in al_pcie_port_link_config()
181 (link_params->max_payload_size != AL_PCIE_MPS_128) && in al_pcie_port_link_config()
182 (link_params->max_payload_size != AL_PCIE_MPS_256)) { in al_pcie_port_link_config()
184 pcie_port->port_id, link_params->max_payload_size); in al_pcie_port_link_config()
188 al_pcie_port_link_speed_ctrl_set(pcie_port, link_params->max_speed); in al_pcie_port_link_config()
193 if (link_params->max_payload_size != AL_PCIE_MPS_DEFAULT) in al_pcie_port_link_config()
196 link_params->max_payload_size << in al_pcie_port_link_config()
1729 if (params->link_params) in al_pcie_port_config()
1730 status = al_pcie_port_link_config(pcie_port, params->link_params); in al_pcie_port_config()
[all …]
H A Dal_hal_pcie.h480 struct al_pcie_link_params *link_params; member
/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c5452 struct ecore_mcp_link_params link_params; in qlnx_fill_link() local
5458 memset(&link_params, 0, sizeof(struct ecore_mcp_link_params)); in qlnx_fill_link()
5476 memcpy(&link_params, ecore_mcp_get_link_params(hwfn), in qlnx_fill_link()
5477 sizeof(link_params)); in qlnx_fill_link()
5483 ecore_vf_get_link_params(hwfn, &link_params); in qlnx_fill_link()
5495 if (link_params.speed.autoneg) in qlnx_fill_link()
5498 if (link_params.pause.autoneg || in qlnx_fill_link()
5499 (link_params.pause.forced_rx && link_params.pause.forced_tx)) in qlnx_fill_link()
5502 if (link_params.pause.autoneg || link_params.pause.forced_rx || in qlnx_fill_link()
5503 link_params.pause.forced_tx) in qlnx_fill_link()
[all …]
H A Decore_sriov.c1104 struct ecore_mcp_link_params link_params; in ecore_iov_init_hw_for_vf() local
1211 OSAL_MEMCPY(&link_params, ecore_mcp_get_link_params(p_hwfn), in ecore_iov_init_hw_for_vf()
1212 sizeof(link_params)); in ecore_iov_init_hw_for_vf()
1218 &link_params, &link_state, &link_caps); in ecore_iov_init_hw_for_vf()