/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 203 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);
|
D | cxgb2.c | 138 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 …]
|
D | subr.c | 155 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/ |
D | tg3.c | 1683 (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 …]
|
D | tg3.h | 3049 struct tg3_link_config link_config; member
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_common.h | 79 struct link_config { struct 199 static inline bool is_10g_port(const struct link_config *lc) in is_10g_port()
|
D | adapter.h | 102 struct link_config link_cfg; /* physical port configuration */
|
D | t4vf_hw.c | 256 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/ |
D | qlge_ethtool.c | 452 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()
|
D | qlge_mpi.c | 730 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()
|
D | qlge.h | 2124 u32 link_config; member
|
/linux-3.4.99/drivers/net/ethernet/amd/ |
D | amd8111e.c | 849 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 …]
|
D | amd8111e.h | 779 struct amd8111e_link_config link_config; member
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 74 struct link_config link_config; member
|
D | cxgb3_main.c | 161 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 …]
|
D | common.h | 428 struct link_config { struct 679 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
|
D | t3_hw.c | 1212 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/ |
D | cxgb4.h | 253 struct link_config { struct 295 struct link_config link_cfg; 647 struct link_config *lc);
|
D | t4_hw.c | 821 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()
|
D | cxgb4_main.c | 1465 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/ |
D | niu.c | 391 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 …]
|
D | niu.h | 3286 struct niu_link_config link_config; member
|
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 9474 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 …]
|
D | bnx2x_link.c | 11529 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()
|
D | bnx2x.h | 905 u32 link_config[LINK_CONFIG_SIZE]; member
|