/kernel/linux/linux-5.10/drivers/net/phy/ |
H A 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 in phylink_parse_fixedlink() [all...] |
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | phylink.c | 64 struct phylink_link_state link_config; member 764 pl->link_config.speed = speed; in phylink_parse_fixedlink() 765 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink() 768 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink() 775 pl->link_config.lp_advertising); in phylink_parse_fixedlink() 778 pl->link_config.lp_advertising); in phylink_parse_fixedlink() 806 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink() 808 pl->link_config.speed = prop[2]; in phylink_parse_fixedlink() 811 pl->link_config.lp_advertising); in phylink_parse_fixedlink() 814 pl->link_config in phylink_parse_fixedlink() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A 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/ |
H A D | common.h | 205 struct link_config { struct 224 struct link_config link_config; member 340 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
|
H A 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() [all...] |
H A 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-6.6/drivers/net/ethernet/chelsio/cxgb/ |
H A D | common.h | 196 struct link_config { struct 215 struct link_config link_config; member 330 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
|
H A 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() 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() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_dp.c | 295 * @link_config: common link configuration between IP core and sink device 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 in zynqmp_dp_connector_mode_valid() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_dp.c | 293 * @link_config: common link configuration between IP core and sink device 316 struct zynqmp_dp_link_config link_config; member 556 int max_rate = dp->link_config.max_rate; in zynqmp_dp_mode_configure() 558 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_mode_configure() 1381 rate = zynqmp_dp_max_rate(dp->link_config.max_rate, in zynqmp_dp_bridge_mode_valid() 1382 dp->link_config.max_lanes, dp->config.bpp); in zynqmp_dp_bridge_mode_valid() 1427 rate = zynqmp_dp_max_rate(dp->link_config.max_rate, in zynqmp_dp_bridge_atomic_enable() 1428 dp->link_config.max_lanes, dp->config.bpp); in zynqmp_dp_bridge_atomic_enable() 1524 struct zynqmp_dp_link_config *link_config = &dp->link_config; in zynqmp_dp_bridge_detect() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/hw/ |
H A 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-6.6/drivers/video/fbdev/mmp/hw/ |
H A 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/net/ethernet/broadcom/ |
H A D | tg3.c | 1883 (tp->link_config.active_speed == SPEED_1000 ? in tg3_link_report() 1885 (tp->link_config.active_speed == SPEED_100 ? in tg3_link_report() 1887 (tp->link_config.active_duplex == DUPLEX_FULL ? in tg3_link_report() 1891 (tp->link_config.active_flowctrl & FLOW_CTRL_TX) ? in tg3_link_report() 1893 (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ? in tg3_link_report() 1976 autoneg = tp->link_config.autoneg; in tg3_setup_flow_control() 1984 flowctrl = tp->link_config.flowctrl; in tg3_setup_flow_control() 1986 tp->link_config.active_flowctrl = flowctrl; in tg3_setup_flow_control() 2017 oldflowctrl = tp->link_config.active_flowctrl; in tg3_adjust_link() 2035 tp->link_config in tg3_adjust_link() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 1877 (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 in tg3_adjust_link() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | core_types.h | 337 struct link_config { struct 379 * @link_config: 386 struct link_config link_config; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_irq_handler.c | 262 pipes[i]->link_config.dp_link_settings.lane_count = in dp_handle_link_loss() 264 pipes[i]->link_config.dp_link_settings.link_rate = in dp_handle_link_loss() 266 pipes[i]->link_config.dp_link_settings.link_spread = in dp_handle_link_loss()
|
/kernel/linux/linux-5.10/drivers/fsi/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/fsi/ |
H A D | fsi-core.c | 323 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | adapter.h | 74 struct link_config link_config; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | adapter.h | 74 struct link_config link_config; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
H A 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 in amd8111e_link_change() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/ |
H A D | amd8111e.c | 802 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 in amd8111e_link_change() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_link_training.c | 640 u8 link_config[2]; in intel_dp_update_downspread_ctrl() local 642 link_config[0] = crtc_state->vrr.flipline ? DP_MSA_TIMING_PAR_IGNORE_EN : 0; in intel_dp_update_downspread_ctrl() 643 link_config[1] = intel_dp_is_uhbr(crtc_state) ? in intel_dp_update_downspread_ctrl() 645 drm_dp_dpcd_write(&intel_dp->aux, DP_DOWNSPREAD_CTRL, link_config, 2); in intel_dp_update_downspread_ctrl() 660 u8 link_config[] = { link_bw, lane_count }; in intel_dp_update_link_bw_set() local 662 drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_BW_SET, link_config, in intel_dp_update_link_bw_set() 663 ARRAY_SIZE(link_config)); in intel_dp_update_link_bw_set()
|
/kernel/linux/linux-5.10/drivers/staging/qlge/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/staging/qlge/ |
H A D | qlge_ethtool.c | 498 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()
|