Searched refs:phy_cfg (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/drivers/phy/broadcom/
H A Dphy-bcm-sr-usb.c124 static int bcm_usb_ss_phy_init(struct bcm_usb_phy_cfg *phy_cfg) argument
127 void __iomem *regs = phy_cfg->regs;
131 offset = phy_cfg->offset;
155 static int bcm_usb_hs_phy_init(struct bcm_usb_phy_cfg *phy_cfg) argument
158 void __iomem *regs = phy_cfg->regs;
161 offset = phy_cfg->offset;
176 struct bcm_usb_phy_cfg *phy_cfg = phy_get_drvdata(phy); local
177 void __iomem *regs = phy_cfg->regs;
180 offset = phy_cfg->offset;
182 if (phy_cfg
194 struct bcm_usb_phy_cfg *phy_cfg = phy_get_drvdata(phy); local
214 struct bcm_usb_phy_cfg *phy_cfg; local
235 struct bcm_usb_phy_cfg *phy_cfg; local
[all...]
/linux-master/drivers/phy/realtek/
H A Dphy-rtk-usb3.c63 struct phy_cfg { struct
88 struct phy_cfg *phy_cfg; member in struct:rtk_phy
152 struct phy_cfg *phy_cfg = rtk_phy->phy_cfg; local
163 if (!phy_cfg->do_toggle)
167 phy_data = phy_cfg->param + i;
185 struct phy_cfg *phy_cfg; local
359 struct phy_cfg *phy_cfg; local
436 struct phy_cfg *phy_cfg = rtk_phy->phy_cfg; local
471 struct phy_cfg *phy_cfg; local
565 const struct phy_cfg *phy_cfg; local
[all...]
H A Dphy-rtk-usb2.c74 struct phy_cfg { struct
118 struct phy_cfg *phy_cfg; member in struct:rtk_phy
238 static u8 __updated_dc_disconnect_level_page0_0xe4(struct phy_cfg *phy_cfg, argument
243 s32 dc_disconnect_mask = phy_cfg->dc_disconnect_mask;
265 struct phy_cfg *phy_cfg; local
274 phy_cfg = rtk_phy->phy_cfg;
304 __updated_dc_disconnect_level_page1_0xe2(struct phy_cfg *phy_cfg, struct phy_parameter *phy_parameter, u8 data) argument
338 struct phy_cfg *phy_cfg; local
378 struct phy_cfg *phy_cfg = rtk_phy->phy_cfg; local
386 __update_dc_driving_page0_0xe4(struct phy_cfg *phy_cfg, struct phy_parameter *phy_parameter, u8 data) argument
418 struct phy_cfg *phy_cfg; local
453 struct phy_cfg *phy_cfg; local
474 struct phy_cfg *phy_cfg; local
563 struct phy_cfg *phy_cfg; local
725 struct phy_cfg *phy_cfg; local
873 struct phy_cfg *phy_cfg = rtk_phy->phy_cfg; local
1011 const struct phy_cfg *phy_cfg; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dconfig.h81 * @phy_cfg: PHY configuration value, uses &enum iwl_fw_phy_cfg
85 __le32 phy_cfg; member in struct:iwl_phy_cfg_cmd_v1
92 * @phy_cfg: PHY configuration value, uses &enum iwl_fw_phy_cfg
97 __le32 phy_cfg; member in struct:iwl_phy_cfg_cmd_v3
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dmcdi_port_common.c235 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
241 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN))
243 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN))
245 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN))
377 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
383 if (~phy_cfg->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN))
542 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
548 cmd->base.port = mcdi_to_ethtool_media(phy_cfg->media);
549 cmd->base.phy_address = phy_cfg->port;
554 mcdi_to_ethtool_linkset(phy_cfg
573 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
687 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
738 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
823 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
863 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Dmcdi_port_common.c234 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
240 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN))
242 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN))
244 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN))
376 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
382 if (~phy_cfg->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN))
540 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
546 cmd->base.port = mcdi_to_ethtool_media(phy_cfg->media);
547 cmd->base.phy_address = phy_cfg->port;
552 mcdi_to_ethtool_linkset(phy_cfg
569 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
681 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
732 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
816 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
855 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; local
[all...]
/linux-master/drivers/gpu/drm/bridge/imx/
H A Dimx8qxp-ldb.c67 struct phy_configure_opts_lvds *phy_cfg)
69 phy_cfg->bits_per_lane_and_dclk_cycle = 7;
70 phy_cfg->lanes = 4;
73 phy_cfg->differential_clk_rate = di_clk / 2;
74 phy_cfg->is_slave = !imx8qxp_ldb->companion;
76 phy_cfg->differential_clk_rate = di_clk;
77 phy_cfg->is_slave = false;
97 struct phy_configure_opts_lvds *phy_cfg = &opts.lvds; local
105 imx8qxp_ldb_set_phy_cfg(imx8qxp_ldb, di_clk, is_split, phy_cfg);
139 struct phy_configure_opts_lvds *phy_cfg local
65 imx8qxp_ldb_set_phy_cfg(struct imx8qxp_ldb *imx8qxp_ldb, unsigned long di_clk, bool is_split, struct phy_configure_opts_lvds *phy_cfg) argument
[all...]
H A Dimx8qm-ldb.c70 struct phy_configure_opts_lvds *phy_cfg)
72 phy_cfg->bits_per_lane_and_dclk_cycle = 7;
73 phy_cfg->lanes = 4;
74 phy_cfg->differential_clk_rate = is_split ? di_clk / 2 : di_clk;
75 phy_cfg->is_slave = is_slave;
92 struct phy_configure_opts_lvds *phy_cfg = &opts.lvds; local
100 imx8qm_ldb_set_phy_cfg(imx8qm_ldb, di_clk, is_split, false, phy_cfg);
112 phy_cfg);
139 struct phy_configure_opts_lvds *phy_cfg = &opts.lvds; local
154 imx8qm_ldb_set_phy_cfg(imx8qm_ldb, di_clk, is_split, false, phy_cfg);
67 imx8qm_ldb_set_phy_cfg(struct imx8qm_ldb *imx8qm_ldb, unsigned long di_clk, bool is_split, bool is_slave, struct phy_configure_opts_lvds *phy_cfg) argument
[all...]
H A Dimx93-mipi-dsi.c100 union phy_configure_opts phy_cfg; member in struct:imx93_dsi
469 union phy_configure_opts *phy_cfg,
483 lanes, &phy_cfg->mipi_dphy);
523 union phy_configure_opts phy_cfg; local
528 ret = imx93_dsi_get_phy_configure_opts(dsi, mode, &phy_cfg, lanes,
535 ret = dphy_pll_get_configure_from_opts(dsi, &phy_cfg.mipi_dphy, &cfg);
658 ret = dphy_pll_configure(dsi, &dsi->phy_cfg);
682 union phy_configure_opts phy_cfg; local
686 ret = imx93_dsi_get_phy_configure_opts(dsi, mode, &phy_cfg, lanes,
693 *lane_mbps = DIV_ROUND_UP(phy_cfg
467 imx93_dsi_get_phy_configure_opts(struct imx93_dsi *dsi, const struct drm_display_mode *mode, union phy_configure_opts *phy_cfg, u32 lanes, u32 format) argument
[all...]
/linux-master/drivers/net/usb/
H A Daqc111.c324 aqc111_data->phy_cfg &= ~AQ_ADV_MASK;
325 aqc111_data->phy_cfg |= AQ_PAUSE;
326 aqc111_data->phy_cfg |= AQ_ASYM_PAUSE;
327 aqc111_data->phy_cfg |= AQ_DOWNSHIFT;
328 aqc111_data->phy_cfg &= ~AQ_DSH_RETRIES_MASK;
329 aqc111_data->phy_cfg |= (3 << AQ_DSH_RETRIES_SHIFT) &
335 aqc111_data->phy_cfg |= AQ_ADV_5G;
338 aqc111_data->phy_cfg |= AQ_ADV_2G5;
341 aqc111_data->phy_cfg |= AQ_ADV_1G;
344 aqc111_data->phy_cfg |
[all...]
H A Daqc111.h173 u32 phy_cfg; member in struct:aqc111_data
/linux-master/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c242 * @phy_cfg: phy register configuration, assigned by driver data.
258 const struct rockchip_usb2phy_cfg *phy_cfg; member in struct:rockchip_usb2phy
321 if (!property_enabled(base, &rphy->phy_cfg->clkout_ctl)) {
322 ret = property_enable(base, &rphy->phy_cfg->clkout_ctl, true);
340 property_enable(base, &rphy->phy_cfg->clkout_ctl, false);
349 return property_enabled(base, &rphy->phy_cfg->clkout_ctl);
776 property_enable(base, &rphy->phy_cfg->chg_det.rdm_pdwn_en, en);
777 property_enable(base, &rphy->phy_cfg->chg_det.idp_src_en, en);
785 property_enable(base, &rphy->phy_cfg->chg_det.vdp_src_en, en);
786 property_enable(base, &rphy->phy_cfg
[all...]
H A Dphy-rockchip-inno-hdmi.c283 const struct phy_config *phy_cfg);
609 const struct phy_config *phy_cfg = inno->plat_data->phy_cfg_table; local
627 for (; phy_cfg->tmdsclock != 0; phy_cfg++)
628 if (tmdsclock <= phy_cfg->tmdsclock)
631 if (cfg->tmdsclock == 0 || phy_cfg->tmdsclock == 0)
642 ret = inno->plat_data->ops->power_on(inno, cfg, phy_cfg);
1057 const struct phy_config *phy_cfg)
1089 inno_write(inno, 0xef + v, phy_cfg->regs[v]);
1172 const struct phy_config *phy_cfg)
1055 inno_hdmi_phy_rk3228_power_on(struct inno_hdmi_phy *inno, const struct post_pll_config *cfg, const struct phy_config *phy_cfg) argument
1170 inno_hdmi_phy_rk3328_power_on(struct inno_hdmi_phy *inno, const struct post_pll_config *cfg, const struct phy_config *phy_cfg) argument
[all...]
H A Dphy-rockchip-naneng-combphy.c324 const struct rockchip_combphy_cfg *phy_cfg; local
328 phy_cfg = of_device_get_match_data(dev);
329 if (!phy_cfg) {
346 for (id = 0; id < phy_cfg->num_phys; id++) {
347 if (res->start == phy_cfg->phy_ids[id]) {
355 priv->cfg = phy_cfg;
/linux-master/drivers/phy/samsung/
H A Dphy-exynos5-usbdrd.c196 const struct exynos5_usbdrd_phy_config *phy_cfg; member in struct:exynos5_usbdrd_phy_drvdata
213 * instances each with its 'phy' and 'phy_cfg'.
234 const struct exynos5_usbdrd_phy_config *phy_cfg; member in struct:exynos5_usbdrd_phy::phy_usb_instance
447 inst->phy_cfg->phy_init(phy_drd);
450 reg = inst->phy_cfg->set_refclk(inst);
543 inst->phy_cfg->phy_isol(inst, 0);
570 inst->phy_cfg->phy_isol(inst, 1);
733 if (inst->phy_cfg->id == EXYNOS5_DRDPHY_UTMI)
819 inst->phy_cfg->phy_init(phy_drd);
945 .phy_cfg
[all...]
/linux-master/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-core.c878 union phy_configure_opts phy_cfg; local
899 phy_cfg.dp.link_rate = mhdp->link.rate / 100;
900 phy_cfg.dp.lanes = mhdp->link.num_lanes;
902 memset(phy_cfg.dp.voltage, 0, sizeof(phy_cfg.dp.voltage));
903 memset(phy_cfg.dp.pre, 0, sizeof(phy_cfg.dp.pre));
905 phy_cfg.dp.ssc = cdns_mhdp_get_ssc_supported(mhdp);
906 phy_cfg.dp.set_lanes = true;
907 phy_cfg
928 cdns_mhdp_get_adjust_train(struct cdns_mhdp_device *mhdp, u8 link_status[DP_LINK_STATUS_SIZE], u8 lanes_data[CDNS_DP_MAX_NUM_LANES], union phy_configure_opts *phy_cfg) argument
1021 cdns_mhdp_print_lt_status(const char *prefix, struct cdns_mhdp_device *mhdp, union phy_configure_opts *phy_cfg) argument
1049 union phy_configure_opts phy_cfg; local
1175 union phy_configure_opts phy_cfg; local
[all...]
H A Dcdns-dsi-core.c515 struct phy_configure_opts_mipi_dphy *phy_cfg,
553 phy_cfg->hs_clk_rate = dlane_bps * 8;
568 struct phy_configure_opts_mipi_dphy *phy_cfg = &output->phy_opts.mipi_dphy; local
579 nlanes, phy_cfg);
581 ret = cdns_dsi_adjust_phy_config(dsi, dsi_cfg, phy_cfg, mode, mode_valid_check);
598 if ((u64)phy_cfg->hs_clk_rate *
761 struct phy_configure_opts_mipi_dphy *phy_cfg = &output->phy_opts.mipi_dphy; local
814 phy_cfg->hs_clk_rate);
815 reg_wakeup = (phy_cfg->hs_prepare + phy_cfg
513 cdns_dsi_adjust_phy_config(struct cdns_dsi *dsi, struct cdns_dsi_cfg *dsi_cfg, struct phy_configure_opts_mipi_dphy *phy_cfg, const struct drm_display_mode *mode, bool mode_valid_check) argument
[all...]
/linux-master/drivers/scsi/mvsas/
H A Dmv_94xx.c166 union reg_phy_cfg phy_cfg, phy_cfg_tmp; local
169 phy_cfg.v = 0;
170 phy_cfg.u.disable_phy = phy_cfg_tmp.u.disable_phy;
171 phy_cfg.u.sas_support = 1;
172 phy_cfg.u.sata_support = 1;
173 phy_cfg.u.sata_host_mode = 1;
178 phy_cfg.u.speed_support = 1;
179 phy_cfg.u.snw_3_support = 0;
180 phy_cfg.u.tx_lnk_parity = 1;
181 phy_cfg
[all...]
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c1525 struct eth_phy_cfg phy_cfg; local
1531 memset(&phy_cfg, 0, sizeof(phy_cfg));
1534 phy_cfg.speed = params->speed.forced_speed;
1535 phy_cfg.pause |= (params->pause.autoneg) ? ETH_PAUSE_AUTONEG : 0;
1536 phy_cfg.pause |= (params->pause.forced_rx) ? ETH_PAUSE_RX : 0;
1537 phy_cfg.pause |= (params->pause.forced_tx) ? ETH_PAUSE_TX : 0;
1538 phy_cfg.adv_speed = params->speed.advertised_speeds;
1539 phy_cfg.loopback_mode = params->loopback_mode;
1548 phy_cfg
[all...]
/linux-master/drivers/phy/intel/
H A Dphy-intel-lgm-combo.c142 int (*phy_cfg)(struct intel_cbphy_iphy *))
147 ret = phy_cfg(iphy);
154 return phy_cfg(&cbphy->iphy[PHY_1]);
/linux-master/drivers/gpu/drm/bridge/
H A Dnwl-dsi.c71 union phy_configure_opts phy_cfg; member in struct:nwl_dsi
215 struct phy_configure_opts_mipi_dphy *cfg = &dsi->phy_cfg.mipi_dphy;
655 union phy_configure_opts *phy_cfg = &dsi->phy_cfg; local
675 ret = phy_configure(dsi->phy, phy_cfg);
860 memcpy(&dsi->phy_cfg, &new_cfg, sizeof(new_cfg));
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun8i_dw_hdmi.h155 const struct dw_hdmi_phy_config *phy_cfg; member in struct:sun8i_hdmi_phy_variant
H A Dsun8i_hdmi_phy.c586 plat_data->phy_config = variant->phy_cfg;
625 .phy_cfg = sun50i_h6_phy_config,
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dfw.c588 phy_cfg_cmd.phy_cfg =
593 phy_cfg_cmd.phy_cfg = cpu_to_le32(iwl_mvm_get_phy_config(mvm));
596 phy_cfg_cmd.phy_cfg |=
610 phy_cfg_cmd.phy_cfg);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_common.c3492 * @phy_cfg: PHY configuration
3499 struct ice_aqc_set_phy_cfg_data *phy_cfg)
3503 if (!phy_caps || !phy_cfg)
3513 if (phy_caps->phy_type_low != phy_cfg->phy_type_low ||
3514 phy_caps->phy_type_high != phy_cfg->phy_type_high ||
3515 ((phy_caps->caps & caps_mask) != (phy_cfg->caps & cfg_mask)) ||
3516 phy_caps->low_power_ctrl_an != phy_cfg->low_power_ctrl_an ||
3517 phy_caps->eee_cap != phy_cfg->eee_cap ||
3518 phy_caps->eeer_value != phy_cfg->eeer_value ||
3519 phy_caps->link_fec_options != phy_cfg
3498 ice_phy_caps_equals_cfg(struct ice_aqc_get_phy_caps_data *phy_caps, struct ice_aqc_set_phy_cfg_data *phy_cfg) argument
[all...]

Completed in 515 milliseconds

12