Home
last modified time | relevance | path

Searched refs:phy_cfg (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/phy/broadcom/
A Dphy-bcm-sr-usb.c131 offset = phy_cfg->offset; in bcm_usb_ss_phy_init()
161 offset = phy_cfg->offset; in bcm_usb_hs_phy_init()
180 offset = phy_cfg->offset; in bcm_usb_phy_reset()
218 if (!phy_cfg) in bcm_usb_phy_xlate()
229 return phy_cfg->phy; in bcm_usb_phy_xlate()
242 if (!phy_cfg) in bcm_usb_phy_create()
260 phy_set_drvdata(phy_cfg[idx].phy, &phy_cfg[idx]); in bcm_usb_phy_create()
265 if (!phy_cfg) in bcm_usb_phy_create()
268 phy_cfg->regs = regs; in bcm_usb_phy_create()
273 if (IS_ERR(phy_cfg->phy)) in bcm_usb_phy_create()
[all …]
/linux/drivers/net/ethernet/sfc/
A Dmcdi_port_common.c236 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_get_mcdi_phy_flags() local
378 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_check_fcntl() local
549 cmd->base.phy_address = phy_cfg->port; in efx_mcdi_phy_get_link_ksettings()
554 mcdi_to_ethtool_linkset(phy_cfg->media, phy_cfg->supported_cap, in efx_mcdi_phy_get_link_ksettings()
564 mcdi_to_ethtool_linkset(phy_cfg->media, in efx_mcdi_phy_get_link_ksettings()
608 phy_cfg->forced_cap = 0; in efx_mcdi_phy_set_link_ksettings()
611 phy_cfg->forced_cap = caps; in efx_mcdi_phy_set_link_ksettings()
698 caps = phy_cfg->forced_cap; in efx_mcdi_phy_set_fecparam()
737 phy_cfg->forced_cap); in efx_mcdi_port_reconfigure()
836 (phy_cfg->flags & in efx_mcdi_phy_run_tests()
[all …]
/linux/drivers/net/usb/
A Daqc111.c325 aqc111_data->phy_cfg |= AQ_PAUSE; in aqc111_set_phy_speed()
335 aqc111_data->phy_cfg |= AQ_ADV_5G; in aqc111_set_phy_speed()
341 aqc111_data->phy_cfg |= AQ_ADV_1G; in aqc111_set_phy_speed()
350 aqc111_data->phy_cfg |= AQ_ADV_5G; in aqc111_set_phy_speed()
770 &aqc111_data->phy_cfg); in aqc111_unbind()
1006 &aqc111_data->phy_cfg); in aqc111_reset()
1049 &aqc111_data->phy_cfg); in aqc111_stop()
1358 aqc111_data->phy_cfg |= AQ_WOL; in aqc111_suspend()
1397 &aqc111_data->phy_cfg); in aqc111_suspend()
1401 &aqc111_data->phy_cfg); in aqc111_suspend()
[all …]
A Daqc111.h173 u32 phy_cfg; member
/linux/drivers/phy/rockchip/
A Dphy-rockchip-inno-usb2.c221 const struct rockchip_usb2phy_cfg *phy_cfg; member
265 if (!property_enabled(base, &rphy->phy_cfg->clkout_ctl)) { in rockchip_usb2phy_clk480m_prepare()
284 property_enable(base, &rphy->phy_cfg->clkout_ctl, false); in rockchip_usb2phy_clk480m_unprepare()
293 return property_enabled(base, &rphy->phy_cfg->clkout_ctl); in rockchip_usb2phy_clk480m_prepared()
703 &rphy->phy_cfg->chg_det.dp_det); in rockchip_chg_detect_work()
721 &rphy->phy_cfg->chg_det.cp_det); in rockchip_chg_detect_work()
743 &rphy->phy_cfg->chg_det.dcp_det); in rockchip_chg_detect_work()
757 property_enable(base, &rphy->phy_cfg->chg_det.opmode, true); in rockchip_chg_detect_work()
1114 rphy->phy_cfg = &phy_cfgs[index]; in rockchip_usb2phy_probe()
1121 if (!rphy->phy_cfg) { in rockchip_usb2phy_probe()
[all …]
A Dphy-rockchip-inno-hdmi.c283 const struct phy_config *phy_cfg);
479 for (; phy_cfg->tmdsclock != 0; phy_cfg++) in inno_hdmi_phy_power_on()
480 if (tmdsclock <= phy_cfg->tmdsclock) in inno_hdmi_phy_power_on()
483 if (cfg->tmdsclock == 0 || phy_cfg->tmdsclock == 0) in inno_hdmi_phy_power_on()
898 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3228_power_on() argument
930 inno_write(inno, 0xef + v, phy_cfg->regs[v]); in inno_hdmi_phy_rk3228_power_on()
1013 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3328_power_on() argument
1038 inno_write(inno, 0xb5 + v, phy_cfg->regs[v]); in inno_hdmi_phy_rk3328_power_on()
1045 if (phy_cfg->tmdsclock > 340000000) { in inno_hdmi_phy_rk3328_power_on()
1058 if (phy_cfg->tmdsclock > 165000000) in inno_hdmi_phy_rk3328_power_on()
[all …]
/linux/drivers/phy/samsung/
A Dphy-exynos5-usbdrd.c169 const struct exynos5_usbdrd_phy_config *phy_cfg; member
416 inst->phy_cfg->phy_init(phy_drd); in exynos5_usbdrd_phy_init()
419 reg = inst->phy_cfg->set_refclk(inst); in exynos5_usbdrd_phy_init()
512 inst->phy_cfg->phy_isol(inst, 0); in exynos5_usbdrd_phy_power_on()
539 inst->phy_cfg->phy_isol(inst, 1); in exynos5_usbdrd_phy_power_off()
702 if (inst->phy_cfg->id == EXYNOS5_DRDPHY_UTMI) in exynos5_usbdrd_phy_calibrate()
783 .phy_cfg = phy_cfg_exynos5,
790 .phy_cfg = phy_cfg_exynos5,
796 .phy_cfg = phy_cfg_exynos5,
803 .phy_cfg = phy_cfg_exynos5,
[all …]
/linux/drivers/gpu/drm/bridge/cadence/
A Dcdns-mhdp8546-core.c884 memset(phy_cfg.dp.voltage, 0, sizeof(phy_cfg.dp.voltage)); in cdns_mhdp_link_training_init()
885 memset(phy_cfg.dp.pre, 0, sizeof(phy_cfg.dp.pre)); in cdns_mhdp_link_training_init()
888 phy_cfg.dp.set_lanes = true; in cdns_mhdp_link_training_init()
889 phy_cfg.dp.set_rate = true; in cdns_mhdp_link_training_init()
946 phy_cfg->dp.pre[i] = set_pre; in cdns_mhdp_get_adjust_train()
1053 &phy_cfg); in cdns_mhdp_link_training_channel_eq()
1057 phy_cfg.dp.set_rate = false; in cdns_mhdp_link_training_channel_eq()
1075 &phy_cfg); in cdns_mhdp_link_training_channel_eq()
1174 &phy_cfg); in cdns_mhdp_link_training_cr()
1178 phy_cfg.dp.set_rate = false; in cdns_mhdp_link_training_cr()
[all …]
/linux/drivers/scsi/mvsas/
A Dmv_94xx.c169 phy_cfg.v = 0; in set_phy_rate()
171 phy_cfg.u.sas_support = 1; in set_phy_rate()
172 phy_cfg.u.sata_support = 1; in set_phy_rate()
173 phy_cfg.u.sata_host_mode = 1; in set_phy_rate()
178 phy_cfg.u.speed_support = 1; in set_phy_rate()
179 phy_cfg.u.snw_3_support = 0; in set_phy_rate()
180 phy_cfg.u.tx_lnk_parity = 1; in set_phy_rate()
186 phy_cfg.u.speed_support = 3; in set_phy_rate()
193 phy_cfg.u.speed_support = 7; in set_phy_rate()
194 phy_cfg.u.snw_3_support = 1; in set_phy_rate()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dconfig.h90 __le32 phy_cfg; member
102 __le32 phy_cfg; member
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_mcp.c1479 struct eth_phy_cfg phy_cfg; in qed_mcp_set_link() local
1485 memset(&phy_cfg, 0, sizeof(phy_cfg)); in qed_mcp_set_link()
1502 phy_cfg.eee_cfg |= EEE_CFG_EEE_ENABLED; in qed_mcp_set_link()
1504 phy_cfg.eee_cfg |= EEE_CFG_TX_LPI; in qed_mcp_set_link()
1506 phy_cfg.eee_cfg |= EEE_CFG_ADV_SPEED_1G; in qed_mcp_set_link()
1579 phy_cfg.extended_speed |= ext_speed; in qed_mcp_set_link()
1590 phy_cfg.speed, phy_cfg.pause, phy_cfg.adv_speed, in qed_mcp_set_link()
1591 phy_cfg.loopback_mode, phy_cfg.fec_mode, in qed_mcp_set_link()
1592 phy_cfg.extended_speed); in qed_mcp_set_link()
1599 mb_params.p_data_src = &phy_cfg; in qed_mcp_set_link()
[all …]
A Dqed_mfw_hsi.h2068 u32 phy_cfg; member
/linux/drivers/gpu/drm/bridge/
A Dcdns-dsi.c555 struct phy_configure_opts_mipi_dphy *phy_cfg, in cdns_dsi_adjust_phy_config() argument
593 phy_cfg->hs_clk_rate = dlane_bps * 8; in cdns_dsi_adjust_phy_config()
608 struct phy_configure_opts_mipi_dphy *phy_cfg = &output->phy_opts.mipi_dphy; in cdns_dsi_check_conf() local
619 nlanes, phy_cfg); in cdns_dsi_check_conf()
621 ret = cdns_dsi_adjust_phy_config(dsi, dsi_cfg, phy_cfg, mode, mode_valid_check); in cdns_dsi_check_conf()
638 if ((u64)phy_cfg->hs_clk_rate * in cdns_dsi_check_conf()
786 struct phy_configure_opts_mipi_dphy *phy_cfg = &output->phy_opts.mipi_dphy; in cdns_dsi_bridge_enable() local
836 phy_cfg->hs_clk_rate); in cdns_dsi_bridge_enable()
837 reg_wakeup = (phy_cfg->hs_prepare + phy_cfg->hs_zero) / tx_byte_period; in cdns_dsi_bridge_enable()
A Dnwl-dsi.c71 union phy_configure_opts phy_cfg; member
218 struct phy_configure_opts_mipi_dphy *cfg = &dsi->phy_cfg.mipi_dphy; in nwl_dsi_config_host()
662 union phy_configure_opts *phy_cfg = &dsi->phy_cfg; in nwl_dsi_mode_set() local
676 ret = phy_configure(dsi->phy, phy_cfg); in nwl_dsi_mode_set()
861 memcpy(&dsi->phy_cfg, &new_cfg, sizeof(new_cfg)); in nwl_dsi_bridge_mode_set()
/linux/drivers/phy/intel/
A Dphy-intel-lgm-combo.c142 int (*phy_cfg)(struct intel_cbphy_iphy *)) in intel_cbphy_iphy_cfg()
147 ret = phy_cfg(iphy); in intel_cbphy_iphy_cfg()
154 return phy_cfg(&cbphy->iphy[PHY_1]); in intel_cbphy_iphy_cfg()
/linux/Documentation/devicetree/bindings/display/rockchip/
A Ddw_mipi_dsi_rockchip.txt15 For RK3399, a phy config clock (phy_cfg) and a grf clock(grf)
/linux/drivers/gpu/drm/sun4i/
A Dsun8i_hdmi_phy.c577 plat_data->phy_config = variant->phy_cfg; in sun8i_hdmi_phy_set_ops()
624 .phy_cfg = sun50i_h6_phy_config,
A Dsun8i_dw_hdmi.h157 const struct dw_hdmi_phy_config *phy_cfg; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dfw.c545 phy_cfg_cmd.phy_cfg = in iwl_send_phy_cfg_cmd()
550 phy_cfg_cmd.phy_cfg = cpu_to_le32(iwl_mvm_get_phy_config(mvm)); in iwl_send_phy_cfg_cmd()
553 phy_cfg_cmd.phy_cfg |= in iwl_send_phy_cfg_cmd()
571 phy_cfg_cmd.phy_cfg); in iwl_send_phy_cfg_cmd()
/linux/drivers/net/ethernet/intel/ice/
A Dice_common.c3200 struct ice_aqc_set_phy_cfg_data *phy_cfg) in ice_phy_caps_equals_cfg() argument
3204 if (!phy_caps || !phy_cfg) in ice_phy_caps_equals_cfg()
3214 if (phy_caps->phy_type_low != phy_cfg->phy_type_low || in ice_phy_caps_equals_cfg()
3215 phy_caps->phy_type_high != phy_cfg->phy_type_high || in ice_phy_caps_equals_cfg()
3216 ((phy_caps->caps & caps_mask) != (phy_cfg->caps & cfg_mask)) || in ice_phy_caps_equals_cfg()
3217 phy_caps->low_power_ctrl_an != phy_cfg->low_power_ctrl_an || in ice_phy_caps_equals_cfg()
3218 phy_caps->eee_cap != phy_cfg->eee_cap || in ice_phy_caps_equals_cfg()
3219 phy_caps->eeer_value != phy_cfg->eeer_value || in ice_phy_caps_equals_cfg()
3220 phy_caps->link_fec_options != phy_cfg->link_fec_opt) in ice_phy_caps_equals_cfg()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ethtool.c5499 struct i40e_aq_get_phy_abilities_resp phy_cfg; in i40e_get_eee() local
5506 status = i40e_aq_get_phy_capabilities(hw, false, true, &phy_cfg, NULL); in i40e_get_eee()
5513 if (phy_cfg.eee_capability == 0) in i40e_get_eee()
5520 status = i40e_aq_get_phy_capabilities(hw, false, false, &phy_cfg, NULL); in i40e_get_eee()
5524 edata->advertised = phy_cfg.eee_capability ? SUPPORTED_Autoneg : 0U; in i40e_get_eee()
/linux/drivers/scsi/hisi_sas/
A Dhisi_sas_v2_hw.c1033 u32 phy_cfg = hisi_sas_phy_read32(hisi_hba, i, PHY_CFG); in reset_hw_v2_hw() local
1035 phy_cfg &= ~PHY_CTRL_RESET_MSK; in reset_hw_v2_hw()
1036 hisi_sas_phy_write32(hisi_hba, i, PHY_CFG, phy_cfg); in reset_hw_v2_hw()
/linux/arch/arm64/boot/dts/rockchip/
A Drk3399.dtsi1917 clock-names = "ref", "pclk", "phy_cfg", "grf";
1953 clock-names = "ref", "pclk", "phy_cfg", "grf";

Completed in 105 milliseconds