| /OK3568_Linux_fs/kernel/drivers/net/pcs/ |
| H A D | pcs-xpcs.c | 147 static int xpcs_read(struct mdio_xpcs_args *xpcs, int dev, u32 reg) in xpcs_read() argument 151 return mdiobus_read(xpcs->bus, xpcs->addr, reg_addr); in xpcs_read() 154 static int xpcs_write(struct mdio_xpcs_args *xpcs, int dev, u32 reg, u16 val) in xpcs_write() argument 158 return mdiobus_write(xpcs->bus, xpcs->addr, reg_addr, val); in xpcs_write() 161 static int xpcs_read_vendor(struct mdio_xpcs_args *xpcs, int dev, u32 reg) in xpcs_read_vendor() argument 163 return xpcs_read(xpcs, dev, DW_VENDOR | reg); in xpcs_read_vendor() 166 static int xpcs_write_vendor(struct mdio_xpcs_args *xpcs, int dev, int reg, in xpcs_write_vendor() argument 169 return xpcs_write(xpcs, dev, DW_VENDOR | reg, val); in xpcs_write_vendor() 172 static int xpcs_read_vpcs(struct mdio_xpcs_args *xpcs, int reg) in xpcs_read_vpcs() argument 174 return xpcs_read_vendor(xpcs, MDIO_MMD_PCS, reg); in xpcs_read_vpcs() [all …]
|
| H A D | Makefile | 4 obj-$(CONFIG_PCS_XPCS) += pcs-xpcs.o
|
| /OK3568_Linux_fs/kernel/include/linux/pcs/ |
| H A D | pcs-xpcs.h | 20 int (*validate)(struct mdio_xpcs_args *xpcs, 23 int (*config)(struct mdio_xpcs_args *xpcs, 25 int (*get_state)(struct mdio_xpcs_args *xpcs, 27 int (*link_up)(struct mdio_xpcs_args *xpcs, int speed, 29 int (*probe)(struct mdio_xpcs_args *xpcs, phy_interface_t interface);
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_mdio.c | 446 priv->hw->xpcs = mdio_xpcs_get_ops(); in stmmac_mdio_register() 447 if (!priv->hw->xpcs) { in stmmac_mdio_register() 511 if (priv->hw->xpcs) { in stmmac_mdio_register() 512 struct mdio_xpcs_args *xpcs = &priv->hw->xpcs_args; in stmmac_mdio_register() local 516 xpcs->bus = new_bus; in stmmac_mdio_register() 520 xpcs->addr = addr; in stmmac_mdio_register() 522 ret = stmmac_xpcs_probe(priv, xpcs, mode); in stmmac_mdio_register()
|
| H A D | hwif.h | 597 stmmac_do_callback(__priv, xpcs, validate, __args) 599 stmmac_do_callback(__priv, xpcs, config, __args) 601 stmmac_do_callback(__priv, xpcs, get_state, __args) 603 stmmac_do_callback(__priv, xpcs, link_up, __args) 605 stmmac_do_callback(__priv, xpcs, probe, __args)
|
| H A D | common.h | 476 const struct mdio_xpcs_ops *xpcs; member
|
| H A D | dwmac-rk.c | 79 struct regmap *xpcs; member 117 ret = regmap_read(bsp_priv->xpcs, in xpcs_read() 130 return regmap_write(bsp_priv->xpcs, in xpcs_write() 2505 bsp_priv->xpcs = syscon_regmap_lookup_by_phandle(dev->of_node, in rk_gmac_setup() 2507 if (!IS_ERR(bsp_priv->xpcs)) { in rk_gmac_setup()
|
| H A D | stmmac_uio.c | 813 !priv->hw->xpcs) { in uio_open()
|
| H A D | stmmac_main.c | 2877 priv->hw->xpcs == NULL) { in stmmac_open()
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3568-evb2-lp4x-v10.dtsi | 130 rockchip,xpcs = <&xpcs>; 474 &xpcs {
|
| H A D | rk3568-evb5-ddr4-v10.dtsi | 212 rockchip,xpcs = <&xpcs>;
|
| H A D | rk3568.dtsi | 445 gmac0_xpcsclk: xpcs-gmac0-clock { 452 gmac1_xpcsclk: xpcs-gmac1-clock { 696 xpcs: syscon@fda00000 { label 697 compatible = "rockchip,rk3568-xpcs", "syscon";
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 1264 void __iomem *xpcs = priv->iface_base + MVPP22_XPCS_BASE(port->gop_id); in mvpp22_gop_init_10gkr() local 1267 val = readl(xpcs + MVPP22_XPCS_CFG0); in mvpp22_gop_init_10gkr() 1271 writel(val, xpcs + MVPP22_XPCS_CFG0); in mvpp22_gop_init_10gkr() 1830 void __iomem *mpcs, *xpcs; in mvpp22_pcs_reset_assert() local 1837 xpcs = priv->iface_base + MVPP22_XPCS_BASE(port->gop_id); in mvpp22_pcs_reset_assert() 1844 val = readl(xpcs + MVPP22_XPCS_CFG0); in mvpp22_pcs_reset_assert() 1845 writel(val & ~MVPP22_XPCS_CFG0_RESET_DIS, xpcs + MVPP22_XPCS_CFG0); in mvpp22_pcs_reset_assert() 1851 void __iomem *mpcs, *xpcs; in mvpp22_pcs_reset_deassert() local 1858 xpcs = priv->iface_base + MVPP22_XPCS_BASE(port->gop_id); in mvpp22_pcs_reset_deassert() 1870 val = readl(xpcs + MVPP22_XPCS_CFG0); in mvpp22_pcs_reset_deassert() [all …]
|
| /OK3568_Linux_fs/kernel/android/ |
| H A D | abi_gki_aarch64_exynosauto | 1095 # required by pcs-xpcs.ko
|
| /OK3568_Linux_fs/external/dpdk/gmac/kernel5.10/ |
| H A D | kernel_net_stmmac.diff | 896 + !priv->hw->xpcs) {
|
| /OK3568_Linux_fs/buildroot/output/OK3568/target/usr/lib/modules/5.10.160/ |
| H A D | modules.builtin | |
| H A D | modules.builtin.modinfo | |
| /OK3568_Linux_fs/output/sessions/2025-06-06_01-57-56/ |
| H A D | 10-kernel-build_2025-06-06_01-57-58.log | |
| H A D | build_2025-06-06_01-57-58.log | |
| H A D | 10-kernel-build.log | |
| H A D | build.log | |
| /OK3568_Linux_fs/kernel/ |
| H A D | MAINTAINERS | 16950 F: drivers/net/pcs/pcs-xpcs.c 16951 F: include/linux/pcs/pcs-xpcs.h
|