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/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);
1768 if (p->link_config.autoneg != AUTONEG_ENABLE)
1801 cmd->supported = p->link_config.supported;
1802 cmd->advertising = p->link_config.advertising;
1805 ethtool_cmd_speed_set(cmd, p->link_config.speed);
1806 cmd->duplex = p->link_config.duplex;
1815 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/broadcom/
H A Dtg3.c1667 (tp->link_config.active_speed == SPEED_1000 ?
1669 (tp->link_config.active_speed == SPEED_100 ?
1671 (tp->link_config.active_duplex == DUPLEX_FULL ?
1675 (tp->link_config.active_flowctrl & FLOW_CTRL_TX) ?
1677 (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ?
1730 autoneg = tp->link_config.autoneg;
1738 flowctrl = tp->link_config.flowctrl;
1740 tp->link_config.active_flowctrl = flowctrl;
1771 oldflowctrl = tp->link_config.active_flowctrl;
1789 tp->link_config
[all...]
H A Dtg3.h3039 struct tg3_link_config link_config; member in struct:tg3
/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.c849 lp->link_config.autoneg = AUTONEG_ENABLE;
851 lp->link_config.autoneg = AUTONEG_DISABLE;
854 lp->link_config.duplex = DUPLEX_FULL;
856 lp->link_config.duplex = DUPLEX_HALF;
859 lp->link_config.speed = SPEED_10;
861 lp->link_config.speed = SPEED_100;
864 (lp->link_config.speed == SPEED_100) ? "100": "10",
865 (lp->link_config.duplex == DUPLEX_FULL)? "Full": "Half");
869 lp->link_config.speed = SPEED_INVALID;
870 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.c1465 struct link_config *lc = &p->link_cfg;
1519 struct link_config *lc = &p->link_cfg;
3256 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.c9470 BNX2X_ERR("BAD switch_cfg link_config 0x%x\n",
9471 bp->port.link_config[0]);
9515 u32 link_config, idx, cfg_size = 0; local
9529 link_config = bp->port.link_config[idx];
9530 switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) {
9561 BNX2X_ERR("NVRAM config error. Invalid link_config 0x%x speed_cap_mask 0x%x\n",
9562 link_config,
9578 BNX2X_ERR("NVRAM config error. Invalid link_config 0x%x speed_cap_mask 0x%x\n",
9579 link_config,
[all...]
H A Dbnx2x_link.c11529 dev_info.port_feature_config[port].link_config)) &
11799 u32 link_config; local
11802 link_config = REG_RD(bp, params->shmem_base +
11810 link_config = REG_RD(bp, params->shmem_base +
11812 port_feature_config[params->port].link_config));
11820 phy_index, link_config, phy->speed_cap_mask);
11823 switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) {
11848 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.h1027 u32 link_config; /* Used as HW defaults for the driver */ member in struct:port_feat_cfg
1058 uses the same defines as link_config */
1062 uses the same defines as link_config */
1066 uses the same defines as link_config */

Completed in 1051 milliseconds

12