/linux/drivers/net/phy/ |
A D | phylink.c | 226 pl->link_config.speed = speed; in phylink_parse_fixedlink() 283 pl->link_config.speed); in phylink_parse_fixedlink() 289 s = phy_lookup_setting(pl->link_config.speed, pl->link_config.duplex, in phylink_parse_fixedlink() 302 pl->link_config.speed); in phylink_parse_fixedlink() 305 linkmode_and(pl->link_config.advertising, pl->link_config.advertising, in phylink_parse_fixedlink() 308 pl->link_config.link = 1; in phylink_parse_fixedlink() 309 pl->link_config.an_complete = 1; in phylink_parse_fixedlink() 564 pl->link_config.pause); in phylink_change_inband_advert() 616 *state = pl->link_config; in phylink_get_fixed_state() 639 link_state = pl->link_config; in phylink_mac_initial_config() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | common.h | 205 struct link_config { struct 224 struct link_config link_config; argument 339 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
|
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() 679 epause->rx_pause = (p->link_config.fc & PAUSE_RX) != 0; in get_pauseparam() [all …]
|
A D | subr.c | 154 struct link_config *lc = &adapter->port[port_id].link_config; in t1_link_changed() 635 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start() 1056 static void init_link_config(struct link_config *lc, in init_link_config() 1144 init_link_config(&adapter->port[i].link_config, bi); in t1_init_sw_modules()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 2028 tp->link_config.flowctrl); in tg3_adjust_link() 4452 tp->link_config.active_speed = tp->link_config.speed; in tg3_phy_copper_begin() 4453 tp->link_config.active_duplex = tp->link_config.duplex; in tg3_phy_copper_begin() 4870 tp->link_config.rmt_adv = 0; in tg3_setup_copper_phy() 5591 tp->link_config.rmt_adv = in tg3_setup_fiber_hw_autoneg() 5665 tp->link_config.rmt_adv = in tg3_setup_fiber_by_hand() 5749 tp->link_config.rmt_adv = 0; in tg3_setup_fiber_phy() 5865 tp->link_config.rmt_adv = 0; in tg3_setup_fiber_mii_phy() 5972 tp->link_config.rmt_adv = in tg3_setup_fiber_mii_phy() 12187 tp->link_config.rmt_adv); in tg3_get_link_ksettings() [all …]
|
/linux/drivers/video/fbdev/mmp/hw/ |
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()
|
/linux/drivers/gpu/drm/xlnx/ |
A 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() 1290 struct zynqmp_dp_link_config *link_config = &dp->link_config; in zynqmp_dp_connector_detect() local 1313 link_config->max_rate = min_t(int, in zynqmp_dp_connector_detect() 1316 link_config->max_lanes = min_t(u8, in zynqmp_dp_connector_detect() 1358 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_connector_mode_valid() 1360 int max_rate = dp->link_config.max_rate; in zynqmp_dp_connector_mode_valid() 1457 u8 max_lanes = dp->link_config.max_lanes; in zynqmp_dp_encoder_atomic_mode_set() 1459 int rate, max_rate = dp->link_config.max_rate; in zynqmp_dp_encoder_atomic_mode_set()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_dp_link_training.c | 648 u8 link_config[2]; in intel_dp_prepare_link_train() local 667 link_config[0] = link_bw; in intel_dp_prepare_link_train() 668 link_config[1] = crtc_state->lane_count; in intel_dp_prepare_link_train() 670 link_config[1] |= DP_LANE_COUNT_ENHANCED_FRAME_EN; in intel_dp_prepare_link_train() 671 drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_BW_SET, link_config, 2); in intel_dp_prepare_link_train() 678 link_config[0] = crtc_state->vrr.enable ? DP_MSA_TIMING_PAR_IGNORE_EN : 0; in intel_dp_prepare_link_train() 679 link_config[1] = intel_dp_is_uhbr(crtc_state) ? in intel_dp_prepare_link_train() 681 drm_dp_dpcd_write(&intel_dp->aux, DP_DOWNSPREAD_CTRL, link_config, 2); in intel_dp_prepare_link_train()
|
/linux/drivers/net/ethernet/amd/ |
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() 825 lp->link_config.speed = SPEED_INVALID; in amd8111e_link_change() 826 lp->link_config.duplex = DUPLEX_INVALID; in amd8111e_link_change() 827 lp->link_config.autoneg = AUTONEG_INVALID; in amd8111e_link_change() [all …]
|
/linux/drivers/fsi/ |
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()
|
A D | fsi-master.h | 135 int (*link_config)(struct fsi_master *, int link, member
|
/linux/drivers/staging/qlge/ |
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()
|
A 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()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A D | cxgb3_main.c | 163 switch (p->link_config.speed) { in link_report() 176 s, p->link_config.duplex == DUPLEX_FULL in link_report() 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() 1869 struct link_config *lc = &p->link_config; in set_link_ksettings() [all …]
|
A D | adapter.h | 74 struct link_config link_config; member
|
A D | common.h | 426 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/ |
A 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
|
A D | adapter.h | 107 struct link_config link_cfg; /* physical port configuration */
|
/linux/drivers/gpu/drm/bridge/adv7511/ |
A D | adv7511_drv.c | 1157 struct adv7511_link_config link_config; in adv7511_probe() local 1179 memset(&link_config, 0, sizeof(link_config)); in adv7511_probe() 1182 ret = adv7511_parse_dt(dev->of_node, &link_config); in adv7511_probe() 1276 adv7511_set_link_config(adv7511, &link_config); in adv7511_probe()
|
/linux/drivers/net/ethernet/sun/ |
A 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() 1962 np->link_config.active_speed = SPEED_10000; in link_status_10g_mrvl() 1963 np->link_config.active_duplex = DUPLEX_FULL; in link_status_10g_mrvl() 2016 np->link_config.active_speed = SPEED_10000; in link_status_10g_bcm8706() 2017 np->link_config.active_duplex = DUPLEX_FULL; in link_status_10g_bcm8706() 2065 np->link_config.active_speed = SPEED_10000; in link_status_10g_bcom() 2066 np->link_config.active_duplex = DUPLEX_FULL; in link_status_10g_bcom() 6798 lp = &np->link_config; in niu_get_link_ksettings() [all …]
|
/linux/drivers/scsi/csiostor/ |
A D | csio_hw.h | 294 struct link_config { struct 335 struct link_config link_cfg; argument
|
/linux/arch/arm/mach-mmp/ |
A D | ttc_dkb.c | 195 .link_config = CFG_DUMBMODE(0x2),
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A 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()
|
A 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()
|
/linux/include/video/ |
A D | mmp_disp.h | 328 u32 link_config; member
|