Home
last modified time | relevance | path

Searched refs:link_cfg (Results 1 – 25 of 25) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/video/tegra124/
H A Ddp.c416 const struct tegra_dp_link_config *link_cfg) in tegra_dc_dp_dump_link_cfg() argument
420 link_cfg->max_lane_count); in tegra_dc_dp_dump_link_cfg()
422 link_cfg->support_enhanced_framing ? "Y" : "N"); in tegra_dc_dp_dump_link_cfg()
424 link_cfg->max_link_bw); in tegra_dc_dp_dump_link_cfg()
426 link_cfg->bits_per_pixel); in tegra_dc_dp_dump_link_cfg()
428 link_cfg->enhanced_framing ? "Y" : "N"); in tegra_dc_dp_dump_link_cfg()
430 link_cfg->scramble_ena ? "Y" : "N"); in tegra_dc_dp_dump_link_cfg()
432 link_cfg->link_bw); in tegra_dc_dp_dump_link_cfg()
434 link_cfg->lane_count); in tegra_dc_dp_dump_link_cfg()
436 link_cfg->activepolarity); in tegra_dc_dp_dump_link_cfg()
[all …]
H A Dsor.c144 const struct tegra_dp_link_config *link_cfg) in tegra_dc_sor_set_dp_linkctl() argument
157 reg_val |= (link_cfg->tu_size << DP_LINKCTL_TUSIZE_SHIFT); in tegra_dc_sor_set_dp_linkctl()
159 if (link_cfg->enhanced_framing) in tegra_dc_sor_set_dp_linkctl()
170 reg_val = (link_cfg->link_bw == SOR_LINK_SPEED_G5_4) ? in tegra_dc_sor_set_dp_linkctl()
277 const struct tegra_dp_link_config *link_cfg) in tegra_dc_sor_set_dp_mode() argument
282 tegra_dc_sor_set_link_bandwidth(dev, link_cfg->link_bw); in tegra_dc_sor_set_dp_mode()
284 tegra_dc_sor_set_dp_linkctl(dev, 1, training_pattern_none, link_cfg); in tegra_dc_sor_set_dp_mode()
287 reg_val |= link_cfg->watermark; in tegra_dc_sor_set_dp_mode()
289 reg_val |= (link_cfg->active_count << in tegra_dc_sor_set_dp_mode()
292 reg_val |= (link_cfg->active_frac << in tegra_dc_sor_set_dp_mode()
[all …]
H A Dsor.h880 const struct tegra_dp_link_config *link_cfg);
883 u8 training_pattern, const struct tegra_dp_link_config *link_cfg);
892 const struct tegra_dp_link_config *link_cfg);
894 const struct tegra_dp_link_config *link_cfg);
896 const struct tegra_dp_link_config *link_cfg);
904 const struct tegra_dp_link_config *link_cfg,
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_dw_hdmi_qp.c128 struct dw_hdmi_link_config link_cfg; member
448 hdmi->link_cfg.dsc_mode = false; in hdmi_select_link_config()
449 hdmi->link_cfg.frl_lanes = max_lanes; in hdmi_select_link_config()
450 hdmi->link_cfg.rate_per_lane = max_rate_per_lane; in hdmi_select_link_config()
451 hdmi->link_cfg.allm_en = hdmi->allm_en; in hdmi_select_link_config()
456 hdmi->link_cfg.frl_mode = false; in hdmi_select_link_config()
460 hdmi->link_cfg.frl_mode = true; in hdmi_select_link_config()
472 hdmi->link_cfg.dsc_mode = true; in hdmi_select_link_config()
473 hdmi->link_cfg.frl_lanes = max_dsc_lanes; in hdmi_select_link_config()
474 hdmi->link_cfg.rate_per_lane = max_dsc_rate_per_lane; in hdmi_select_link_config()
[all …]
H A Ddw_hdmi_qp.c671 struct dw_hdmi_link_config *link_cfg = NULL; in hdmi_config_vendor_specific_infoframe() local
677 link_cfg = dw_hdmi_rockchip_get_link_cfg(hdmi->rk_hdmi); in hdmi_config_vendor_specific_infoframe()
684 if (link_cfg->allm_en) { in hdmi_config_vendor_specific_infoframe()
745 struct dw_hdmi_link_config *link_cfg) in hdmi_config_CVTEM() argument
762 if (!link_cfg->dsc_mode) { in hdmi_config_CVTEM()
767 pps_body = link_cfg->pps_payload; in hdmi_config_CVTEM()
817 val = link_cfg->hcactive << 8 | ((hback >> 8) & 0xff); in hdmi_config_CVTEM()
937 struct dw_hdmi_link_config *link_cfg, in hdmi_set_op_mode() argument
944 if (!link_cfg->frl_mode) { in hdmi_set_op_mode()
953 if (link_cfg->frl_lanes == 4) in hdmi_set_op_mode()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-dcb.c65 struct dpni_link_cfg link_cfg = {0}; in dpaa2_eth_dcbnl_ieee_setpfc() local
83 link_cfg.rate = priv->link_state.rate; in dpaa2_eth_dcbnl_ieee_setpfc()
84 link_cfg.options = priv->link_state.options; in dpaa2_eth_dcbnl_ieee_setpfc()
86 link_cfg.options |= DPNI_LINK_OPT_PFC_PAUSE; in dpaa2_eth_dcbnl_ieee_setpfc()
88 link_cfg.options &= ~DPNI_LINK_OPT_PFC_PAUSE; in dpaa2_eth_dcbnl_ieee_setpfc()
89 err = dpni_set_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); in dpaa2_eth_dcbnl_ieee_setpfc()
H A Ddpaa2-eth.c3040 struct dpni_link_cfg link_cfg = {0}; in dpaa2_eth_set_pause() local
3044 err = dpni_get_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); in dpaa2_eth_set_pause()
3051 link_cfg.options |= DPNI_LINK_OPT_PAUSE; in dpaa2_eth_set_pause()
3052 link_cfg.options &= ~DPNI_LINK_OPT_ASYM_PAUSE; in dpaa2_eth_set_pause()
3053 err = dpni_set_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); in dpaa2_eth_set_pause()
3059 priv->link_state.options = link_cfg.options; in dpaa2_eth_set_pause()
/OK3568_Linux_fs/u-boot/drivers/i2c/muxes/
H A Dmax96755f.c18 int link_cfg; in max96755f_select() local
26 link_cfg = dm_i2c_reg_read(priv->dev, 0x0010); in max96755f_select()
27 if ((link_cfg & LINK_CFG) == SPLITTER_MODE) in max96755f_select()
30 if (channel == 0 && (link_cfg & LINK_CFG) != LINKA) { in max96755f_select()
37 } else if (channel == 1 && (link_cfg & LINK_CFG) != LINKB) { in max96755f_select()
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dmax96755f.c77 u32 link_cfg, val; in max96755f_select() local
86 regmap_read(max96755f->regmap, 0x0010, &link_cfg); in max96755f_select()
87 if ((link_cfg & LINK_CFG) == SPLITTER_MODE) in max96755f_select()
90 if (chan == 0 && (link_cfg & LINK_CFG) != LINKA) { in max96755f_select()
96 } else if (chan == 1 && (link_cfg & LINK_CFG) != LINKB) { in max96755f_select()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Ddw_hdmi-rockchip.c237 struct dw_hdmi_link_config link_cfg; member
865 hdmi->link_cfg.dsc_mode = false; in hdmi_select_link_config()
866 hdmi->link_cfg.frl_lanes = max_lanes; in hdmi_select_link_config()
867 hdmi->link_cfg.rate_per_lane = max_rate_per_lane; in hdmi_select_link_config()
868 hdmi->link_cfg.add_func = hdmi->add_func; in hdmi_select_link_config()
872 hdmi->link_cfg.frl_mode = false; in hdmi_select_link_config()
876 hdmi->link_cfg.frl_mode = true; in hdmi_select_link_config()
888 hdmi->link_cfg.dsc_mode = true; in hdmi_select_link_config()
889 hdmi->link_cfg.frl_lanes = max_dsc_lanes; in hdmi_select_link_config()
890 hdmi->link_cfg.rate_per_lane = max_dsc_rate_per_lane; in hdmi_select_link_config()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-qp.c512 struct dw_hdmi_link_config *link_cfg = NULL; in hdmi_find_n() local
517 link_cfg = hdmi->plat_data->get_link_cfg(data); in hdmi_find_n()
518 if (link_cfg && link_cfg->frl_mode) in hdmi_find_n()
519 return hdmi_match_frl_n_table(hdmi, link_cfg->rate_per_lane, sample_rate); in hdmi_find_n()
1416 struct dw_hdmi_link_config *link_cfg = NULL; in hdmi_config_vendor_specific_infoframe() local
1420 link_cfg = hdmi->plat_data->get_link_cfg(data); in hdmi_config_vendor_specific_infoframe()
1426 if (hdmi->allm_enable && (link_cfg->add_func & SUPPORT_HDMI_ALLM)) { in hdmi_config_vendor_specific_infoframe()
1505 struct dw_hdmi_link_config *link_cfg; in hdmi_config_CVTEM() local
1511 link_cfg = hdmi->plat_data->get_link_cfg(data); in hdmi_config_CVTEM()
1517 if (!link_cfg->dsc_mode) { in hdmi_config_CVTEM()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c397 if (p->link_cfg.autoneg != AUTONEG_ENABLE) in restart_autoneg()
691 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in get_link_ksettings()
696 &pi->link_cfg), in get_link_ksettings()
698 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in get_link_ksettings()
702 ? pi->link_cfg.speed in get_link_ksettings()
706 base->autoneg = pi->link_cfg.autoneg; in get_link_ksettings()
707 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in get_link_ksettings()
710 if (pi->link_cfg.autoneg) in get_link_ksettings()
721 struct link_config *lc = &pi->link_cfg; in set_link_ksettings()
819 const struct link_config *lc = &pi->link_cfg; in get_fecparam()
[all …]
H A Dcxgb4_main.c200 switch (p->link_cfg.speed) { in link_report()
224 dev->name, p->link_cfg.speed); in link_report()
229 fc[p->link_cfg.fc]); in link_report()
334 pi->link_cfg.redo_l1cfg = netif_running(dev); in t4_os_portmod_changed()
522 &pi->link_cfg); in link_start()
5704 n10g += is_x_10g_port(&adap2pinfo(adap, i)->link_cfg); in cfg_queues()
5748 pi->nqsets = is_x_10g_port(&pi->link_cfg) ? q10g : q1g; in cfg_queues()
6148 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_100M) in print_port_info()
6150 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_1G) in print_port_info()
6152 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_10G) in print_port_info()
[all …]
H A Dcxgb4.h669 struct link_config link_cfg; member
H A Dt4_hw.c8310 rx_en && tx_en && pi->link_cfg.link_ok); in t4_enable_pi_params()
8602 struct link_config *lc = &pi->link_cfg; in t4_handle_get_port_info()
9721 init_link_config(&pi->link_cfg, pcaps, acaps); in t4_init_portinfo()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c159 switch (pi->link_cfg.speed) { in t4vf_os_link_changed()
184 switch ((int)pi->link_cfg.fc) { in t4vf_os_link_changed()
1465 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in cxgb4vf_get_link_ksettings()
1467 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in cxgb4vf_get_link_ksettings()
1469 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in cxgb4vf_get_link_ksettings()
1473 base->speed = pi->link_cfg.speed; in cxgb4vf_get_link_ksettings()
1480 base->autoneg = pi->link_cfg.autoneg; in cxgb4vf_get_link_ksettings()
1481 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in cxgb4vf_get_link_ksettings()
1484 if (pi->link_cfg.autoneg) in cxgb4vf_get_link_ksettings()
1531 const struct link_config *lc = &pi->link_cfg; in cxgb4vf_get_fecparam()
[all …]
H A Dadapter.h106 struct link_config link_cfg; /* physical port configuration */ member
H A Dt4vf_hw.c588 init_link_config(&pi->link_cfg, pcaps, acaps); in t4vf_port_init()
1430 rx_en && tx_en && pi->link_cfg.link_ok); in t4vf_enable_pi()
1916 struct link_config *lc = &pi->link_cfg; in t4vf_handle_get_port_info()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c1466 if (vf->link_cfg == IFLA_VF_LINK_STATE_AUTO) { in bnx2x_iov_link_update_vf()
1483 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_DISABLE && in bnx2x_iov_link_update_vf()
1487 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_ENABLE && in bnx2x_iov_link_update_vf()
1499 vf->link_cfg, bulletin->link_speed, bulletin->link_flags); in bnx2x_iov_link_update_vf()
1522 if (vf->link_cfg == link_state) in bnx2x_set_vf_link_state()
1525 vf->link_cfg = link_state; in bnx2x_set_vf_link_state()
2639 ivi->linkstate = vf->link_cfg; in bnx2x_get_vf_config()
H A Dbnx2x_sriov.h133 u8 link_cfg; /* IFLA_VF_LINK_STATE_AUTO member
/OK3568_Linux_fs/kernel/drivers/scsi/csiostor/
H A Dcsio_hw.h335 struct link_config link_cfg; member
H A Dcsio_hw.c1837 csio_init_link_config(&hw->pport[i].link_cfg, pcaps, acaps); in csio_enable_ports()
1839 csio_link_l1cfg(&hw->pport[i].link_cfg, fw_caps, &rcaps); in csio_enable_ports()
/OK3568_Linux_fs/kernel/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c832 linkspeed = pi->link_cfg.speed; in cxgbit_set_tcp_window()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1097 linkspeed = pi->link_cfg.speed; in chtls_set_tcp_window()
/OK3568_Linux_fs/kernel/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1868 linkspeed = ((struct port_info *)netdev_priv(ndev))->link_cfg.speed; in init_act_open()