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

12

/drivers/net/ethernet/chelsio/cxgb/
H A Dcommon.h203 struct link_config { struct
222 struct link_config link_config; member in struct:port_info
339 extern int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
H A Dcxgb2.c138 switch (p->link_config.speed) {
146 p->link_config.duplex == DUPLEX_FULL ? "full" : "half");
189 t1_link_start(p->phy, mac, &p->link_config);
578 cmd->supported = p->link_config.supported;
579 cmd->advertising = p->link_config.advertising;
582 ethtool_cmd_speed_set(cmd, p->link_config.speed);
583 cmd->duplex = p->link_config.duplex;
592 cmd->autoneg = p->link_config.autoneg;
637 struct link_config *lc = &p->link_config;
[all...]
H A Dsubr.c155 struct link_config *lc = &adapter->port[port_id].link_config;
624 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc)
1031 static void __devinit init_link_config(struct link_config *lc,
1120 init_link_config(&adapter->port[i].link_config, bi);
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h79 struct link_config { struct
199 static inline bool is_10g_port(const struct link_config *lc)
H A Dadapter.h102 struct link_config link_cfg; /* physical port configuration */
H A Dt4vf_hw.c256 static void __devinit init_link_config(struct link_config *lc,
1364 struct link_config *lc;
/drivers/net/ethernet/broadcom/
H A Dtg3.c1652 (tp->link_config.active_speed == SPEED_1000 ?
1654 (tp->link_config.active_speed == SPEED_100 ?
1656 (tp->link_config.active_duplex == DUPLEX_FULL ?
1660 (tp->link_config.active_flowctrl & FLOW_CTRL_TX) ?
1662 (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ?
1715 autoneg = tp->link_config.autoneg;
1723 flowctrl = tp->link_config.flowctrl;
1725 tp->link_config.active_flowctrl = flowctrl;
1756 oldflowctrl = tp->link_config.active_flowctrl;
1774 tp->link_config
[all...]
H A Dtg3.h3049 struct tg3_link_config link_config; member in struct:tg3
/drivers/net/ethernet/chelsio/cxgb3/
H A Dadapter.h74 struct link_config link_config; member in struct:port_info
H A Dcxgb3_main.c161 switch (p->link_config.speed) {
174 p->link_config.duplex == DUPLEX_FULL ? "full" : "half");
292 t3_link_start(&pi->phy, mac, &pi->link_config);
351 t3_link_start(&pi->phy, mac, &pi->link_config);
1723 if (p->link_config.autoneg != AUTONEG_ENABLE)
1756 cmd->supported = p->link_config.supported;
1757 cmd->advertising = p->link_config.advertising;
1760 ethtool_cmd_speed_set(cmd, p->link_config.speed);
1761 cmd->duplex = p->link_config.duplex;
1770 cmd->autoneg = p->link_config
[all...]
H A Dcommon.h428 struct link_config { struct
679 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
H A Dt3_hw.c1212 struct link_config *lc = &pi->link_config;
1268 struct link_config *lc = &pi->link_config;
1329 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc)
3464 static void init_link_config(struct link_config *lc, unsigned int caps)
3736 init_link_config(&p->link_config, p->phy.caps);
/drivers/net/ethernet/qlogic/qlge/
H A Dqlge_ethtool.c452 qdev->link_config |= CFG_LOOPBACK_PCS;
458 qdev->link_config &= ~CFG_LOOPBACK_PCS;
636 if (qdev->link_config & CFG_PAUSE_STD) {
649 qdev->link_config |= CFG_PAUSE_STD;
651 qdev->link_config &= ~CFG_PAUSE_STD;
H A Dqlge_mpi.c730 mbcp->mbox_in[1] = qdev->link_config;
833 qdev->link_config = mbcp->mbox_out[1];
1132 if (qdev->link_config & CFG_JUMBO_FRAME_SIZE &&
1137 qdev->link_config |= CFG_JUMBO_FRAME_SIZE;
H A Dqlge.h2023 /* link_config bit definitions */
2124 u32 link_config; member in struct:ql_adapter
/drivers/net/ethernet/amd/
H A Damd8111e.c848 lp->link_config.autoneg = AUTONEG_ENABLE;
850 lp->link_config.autoneg = AUTONEG_DISABLE;
853 lp->link_config.duplex = DUPLEX_FULL;
855 lp->link_config.duplex = DUPLEX_HALF;
858 lp->link_config.speed = SPEED_10;
860 lp->link_config.speed = SPEED_100;
863 (lp->link_config.speed == SPEED_100) ? "100": "10",
864 (lp->link_config.duplex == DUPLEX_FULL)? "Full": "Half");
868 lp->link_config.speed = SPEED_INVALID;
869 lp->link_config
[all...]
H A Damd8111e.h779 struct amd8111e_link_config link_config; member in struct:amd8111e_priv
/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h253 struct link_config { struct
295 struct link_config link_cfg;
647 struct link_config *lc);
H A Dt4_hw.c821 struct link_config *lc)
2653 struct link_config *lc = &pi->link_cfg;
2706 static void __devinit init_link_config(struct link_config *lc,
H A Dcxgb4_main.c1463 struct link_config *lc = &p->link_cfg;
1517 struct link_config *lc = &p->link_cfg;
3261 static inline bool is_10g_port(const struct link_config *lc)
/drivers/net/ethernet/sun/
H A Dniu.c391 struct niu_link_config *lp = &np->link_config;
428 struct niu_link_config *lp = &np->link_config;
525 struct niu_link_config *lp = &np->link_config;
755 struct niu_link_config *lp = &np->link_config;
908 struct niu_link_config *lp = &np->link_config;
1029 struct niu_link_config *lp = &np->link_config;
1061 struct niu_link_config *lp = &np->link_config;
1094 struct niu_link_config *lp = &np->link_config;
1207 struct niu_link_config *lp = &np->link_config;
1260 struct niu_link_config *lp = &np->link_config;
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c9148 BNX2X_ERR("BAD switch_cfg link_config 0x%x\n",
9149 bp->port.link_config[0]);
9193 u32 link_config, idx, cfg_size = 0; local
9207 link_config = bp->port.link_config[idx];
9208 switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) {
9235 "Invalid link_config 0x%x"
9237 link_config,
9254 "Invalid link_config 0x%x"
9256 link_config,
[all...]
H A Dbnx2x_link.c11306 dev_info.port_feature_config[port].link_config)) &
11576 u32 link_config; local
11579 link_config = REG_RD(bp, params->shmem_base +
11587 link_config = REG_RD(bp, params->shmem_base +
11589 port_feature_config[params->port].link_config));
11597 phy_index, link_config, phy->speed_cap_mask);
11600 switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) {
11625 switch (link_config & PORT_FEATURE_FLOW_CONTROL_MASK) {
H A Dbnx2x.h905 u32 link_config[LINK_CONFIG_SIZE]; member in struct:bnx2x_port
H A Dbnx2x_hsi.h1037 u32 link_config; /* Used as HW defaults for the driver */ member in struct:port_feat_cfg
1068 uses the same defines as link_config */
1072 uses the same defines as link_config */
1076 uses the same defines as link_config */

Completed in 407 milliseconds

12