Home
last modified time | relevance | path

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

/drivers/phy/qualcomm/
Dphy-qcom-qmp-pcie-msm8996.c245 void __iomem *serdes; member
384 void __iomem *serdes = qphy->serdes; in qmp_pcie_msm8996_serdes_init() local
391 qmp_pcie_msm8996_configure(serdes, cfg->regs, serdes_tbl, serdes_tbl_num); in qmp_pcie_msm8996_serdes_init()
393 qphy_clrbits(serdes, cfg->regs[QPHY_COM_SW_RESET], SW_RESET); in qmp_pcie_msm8996_serdes_init()
394 qphy_setbits(serdes, cfg->regs[QPHY_COM_START_CONTROL], in qmp_pcie_msm8996_serdes_init()
397 status = serdes + cfg->regs[QPHY_COM_PCS_READY_STATUS]; in qmp_pcie_msm8996_serdes_init()
415 void __iomem *serdes = qphy->serdes; in qmp_pcie_msm8996_com_init() local
447 qphy_setbits(serdes, cfg->regs[QPHY_COM_POWER_DOWN_CONTROL], in qmp_pcie_msm8996_com_init()
469 void __iomem *serdes = qphy->serdes; in qmp_pcie_msm8996_com_exit() local
477 qphy_setbits(serdes, cfg->regs[QPHY_COM_START_CONTROL], in qmp_pcie_msm8996_com_exit()
[all …]
Dphy-qcom-qmp-pcie.c1342 const struct qmp_phy_init_tbl *serdes; member
1413 void __iomem *serdes; member
1502 .serdes = ipq8074_pcie_serdes_tbl,
1528 .serdes = ipq8074_pcie_gen3_serdes_tbl,
1558 .serdes = ipq6018_pcie_serdes_tbl,
1586 .serdes = sdm845_qmp_pcie_serdes_tbl,
1614 .serdes = sdm845_qhp_pcie_serdes_tbl,
1640 .serdes = sm8250_qmp_pcie_serdes_tbl,
1652 .serdes = sm8250_qmp_gen3x1_pcie_serdes_tbl,
1678 .serdes = sm8250_qmp_pcie_serdes_tbl,
[all …]
Dphy-qcom-qmp-combo.c912 void __iomem *serdes; member
1422 void __iomem *serdes = qphy->serdes; in qmp_combo_serdes_init() local
1427 qmp_combo_configure(serdes, cfg->regs, serdes_tbl, serdes_tbl_num); in qmp_combo_serdes_init()
1432 qmp_combo_configure(serdes, cfg->regs, in qmp_combo_serdes_init()
1437 qmp_combo_configure(serdes, cfg->regs, in qmp_combo_serdes_init()
1442 qmp_combo_configure(serdes, cfg->regs, in qmp_combo_serdes_init()
1447 qmp_combo_configure(serdes, cfg->regs, in qmp_combo_serdes_init()
1469 qphy->serdes + QSERDES_V3_COM_BIAS_EN_CLKBUFLR_EN); in qcom_qmp_v3_phy_dp_aux_init()
1483 qphy->serdes + QSERDES_V3_COM_BIAS_EN_CLKBUFLR_EN); in qcom_qmp_v3_phy_dp_aux_init()
1638 writel(0x20, qphy->serdes + QSERDES_V3_COM_RESETSM_CNTRL); in qcom_qmp_v3_phy_configure_dp_phy()
[all …]
Dphy-qcom-qmp-ufs.c584 void __iomem *serdes; member
832 void __iomem *serdes = qphy->serdes; in qmp_ufs_serdes_init() local
836 qmp_ufs_configure(serdes, cfg->regs, serdes_tbl, serdes_tbl_num); in qmp_ufs_serdes_init()
1083 void __iomem *serdes, const struct qmp_phy_cfg *cfg) in qmp_ufs_create() argument
1095 qphy->serdes = serdes; in qmp_ufs_create()
1191 void __iomem *serdes; in qmp_ufs_probe() local
1209 serdes = devm_platform_ioremap_resource(pdev, 0); in qmp_ufs_probe()
1210 if (IS_ERR(serdes)) in qmp_ufs_probe()
1211 return PTR_ERR(serdes); in qmp_ufs_probe()
1234 ret = qmp_ufs_create(dev, child, id, serdes, cfg); in qmp_ufs_probe()
Dphy-qcom-qmp-usb.c1489 void __iomem *serdes; member
2000 void __iomem *serdes = qphy->serdes; in qmp_usb_serdes_init() local
2004 qmp_usb_configure(serdes, cfg->regs, serdes_tbl, serdes_tbl_num); in qmp_usb_serdes_init()
2444 void __iomem *serdes, const struct qmp_phy_cfg *cfg) in qmp_usb_create() argument
2466 qphy->serdes = serdes; in qmp_usb_create()
2602 void __iomem *serdes; in qmp_usb_probe() local
2620 serdes = devm_platform_ioremap_resource(pdev, 0); in qmp_usb_probe()
2621 if (IS_ERR(serdes)) in qmp_usb_probe()
2622 return PTR_ERR(serdes); in qmp_usb_probe()
2666 ret = qmp_usb_create(dev, child, id, serdes, cfg); in qmp_usb_probe()
/drivers/phy/mscc/
Dphy-ocelot-serdes.c60 static int serdes_init_s6g(struct regmap *regmap, u8 serdes, int mode) in serdes_init_s6g() argument
89 ret = serdes_update_mcb_s6g(regmap, serdes); in serdes_init_s6g()
146 ret = serdes_commit_mcb_s6g(regmap, serdes); in serdes_init_s6g()
222 ret = serdes_commit_mcb_s6g(regmap, serdes); in serdes_init_s6g()
230 ret = serdes_commit_mcb_s6g(regmap, serdes); in serdes_init_s6g()
244 ret = serdes_commit_mcb_s6g(regmap, serdes); in serdes_init_s6g()
292 static int serdes_init_s1g(struct regmap *regmap, u8 serdes) in serdes_init_s1g() argument
296 ret = serdes_update_mcb_s1g(regmap, serdes); in serdes_init_s1g()
318 ret = serdes_commit_mcb_s1g(regmap, serdes); in serdes_init_s1g()
329 ret = serdes_commit_mcb_s1g(regmap, serdes); in serdes_init_s1g()
DMakefile6 obj-$(CONFIG_PHY_OCELOT_SERDES) := phy-ocelot-serdes.o
/drivers/phy/marvell/
DKconfig36 shared serdes PHYs on Marvell Armada 3700. Its serdes lanes can be
55 shared serdes PHYs on Marvell Armada 38x. Its serdes lanes can be
66 shared serdes PHYs on Marvell Armada 7k/8k (in the CP110). Its serdes
/drivers/phy/xilinx/
Dphy-zynqmp.c219 void __iomem *serdes; member
257 return readl(gtr_dev->serdes + reg); in xpsgtr_read()
262 writel(value, gtr_dev->serdes + reg); in xpsgtr_write()
277 void __iomem *addr = gtr_phy->dev->serdes in xpsgtr_read_phy()
286 void __iomem *addr = gtr_phy->dev->serdes in xpsgtr_write_phy()
295 void __iomem *addr = gtr_phy->dev->serdes in xpsgtr_clr_set_phy()
971 gtr_dev->serdes = devm_platform_ioremap_resource_byname(pdev, "serdes"); in xpsgtr_probe()
972 if (IS_ERR(gtr_dev->serdes)) in xpsgtr_probe()
973 return PTR_ERR(gtr_dev->serdes); in xpsgtr_probe()
/drivers/net/ethernet/microchip/lan966x/
Dlan966x_phylink.c34 if (port->serdes) { in lan966x_phylink_mac_prepare()
35 err = phy_set_mode_ext(port->serdes, PHY_MODE_ETHERNET, in lan966x_phylink_mac_prepare()
64 phy_set_speed(port->serdes, speed); in lan966x_phylink_mac_link_up()
Dlan966x_main.c1124 struct phy *serdes; in lan966x_probe() local
1139 serdes = devm_of_phy_get(lan966x->dev, to_of_node(portnp), NULL); in lan966x_probe()
1140 if (PTR_ERR(serdes) == -ENODEV) in lan966x_probe()
1141 serdes = NULL; in lan966x_probe()
1142 if (IS_ERR(serdes)) { in lan966x_probe()
1143 err = PTR_ERR(serdes); in lan966x_probe()
1146 lan966x->ports[p]->serdes = serdes; in lan966x_probe()
Dlan966x_main.h311 struct phy *serdes; member
/drivers/net/ethernet/microchip/sparx5/
Dsparx5_main.c40 struct phy *serdes; member
271 spx5_port->serdes = config->serdes; in sparx5_create_port()
775 struct phy *serdes; in mchp_sparx5_probe() local
805 serdes = devm_of_phy_get(sparx5->dev, portnp, NULL); in mchp_sparx5_probe()
806 if (IS_ERR(serdes)) { in mchp_sparx5_probe()
807 err = dev_err_probe(sparx5->dev, PTR_ERR(serdes), in mchp_sparx5_probe()
815 config->serdes = serdes; in mchp_sparx5_probe()
Dsparx5_netdev.c118 err = phy_power_on(port->serdes); in sparx5_port_open()
151 err = phy_power_off(port->serdes); in sparx5_port_stop()
Dsparx5_port.c699 err = phy_set_media(port->serdes, conf->media); in sparx5_serdes_set()
703 err = phy_set_speed(port->serdes, speed); in sparx5_serdes_set()
708 err = phy_reset(port->serdes); in sparx5_serdes_set()
719 err = phy_set_mode_ext(port->serdes, PHY_MODE_ETHERNET, portmode); in sparx5_serdes_set()
Dsparx5_main.h170 struct phy *serdes; member
/drivers/phy/ti/
DMakefile9 obj-$(CONFIG_PHY_AM654_SERDES) += phy-am654-serdes.o
Dphy-j721e-wiz.c1320 struct device_node *serdes, *subnode; in wiz_get_lane_phy_types() local
1322 serdes = of_get_child_by_name(dev->of_node, "serdes"); in wiz_get_lane_phy_types()
1323 if (!serdes) { in wiz_get_lane_phy_types()
1328 for_each_child_of_node(serdes, subnode) { in wiz_get_lane_phy_types()
DKconfig47 SoC. WIZ is a serdes wrapper used to configure some of the input
/drivers/net/dsa/mv88e6xxx/
DMakefile16 mv88e6xxx-objs += serdes.o
/drivers/net/ethernet/intel/ice/
Dice_ptp_hw.c1368 u32 serdes; in ice_phy_get_speed_and_fec_e822() local
1371 err = ice_read_phy_reg_e822(hw, port, P_REG_LINK_SPEED, &serdes); in ice_phy_get_speed_and_fec_e822()
1378 fec = (enum ice_ptp_fec_mode)P_REG_LINK_SPEED_FEC_MODE(serdes); in ice_phy_get_speed_and_fec_e822()
1380 serdes &= P_REG_LINK_SPEED_SERDES_M; in ice_phy_get_speed_and_fec_e822()
1384 switch (serdes) { in ice_phy_get_speed_and_fec_e822()
1398 switch (serdes) { in ice_phy_get_speed_and_fec_e822()
/drivers/net/ethernet/mscc/
Docelot_net.c1781 struct phy *serdes = of_phy_get(portnp, NULL); in ocelot_port_phylink_create() local
1783 if (IS_ERR(serdes)) { in ocelot_port_phylink_create()
1784 err = PTR_ERR(serdes); in ocelot_port_phylink_create()
1791 err = phy_set_mode_ext(serdes, PHY_MODE_ETHERNET, phy_mode); in ocelot_port_phylink_create()
1792 of_phy_put(serdes); in ocelot_port_phylink_create()
/drivers/net/ethernet/ti/
Dnetcp_xgbepcsr.c31 #define PHY_A(serdes) 0 argument