Searched refs:phy_reg (Results 1 – 9 of 9) sorted by relevance
| /drivers/net/phy/ |
| A D | cortina.c | 413 int phy_reg; in get_phy_id() local 417 if (phy_reg < 0) in get_phy_id() 419 *phy_id = (phy_reg & 0xffff) << 16; in get_phy_id() 422 if (phy_reg < 0) in get_phy_id() 424 *phy_id |= (phy_reg & 0xffff); in get_phy_id() 433 phy_reg = bus->read(bus, addr, devad, MII_PHYSID1); in get_phy_id() 434 if (phy_reg < 0) in get_phy_id() 436 *phy_id = (phy_reg & 0xffff) << 16; in get_phy_id() 438 phy_reg = bus->read(bus, addr, devad, MII_PHYSID2); in get_phy_id() 439 if (phy_reg < 0) in get_phy_id() [all …]
|
| A D | phy.c | 591 int phy_reg; in get_phy_id() local 597 phy_reg = bus->read(bus, addr, devad, MII_PHYSID1); in get_phy_id() 599 if (phy_reg < 0) in get_phy_id() 602 *phy_id = (phy_reg & 0xffff) << 16; in get_phy_id() 605 phy_reg = bus->read(bus, addr, devad, MII_PHYSID2); in get_phy_id() 607 if (phy_reg < 0) in get_phy_id() 610 *phy_id |= (phy_reg & 0xffff); in get_phy_id()
|
| /drivers/usb/host/ |
| A D | ehci-vf.c | 54 void __iomem *phy_reg; in usb_internal_phy_clock_gate() local 56 phy_reg = (void __iomem *)phy_bases[index]; in usb_internal_phy_clock_gate() 57 clrbits_le32(phy_reg + USBPHY_CTRL, USBPHY_CTRL_CLKGATE); in usb_internal_phy_clock_gate() 88 void __iomem *phy_reg; in usb_phy_enable() local 92 phy_reg = (void __iomem *)phy_bases[index]; in usb_phy_enable() 93 phy_ctrl = (void __iomem *)(phy_reg + USBPHY_CTRL); in usb_phy_enable() 114 writel(0, phy_reg + USBPHY_PWD); in usb_phy_enable()
|
| A D | ehci-mx6.c | 189 static void usb_internal_phy_clock_gate(void __iomem *phy_reg, int on) in usb_internal_phy_clock_gate() argument 191 phy_reg += on ? USBPHY_CTRL_CLR : USBPHY_CTRL_SET; in usb_internal_phy_clock_gate() 192 writel(USBPHY_CTRL_CLKGATE, phy_reg); in usb_internal_phy_clock_gate() 196 static int usb_phy_enable(struct usb_ehci *ehci, void __iomem *phy_reg) in usb_phy_enable() argument 202 phy_ctrl = (void __iomem *)(phy_reg + USBPHY_CTRL); in usb_phy_enable() 225 writel(0, phy_reg + USBPHY_PWD); in usb_phy_enable() 236 void __iomem *phy_reg; in usb_phy_mode() local 240 phy_reg = (void __iomem *)phy_bases[port]; in usb_phy_mode() 241 phy_ctrl = (void __iomem *)(phy_reg + USBPHY_CTRL); in usb_phy_mode()
|
| A D | ehci-mxs.c | 137 u32 phandle, phy_reg, clk_reg, clk_id; in ehci_usb_ofdata_to_platdata() local 167 ret = ofnode_read_u32(phy_node, "reg", &phy_reg); in ehci_usb_ofdata_to_platdata() 171 port->phy_regs = (struct mxs_usbphy_regs *)phy_reg; in ehci_usb_ofdata_to_platdata()
|
| /drivers/net/ti/ |
| A D | cpsw_mdio.c | 249 int dev_addr, int phy_reg) in cpsw_mdio_sw_read() argument 255 if (phy_reg & ~PHY_REG_MASK || phy_id & ~PHY_ID_MASK) in cpsw_mdio_sw_read() 272 cpsw_mdio_man_send_pattern(mdio, PHY_BITRANGE, phy_reg); in cpsw_mdio_sw_read() 306 int dev_addr, int phy_reg, u16 phy_data) in cpsw_mdio_sw_write() argument 327 cpsw_mdio_man_send_pattern(mdio, PHY_BITRANGE, phy_reg); in cpsw_mdio_sw_write() 356 int dev_addr, int phy_reg) in cpsw_mdio_read() argument 362 if (phy_reg & ~PHY_REG_MASK || phy_id & ~PHY_ID_MASK) in cpsw_mdio_read() 369 (phy_reg << USERACCESS_PHY_REG_SHIFT) | in cpsw_mdio_read() 382 int phy_reg, u16 data) in cpsw_mdio_write() argument 388 if (phy_reg & ~PHY_REG_MASK || phy_id & ~PHY_ID_MASK) in cpsw_mdio_write() [all …]
|
| /drivers/net/ |
| A D | sunxi_emac.c | 168 struct udevice *phy_reg; member 576 if (priv->phy_reg) in sunxi_emac_eth_probe() 577 regulator_set_enable(priv->phy_reg, true); in sunxi_emac_eth_probe() 621 &priv->phy_reg); in sunxi_emac_eth_of_to_plat()
|
| A D | sun8i_emac.c | 171 struct udevice *phy_reg; member 717 if (priv->phy_reg) in sun8i_emac_eth_probe() 718 regulator_set_enable(priv->phy_reg, true); in sun8i_emac_eth_probe() 827 device_get_supply_regulator(dev, "phy-supply", &priv->phy_reg); in sun8i_emac_eth_of_to_plat()
|
| /drivers/phy/rockchip/ |
| A D | phy-rockchip-typec.c | 353 struct phy_reg { struct 358 static struct phy_reg usb3_pll_cfg[] = { argument
|
Completed in 29 milliseconds