link_config 195 arch/arm/mach-mmp/ttc_dkb.c .link_config = CFG_DUMBMODE(0x2), link_config 331 drivers/fsi/fsi-core.c if (master->link_config) link_config 332 drivers/fsi/fsi-core.c master->link_config(master, link, link_config 832 drivers/fsi/fsi-core.c if (!master->link_config) link_config 842 drivers/fsi/fsi-core.c if (master->link_config) link_config 843 drivers/fsi/fsi-core.c master->link_config(master, slave->link, link_config 1082 drivers/fsi/fsi-core.c if (master->link_config) link_config 1083 drivers/fsi/fsi-core.c master->link_config(master, link, link_config 1176 drivers/fsi/fsi-core.c if (master->link_config) link_config 1177 drivers/fsi/fsi-core.c master->link_config(master, link, 16, 16); link_config 1377 drivers/fsi/fsi-master-ast-cf.c master->master.link_config = fsi_master_acf_link_config; link_config 845 drivers/fsi/fsi-master-gpio.c master->master.link_config = fsi_master_gpio_link_config; link_config 63 drivers/fsi/fsi-master.h int (*link_config)(struct fsi_master *, int link, link_config 1094 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c struct adv7511_link_config link_config; link_config 1116 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c memset(&link_config, 0, sizeof(link_config)); link_config 1119 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c ret = adv7511_parse_dt(dev->of_node, &link_config); link_config 1213 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c adv7511_set_link_config(adv7511, &link_config); link_config 136 drivers/gpu/drm/i915/display/intel_dp_link_training.c u8 link_config[2]; link_config 151 drivers/gpu/drm/i915/display/intel_dp_link_training.c link_config[0] = link_bw; link_config 152 drivers/gpu/drm/i915/display/intel_dp_link_training.c link_config[1] = intel_dp->lane_count; link_config 154 drivers/gpu/drm/i915/display/intel_dp_link_training.c link_config[1] |= DP_LANE_COUNT_ENHANCED_FRAME_EN; link_config 155 drivers/gpu/drm/i915/display/intel_dp_link_training.c drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_BW_SET, link_config, 2); link_config 162 drivers/gpu/drm/i915/display/intel_dp_link_training.c link_config[0] = 0; link_config 163 drivers/gpu/drm/i915/display/intel_dp_link_training.c link_config[1] = DP_SET_ANSI_8B10B; link_config 164 drivers/gpu/drm/i915/display/intel_dp_link_training.c drm_dp_dpcd_write(&intel_dp->aux, DP_DOWNSPREAD_CTRL, link_config, 2); link_config 798 drivers/net/ethernet/amd/amd8111e.c lp->link_config.autoneg = AUTONEG_ENABLE; link_config 800 drivers/net/ethernet/amd/amd8111e.c lp->link_config.autoneg = AUTONEG_DISABLE; link_config 803 drivers/net/ethernet/amd/amd8111e.c lp->link_config.duplex = DUPLEX_FULL; link_config 805 drivers/net/ethernet/amd/amd8111e.c lp->link_config.duplex = DUPLEX_HALF; link_config 808 drivers/net/ethernet/amd/amd8111e.c lp->link_config.speed = SPEED_10; link_config 810 drivers/net/ethernet/amd/amd8111e.c lp->link_config.speed = SPEED_100; link_config 813 drivers/net/ethernet/amd/amd8111e.c (lp->link_config.speed == SPEED_100) ? link_config 815 drivers/net/ethernet/amd/amd8111e.c (lp->link_config.duplex == DUPLEX_FULL) ? link_config 821 drivers/net/ethernet/amd/amd8111e.c lp->link_config.speed = SPEED_INVALID; link_config 822 drivers/net/ethernet/amd/amd8111e.c lp->link_config.duplex = DUPLEX_INVALID; link_config 823 drivers/net/ethernet/amd/amd8111e.c lp->link_config.autoneg = AUTONEG_INVALID; link_config 1664 drivers/net/ethernet/amd/amd8111e.c if(lp->link_config.duplex == DUPLEX_FULL){ link_config 766 drivers/net/ethernet/amd/amd8111e.h struct amd8111e_link_config link_config; link_config 1003 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h u32 link_config[LINK_CONFIG_SIZE]; link_config 1069 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u32 link_config; /* Used as HW defaults for the driver */ link_config 12220 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c dev_info.port_feature_config[port].link_config)) & link_config 12494 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 link_config; link_config 12497 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c link_config = REG_RD(bp, params->shmem_base + link_config 12505 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c link_config = REG_RD(bp, params->shmem_base + link_config 12507 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c port_feature_config[params->port].link_config)); link_config 12515 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c phy_index, link_config, phy->speed_cap_mask); link_config 12518 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) { link_config 12545 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c switch (link_config & PORT_FEATURE_FLOW_CONTROL_MASK) { link_config 11306 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->port.link_config[0]); link_config 11353 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 link_config, idx, cfg_size = 0; link_config 11367 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c link_config = bp->port.link_config[idx]; link_config 11368 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c switch (link_config & PORT_FEATURE_LINK_SPEED_MASK) { link_config 11400 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c link_config, link_config 11417 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c link_config, link_config 11433 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c link_config, link_config 11451 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c link_config, link_config 11473 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c link_config, link_config 11489 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c link_config, link_config 11512 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c link_config, link_config 11523 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c link_config); link_config 11531 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.req_flow_ctrl[idx] = (link_config & link_config 11578 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->port.link_config[0] = link_config 11579 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c SHMEM_RD(bp, dev_info.port_feature_config[port].link_config); link_config 11581 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->port.link_config[1] = link_config 11603 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->port.link_config[0]); link_config 11605 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.switch_cfg = (bp->port.link_config[0] & link_config 1888 drivers/net/ethernet/broadcom/tg3.c (tp->link_config.active_speed == SPEED_1000 ? link_config 1890 drivers/net/ethernet/broadcom/tg3.c (tp->link_config.active_speed == SPEED_100 ? link_config 1892 drivers/net/ethernet/broadcom/tg3.c (tp->link_config.active_duplex == DUPLEX_FULL ? link_config 1896 drivers/net/ethernet/broadcom/tg3.c (tp->link_config.active_flowctrl & FLOW_CTRL_TX) ? link_config 1898 drivers/net/ethernet/broadcom/tg3.c (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ? link_config 1981 drivers/net/ethernet/broadcom/tg3.c autoneg = tp->link_config.autoneg; link_config 1989 drivers/net/ethernet/broadcom/tg3.c flowctrl = tp->link_config.flowctrl; link_config 1991 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_flowctrl = flowctrl; link_config 2022 drivers/net/ethernet/broadcom/tg3.c oldflowctrl = tp->link_config.active_flowctrl; link_config 2040 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl); link_config 2079 drivers/net/ethernet/broadcom/tg3.c phydev->speed != tp->link_config.active_speed || link_config 2080 drivers/net/ethernet/broadcom/tg3.c phydev->duplex != tp->link_config.active_duplex || link_config 2081 drivers/net/ethernet/broadcom/tg3.c oldflowctrl != tp->link_config.active_flowctrl) link_config 2085 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed = phydev->speed; link_config 2086 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = phydev->duplex; link_config 2151 drivers/net/ethernet/broadcom/tg3.c phydev->speed = tp->link_config.speed; link_config 2152 drivers/net/ethernet/broadcom/tg3.c phydev->duplex = tp->link_config.duplex; link_config 2153 drivers/net/ethernet/broadcom/tg3.c phydev->autoneg = tp->link_config.autoneg; link_config 2155 drivers/net/ethernet/broadcom/tg3.c phydev->advertising, tp->link_config.advertising); link_config 2401 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.autoneg == AUTONEG_ENABLE && link_config 2403 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex == DUPLEX_FULL && link_config 2404 drivers/net/ethernet/broadcom/tg3.c (tp->link_config.active_speed == SPEED_100 || link_config 2405 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed == SPEED_1000)) { link_config 2408 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_speed == SPEED_1000) link_config 2436 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_speed == SPEED_1000 && link_config 4063 drivers/net/ethernet/broadcom/tg3.c tp->link_config.speed = phydev->speed; link_config 4064 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = phydev->duplex; link_config 4065 drivers/net/ethernet/broadcom/tg3.c tp->link_config.autoneg = phydev->autoneg; link_config 4067 drivers/net/ethernet/broadcom/tg3.c &tp->link_config.advertising, link_config 4154 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_speed == SPEED_1000) link_config 4418 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.autoneg == AUTONEG_ENABLE || link_config 4438 drivers/net/ethernet/broadcom/tg3.c adv = tp->link_config.advertising; link_config 4443 drivers/net/ethernet/broadcom/tg3.c fc = tp->link_config.flowctrl; link_config 4463 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed = tp->link_config.speed; link_config 4464 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = tp->link_config.duplex; link_config 4475 drivers/net/ethernet/broadcom/tg3.c switch (tp->link_config.speed) { link_config 4489 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.duplex == DUPLEX_FULL) link_config 4523 drivers/net/ethernet/broadcom/tg3.c tp->link_config.autoneg = AUTONEG_DISABLE; link_config 4524 drivers/net/ethernet/broadcom/tg3.c tp->link_config.advertising = 0; link_config 4534 drivers/net/ethernet/broadcom/tg3.c tp->link_config.speed = SPEED_10; link_config 4540 drivers/net/ethernet/broadcom/tg3.c tp->link_config.speed = SPEED_100; link_config 4544 drivers/net/ethernet/broadcom/tg3.c tp->link_config.speed = SPEED_1000; link_config 4553 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = DUPLEX_FULL; link_config 4555 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = DUPLEX_HALF; link_config 4557 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; link_config 4563 drivers/net/ethernet/broadcom/tg3.c tp->link_config.autoneg = AUTONEG_ENABLE; link_config 4564 drivers/net/ethernet/broadcom/tg3.c tp->link_config.advertising = ADVERTISED_Autoneg; link_config 4575 drivers/net/ethernet/broadcom/tg3.c tp->link_config.advertising |= adv | ADVERTISED_TP; link_config 4577 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl = tg3_decode_flowctrl_1000T(val); link_config 4579 drivers/net/ethernet/broadcom/tg3.c tp->link_config.advertising |= ADVERTISED_FIBRE; link_config 4597 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl = adv; link_config 4603 drivers/net/ethernet/broadcom/tg3.c tp->link_config.advertising |= adv; link_config 4656 drivers/net/ethernet/broadcom/tg3.c advertising = tp->link_config.advertising; link_config 4660 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_duplex == DUPLEX_FULL) { link_config 4661 drivers/net/ethernet/broadcom/tg3.c tgtadv |= mii_advertise_flowctrl(tp->link_config.flowctrl); link_config 4713 drivers/net/ethernet/broadcom/tg3.c tp->link_config.rmt_adv = lpeth; link_config 4842 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed == SPEED_1000) { link_config 4881 drivers/net/ethernet/broadcom/tg3.c tp->link_config.rmt_adv = 0; link_config 4932 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed = current_speed; link_config 4933 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = current_duplex; link_config 4935 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.autoneg == AUTONEG_ENABLE) { link_config 4956 drivers/net/ethernet/broadcom/tg3.c tp->link_config.speed == current_speed && link_config 4957 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex == current_duplex) { link_config 4963 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex == DUPLEX_FULL) { link_config 4990 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed = current_speed; link_config 4991 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = current_duplex; link_config 5002 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_speed == SPEED_100 || link_config 5003 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed == SPEED_10) link_config 5019 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_speed == SPEED_10) link_config 5021 drivers/net/ethernet/broadcom/tg3.c else if (tp->link_config.active_speed == SPEED_100) link_config 5024 drivers/net/ethernet/broadcom/tg3.c else if (tp->link_config.active_speed == SPEED_1000) link_config 5033 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_duplex == DUPLEX_HALF) link_config 5038 drivers/net/ethernet/broadcom/tg3.c tg3_5700_link_polarity(tp, tp->link_config.active_speed)) link_config 5069 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed == SPEED_1000 && link_config 5083 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_speed == SPEED_100 || link_config 5084 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed == SPEED_10) link_config 5264 drivers/net/ethernet/broadcom/tg3.c flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); link_config 5535 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.autoneg != AUTONEG_ENABLE) { link_config 5559 drivers/net/ethernet/broadcom/tg3.c flowctrl = tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); link_config 5603 drivers/net/ethernet/broadcom/tg3.c tp->link_config.rmt_adv = link_config 5660 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.autoneg == AUTONEG_ENABLE) { link_config 5677 drivers/net/ethernet/broadcom/tg3.c tp->link_config.rmt_adv = link_config 5727 drivers/net/ethernet/broadcom/tg3.c orig_pause_cfg = tp->link_config.active_flowctrl; link_config 5728 drivers/net/ethernet/broadcom/tg3.c orig_active_speed = tp->link_config.active_speed; link_config 5729 drivers/net/ethernet/broadcom/tg3.c orig_active_duplex = tp->link_config.active_duplex; link_config 5762 drivers/net/ethernet/broadcom/tg3.c tp->link_config.rmt_adv = 0; link_config 5787 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.autoneg == AUTONEG_ENABLE && link_config 5797 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed = SPEED_1000; link_config 5798 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = DUPLEX_FULL; link_config 5803 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed = SPEED_UNKNOWN; link_config 5804 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = DUPLEX_UNKNOWN; link_config 5811 drivers/net/ethernet/broadcom/tg3.c u32 now_pause_cfg = tp->link_config.active_flowctrl; link_config 5813 drivers/net/ethernet/broadcom/tg3.c orig_active_speed != tp->link_config.active_speed || link_config 5814 drivers/net/ethernet/broadcom/tg3.c orig_active_duplex != tp->link_config.active_duplex) link_config 5878 drivers/net/ethernet/broadcom/tg3.c tp->link_config.rmt_adv = 0; link_config 5891 drivers/net/ethernet/broadcom/tg3.c if ((tp->link_config.autoneg == AUTONEG_ENABLE) && !force_reset && link_config 5894 drivers/net/ethernet/broadcom/tg3.c } else if (tp->link_config.autoneg == AUTONEG_ENABLE) { link_config 5903 drivers/net/ethernet/broadcom/tg3.c newadv |= tg3_advert_flowctrl_1000X(tp->link_config.flowctrl); link_config 5904 drivers/net/ethernet/broadcom/tg3.c newadv |= ethtool_adv_to_mii_adv_x(tp->link_config.advertising); link_config 5923 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.duplex == DUPLEX_FULL) link_config 5985 drivers/net/ethernet/broadcom/tg3.c tp->link_config.rmt_adv = link_config 6000 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_duplex == DUPLEX_HALF) link_config 6008 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed = current_speed; link_config 6009 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = current_duplex; link_config 6024 drivers/net/ethernet/broadcom/tg3.c (tp->link_config.autoneg == AUTONEG_ENABLE)) { link_config 6054 drivers/net/ethernet/broadcom/tg3.c (tp->link_config.autoneg == AUTONEG_ENABLE) && link_config 6111 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.active_speed == SPEED_1000 && link_config 6112 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex == DUPLEX_HALF) link_config 12182 drivers/net/ethernet/broadcom/tg3.c advertising = tp->link_config.advertising; link_config 12184 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.flowctrl & FLOW_CTRL_RX) { link_config 12185 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.flowctrl & FLOW_CTRL_TX) { link_config 12191 drivers/net/ethernet/broadcom/tg3.c } else if (tp->link_config.flowctrl & FLOW_CTRL_TX) { link_config 12199 drivers/net/ethernet/broadcom/tg3.c cmd->base.speed = tp->link_config.active_speed; link_config 12200 drivers/net/ethernet/broadcom/tg3.c cmd->base.duplex = tp->link_config.active_duplex; link_config 12203 drivers/net/ethernet/broadcom/tg3.c tp->link_config.rmt_adv); link_config 12217 drivers/net/ethernet/broadcom/tg3.c cmd->base.autoneg = tp->link_config.autoneg; link_config 12293 drivers/net/ethernet/broadcom/tg3.c tp->link_config.autoneg = cmd->base.autoneg; link_config 12295 drivers/net/ethernet/broadcom/tg3.c tp->link_config.advertising = (advertising | link_config 12297 drivers/net/ethernet/broadcom/tg3.c tp->link_config.speed = SPEED_UNKNOWN; link_config 12298 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = DUPLEX_UNKNOWN; link_config 12300 drivers/net/ethernet/broadcom/tg3.c tp->link_config.advertising = 0; link_config 12301 drivers/net/ethernet/broadcom/tg3.c tp->link_config.speed = speed; link_config 12302 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = cmd->base.duplex; link_config 12492 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.flowctrl & FLOW_CTRL_RX) link_config 12497 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.flowctrl & FLOW_CTRL_TX) link_config 12509 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.autoneg == AUTONEG_ENABLE) link_config 12520 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl = 0; link_config 12523 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl |= FLOW_CTRL_RX; link_config 12526 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl |= FLOW_CTRL_TX; link_config 12529 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl |= FLOW_CTRL_TX; link_config 12567 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl |= FLOW_CTRL_RX; link_config 12569 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl &= ~FLOW_CTRL_RX; link_config 12571 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl |= FLOW_CTRL_TX; link_config 12573 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl &= ~FLOW_CTRL_TX; link_config 15467 drivers/net/ethernet/broadcom/tg3.c tp->link_config.advertising = adv; link_config 15468 drivers/net/ethernet/broadcom/tg3.c tp->link_config.speed = SPEED_UNKNOWN; link_config 15469 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = DUPLEX_UNKNOWN; link_config 15470 drivers/net/ethernet/broadcom/tg3.c tp->link_config.autoneg = AUTONEG_ENABLE; link_config 15471 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_speed = SPEED_UNKNOWN; link_config 15472 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = DUPLEX_UNKNOWN; link_config 15485 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl = FLOW_CTRL_TX | FLOW_CTRL_RX; link_config 15612 drivers/net/ethernet/broadcom/tg3.c tg3_phy_autoneg_cfg(tp, tp->link_config.advertising, link_config 15613 drivers/net/ethernet/broadcom/tg3.c tp->link_config.flowctrl); link_config 3247 drivers/net/ethernet/broadcom/tg3.h struct tg3_link_config link_config; link_config 225 drivers/net/ethernet/chelsio/cxgb/common.h struct link_config link_config; link_config 341 drivers/net/ethernet/chelsio/cxgb/common.h int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc); link_config 132 drivers/net/ethernet/chelsio/cxgb/cxgb2.c switch (p->link_config.speed) { link_config 139 drivers/net/ethernet/chelsio/cxgb/cxgb2.c s, p->link_config.duplex == DUPLEX_FULL link_config 183 drivers/net/ethernet/chelsio/cxgb/cxgb2.c t1_link_start(p->phy, mac, &p->link_config); link_config 574 drivers/net/ethernet/chelsio/cxgb/cxgb2.c supported = p->link_config.supported; link_config 575 drivers/net/ethernet/chelsio/cxgb/cxgb2.c advertising = p->link_config.advertising; link_config 578 drivers/net/ethernet/chelsio/cxgb/cxgb2.c cmd->base.speed = p->link_config.speed; link_config 579 drivers/net/ethernet/chelsio/cxgb/cxgb2.c cmd->base.duplex = p->link_config.duplex; link_config 587 drivers/net/ethernet/chelsio/cxgb/cxgb2.c cmd->base.autoneg = p->link_config.autoneg; link_config 637 drivers/net/ethernet/chelsio/cxgb/cxgb2.c struct link_config *lc = &p->link_config; link_config 678 drivers/net/ethernet/chelsio/cxgb/cxgb2.c epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; link_config 679 drivers/net/ethernet/chelsio/cxgb/cxgb2.c epause->rx_pause = (p->link_config.fc & PAUSE_RX) != 0; link_config 680 drivers/net/ethernet/chelsio/cxgb/cxgb2.c epause->tx_pause = (p->link_config.fc & PAUSE_TX) != 0; link_config 688 drivers/net/ethernet/chelsio/cxgb/cxgb2.c struct link_config *lc = &p->link_config; link_config 154 drivers/net/ethernet/chelsio/cxgb/subr.c struct link_config *lc = &adapter->port[port_id].link_config; link_config 623 drivers/net/ethernet/chelsio/cxgb/subr.c int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) link_config 1030 drivers/net/ethernet/chelsio/cxgb/subr.c static void init_link_config(struct link_config *lc, link_config 1118 drivers/net/ethernet/chelsio/cxgb/subr.c init_link_config(&adapter->port[i].link_config, bi); link_config 74 drivers/net/ethernet/chelsio/cxgb3/adapter.h struct link_config link_config; link_config 677 drivers/net/ethernet/chelsio/cxgb3/common.h int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc); link_config 164 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c switch (p->link_config.speed) { link_config 177 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c s, p->link_config.duplex == DUPLEX_FULL link_config 296 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c t3_link_start(&pi->phy, mac, &pi->link_config); link_config 355 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c t3_link_start(&pi->phy, mac, &pi->link_config); link_config 1775 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (p->link_config.autoneg != AUTONEG_ENABLE) link_config 1811 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c p->link_config.supported); link_config 1813 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c p->link_config.advertising); link_config 1816 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c cmd->base.speed = p->link_config.speed; link_config 1817 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c cmd->base.duplex = p->link_config.duplex; link_config 1828 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c cmd->base.autoneg = p->link_config.autoneg; link_config 1871 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c struct link_config *lc = &p->link_config; link_config 1920 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; link_config 1921 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c epause->rx_pause = (p->link_config.fc & PAUSE_RX) != 0; link_config 1922 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c epause->tx_pause = (p->link_config.fc & PAUSE_TX) != 0; link_config 1929 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c struct link_config *lc = &p->link_config; link_config 2709 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c t3_link_start(&p->phy, mac, &p->link_config); link_config 1246 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c struct link_config *lc = &pi->link_config; link_config 1302 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c struct link_config *lc = &pi->link_config; link_config 1363 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) link_config 3492 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static void init_link_config(struct link_config *lc, unsigned int caps) link_config 3762 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c init_link_config(&p->link_config, p->phy.caps); link_config 584 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h struct link_config link_cfg; link_config 1589 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h struct link_config *lc); link_config 1591 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned int port, struct link_config *lc, link_config 1595 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned int port, struct link_config *lc) link_config 1602 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned int port, struct link_config *lc) link_config 651 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c struct link_config *lc = &pi->link_cfg; link_config 653 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c struct link_config old_lc; link_config 749 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c const struct link_config *lc = &pi->link_cfg; link_config 770 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c struct link_config *lc = &pi->link_cfg; link_config 771 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c struct link_config old_lc; link_config 804 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c struct link_config *lc = &p->link_cfg; link_config 5061 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static inline bool is_x_10g_port(const struct link_config *lc) link_config 4139 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c struct link_config *lc) link_config 4216 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int port, struct link_config *lc, link_config 8568 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c struct link_config *lc = &pi->link_cfg; link_config 8718 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c struct link_config old_lc; link_config 8890 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c static void init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, link_config 106 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h struct link_config link_cfg; /* physical port configuration */ link_config 1533 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c const struct link_config *lc = &pi->link_cfg; link_config 153 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h static inline bool is_x_10g_port(const struct link_config *lc) link_config 457 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c static void init_link_config(struct link_config *lc, link_config 1917 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c struct link_config *lc = &pi->link_cfg; link_config 4938 drivers/net/ethernet/emulex/benet/be_cmds.c u32 link_config = 0; link_config 4960 drivers/net/ethernet/emulex/benet/be_cmds.c link_config |= PLINK_ENABLE; link_config 4963 drivers/net/ethernet/emulex/benet/be_cmds.c link_config |= PLINK_TRACK; link_config 4965 drivers/net/ethernet/emulex/benet/be_cmds.c req->link_config = cpu_to_le32(link_config); link_config 2360 drivers/net/ethernet/emulex/benet/be_cmds.h u32 link_config; /* Bit 0: UP_DOWN, Bit 9: PLINK */ link_config 392 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 429 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 526 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 756 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 909 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 1030 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 1062 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 1095 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 1208 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 1243 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 1438 drivers/net/ethernet/sun/niu.c if (np->link_config.loopback_mode == LOOPBACK_MAC) link_config 1514 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 1715 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 1889 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 1962 drivers/net/ethernet/sun/niu.c np->link_config.active_speed = SPEED_10000; link_config 1963 drivers/net/ethernet/sun/niu.c np->link_config.active_duplex = DUPLEX_FULL; link_config 2010 drivers/net/ethernet/sun/niu.c np->link_config.active_speed = SPEED_INVALID; link_config 2011 drivers/net/ethernet/sun/niu.c np->link_config.active_duplex = DUPLEX_INVALID; link_config 2016 drivers/net/ethernet/sun/niu.c np->link_config.active_speed = SPEED_10000; link_config 2017 drivers/net/ethernet/sun/niu.c np->link_config.active_duplex = DUPLEX_FULL; link_config 2065 drivers/net/ethernet/sun/niu.c np->link_config.active_speed = SPEED_10000; link_config 2066 drivers/net/ethernet/sun/niu.c np->link_config.active_duplex = DUPLEX_FULL; link_config 2081 drivers/net/ethernet/sun/niu.c if (np->link_config.loopback_mode == LOOPBACK_DISABLED) { link_config 2150 drivers/net/ethernet/sun/niu.c if (np->link_config.loopback_mode == LOOPBACK_DISABLED) { link_config 2184 drivers/net/ethernet/sun/niu.c np->link_config.active_speed = SPEED_10000; link_config 2185 drivers/net/ethernet/sun/niu.c np->link_config.active_duplex = DUPLEX_FULL; link_config 2352 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 5273 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 5330 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 5392 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 6125 drivers/net/ethernet/sun/niu.c if (np->link_config.loopback_mode != LOOPBACK_DISABLED) link_config 6770 drivers/net/ethernet/sun/niu.c if (np->link_config.loopback_mode != LOOPBACK_DISABLED) link_config 6800 drivers/net/ethernet/sun/niu.c lp = &np->link_config; link_config 6820 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 6846 drivers/net/ethernet/sun/niu.c if (np->link_config.autoneg) link_config 8949 drivers/net/ethernet/sun/niu.c struct niu_link_config *lp = &np->link_config; link_config 3287 drivers/net/ethernet/sun/niu.h struct niu_link_config link_config; link_config 56 drivers/net/phy/phylink.c struct phylink_link_state link_config; link_config 173 drivers/net/phy/phylink.c pl->link_config.speed = speed; link_config 174 drivers/net/phy/phylink.c pl->link_config.duplex = DUPLEX_HALF; link_config 177 drivers/net/phy/phylink.c pl->link_config.duplex = DUPLEX_FULL; link_config 182 drivers/net/phy/phylink.c pl->link_config.pause |= MLO_PAUSE_SYM; link_config 184 drivers/net/phy/phylink.c pl->link_config.pause |= MLO_PAUSE_ASYM; link_config 212 drivers/net/phy/phylink.c pl->link_config.duplex = prop[1] ? link_config 214 drivers/net/phy/phylink.c pl->link_config.speed = prop[2]; link_config 216 drivers/net/phy/phylink.c pl->link_config.pause |= MLO_PAUSE_SYM; link_config 218 drivers/net/phy/phylink.c pl->link_config.pause |= MLO_PAUSE_ASYM; link_config 222 drivers/net/phy/phylink.c if (pl->link_config.speed > SPEED_1000 && link_config 223 drivers/net/phy/phylink.c pl->link_config.duplex != DUPLEX_FULL) link_config 225 drivers/net/phy/phylink.c pl->link_config.speed); link_config 228 drivers/net/phy/phylink.c linkmode_copy(pl->link_config.advertising, pl->supported); link_config 229 drivers/net/phy/phylink.c phylink_validate(pl, pl->supported, &pl->link_config); link_config 231 drivers/net/phy/phylink.c s = phy_lookup_setting(pl->link_config.speed, pl->link_config.duplex, link_config 241 drivers/net/phy/phylink.c pl->link_config.duplex == DUPLEX_FULL ? "full" : "half", link_config 242 drivers/net/phy/phylink.c pl->link_config.speed); link_config 245 drivers/net/phy/phylink.c linkmode_and(pl->link_config.advertising, pl->link_config.advertising, link_config 248 drivers/net/phy/phylink.c pl->link_config.link = 1; link_config 249 drivers/net/phy/phylink.c pl->link_config.an_complete = 1; link_config 277 drivers/net/phy/phylink.c pl->link_config.an_enabled = true; link_config 280 drivers/net/phy/phylink.c switch (pl->link_config.interface) { link_config 317 drivers/net/phy/phylink.c phy_modes(pl->link_config.interface)); link_config 321 drivers/net/phy/phylink.c linkmode_copy(pl->link_config.advertising, pl->supported); link_config 323 drivers/net/phy/phylink.c if (phylink_validate(pl, pl->supported, &pl->link_config)) { link_config 357 drivers/net/phy/phylink.c if (pl->link_config.an_enabled && link_config 358 drivers/net/phy/phylink.c phy_interface_mode_is_8023z(pl->link_config.interface)) link_config 365 drivers/net/phy/phylink.c linkmode_copy(state->advertising, pl->link_config.advertising); link_config 367 drivers/net/phy/phylink.c state->interface = pl->link_config.interface; link_config 368 drivers/net/phy/phylink.c state->an_enabled = pl->link_config.an_enabled; link_config 383 drivers/net/phy/phylink.c *state = pl->link_config; link_config 403 drivers/net/phy/phylink.c if (pl->link_config.pause & MLO_PAUSE_AN) { link_config 406 drivers/net/phy/phylink.c if (phylink_test(pl->link_config.advertising, Pause)) link_config 408 drivers/net/phy/phylink.c if (phylink_test(pl->link_config.advertising, Asym_Pause)) link_config 419 drivers/net/phy/phylink.c new_pause = pl->link_config.pause & MLO_PAUSE_TXRX_MASK; link_config 639 drivers/net/phy/phylink.c pl->link_config.interface = iface; link_config 640 drivers/net/phy/phylink.c pl->link_config.pause = MLO_PAUSE_AN; link_config 641 drivers/net/phy/phylink.c pl->link_config.speed = SPEED_UNKNOWN; link_config 642 drivers/net/phy/phylink.c pl->link_config.duplex = DUPLEX_UNKNOWN; link_config 643 drivers/net/phy/phylink.c pl->link_config.an_enabled = true; link_config 649 drivers/net/phy/phylink.c linkmode_copy(pl->link_config.advertising, pl->supported); link_config 650 drivers/net/phy/phylink.c phylink_validate(pl, pl->supported, &pl->link_config); link_config 731 drivers/net/phy/phylink.c config.interface = pl->link_config.interface; link_config 760 drivers/net/phy/phylink.c linkmode_copy(pl->link_config.advertising, config.advertising); link_config 822 drivers/net/phy/phylink.c pl->link_config.interface = pl->link_interface; link_config 975 drivers/net/phy/phylink.c phy_modes(pl->link_config.interface)); link_config 985 drivers/net/phy/phylink.c phylink_resolve_flow(pl, &pl->link_config); link_config 986 drivers/net/phy/phylink.c phylink_mac_config(pl, &pl->link_config); link_config 1190 drivers/net/phy/phylink.c config = pl->link_config; link_config 1212 drivers/net/phy/phylink.c (s->speed != pl->link_config.speed || link_config 1213 drivers/net/phy/phylink.c s->duplex != pl->link_config.duplex)) link_config 1254 drivers/net/phy/phylink.c linkmode_copy(pl->link_config.advertising, our_kset.link_modes.advertising); link_config 1255 drivers/net/phy/phylink.c pl->link_config.interface = config.interface; link_config 1256 drivers/net/phy/phylink.c pl->link_config.speed = our_kset.base.speed; link_config 1257 drivers/net/phy/phylink.c pl->link_config.duplex = our_kset.base.duplex; link_config 1258 drivers/net/phy/phylink.c pl->link_config.an_enabled = our_kset.base.autoneg != AUTONEG_DISABLE; link_config 1267 drivers/net/phy/phylink.c phylink_mac_config(pl, &pl->link_config); link_config 1311 drivers/net/phy/phylink.c pause->autoneg = !!(pl->link_config.pause & MLO_PAUSE_AN); link_config 1312 drivers/net/phy/phylink.c pause->rx_pause = !!(pl->link_config.pause & MLO_PAUSE_RX); link_config 1313 drivers/net/phy/phylink.c pause->tx_pause = !!(pl->link_config.pause & MLO_PAUSE_TX); link_config 1325 drivers/net/phy/phylink.c struct phylink_link_state *config = &pl->link_config; link_config 1719 drivers/net/phy/phylink.c config.an_enabled = pl->link_config.an_enabled; link_config 1761 drivers/net/phy/phylink.c linkmode_copy(pl->link_config.advertising, config.advertising); link_config 1765 drivers/net/phy/phylink.c pl->link_config.interface != config.interface) { link_config 1766 drivers/net/phy/phylink.c pl->link_config.interface = config.interface; link_config 1780 drivers/net/phy/phylink.c phylink_mac_config(pl, &pl->link_config); link_config 1808 drivers/net/phy/phylink.c return __phylink_connect_phy(upstream, phy, pl->link_config.interface); link_config 1688 drivers/scsi/csiostor/csio_hw.c static void csio_init_link_config(struct link_config *lc, fw_port_cap32_t pcaps, link_config 1723 drivers/scsi/csiostor/csio_hw.c static void csio_link_l1cfg(struct link_config *lc, uint16_t fw_caps, link_config 335 drivers/scsi/csiostor/csio_hw.h struct link_config link_cfg; link_config 1788 drivers/scsi/qla2xxx/qla_mr.c vha->hw->link_data_rate = (uint16_t)pinfo->link_config; link_config 230 drivers/scsi/qla2xxx/qla_mr.h uint32_t link_config; link_config 2133 drivers/staging/qlge/qlge.h u32 link_config; link_config 494 drivers/staging/qlge/qlge_ethtool.c qdev->link_config |= CFG_LOOPBACK_PCS; link_config 500 drivers/staging/qlge/qlge_ethtool.c qdev->link_config &= ~CFG_LOOPBACK_PCS; link_config 680 drivers/staging/qlge/qlge_ethtool.c if (qdev->link_config & CFG_PAUSE_STD) { link_config 693 drivers/staging/qlge/qlge_ethtool.c qdev->link_config |= CFG_PAUSE_STD; link_config 695 drivers/staging/qlge/qlge_ethtool.c qdev->link_config &= ~CFG_PAUSE_STD; link_config 730 drivers/staging/qlge/qlge_mpi.c mbcp->mbox_in[1] = qdev->link_config; link_config 833 drivers/staging/qlge/qlge_mpi.c qdev->link_config = mbcp->mbox_out[1]; link_config 1132 drivers/staging/qlge/qlge_mpi.c if (qdev->link_config & CFG_JUMBO_FRAME_SIZE && link_config 1137 drivers/staging/qlge/qlge_mpi.c qdev->link_config |= CFG_JUMBO_FRAME_SIZE; link_config 249 drivers/video/fbdev/mmp/hw/mmp_ctrl.c link_config = path_to_path_plat(path)->link_config, link_config 250 drivers/video/fbdev/mmp/hw/mmp_ctrl.c dsi_rbswap = path_to_path_plat(path)->link_config; link_config 261 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= link_config & CFG_DUMBMODE_MASK; link_config 416 drivers/video/fbdev/mmp/hw/mmp_ctrl.c path_plat->link_config = config->link_config; link_config 1387 drivers/video/fbdev/mmp/hw/mmp_ctrl.h u32 link_config; link_config 328 include/video/mmp_disp.h u32 link_config;