| /Linux-v5.4/drivers/phy/broadcom/ |
| D | phy-bcm-sr-usb.c | 153 static int bcm_usb_ss_phy_init(struct bcm_usb_phy_cfg *phy_cfg) in bcm_usb_ss_phy_init() argument 156 void __iomem *regs = phy_cfg->regs; in bcm_usb_ss_phy_init() 160 offset = phy_cfg->offset; in bcm_usb_ss_phy_init() 184 static int bcm_usb_hs_phy_init(struct bcm_usb_phy_cfg *phy_cfg) in bcm_usb_hs_phy_init() argument 187 void __iomem *regs = phy_cfg->regs; in bcm_usb_hs_phy_init() 191 offset = phy_cfg->offset; in bcm_usb_hs_phy_init() 230 struct bcm_usb_phy_cfg *phy_cfg = phy_get_drvdata(phy); in bcm_usb_phy_reset() local 231 void __iomem *regs = phy_cfg->regs; in bcm_usb_phy_reset() 234 offset = phy_cfg->offset; in bcm_usb_phy_reset() 236 if (phy_cfg->type == USB_HS_PHY) { in bcm_usb_phy_reset() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | mcdi_port.c | 278 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_get_mcdi_phy_flags() local 284 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN)) in efx_get_mcdi_phy_flags() 286 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN)) in efx_get_mcdi_phy_flags() 288 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN)) in efx_get_mcdi_phy_flags() 519 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_port_reconfigure() local 522 phy_cfg->forced_cap); in efx_mcdi_port_reconfigure() 535 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_check_fcntl() local 540 if (~phy_cfg->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN)) in efx_mcdi_phy_check_fcntl() 593 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_get_link_ksettings() local 599 cmd->base.port = mcdi_to_ethtool_media(phy_cfg->media); in efx_mcdi_phy_get_link_ksettings() [all …]
|
| /Linux-v5.4/drivers/net/usb/ |
| D | aqc111.c | 324 aqc111_data->phy_cfg &= ~AQ_ADV_MASK; in aqc111_set_phy_speed() 325 aqc111_data->phy_cfg |= AQ_PAUSE; in aqc111_set_phy_speed() 326 aqc111_data->phy_cfg |= AQ_ASYM_PAUSE; in aqc111_set_phy_speed() 327 aqc111_data->phy_cfg |= AQ_DOWNSHIFT; in aqc111_set_phy_speed() 328 aqc111_data->phy_cfg &= ~AQ_DSH_RETRIES_MASK; in aqc111_set_phy_speed() 329 aqc111_data->phy_cfg |= (3 << AQ_DSH_RETRIES_SHIFT) & in aqc111_set_phy_speed() 335 aqc111_data->phy_cfg |= AQ_ADV_5G; in aqc111_set_phy_speed() 338 aqc111_data->phy_cfg |= AQ_ADV_2G5; in aqc111_set_phy_speed() 341 aqc111_data->phy_cfg |= AQ_ADV_1G; in aqc111_set_phy_speed() 344 aqc111_data->phy_cfg |= AQ_ADV_100M; in aqc111_set_phy_speed() [all …]
|
| D | aqc111.h | 173 u32 phy_cfg; member
|
| /Linux-v5.4/drivers/phy/rockchip/ |
| D | phy-rockchip-inno-usb2.c | 221 const struct rockchip_usb2phy_cfg *phy_cfg; member 265 if (!property_enabled(base, &rphy->phy_cfg->clkout_ctl)) { in rockchip_usb2phy_clk480m_prepare() 266 ret = property_enable(base, &rphy->phy_cfg->clkout_ctl, true); 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() 658 property_enable(base, &rphy->phy_cfg->chg_det.rdm_pdwn_en, en); in rockchip_chg_enable_dcd() 659 property_enable(base, &rphy->phy_cfg->chg_det.idp_src_en, en); in rockchip_chg_enable_dcd() 667 property_enable(base, &rphy->phy_cfg->chg_det.vdp_src_en, en); in rockchip_chg_enable_primary_det() 668 property_enable(base, &rphy->phy_cfg->chg_det.idm_sink_en, en); in rockchip_chg_enable_primary_det() 676 property_enable(base, &rphy->phy_cfg->chg_det.vdm_src_en, en); in rockchip_chg_enable_secondary_det() [all …]
|
| D | phy-rockchip-inno-hdmi.c | 283 const struct phy_config *phy_cfg); 461 const struct phy_config *phy_cfg = inno->plat_data->phy_cfg_table; in inno_hdmi_phy_power_on() local 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() 492 ret = inno->plat_data->ops->power_on(inno, cfg, phy_cfg); in inno_hdmi_phy_power_on() 894 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3228_power_on() argument 926 inno_write(inno, 0xef + v, phy_cfg->regs[v]); in inno_hdmi_phy_rk3228_power_on() 1009 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3328_power_on() argument 1034 inno_write(inno, 0xb5 + v, phy_cfg->regs[v]); in inno_hdmi_phy_rk3328_power_on() [all …]
|
| /Linux-v5.4/drivers/scsi/mvsas/ |
| D | mv_94xx.c | 166 union reg_phy_cfg phy_cfg, phy_cfg_tmp; in set_phy_rate() local 169 phy_cfg.v = 0; in set_phy_rate() 170 phy_cfg.u.disable_phy = phy_cfg_tmp.u.disable_phy; 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() 181 phy_cfg.u.tx_spt_phs_lnk_rate = 0x30; in set_phy_rate() [all …]
|
| /Linux-v5.4/drivers/phy/samsung/ |
| D | phy-exynos5-usbdrd.c | 168 const struct exynos5_usbdrd_phy_config *phy_cfg; member 205 const struct exynos5_usbdrd_phy_config *phy_cfg; member 415 inst->phy_cfg->phy_init(phy_drd); in exynos5_usbdrd_phy_init() 418 reg = inst->phy_cfg->set_refclk(inst); in exynos5_usbdrd_phy_init() 511 inst->phy_cfg->phy_isol(inst, 0); in exynos5_usbdrd_phy_power_on() 538 inst->phy_cfg->phy_isol(inst, 1); in exynos5_usbdrd_phy_power_off() 796 .phy_cfg = phy_cfg_exynos5, 803 .phy_cfg = phy_cfg_exynos5, 809 .phy_cfg = phy_cfg_exynos5, 816 .phy_cfg = phy_cfg_exynos5, [all …]
|
| /Linux-v5.4/drivers/gpu/drm/bridge/ |
| D | cdns-dsi.c | 556 struct phy_configure_opts_mipi_dphy *phy_cfg, in cdns_dsi_adjust_phy_config() argument 594 phy_cfg->hs_clk_rate = dlane_bps * 8; in cdns_dsi_adjust_phy_config() 609 struct phy_configure_opts_mipi_dphy *phy_cfg = &output->phy_opts.mipi_dphy; in cdns_dsi_check_conf() local 620 nlanes, phy_cfg); in cdns_dsi_check_conf() 622 ret = cdns_dsi_adjust_phy_config(dsi, dsi_cfg, phy_cfg, mode, mode_valid_check); in cdns_dsi_check_conf() 639 if ((u64)phy_cfg->hs_clk_rate * in cdns_dsi_check_conf() 784 struct phy_configure_opts_mipi_dphy *phy_cfg = &output->phy_opts.mipi_dphy; in cdns_dsi_bridge_enable() local 835 phy_cfg->hs_clk_rate); in cdns_dsi_bridge_enable() 836 reg_wakeup = (phy_cfg->hs_prepare + phy_cfg->hs_zero) / tx_byte_period; in cdns_dsi_bridge_enable()
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
| D | qed_mcp.c | 1480 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() 1488 phy_cfg.speed = params->speed.forced_speed; in qed_mcp_set_link() 1489 phy_cfg.pause |= (params->pause.autoneg) ? ETH_PAUSE_AUTONEG : 0; in qed_mcp_set_link() 1490 phy_cfg.pause |= (params->pause.forced_rx) ? ETH_PAUSE_RX : 0; in qed_mcp_set_link() 1491 phy_cfg.pause |= (params->pause.forced_tx) ? ETH_PAUSE_TX : 0; in qed_mcp_set_link() 1492 phy_cfg.adv_speed = params->speed.advertised_speeds; in qed_mcp_set_link() 1493 phy_cfg.loopback_mode = params->loopback_mode; 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() [all …]
|
| D | qed_hsi.h | 13281 u32 phy_cfg; member
|
| /Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| D | config.h | 128 __le32 phy_cfg; member
|
| /Linux-v5.4/arch/mips/include/asm/mach-pmcs-msp71xx/ |
| D | msp_usb.h | 52 u32 phy_cfg; /* 0x14: USB phy config */ member
|
| /Linux-v5.4/Documentation/devicetree/bindings/display/rockchip/ |
| D | dw_mipi_dsi_rockchip.txt | 13 (phy_cfg) and a grf clock(grf) are required. As described in [1].
|
| /Linux-v5.4/drivers/gpu/drm/sun4i/ |
| D | sun8i_dw_hdmi.h | 157 const struct dw_hdmi_phy_config *phy_cfg; member
|
| D | sun8i_hdmi_phy.c | 532 plat_data->phy_config = variant->phy_cfg; in sun8i_hdmi_phy_set_ops() 579 .phy_cfg = sun50i_h6_phy_config,
|
| /Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | fw.c | 518 phy_cfg_cmd.phy_cfg = cpu_to_le32(iwl_mvm_get_phy_config(mvm)); in iwl_send_phy_cfg_cmd() 521 phy_cfg_cmd.phy_cfg |= cpu_to_le32(mvm->cfg->extra_phy_cfg_flags); in iwl_send_phy_cfg_cmd() 529 phy_cfg_cmd.phy_cfg); in iwl_send_phy_cfg_cmd()
|
| /Linux-v5.4/drivers/scsi/hisi_sas/ |
| D | hisi_sas_v2_hw.c | 1028 u32 phy_cfg = hisi_sas_phy_read32(hisi_hba, i, PHY_CFG); in reset_hw_v2_hw() local 1030 phy_cfg &= ~PHY_CTRL_RESET_MSK; in reset_hw_v2_hw() 1031 hisi_sas_phy_write32(hisi_hba, i, PHY_CFG, phy_cfg); in reset_hw_v2_hw()
|
| /Linux-v5.4/arch/arm64/boot/dts/rockchip/ |
| D | rk3399.dtsi | 1779 clock-names = "ref", "pclk", "phy_cfg", "grf"; 1815 clock-names = "ref", "pclk", "phy_cfg", "grf";
|