Home
last modified time | relevance | path

Searched refs:link_config (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/dev/al_eth/
H A Dal_eth.c391 adapter->link_config.force_1000_base_x = AL_ETH_DEFAULT_FORCE_1000_BASEX; in al_attach()
866 adapter->link_config.active_duplex = !params.half_duplex; in al_eth_board_params_init()
867 adapter->link_config.autoneg = !params.an_disable; in al_eth_board_params_init()
868 adapter->link_config.force_1000_base_x = params.force_1000_base_x; in al_eth_board_params_init()
879 adapter->link_config.active_speed = 1000; in al_eth_board_params_init()
882 adapter->link_config.active_speed = 100; in al_eth_board_params_init()
885 adapter->link_config.active_speed = 10; in al_eth_board_params_init()
1770 adapter->link_config.flow_ctrl_supported = default_flow_ctrl; in al_eth_flow_ctrl_init()
1777 uint8_t active = adapter->link_config.flow_ctrl_active; in al_eth_flow_ctrl_config()
1810 adapter->link_config.flow_ctrl_active = in al_eth_flow_ctrl_enable()
[all …]
H A Dal_eth.h312 struct al_eth_link_config link_config; member
/freebsd/sys/dev/cxgb/
H A Dcxgb_adapter.h98 struct link_config link_config; member
H A Dcxgb_main.c1675 t3_link_start(&p->phy, mac, &p->link_config); in cxgb_init_locked()
1795 pi->link_config.link_ok = 0; in cxgb_uninit_synchronized()
2114 int speed = p->link_config.speed; in cxgb_media_status()
2122 if (!p->link_config.link_ok) in cxgb_media_status()
2249 pi->link_config.link_ok == 0) in check_link_status()
2280 !p->link_config.link_ok) in check_t3b2_mac()
2295 t3_link_start(&p->phy, mac, &p->link_config); in check_t3b2_mac()
H A Dcxgb_sge.c1656 if (!pi->link_config.link_ok) { in cxgb_start_locked()
1662 pi->link_config.link_ok) { in cxgb_start_locked()
1684 pi->link_config.link_ok) in cxgb_start_locked()
1730 if (!TXQ_RING_EMPTY(qs) && pi->link_config.link_ok && in cxgb_transmit_locked()
1747 ||(!pi->link_config.link_ok)) { in cxgb_transmit()
/freebsd/sys/dev/cxgb/common/
H A Dcxgb_common.h429 struct link_config { struct
711 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
H A Dcxgb_t3_hw.c1525 struct link_config *lc = &pi->link_config; in t3_link_changed()
1671 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t3_link_start()
4268 static void __devinit init_link_config(struct link_config *lc, in init_link_config()
4580 init_link_config(&p->link_config, p->phy.caps); in t3_prep_adapter()
/freebsd/sys/dev/cxgbe/common/
H A Dcommon.h444 struct link_config { struct
627 struct link_config *lc);
H A Dt4_hw.c3879 struct link_config *lc) in t4_link_l1cfg()
8878 struct link_config old_lc, *lc = &pi->link_cfg; in handle_port_info()
/freebsd/sys/dev/bxe/
H A Dbxe.c13674 val = SHMEM_RD(sc, dev_info.port_feature_config[port].link_config); in bxe_get_shmem_info()
13675 sc->port.link_config[ELINK_INT_PHY] = val; in bxe_get_shmem_info()
13677 sc->port.link_config[ELINK_EXT_PHY1] = in bxe_get_shmem_info()
14267 sc->port.link_config[0]); in bxe_link_settings_supported()
14326 uint32_t link_config; in bxe_link_settings_requested() local
14345 link_config = sc->port.link_config[idx]; in bxe_link_settings_requested()
14347 switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) { in bxe_link_settings_requested()
14374 link_config, sc->link_params.speed_cap_mask[idx]); in bxe_link_settings_requested()
14390 link_config, sc->link_params.speed_cap_mask[idx]); in bxe_link_settings_requested()
14403 link_config, sc->link_params.speed_cap_mask[idx]); in bxe_link_settings_requested()
[all …]
H A Dbxe_elink.c13024 dev_info.port_feature_config[port].link_config)) & in elink_populate_int_phy()
13302 uint32_t link_config; in elink_phy_def_cfg() local
13305 link_config = REG_RD(sc, params->shmem_base + in elink_phy_def_cfg()
13313 link_config = REG_RD(sc, params->shmem_base + in elink_phy_def_cfg()
13315 port_feature_config[params->port].link_config)); in elink_phy_def_cfg()
13323 phy_index, link_config, phy->speed_cap_mask); in elink_phy_def_cfg()
13326 switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) { in elink_phy_def_cfg()
13354 switch (link_config & PORT_FEATURE_FLOW_CONTROL_MASK) { in elink_phy_def_cfg()
H A Decore_hsi.h1106 uint32_t link_config; /* Used as HW defaults for the driver */ member
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c3431 struct link_config *lc = &pi->link_cfg; in cxgbe_media_change()
3625 struct link_config *lc = &pi->link_cfg; in cxgbe_media_status()
5986 struct link_config *lc; in set_current_media()
6044 struct link_config *lc; in build_medialist()
6096 struct link_config *lc = &pi->link_cfg; in init_link_config()
6140 struct link_config *lc = &pi->link_cfg; in fixup_link_config()
6202 struct link_config *lc = &pi->link_cfg; in apply_link_config()
8606 struct link_config *lc = &pi->link_cfg; in sysctl_pause_settings()
8669 struct link_config *lc = &pi->link_cfg; in sysctl_link_fec()
8692 struct link_config *lc = &pi->link_cfg; in sysctl_requested_fec()
[all …]
H A Dadapter.h328 struct link_config link_cfg;