Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/net/phy/
Dphylink.c60 struct phylink_link_state link_config; member
700 pl->link_config.speed = speed; in phylink_parse_fixedlink()
701 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink()
704 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink()
711 pl->link_config.lp_advertising); in phylink_parse_fixedlink()
714 pl->link_config.lp_advertising); in phylink_parse_fixedlink()
742 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink()
744 pl->link_config.speed = prop[2]; in phylink_parse_fixedlink()
747 pl->link_config.lp_advertising); in phylink_parse_fixedlink()
750 pl->link_config.lp_advertising); in phylink_parse_fixedlink()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
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);
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 …]
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-6.1.9/drivers/net/ethernet/broadcom/
Dtg3.c1876 (tp->link_config.active_speed == SPEED_1000 ? in tg3_link_report()
1878 (tp->link_config.active_speed == SPEED_100 ? in tg3_link_report()
1880 (tp->link_config.active_duplex == DUPLEX_FULL ? in tg3_link_report()
1884 (tp->link_config.active_flowctrl & FLOW_CTRL_TX) ? in tg3_link_report()
1886 (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ? in tg3_link_report()
1969 autoneg = tp->link_config.autoneg; in tg3_setup_flow_control()
1977 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control()
1979 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control()
2010 oldflowctrl = tp->link_config.active_flowctrl; in tg3_adjust_link()
2028 tp->link_config.flowctrl); in tg3_adjust_link()
[all …]
/linux-6.1.9/drivers/video/fbdev/mmp/hw/
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-6.1.9/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c319 struct zynqmp_dp_link_config link_config; member
564 int max_rate = dp->link_config.max_rate; in zynqmp_dp_mode_configure()
566 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_mode_configure()
1291 struct zynqmp_dp_link_config *link_config = &dp->link_config; in zynqmp_dp_connector_detect() local
1314 link_config->max_rate = min_t(int, in zynqmp_dp_connector_detect()
1317 link_config->max_lanes = min_t(u8, in zynqmp_dp_connector_detect()
1359 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_connector_mode_valid()
1361 int max_rate = dp->link_config.max_rate; in zynqmp_dp_connector_mode_valid()
1458 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_encoder_atomic_mode_set()
1460 int rate, max_rate = dp->link_config.max_rate; in zynqmp_dp_encoder_atomic_mode_set()
/linux-6.1.9/drivers/fsi/
Dfsi-core.c337 if (master->link_config) in fsi_slave_handle_error()
338 master->link_config(master, link, in fsi_slave_handle_error()
840 if (!master->link_config) in slave_send_echo_store()
850 if (master->link_config) in slave_send_echo_store()
851 master->link_config(master, slave->link, in slave_send_echo_store()
1101 if (master->link_config) in fsi_slave_init()
1102 master->link_config(master, link, in fsi_slave_init()
1203 if (master->link_config) in fsi_master_break()
1204 master->link_config(master, link, 16, 16); in fsi_master_break()
Dfsi-master.h135 int (*link_config)(struct fsi_master *, int link, member
/linux-6.1.9/drivers/net/ethernet/amd/
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-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h376 struct link_config { struct
421 struct link_config link_config; member
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dp_link_training.c650 u8 link_config[2]; in intel_dp_prepare_link_train() local
691 link_config[0] = link_bw; in intel_dp_prepare_link_train()
692 link_config[1] = crtc_state->lane_count; in intel_dp_prepare_link_train()
694 link_config[1] |= DP_LANE_COUNT_ENHANCED_FRAME_EN; in intel_dp_prepare_link_train()
695 drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_BW_SET, link_config, 2); in intel_dp_prepare_link_train()
702 link_config[0] = crtc_state->vrr.enable ? DP_MSA_TIMING_PAR_IGNORE_EN : 0; in intel_dp_prepare_link_train()
703 link_config[1] = intel_dp_is_uhbr(crtc_state) ? in intel_dp_prepare_link_train()
705 drm_dp_dpcd_write(&intel_dp->aux, DP_DOWNSPREAD_CTRL, link_config, 2); in intel_dp_prepare_link_train()
/linux-6.1.9/drivers/staging/qlge/
Dqlge_ethtool.c498 qdev->link_config |= CFG_LOOPBACK_PCS; in qlge_start_loopback()
504 qdev->link_config &= ~CFG_LOOPBACK_PCS; in qlge_stop_loopback()
689 if (qdev->link_config & CFG_PAUSE_STD) { in qlge_get_pauseparam()
701 qdev->link_config |= CFG_PAUSE_STD; in qlge_set_pauseparam()
703 qdev->link_config &= ~CFG_PAUSE_STD; in qlge_set_pauseparam()
Dqlge_mpi.c727 mbcp->mbox_in[1] = qdev->link_config; in qlge_mb_set_port_cfg()
829 qdev->link_config = mbcp->mbox_out[1]; in qlge_mb_get_port_cfg()
1128 if (qdev->link_config & CFG_JUMBO_FRAME_SIZE && in qlge_mpi_port_cfg_work()
1132 qdev->link_config |= CFG_JUMBO_FRAME_SIZE; in qlge_mpi_port_cfg_work()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h74 struct link_config link_config; member
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()
1773 if (p->link_config.autoneg != AUTONEG_ENABLE) in restart_autoneg()
1809 p->link_config.supported); in get_link_ksettings()
1811 p->link_config.advertising); in get_link_ksettings()
1814 cmd->base.speed = p->link_config.speed; in get_link_ksettings()
1815 cmd->base.duplex = p->link_config.duplex; in get_link_ksettings()
1826 cmd->base.autoneg = p->link_config.autoneg; in get_link_ksettings()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
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
Dadapter.h107 struct link_config link_cfg; /* physical port configuration */
/linux-6.1.9/drivers/gpu/drm/bridge/adv7511/
Dadv7511_drv.c1190 struct adv7511_link_config link_config; in adv7511_probe() local
1212 memset(&link_config, 0, sizeof(link_config)); in adv7511_probe()
1215 ret = adv7511_parse_dt(dev->of_node, &link_config); in adv7511_probe()
1306 adv7511_set_link_config(adv7511, &link_config); in adv7511_probe()
/linux-6.1.9/drivers/net/ethernet/sun/
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-6.1.9/drivers/scsi/csiostor/
Dcsio_hw.h294 struct link_config { struct
335 struct link_config link_cfg; argument
/linux-6.1.9/arch/arm/mach-mmp/
Dttc_dkb.c195 .link_config = CFG_DUMBMODE(0x2),
/linux-6.1.9/include/video/
Dmmp_disp.h328 u32 link_config; member
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h578 struct link_config { struct
667 struct link_config link_cfg;
1798 struct link_config *lc);
1800 unsigned int port, struct link_config *lc,
1804 unsigned int port, struct link_config *lc) in t4_link_l1cfg()
1811 unsigned int port, struct link_config *lc) in t4_link_l1cfg_ns()
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