Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vfio/platform/reset/
H A Dvfio_platform_amdxgbe.c52 u32 dma_mr_value, pcs_value, value; in vfio_platform_amdxgbe_reset() local
69 pcs_value = xmdio_read(xpcs_regs->ioaddr, MDIO_MMD_PCS, MDIO_CTRL1); in vfio_platform_amdxgbe_reset()
70 pcs_value |= MDIO_CTRL1_RESET; in vfio_platform_amdxgbe_reset()
71 xmdio_write(xpcs_regs->ioaddr, MDIO_MMD_PCS, MDIO_CTRL1, pcs_value); in vfio_platform_amdxgbe_reset()
76 pcs_value = xmdio_read(xpcs_regs->ioaddr, MDIO_MMD_PCS, in vfio_platform_amdxgbe_reset()
78 } while ((pcs_value & MDIO_CTRL1_RESET) && --count); in vfio_platform_amdxgbe_reset()
80 if (pcs_value & MDIO_CTRL1_RESET) in vfio_platform_amdxgbe_reset()