/kernel/linux/linux-5.10/drivers/phy/broadcom/ |
H A D | phy-bcm-sr-usb.c | 124 static int bcm_usb_ss_phy_init(struct bcm_usb_phy_cfg *phy_cfg) in bcm_usb_ss_phy_init() argument 127 void __iomem *regs = phy_cfg->regs; in bcm_usb_ss_phy_init() 131 offset = phy_cfg->offset; in bcm_usb_ss_phy_init() 155 static int bcm_usb_hs_phy_init(struct bcm_usb_phy_cfg *phy_cfg) in bcm_usb_hs_phy_init() argument 158 void __iomem *regs = phy_cfg->regs; in bcm_usb_hs_phy_init() 161 offset = phy_cfg->offset; in bcm_usb_hs_phy_init() 176 struct bcm_usb_phy_cfg *phy_cfg = phy_get_drvdata(phy); in bcm_usb_phy_reset() local 177 void __iomem *regs = phy_cfg->regs; in bcm_usb_phy_reset() 180 offset = phy_cfg->offset; in bcm_usb_phy_reset() 182 if (phy_cfg in bcm_usb_phy_reset() 194 struct bcm_usb_phy_cfg *phy_cfg = phy_get_drvdata(phy); bcm_usb_phy_init() local 214 struct bcm_usb_phy_cfg *phy_cfg; bcm_usb_phy_xlate() local 235 struct bcm_usb_phy_cfg *phy_cfg; bcm_usb_phy_create() local [all...] |
/kernel/linux/linux-6.6/drivers/phy/broadcom/ |
H A D | phy-bcm-sr-usb.c | 124 static int bcm_usb_ss_phy_init(struct bcm_usb_phy_cfg *phy_cfg) in bcm_usb_ss_phy_init() argument 127 void __iomem *regs = phy_cfg->regs; in bcm_usb_ss_phy_init() 131 offset = phy_cfg->offset; in bcm_usb_ss_phy_init() 155 static int bcm_usb_hs_phy_init(struct bcm_usb_phy_cfg *phy_cfg) in bcm_usb_hs_phy_init() argument 158 void __iomem *regs = phy_cfg->regs; in bcm_usb_hs_phy_init() 161 offset = phy_cfg->offset; in bcm_usb_hs_phy_init() 176 struct bcm_usb_phy_cfg *phy_cfg = phy_get_drvdata(phy); in bcm_usb_phy_reset() local 177 void __iomem *regs = phy_cfg->regs; in bcm_usb_phy_reset() 180 offset = phy_cfg->offset; in bcm_usb_phy_reset() 182 if (phy_cfg in bcm_usb_phy_reset() 194 struct bcm_usb_phy_cfg *phy_cfg = phy_get_drvdata(phy); bcm_usb_phy_init() local 214 struct bcm_usb_phy_cfg *phy_cfg; bcm_usb_phy_xlate() local 235 struct bcm_usb_phy_cfg *phy_cfg; bcm_usb_phy_create() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.c | 236 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_get_mcdi_phy_flags() local 242 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN)) in efx_get_mcdi_phy_flags() 244 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN)) in efx_get_mcdi_phy_flags() 246 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN)) in efx_get_mcdi_phy_flags() 378 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_check_fcntl() local 384 if (~phy_cfg->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN)) in efx_mcdi_phy_check_fcntl() 542 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_get_link_ksettings() local 548 cmd->base.port = mcdi_to_ethtool_media(phy_cfg->media); in efx_mcdi_phy_get_link_ksettings() 549 cmd->base.phy_address = phy_cfg->port; in efx_mcdi_phy_get_link_ksettings() 554 mcdi_to_ethtool_linkset(phy_cfg in efx_mcdi_phy_get_link_ksettings() 571 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_phy_set_link_ksettings() local 683 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_phy_set_fecparam() local 734 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_port_reconfigure() local 818 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_phy_run_tests() local 857 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_phy_test_name() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.c | 234 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_get_mcdi_phy_flags() local 240 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN)) in efx_get_mcdi_phy_flags() 242 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN)) in efx_get_mcdi_phy_flags() 244 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN)) in efx_get_mcdi_phy_flags() 376 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_check_fcntl() local 382 if (~phy_cfg->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN)) in efx_mcdi_phy_check_fcntl() 540 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_get_link_ksettings() local 546 cmd->base.port = mcdi_to_ethtool_media(phy_cfg->media); in efx_mcdi_phy_get_link_ksettings() 547 cmd->base.phy_address = phy_cfg->port; in efx_mcdi_phy_get_link_ksettings() 552 mcdi_to_ethtool_linkset(phy_cfg in efx_mcdi_phy_get_link_ksettings() 569 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_phy_set_link_ksettings() local 681 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_phy_set_fecparam() local 732 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_port_reconfigure() local 816 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_phy_run_tests() local 855 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_mcdi_phy_test_name() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_port_common.c | 235 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_get_mcdi_phy_flags() local 241 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN)) in efx_get_mcdi_phy_flags() 243 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN)) in efx_get_mcdi_phy_flags() 245 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN)) in efx_get_mcdi_phy_flags() 377 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_check_fcntl() local 383 if (~phy_cfg->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN)) in efx_mcdi_phy_check_fcntl() 542 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_siena_mcdi_phy_get_link_ksettings() local 548 cmd->base.port = mcdi_to_ethtool_media(phy_cfg->media); in efx_siena_mcdi_phy_get_link_ksettings() 549 cmd->base.phy_address = phy_cfg->port; in efx_siena_mcdi_phy_get_link_ksettings() 554 mcdi_to_ethtool_linkset(phy_cfg in efx_siena_mcdi_phy_get_link_ksettings() 573 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_siena_mcdi_phy_set_link_ksettings() local 687 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_siena_mcdi_phy_set_fecparam() local 738 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_siena_mcdi_port_reconfigure() local 823 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_siena_mcdi_phy_run_tests() local 863 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; efx_siena_mcdi_phy_test_name() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/imx/ |
H A D | imx8qm-ldb.c | 70 struct phy_configure_opts_lvds *phy_cfg) in imx8qm_ldb_set_phy_cfg() 72 phy_cfg->bits_per_lane_and_dclk_cycle = 7; in imx8qm_ldb_set_phy_cfg() 73 phy_cfg->lanes = 4; in imx8qm_ldb_set_phy_cfg() 74 phy_cfg->differential_clk_rate = is_split ? di_clk / 2 : di_clk; in imx8qm_ldb_set_phy_cfg() 75 phy_cfg->is_slave = is_slave; in imx8qm_ldb_set_phy_cfg() 92 struct phy_configure_opts_lvds *phy_cfg = &opts.lvds; in imx8qm_ldb_bridge_atomic_check() local 100 imx8qm_ldb_set_phy_cfg(imx8qm_ldb, di_clk, is_split, false, phy_cfg); in imx8qm_ldb_bridge_atomic_check() 112 phy_cfg); in imx8qm_ldb_bridge_atomic_check() 139 struct phy_configure_opts_lvds *phy_cfg = &opts.lvds; in imx8qm_ldb_bridge_mode_set() local 154 imx8qm_ldb_set_phy_cfg(imx8qm_ldb, di_clk, is_split, false, phy_cfg); in imx8qm_ldb_bridge_mode_set() 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) imx8qm_ldb_set_phy_cfg() argument [all...] |
H A D | imx8qxp-ldb.c | 67 struct phy_configure_opts_lvds *phy_cfg) in imx8qxp_ldb_set_phy_cfg() 69 phy_cfg->bits_per_lane_and_dclk_cycle = 7; in imx8qxp_ldb_set_phy_cfg() 70 phy_cfg->lanes = 4; in imx8qxp_ldb_set_phy_cfg() 73 phy_cfg->differential_clk_rate = di_clk / 2; in imx8qxp_ldb_set_phy_cfg() 74 phy_cfg->is_slave = !imx8qxp_ldb->companion; in imx8qxp_ldb_set_phy_cfg() 76 phy_cfg->differential_clk_rate = di_clk; in imx8qxp_ldb_set_phy_cfg() 77 phy_cfg->is_slave = false; in imx8qxp_ldb_set_phy_cfg() 97 struct phy_configure_opts_lvds *phy_cfg = &opts.lvds; in imx8qxp_ldb_bridge_atomic_check() local 105 imx8qxp_ldb_set_phy_cfg(imx8qxp_ldb, di_clk, is_split, phy_cfg); in imx8qxp_ldb_bridge_atomic_check() 139 struct phy_configure_opts_lvds *phy_cfg in imx8qxp_ldb_bridge_mode_set() 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) imx8qxp_ldb_set_phy_cfg() argument [all...] |
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 207 * @phy_cfg: phy register configuration, assigned by driver data. 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() 660 property_enable(base, &rphy->phy_cfg->chg_det.rdm_pdwn_en, en); in rockchip_chg_enable_dcd() 661 property_enable(base, &rphy->phy_cfg->chg_det.idp_src_en, en); in rockchip_chg_enable_dcd() 669 property_enable(base, &rphy->phy_cfg->chg_det.vdp_src_en, en); in rockchip_chg_enable_primary_det() 670 property_enable(base, &rphy->phy_cfg in rockchip_chg_enable_primary_det() [all...] |
H A 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() 900 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3228_power_on() 932 inno_write(inno, 0xef + v, phy_cfg->regs[v]); in inno_hdmi_phy_rk3228_power_on() 1015 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3328_power_on() 898 inno_hdmi_phy_rk3228_power_on(struct inno_hdmi_phy *inno, const struct post_pll_config *cfg, const struct phy_config *phy_cfg) inno_hdmi_phy_rk3228_power_on() argument 1013 inno_hdmi_phy_rk3328_power_on(struct inno_hdmi_phy *inno, const struct post_pll_config *cfg, const struct phy_config *phy_cfg) inno_hdmi_phy_rk3328_power_on() argument [all...] |
/kernel/linux/linux-6.6/drivers/phy/samsung/ |
H A D | phy-exynos5-usbdrd.c | 196 const struct exynos5_usbdrd_phy_config *phy_cfg; member 213 * instances each with its 'phy' and 'phy_cfg'. 234 const struct exynos5_usbdrd_phy_config *phy_cfg; member 447 inst->phy_cfg->phy_init(phy_drd); in exynos5_usbdrd_phy_init() 450 reg = inst->phy_cfg->set_refclk(inst); in exynos5_usbdrd_phy_init() 543 inst->phy_cfg->phy_isol(inst, 0); in exynos5_usbdrd_phy_power_on() 570 inst->phy_cfg->phy_isol(inst, 1); in exynos5_usbdrd_phy_power_off() 733 if (inst->phy_cfg->id == EXYNOS5_DRDPHY_UTMI) in exynos5_usbdrd_phy_calibrate() 819 inst->phy_cfg->phy_init(phy_drd); in exynos850_usbdrd_phy_init() 945 .phy_cfg [all...] |
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A 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 | in aqc111_set_phy_speed() [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A 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 | in aqc111_set_phy_speed() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-mhdp8546-core.c | 859 union phy_configure_opts phy_cfg; in cdns_mhdp_link_training_init() local 880 phy_cfg.dp.link_rate = mhdp->link.rate / 100; in cdns_mhdp_link_training_init() 881 phy_cfg.dp.lanes = mhdp->link.num_lanes; in cdns_mhdp_link_training_init() 883 memset(phy_cfg.dp.voltage, 0, sizeof(phy_cfg.dp.voltage)); in cdns_mhdp_link_training_init() 884 memset(phy_cfg.dp.pre, 0, sizeof(phy_cfg.dp.pre)); in cdns_mhdp_link_training_init() 886 phy_cfg.dp.ssc = cdns_mhdp_get_ssc_supported(mhdp); in cdns_mhdp_link_training_init() 887 phy_cfg.dp.set_lanes = true; in cdns_mhdp_link_training_init() 888 phy_cfg in cdns_mhdp_link_training_init() 909 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) cdns_mhdp_get_adjust_train() argument 1002 cdns_mhdp_print_lt_status(const char *prefix, struct cdns_mhdp_device *mhdp, union phy_configure_opts *phy_cfg) cdns_mhdp_print_lt_status() argument 1030 union phy_configure_opts phy_cfg; cdns_mhdp_link_training_channel_eq() local 1156 union phy_configure_opts phy_cfg; cdns_mhdp_link_training_cr() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-mhdp8546-core.c | 878 union phy_configure_opts phy_cfg; in cdns_mhdp_link_training_init() local 899 phy_cfg.dp.link_rate = mhdp->link.rate / 100; in cdns_mhdp_link_training_init() 900 phy_cfg.dp.lanes = mhdp->link.num_lanes; in cdns_mhdp_link_training_init() 902 memset(phy_cfg.dp.voltage, 0, sizeof(phy_cfg.dp.voltage)); in cdns_mhdp_link_training_init() 903 memset(phy_cfg.dp.pre, 0, sizeof(phy_cfg.dp.pre)); in cdns_mhdp_link_training_init() 905 phy_cfg.dp.ssc = cdns_mhdp_get_ssc_supported(mhdp); in cdns_mhdp_link_training_init() 906 phy_cfg.dp.set_lanes = true; in cdns_mhdp_link_training_init() 907 phy_cfg in cdns_mhdp_link_training_init() 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) cdns_mhdp_get_adjust_train() argument 1021 cdns_mhdp_print_lt_status(const char *prefix, struct cdns_mhdp_device *mhdp, union phy_configure_opts *phy_cfg) cdns_mhdp_print_lt_status() argument 1049 union phy_configure_opts phy_cfg; cdns_mhdp_link_training_channel_eq() local 1175 union phy_configure_opts phy_cfg; cdns_mhdp_link_training_cr() local [all...] |
H A D | cdns-dsi-core.c | 515 struct phy_configure_opts_mipi_dphy *phy_cfg, in cdns_dsi_adjust_phy_config() 553 phy_cfg->hs_clk_rate = dlane_bps * 8; in cdns_dsi_adjust_phy_config() 568 struct phy_configure_opts_mipi_dphy *phy_cfg = &output->phy_opts.mipi_dphy; in cdns_dsi_check_conf() local 579 nlanes, phy_cfg); in cdns_dsi_check_conf() 581 ret = cdns_dsi_adjust_phy_config(dsi, dsi_cfg, phy_cfg, mode, mode_valid_check); in cdns_dsi_check_conf() 598 if ((u64)phy_cfg->hs_clk_rate * in cdns_dsi_check_conf() 761 struct phy_configure_opts_mipi_dphy *phy_cfg = &output->phy_opts.mipi_dphy; in cdns_dsi_bridge_enable() local 814 phy_cfg->hs_clk_rate); in cdns_dsi_bridge_enable() 815 reg_wakeup = (phy_cfg->hs_prepare + phy_cfg in cdns_dsi_bridge_enable() 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) cdns_dsi_adjust_phy_config() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/mvsas/ |
H A 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 in set_phy_rate() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/mvsas/ |
H A 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 in set_phy_rate() [all...] |
/kernel/linux/linux-6.6/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 238 * @phy_cfg: phy register configuration, assigned by driver data. 254 const struct rockchip_usb2phy_cfg *phy_cfg; member 317 if (!property_enabled(base, &rphy->phy_cfg->clkout_ctl)) { in rockchip_usb2phy_clk480m_prepare() 318 ret = property_enable(base, &rphy->phy_cfg->clkout_ctl, true); in rockchip_usb2phy_clk480m_prepare() 336 property_enable(base, &rphy->phy_cfg->clkout_ctl, false); in rockchip_usb2phy_clk480m_unprepare() 345 return property_enabled(base, &rphy->phy_cfg->clkout_ctl); in rockchip_usb2phy_clk480m_prepared() 760 property_enable(base, &rphy->phy_cfg->chg_det.rdm_pdwn_en, en); in rockchip_chg_enable_dcd() 761 property_enable(base, &rphy->phy_cfg->chg_det.idp_src_en, en); in rockchip_chg_enable_dcd() 769 property_enable(base, &rphy->phy_cfg->chg_det.vdp_src_en, en); in rockchip_chg_enable_primary_det() 770 property_enable(base, &rphy->phy_cfg in rockchip_chg_enable_primary_det() [all...] |
H A D | phy-rockchip-inno-hdmi.c | 283 const struct phy_config *phy_cfg); 609 const struct phy_config *phy_cfg = inno->plat_data->phy_cfg_table; in inno_hdmi_phy_power_on() local 627 for (; phy_cfg->tmdsclock != 0; phy_cfg++) in inno_hdmi_phy_power_on() 628 if (tmdsclock <= phy_cfg->tmdsclock) in inno_hdmi_phy_power_on() 631 if (cfg->tmdsclock == 0 || phy_cfg->tmdsclock == 0) in inno_hdmi_phy_power_on() 642 ret = inno->plat_data->ops->power_on(inno, cfg, phy_cfg); in inno_hdmi_phy_power_on() 1057 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3228_power_on() 1089 inno_write(inno, 0xef + v, phy_cfg->regs[v]); in inno_hdmi_phy_rk3228_power_on() 1172 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3328_power_on() 1055 inno_hdmi_phy_rk3228_power_on(struct inno_hdmi_phy *inno, const struct post_pll_config *cfg, const struct phy_config *phy_cfg) inno_hdmi_phy_rk3228_power_on() 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) inno_hdmi_phy_rk3328_power_on() argument [all...] |
/kernel/linux/linux-5.10/drivers/phy/samsung/ |
H A D | phy-exynos5-usbdrd.c | 169 const struct exynos5_usbdrd_phy_config *phy_cfg; member 185 * instances each with its 'phy' and 'phy_cfg'. 206 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 [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | config.h | 81 * @phy_cfg: PHY configuration value, uses &enum iwl_fw_phy_cfg 85 __le32 phy_cfg; member 92 * @phy_cfg: PHY configuration value, uses &enum iwl_fw_phy_cfg 97 __le32 phy_cfg; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | config.h | 144 * @phy_cfg: PHY configuration value, uses &enum iwl_fw_phy_cfg 148 __le32 phy_cfg; member 155 * @phy_cfg: PHY configuration value, uses &enum iwl_fw_phy_cfg 160 __le32 phy_cfg; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
H A D | cdns-dsi.c | 555 struct phy_configure_opts_mipi_dphy *phy_cfg, in cdns_dsi_adjust_phy_config() 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 in cdns_dsi_bridge_enable() 553 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) cdns_dsi_adjust_phy_config() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mcp.c | 1488 struct eth_phy_cfg phy_cfg; in qed_mcp_set_link() local 1494 memset(&phy_cfg, 0, sizeof(phy_cfg)); in qed_mcp_set_link() 1497 phy_cfg.speed = params->speed.forced_speed; in qed_mcp_set_link() 1498 phy_cfg.pause |= (params->pause.autoneg) ? ETH_PAUSE_AUTONEG : 0; in qed_mcp_set_link() 1499 phy_cfg.pause |= (params->pause.forced_rx) ? ETH_PAUSE_RX : 0; in qed_mcp_set_link() 1500 phy_cfg.pause |= (params->pause.forced_tx) ? ETH_PAUSE_TX : 0; in qed_mcp_set_link() 1501 phy_cfg.adv_speed = params->speed.advertised_speeds; in qed_mcp_set_link() 1502 phy_cfg.loopback_mode = params->loopback_mode; in qed_mcp_set_link() 1511 phy_cfg in qed_mcp_set_link() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mcp.c | 1525 struct eth_phy_cfg phy_cfg; in qed_mcp_set_link() local 1531 memset(&phy_cfg, 0, sizeof(phy_cfg)); in qed_mcp_set_link() 1534 phy_cfg.speed = params->speed.forced_speed; in qed_mcp_set_link() 1535 phy_cfg.pause |= (params->pause.autoneg) ? ETH_PAUSE_AUTONEG : 0; in qed_mcp_set_link() 1536 phy_cfg.pause |= (params->pause.forced_rx) ? ETH_PAUSE_RX : 0; in qed_mcp_set_link() 1537 phy_cfg.pause |= (params->pause.forced_tx) ? ETH_PAUSE_TX : 0; in qed_mcp_set_link() 1538 phy_cfg.adv_speed = params->speed.advertised_speeds; in qed_mcp_set_link() 1539 phy_cfg.loopback_mode = params->loopback_mode; in qed_mcp_set_link() 1548 phy_cfg in qed_mcp_set_link() [all...] |