Home
last modified time | relevance | path

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

123

/linux/drivers/net/phy/
H A Dphylink.c64 struct phylink_link_state link_config; member
788 pl->link_config.speed = speed; in phylink_parse_fixedlink()
789 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink()
792 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink()
799 pl->link_config.lp_advertising); in phylink_parse_fixedlink()
802 pl->link_config.lp_advertising); in phylink_parse_fixedlink()
830 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink()
832 pl->link_config.speed = prop[2]; in phylink_parse_fixedlink()
835 pl->link_config.lp_advertising); in phylink_parse_fixedlink()
838 pl->link_config.lp_advertising); in phylink_parse_fixedlink()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcommon.h196 struct link_config { struct
215 struct link_config link_config; argument
330 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
H A Dcxgb2.c132 switch (p->link_config.speed) { in link_report()
139 s, p->link_config.duplex == DUPLEX_FULL in link_report()
183 t1_link_start(p->phy, mac, &p->link_config); in link_start()
574 supported = p->link_config.supported; in get_link_ksettings()
575 advertising = p->link_config.advertising; in get_link_ksettings()
578 cmd->base.speed = p->link_config.speed; in get_link_ksettings()
579 cmd->base.duplex = p->link_config.duplex; in get_link_ksettings()
587 cmd->base.autoneg = p->link_config.autoneg; in get_link_ksettings()
637 struct link_config *lc = &p->link_config; in set_link_ksettings()
678 epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; in get_pauseparam()
[all …]
H A Dsubr.c145 struct link_config *lc = &adapter->port[port_id].link_config; in t1_link_changed()
626 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start()
1047 static void init_link_config(struct link_config *lc, in init_link_config()
1135 init_link_config(&adapter->port[i].link_config, bi); in t1_init_sw_modules()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c1877 (tp->link_config.active_speed == SPEED_1000 ? in tg3_link_report()
1879 (tp->link_config.active_speed == SPEED_100 ? in tg3_link_report()
1881 (tp->link_config.active_duplex == DUPLEX_FULL ? in tg3_link_report()
1885 (tp->link_config.active_flowctrl & FLOW_CTRL_TX) ? in tg3_link_report()
1887 (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ? in tg3_link_report()
1970 autoneg = tp->link_config.autoneg; in tg3_setup_flow_control()
1978 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1980 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
2011 oldflowctrl = tp->link_config.active_flowctrl; in tg3_adjust_link()
2029 tp->link_config.flowctrl); in tg3_adjust_link()
[all …]
/linux/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.c256 link_config = path_to_path_plat(path)->link_config, in path_set_mode() local
257 dsi_rbswap = path_to_path_plat(path)->link_config; in path_set_mode()
268 tmp |= link_config & CFG_DUMBMODE_MASK; in path_set_mode()
425 path_plat->link_config = config->link_config; in path_init()
/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_dp.c315 struct zynqmp_dp_link_config link_config; member
557 int max_rate = dp->link_config.max_rate; in zynqmp_dp_mode_configure()
559 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_mode_configure()
1389 rate = zynqmp_dp_max_rate(dp->link_config.max_rate, in zynqmp_dp_bridge_mode_valid()
1390 dp->link_config.max_lanes, dp->config.bpp); in zynqmp_dp_bridge_mode_valid()
1435 rate = zynqmp_dp_max_rate(dp->link_config.max_rate, in zynqmp_dp_bridge_atomic_enable()
1436 dp->link_config.max_lanes, dp->config.bpp); in zynqmp_dp_bridge_atomic_enable()
1532 struct zynqmp_dp_link_config *link_config = &dp->link_config; in zynqmp_dp_bridge_detect() local
1555 link_config->max_rate = min_t(int, in zynqmp_dp_bridge_detect()
1558 link_config->max_lanes = min_t(u8, in zynqmp_dp_bridge_detect()
/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 …]
H A Damd8111e.h766 struct amd8111e_link_config link_config; member
/linux/drivers/fsi/
H A Dfsi-core.c323 if (master->link_config) in fsi_slave_handle_error()
324 master->link_config(master, link, in fsi_slave_handle_error()
804 if (!master->link_config) in slave_send_echo_store()
814 if (master->link_config) in slave_send_echo_store()
815 master->link_config(master, slave->link, in slave_send_echo_store()
1095 if (master->link_config) in fsi_slave_init()
1096 master->link_config(master, link, in fsi_slave_init()
1197 if (master->link_config) in fsi_master_break()
1198 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
/linux/drivers/gpu/drm/bridge/adv7511/
H A Dadv7511_drv.c1211 struct adv7511_link_config link_config; in adv7511_probe() local
1229 memset(&link_config, 0, sizeof(link_config)); in adv7511_probe()
1236 if (adv7511->info->link_config) in adv7511_probe()
1237 ret = adv7511_parse_dt(dev->of_node, &link_config); in adv7511_probe()
1314 if (adv7511->info->link_config) in adv7511_probe()
1315 adv7511_set_link_config(adv7511, &link_config); in adv7511_probe()
1392 .link_config = true,
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_irq_handler.c283 pipes[i]->link_config.dp_link_settings.lane_count = in dp_handle_link_loss()
285 pipes[i]->link_config.dp_link_settings.link_rate = in dp_handle_link_loss()
287 pipes[i]->link_config.dp_link_settings.link_spread = in dp_handle_link_loss()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h379 struct link_config { struct
444 struct link_config link_config; member
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dadapter.h74 struct link_config link_config; member
H A Dcxgb3_main.c163 switch (p->link_config.speed) { in link_report()
176 s, p->link_config.duplex == DUPLEX_FULL in link_report()
295 t3_link_start(&pi->phy, mac, &pi->link_config); in t3_os_link_changed()
354 t3_link_start(&pi->phy, mac, &pi->link_config); in link_start()
1772 if (p->link_config.autoneg != AUTONEG_ENABLE) in restart_autoneg()
1808 p->link_config.supported); in get_link_ksettings()
1810 p->link_config.advertising); in get_link_ksettings()
1813 cmd->base.speed = p->link_config.speed; in get_link_ksettings()
1814 cmd->base.duplex = p->link_config.duplex; in get_link_ksettings()
1825 cmd->base.autoneg = p->link_config.autoneg; in get_link_ksettings()
[all …]
H A Dcommon.h426 struct link_config { struct
677 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
/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 */
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_link_training.c714 u8 link_config[2]; in intel_dp_link_training_set_mode() local
716 link_config[0] = is_vrr ? DP_MSA_TIMING_PAR_IGNORE_EN : 0; in intel_dp_link_training_set_mode()
717 link_config[1] = drm_dp_is_uhbr_rate(link_rate) ? in intel_dp_link_training_set_mode()
719 drm_dp_dpcd_write(&intel_dp->aux, DP_DOWNSPREAD_CTRL, link_config, 2); in intel_dp_link_training_set_mode()
738 u8 link_config[] = { link_bw, lane_count }; in intel_dp_link_training_set_bw() local
740 drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_BW_SET, link_config, in intel_dp_link_training_set_bw()
741 ARRAY_SIZE(link_config)); in intel_dp_link_training_set_bw()
/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 …]
/linux/drivers/scsi/csiostor/
H A Dcsio_hw.h294 struct link_config { struct
335 struct link_config link_cfg; argument
/linux/include/video/
H A Dmmp_disp.h328 u32 link_config; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h578 struct link_config { struct
667 struct link_config link_cfg;
1796 struct link_config *lc);
1798 unsigned int port, struct link_config *lc,
1802 unsigned int port, struct link_config *lc) in t4_link_l1cfg()
1809 unsigned int port, struct link_config *lc) in t4_link_l1cfg_ns()
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()

123