/kernel/linux/linux-5.10/drivers/net/phy/ |
D | phylink.c | 59 struct phylink_link_state link_config; member 177 pl->link_config.speed = speed; in phylink_parse_fixedlink() 178 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink() 181 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink() 187 pl->link_config.lp_advertising); in phylink_parse_fixedlink() 190 pl->link_config.lp_advertising); in phylink_parse_fixedlink() 218 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink() 220 pl->link_config.speed = prop[2]; in phylink_parse_fixedlink() 223 pl->link_config.lp_advertising); in phylink_parse_fixedlink() 226 pl->link_config.lp_advertising); in phylink_parse_fixedlink() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_dp_link_training.c | 157 u8 link_config[2]; in intel_dp_link_training_clock_recovery() local 196 link_config[0] = link_bw; in intel_dp_link_training_clock_recovery() 197 link_config[1] = intel_dp->lane_count; in intel_dp_link_training_clock_recovery() 199 link_config[1] |= DP_LANE_COUNT_ENHANCED_FRAME_EN; in intel_dp_link_training_clock_recovery() 200 drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_BW_SET, link_config, 2); in intel_dp_link_training_clock_recovery() 207 link_config[0] = 0; in intel_dp_link_training_clock_recovery() 208 link_config[1] = DP_SET_ANSI_8B10B; in intel_dp_link_training_clock_recovery() 209 drm_dp_dpcd_write(&intel_dp->aux, DP_DOWNSPREAD_CTRL, link_config, 2); in intel_dp_link_training_clock_recovery()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 205 struct link_config { struct 224 struct link_config link_config; argument 340 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
|
D | cxgb2.c | 132 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() 573 supported = p->link_config.supported; in get_link_ksettings() 574 advertising = p->link_config.advertising; in get_link_ksettings() 577 cmd->base.speed = p->link_config.speed; in get_link_ksettings() 578 cmd->base.duplex = p->link_config.duplex; in get_link_ksettings() 586 cmd->base.autoneg = p->link_config.autoneg; in get_link_ksettings() 636 struct link_config *lc = &p->link_config; in set_link_ksettings() 677 epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; in get_pauseparam() [all …]
|
D | subr.c | 154 struct link_config *lc = &adapter->port[port_id].link_config; in t1_link_changed() 623 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start() 1030 static void init_link_config(struct link_config *lc, in init_link_config() 1118 init_link_config(&adapter->port[i].link_config, bi); in t1_init_sw_modules()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
D | tg3.c | 1882 (tp->link_config.active_speed == SPEED_1000 ? in tg3_link_report() 1884 (tp->link_config.active_speed == SPEED_100 ? in tg3_link_report() 1886 (tp->link_config.active_duplex == DUPLEX_FULL ? in tg3_link_report() 1890 (tp->link_config.active_flowctrl & FLOW_CTRL_TX) ? in tg3_link_report() 1892 (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ? in tg3_link_report() 1975 autoneg = tp->link_config.autoneg; in tg3_setup_flow_control() 1983 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control() 1985 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control() 2016 oldflowctrl = tp->link_config.active_flowctrl; in tg3_adjust_link() 2034 tp->link_config.flowctrl); in tg3_adjust_link() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/ |
D | zynqmp_dp.c | 318 struct zynqmp_dp_link_config link_config; member 563 int max_rate = dp->link_config.max_rate; in zynqmp_dp_mode_configure() 565 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_mode_configure() 1289 struct zynqmp_dp_link_config *link_config = &dp->link_config; in zynqmp_dp_connector_detect() local 1312 link_config->max_rate = min_t(int, in zynqmp_dp_connector_detect() 1315 link_config->max_lanes = min_t(u8, in zynqmp_dp_connector_detect() 1357 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_connector_mode_valid() 1359 int max_rate = dp->link_config.max_rate; in zynqmp_dp_connector_mode_valid() 1456 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_encoder_atomic_mode_set() 1458 int rate, max_rate = dp->link_config.max_rate; in zynqmp_dp_encoder_atomic_mode_set()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.c | 256 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()
|
/kernel/linux/linux-5.10/drivers/fsi/ |
D | fsi-core.c | 337 if (master->link_config) in fsi_slave_handle_error() 338 master->link_config(master, link, in fsi_slave_handle_error() 838 if (!master->link_config) in slave_send_echo_store() 848 if (master->link_config) in slave_send_echo_store() 849 master->link_config(master, slave->link, in slave_send_echo_store() 1096 if (master->link_config) in fsi_slave_init() 1097 master->link_config(master, link, in fsi_slave_init() 1198 if (master->link_config) in fsi_master_break() 1199 master->link_config(master, link, 16, 16); in fsi_master_break()
|
D | fsi-master.h | 135 int (*link_config)(struct fsi_master *, int link, member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
D | amd8111e.c | 803 lp->link_config.autoneg = AUTONEG_ENABLE; in amd8111e_link_change() 805 lp->link_config.autoneg = AUTONEG_DISABLE; in amd8111e_link_change() 808 lp->link_config.duplex = DUPLEX_FULL; in amd8111e_link_change() 810 lp->link_config.duplex = DUPLEX_HALF; in amd8111e_link_change() 813 lp->link_config.speed = SPEED_10; in amd8111e_link_change() 815 lp->link_config.speed = SPEED_100; in amd8111e_link_change() 818 (lp->link_config.speed == SPEED_100) ? in amd8111e_link_change() 820 (lp->link_config.duplex == DUPLEX_FULL) ? in amd8111e_link_change() 826 lp->link_config.speed = SPEED_INVALID; in amd8111e_link_change() 827 lp->link_config.duplex = DUPLEX_INVALID; in amd8111e_link_change() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/qlge/ |
D | qlge_ethtool.c | 499 qdev->link_config |= CFG_LOOPBACK_PCS; in ql_start_loopback() 505 qdev->link_config &= ~CFG_LOOPBACK_PCS; in ql_stop_loopback() 685 if (qdev->link_config & CFG_PAUSE_STD) { in ql_get_pauseparam() 697 qdev->link_config |= CFG_PAUSE_STD; in ql_set_pauseparam() 699 qdev->link_config &= ~CFG_PAUSE_STD; in ql_set_pauseparam()
|
D | qlge_mpi.c | 727 mbcp->mbox_in[1] = qdev->link_config; in ql_mb_set_port_cfg() 829 qdev->link_config = mbcp->mbox_out[1]; in ql_mb_get_port_cfg() 1128 if (qdev->link_config & CFG_JUMBO_FRAME_SIZE && in ql_mpi_port_cfg_work() 1132 qdev->link_config |= CFG_JUMBO_FRAME_SIZE; in ql_mpi_port_cfg_work()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 74 struct link_config link_config; member
|
D | cxgb3_main.c | 163 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() 1774 if (p->link_config.autoneg != AUTONEG_ENABLE) in restart_autoneg() 1810 p->link_config.supported); in get_link_ksettings() 1812 p->link_config.advertising); in get_link_ksettings() 1815 cmd->base.speed = p->link_config.speed; in get_link_ksettings() 1816 cmd->base.duplex = p->link_config.duplex; in get_link_ksettings() 1827 cmd->base.autoneg = p->link_config.autoneg; in get_link_ksettings() [all …]
|
D | common.h | 426 struct link_config { struct 677 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_common.h | 128 struct link_config { struct 153 static inline bool is_x_10g_port(const struct link_config *lc) in is_x_10g_port() argument
|
D | adapter.h | 106 struct link_config link_cfg; /* physical port configuration */
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_drv.c | 1186 struct adv7511_link_config link_config; in adv7511_probe() local 1208 memset(&link_config, 0, sizeof(link_config)); in adv7511_probe() 1211 ret = adv7511_parse_dt(dev->of_node, &link_config); in adv7511_probe() 1302 adv7511_set_link_config(adv7511, &link_config); in adv7511_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
D | niu.c | 392 struct niu_link_config *lp = &np->link_config; in serdes_init_niu_10g_fiber() 429 struct niu_link_config *lp = &np->link_config; in serdes_init_niu_1g_serdes() 526 struct niu_link_config *lp = &np->link_config; in serdes_init_niu_10g_serdes() 756 struct niu_link_config *lp = &np->link_config; in serdes_init_10g() 909 struct niu_link_config *lp = &np->link_config; in serdes_init_1g_serdes() 1030 struct niu_link_config *lp = &np->link_config; in link_status_1g_serdes() 1062 struct niu_link_config *lp = &np->link_config; in link_status_10g_serdes() 1095 struct niu_link_config *lp = &np->link_config; in link_status_mii() 1208 struct niu_link_config *lp = &np->link_config; in link_status_1g_rgmii() 1243 struct niu_link_config *lp = &np->link_config; in link_status_1g() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
D | csio_hw.h | 294 struct link_config { struct 335 struct link_config link_cfg; argument
|
/kernel/linux/linux-5.10/arch/arm/mach-mmp/ |
D | ttc_dkb.c | 195 .link_config = CFG_DUMBMODE(0x2),
|
/kernel/linux/linux-5.10/include/video/ |
D | mmp_disp.h | 328 u32 link_config; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 580 struct link_config { struct 669 struct link_config link_cfg; 1800 struct link_config *lc); 1802 unsigned int port, struct link_config *lc, 1806 unsigned int port, struct link_config *lc) in t4_link_l1cfg() 1813 unsigned int port, struct link_config *lc) in t4_link_l1cfg_ns()
|
D | cxgb4_ethtool.c | 721 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()
|