Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h203 struct link_config { struct
222 struct link_config link_config; argument
339 extern int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
Dcxgb2.c138 switch (p->link_config.speed) { in link_report()
146 p->link_config.duplex == DUPLEX_FULL ? "full" : "half"); in link_report()
189 t1_link_start(p->phy, mac, &p->link_config); in link_start()
578 cmd->supported = p->link_config.supported; in get_settings()
579 cmd->advertising = p->link_config.advertising; in get_settings()
582 ethtool_cmd_speed_set(cmd, p->link_config.speed); in get_settings()
583 cmd->duplex = p->link_config.duplex; in get_settings()
592 cmd->autoneg = p->link_config.autoneg; in get_settings()
637 struct link_config *lc = &p->link_config; in set_settings()
674 epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; in get_pauseparam()
[all …]
Dsubr.c155 struct link_config *lc = &adapter->port[port_id].link_config; in t1_link_changed()
624 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start()
1031 static void __devinit init_link_config(struct link_config *lc, in init_link_config()
1120 init_link_config(&adapter->port[i].link_config, bi); in t1_init_sw_modules()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dtg3.c1683 (tp->link_config.active_speed == SPEED_1000 ? in tg3_link_report()
1685 (tp->link_config.active_speed == SPEED_100 ? in tg3_link_report()
1687 (tp->link_config.active_duplex == DUPLEX_FULL ? in tg3_link_report()
1691 (tp->link_config.active_flowctrl & FLOW_CTRL_TX) ? in tg3_link_report()
1693 (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ? in tg3_link_report()
1746 autoneg = tp->link_config.autoneg; in tg3_setup_flow_control()
1754 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1756 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
1787 oldflowctrl = tp->link_config.active_flowctrl; in tg3_adjust_link()
1805 tp->link_config.flowctrl); in tg3_adjust_link()
[all …]
Dtg3.h3049 struct tg3_link_config link_config; member
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h79 struct link_config { struct
199 static inline bool is_10g_port(const struct link_config *lc) in is_10g_port()
Dadapter.h102 struct link_config link_cfg; /* physical port configuration */
Dt4vf_hw.c256 static void __devinit init_link_config(struct link_config *lc, in init_link_config()
1364 struct link_config *lc; in t4vf_handle_fw_rpl()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c452 qdev->link_config |= CFG_LOOPBACK_PCS; in ql_start_loopback()
458 qdev->link_config &= ~CFG_LOOPBACK_PCS; in ql_stop_loopback()
636 if (qdev->link_config & CFG_PAUSE_STD) { in ql_get_pauseparam()
649 qdev->link_config |= CFG_PAUSE_STD; in ql_set_pauseparam()
651 qdev->link_config &= ~CFG_PAUSE_STD; in ql_set_pauseparam()
Dqlge_mpi.c730 mbcp->mbox_in[1] = qdev->link_config; in ql_mb_set_port_cfg()
833 qdev->link_config = mbcp->mbox_out[1]; in ql_mb_get_port_cfg()
1132 if (qdev->link_config & CFG_JUMBO_FRAME_SIZE && in ql_mpi_port_cfg_work()
1137 qdev->link_config |= CFG_JUMBO_FRAME_SIZE; in ql_mpi_port_cfg_work()
Dqlge.h2124 u32 link_config; member
/linux-3.4.99/drivers/net/ethernet/amd/
Damd8111e.c849 lp->link_config.autoneg = AUTONEG_ENABLE; in amd8111e_link_change()
851 lp->link_config.autoneg = AUTONEG_DISABLE; in amd8111e_link_change()
854 lp->link_config.duplex = DUPLEX_FULL; in amd8111e_link_change()
856 lp->link_config.duplex = DUPLEX_HALF; in amd8111e_link_change()
859 lp->link_config.speed = SPEED_10; in amd8111e_link_change()
861 lp->link_config.speed = SPEED_100; in amd8111e_link_change()
864 (lp->link_config.speed == SPEED_100) ? "100": "10", in amd8111e_link_change()
865 (lp->link_config.duplex == DUPLEX_FULL)? "Full": "Half"); in amd8111e_link_change()
869 lp->link_config.speed = SPEED_INVALID; in amd8111e_link_change()
870 lp->link_config.duplex = DUPLEX_INVALID; in amd8111e_link_change()
[all …]
Damd8111e.h779 struct amd8111e_link_config link_config; member
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h74 struct link_config link_config; member
Dcxgb3_main.c161 switch (p->link_config.speed) { in link_report()
174 p->link_config.duplex == DUPLEX_FULL ? "full" : "half"); in link_report()
292 t3_link_start(&pi->phy, mac, &pi->link_config); in t3_os_link_changed()
351 t3_link_start(&pi->phy, mac, &pi->link_config); in link_start()
1768 if (p->link_config.autoneg != AUTONEG_ENABLE) in restart_autoneg()
1801 cmd->supported = p->link_config.supported; in get_settings()
1802 cmd->advertising = p->link_config.advertising; in get_settings()
1805 ethtool_cmd_speed_set(cmd, p->link_config.speed); in get_settings()
1806 cmd->duplex = p->link_config.duplex; in get_settings()
1815 cmd->autoneg = p->link_config.autoneg; in get_settings()
[all …]
Dcommon.h428 struct link_config { struct
679 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
Dt3_hw.c1212 struct link_config *lc = &pi->link_config; in t3_link_changed()
1268 struct link_config *lc = &pi->link_config; in t3_link_fault()
1329 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t3_link_start()
3464 static void init_link_config(struct link_config *lc, unsigned int caps) in init_link_config()
3736 init_link_config(&p->link_config, p->phy.caps); in t3_prep_adapter()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h253 struct link_config { struct
295 struct link_config link_cfg;
647 struct link_config *lc);
Dt4_hw.c821 struct link_config *lc) in t4_link_start()
2653 struct link_config *lc = &pi->link_cfg; in t4_handle_fw_rpl()
2706 static void __devinit init_link_config(struct link_config *lc, in init_link_config()
Dcxgb4_main.c1465 struct link_config *lc = &p->link_cfg; in set_settings()
1519 struct link_config *lc = &p->link_cfg; in set_pauseparam()
3256 static inline bool is_10g_port(const struct link_config *lc) in is_10g_port()
/linux-3.4.99/drivers/net/ethernet/sun/
Dniu.c391 struct niu_link_config *lp = &np->link_config; in serdes_init_niu_10g_fiber()
428 struct niu_link_config *lp = &np->link_config; in serdes_init_niu_1g_serdes()
525 struct niu_link_config *lp = &np->link_config; in serdes_init_niu_10g_serdes()
755 struct niu_link_config *lp = &np->link_config; in serdes_init_10g()
908 struct niu_link_config *lp = &np->link_config; in serdes_init_1g_serdes()
1029 struct niu_link_config *lp = &np->link_config; in link_status_1g_serdes()
1061 struct niu_link_config *lp = &np->link_config; in link_status_10g_serdes()
1094 struct niu_link_config *lp = &np->link_config; in link_status_mii()
1207 struct niu_link_config *lp = &np->link_config; in link_status_1g_rgmii()
1260 struct niu_link_config *lp = &np->link_config; in link_status_1g()
[all …]
Dniu.h3286 struct niu_link_config link_config; member
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c9474 bp->port.link_config[0]); in bnx2x_link_settings_supported()
9518 u32 link_config, idx, cfg_size = 0; in bnx2x_link_settings_requested() local
9532 link_config = bp->port.link_config[idx]; in bnx2x_link_settings_requested()
9533 switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) { in bnx2x_link_settings_requested()
9565 link_config, in bnx2x_link_settings_requested()
9582 link_config, in bnx2x_link_settings_requested()
9598 link_config, in bnx2x_link_settings_requested()
9616 link_config, in bnx2x_link_settings_requested()
9632 link_config, in bnx2x_link_settings_requested()
9648 link_config, in bnx2x_link_settings_requested()
[all …]
Dbnx2x_link.c11529 dev_info.port_feature_config[port].link_config)) & in bnx2x_populate_int_phy()
11799 u32 link_config; in bnx2x_phy_def_cfg() local
11802 link_config = REG_RD(bp, params->shmem_base + in bnx2x_phy_def_cfg()
11810 link_config = REG_RD(bp, params->shmem_base + in bnx2x_phy_def_cfg()
11812 port_feature_config[params->port].link_config)); in bnx2x_phy_def_cfg()
11820 phy_index, link_config, phy->speed_cap_mask); in bnx2x_phy_def_cfg()
11823 switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) { in bnx2x_phy_def_cfg()
11848 switch (link_config & PORT_FEATURE_FLOW_CONTROL_MASK) { in bnx2x_phy_def_cfg()
Dbnx2x.h905 u32 link_config[LINK_CONFIG_SIZE]; member

12