/drivers/net/phy/ |
D | phylink.c | 60 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 …]
|
/drivers/net/ethernet/chelsio/cxgb/ |
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() 678 epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; in get_pauseparam() [all …]
|
D | common.h | 196 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);
|
D | subr.c | 145 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()
|
/drivers/net/ethernet/broadcom/ |
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.flowctrl); in tg3_adjust_link() [all …]
|
/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()
|
/drivers/gpu/drm/xlnx/ |
D | zynqmp_dp.c | 319 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()
|
/drivers/net/ethernet/amd/ |
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.duplex = DUPLEX_INVALID; in amd8111e_link_change() [all …]
|
D | amd8111e.h | 766 struct amd8111e_link_config link_config; member
|
/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() 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()
|
D | fsi-master.h | 135 int (*link_config)(struct fsi_master *, int link, member
|
/drivers/gpu/drm/i915/display/ |
D | intel_dp_link_training.c | 650 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()
|
/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 384 struct link_config { struct 429 struct link_config link_config; member
|
/drivers/staging/qlge/ |
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()
|
D | qlge_mpi.c | 727 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()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
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() 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 …]
|
D | adapter.h | 74 struct link_config link_config; member
|
D | common.h | 426 struct link_config { struct 677 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
|
/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 | 107 struct link_config link_cfg; /* physical port configuration */
|
/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_drv.c | 1195 struct adv7511_link_config link_config; in adv7511_probe() local 1217 memset(&link_config, 0, sizeof(link_config)); in adv7511_probe() 1220 ret = adv7511_parse_dt(dev->of_node, &link_config); in adv7511_probe() 1311 adv7511_set_link_config(adv7511, &link_config); in adv7511_probe()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 411 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 …]
|
/drivers/scsi/csiostor/ |
D | csio_hw.h | 294 struct link_config { struct 335 struct link_config link_cfg; argument
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 578 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()
|
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()
|