Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c1878 (tp->link_config.active_speed == SPEED_1000 ? in tg3_link_report()
1880 (tp->link_config.active_speed == SPEED_100 ? in tg3_link_report()
1882 (tp->link_config.active_duplex == DUPLEX_FULL ? in tg3_link_report()
1886 (tp->link_config.active_flowctrl & FLOW_CTRL_TX) ? in tg3_link_report()
1888 (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ? in tg3_link_report()
1971 autoneg = tp->link_config.autoneg; in tg3_setup_flow_control()
1979 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1981 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
2012 oldflowctrl = tp->link_config.active_flowctrl; in tg3_adjust_link()
2030 tp->link_config.flowctrl); in tg3_adjust_link()
[all …]
H A Dtg3.h3248 struct tg3_link_config link_config; member
/linux/drivers/fsi/
H A Dfsi-core.c378 if (master->link_config) in fsi_slave_handle_error()
379 master->link_config(master, link, in fsi_slave_handle_error()
859 if (!master->link_config) in slave_send_echo_store()
869 if (master->link_config) in slave_send_echo_store()
870 master->link_config(master, slave->link, in slave_send_echo_store()
1150 if (master->link_config) in fsi_slave_init()
1151 master->link_config(master, link, in fsi_slave_init()
1252 if (master->link_config) in fsi_master_break()
1253 master->link_config(master, link, 16, 16); in fsi_master_break()
H A Dfsi-master.h135 int (*link_config)(struct fsi_master *, int link, member
H A Dfsi-master-gpio.c846 master->master.link_config = fsi_master_gpio_link_config; in fsi_master_gpio_probe()
H A Dfsi-master-ast-cf.c1372 master->master.link_config = fsi_master_acf_link_config; in fsi_master_acf_probe()
/linux/drivers/net/ethernet/amd/
H A Damd8111e.c802 lp->link_config.autoneg = AUTONEG_ENABLE; in amd8111e_link_change()
804 lp->link_config.autoneg = AUTONEG_DISABLE; in amd8111e_link_change()
807 lp->link_config.duplex = DUPLEX_FULL; in amd8111e_link_change()
809 lp->link_config.duplex = DUPLEX_HALF; in amd8111e_link_change()
812 lp->link_config.speed = SPEED_10; in amd8111e_link_change()
814 lp->link_config.speed = SPEED_100; in amd8111e_link_change()
817 (lp->link_config.speed == SPEED_100) ? in amd8111e_link_change()
819 (lp->link_config.duplex == DUPLEX_FULL) ? in amd8111e_link_change()
824 lp->link_config.speed = SPEED_INVALID; in amd8111e_link_change()
825 lp->link_config.duplex = DUPLEX_INVALID; in amd8111e_link_change()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dadapter.h74 struct link_config link_config; member
H A Dt3_hw.c1181 struct link_config *lc = &pi->link_config; in t3_link_changed()
1237 struct link_config *lc = &pi->link_config; in t3_link_fault()
1298 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t3_link_start()
3428 static void init_link_config(struct link_config *lc, unsigned int caps) in init_link_config()
3699 init_link_config(&p->link_config, p->phy.caps); in t3_prep_adapter()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h128 struct link_config { struct
153 static inline bool is_x_10g_port(const struct link_config *lc) in is_x_10g_port() argument
H A Dadapter.h107 struct link_config link_cfg; /* physical port configuration */
H A Dt4vf_hw.c456 static void init_link_config(struct link_config *lc, in init_link_config()
1917 struct link_config *lc = &pi->link_cfg; in t4vf_handle_get_port_info()
/linux/drivers/net/ethernet/sun/
H A Dniu.c411 struct niu_link_config *lp = &np->link_config; in serdes_init_niu_10g_fiber()
448 struct niu_link_config *lp = &np->link_config; in serdes_init_niu_1g_serdes()
545 struct niu_link_config *lp = &np->link_config; in serdes_init_niu_10g_serdes()
775 struct niu_link_config *lp = &np->link_config; in serdes_init_10g()
928 struct niu_link_config *lp = &np->link_config; in serdes_init_1g_serdes()
1049 struct niu_link_config *lp = &np->link_config; in link_status_1g_serdes()
1081 struct niu_link_config *lp = &np->link_config; in link_status_10g_serdes()
1114 struct niu_link_config *lp = &np->link_config; in link_status_mii()
1227 struct niu_link_config *lp = &np->link_config; in link_status_1g_rgmii()
1262 struct niu_link_config *lp = &np->link_config; in link_status_1g()
[all …]
H A Dniu.h3291 struct niu_link_config link_config; member
/linux/drivers/scsi/csiostor/
H A Dcsio_hw.h294 struct link_config { struct
335 struct link_config link_cfg; argument
H A Dcsio_hw.c1688 static void csio_init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, in csio_init_link_config()
1723 static void csio_link_l1cfg(struct link_config *lc, uint16_t fw_caps, in csio_link_l1cfg()
/linux/include/video/
H A Dmmp_disp.h328 u32 link_config; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c721 struct link_config *lc = &pi->link_cfg; in set_link_ksettings()
723 struct link_config old_lc; in set_link_ksettings()
819 const struct link_config *lc = &pi->link_cfg; in get_fecparam()
840 struct link_config *lc = &pi->link_cfg; in set_fecparam()
841 struct link_config old_lc; in set_fecparam()
874 struct link_config *lc = &p->link_cfg; in set_pauseparam()
H A Dt4_hw.c4109 struct link_config *lc) in t4_link_acaps()
4186 unsigned int port, struct link_config *lc, in t4_link_l1cfg_core()
8566 struct link_config *lc = &pi->link_cfg; in t4_handle_get_port_info()
8716 struct link_config old_lc; in t4_handle_get_port_info()
8891 static void init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, in init_link_config()
H A Dcxgb4_main.c5627 static inline bool is_x_10g_port(const struct link_config *lc) in is_x_10g_port()
/linux/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.h1387 u32 link_config; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c12212 dev_info.port_feature_config[port].link_config)) & in bnx2x_populate_int_phy()
12486 u32 link_config; in bnx2x_phy_def_cfg() local
12489 link_config = REG_RD(bp, params->shmem_base + in bnx2x_phy_def_cfg()
12497 link_config = REG_RD(bp, params->shmem_base + in bnx2x_phy_def_cfg()
12499 port_feature_config[params->port].link_config)); in bnx2x_phy_def_cfg()
12507 phy_index, link_config, phy->speed_cap_mask); in bnx2x_phy_def_cfg()
12510 switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) { in bnx2x_phy_def_cfg()
12537 switch (link_config & PORT_FEATURE_FLOW_CONTROL_MASK) { in bnx2x_phy_def_cfg()
H A Dbnx2x.h1009 u32 link_config[LINK_CONFIG_SIZE]; member
H A Dbnx2x_hsi.h1069 u32 link_config; /* Used as HW defaults for the driver */ member
/linux/drivers/scsi/qla2xxx/
H A Dqla_mr.c1760 vha->hw->link_data_rate = (uint16_t)pinfo->link_config; in qlafx00_update_host_attr()