Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_xpcs.c29 static int sxgbe_xpcs_write(struct net_device *ndev, int reg, int data) in sxgbe_xpcs_write() function
44 sxgbe_xpcs_write(ndev, SR_PCS_CONTROL2, XPCS_TYPE_SEL_X); in sxgbe_xpcs_init()
45 sxgbe_xpcs_write(ndev, VR_PCS_MMD_XAUI_MODE_CONTROL, XPCS_XAUI_MODE); in sxgbe_xpcs_init()
46 sxgbe_xpcs_write(ndev, VR_PCS_MMD_XAUI_MODE_CONTROL, value | BIT(13)); in sxgbe_xpcs_init()
47 sxgbe_xpcs_write(ndev, SR_PCS_MMD_CONTROL1, value | BIT(11)); in sxgbe_xpcs_init()
54 sxgbe_xpcs_write(ndev, SR_PCS_MMD_CONTROL1, value & ~BIT(11)); in sxgbe_xpcs_init()
68 sxgbe_xpcs_write(ndev, SR_PCS_CONTROL2, XPCS_TYPE_SEL_X); in sxgbe_xpcs_init_1G()
69 sxgbe_xpcs_write(ndev, VR_PCS_MMD_XAUI_MODE_CONTROL, XPCS_XAUI_MODE); in sxgbe_xpcs_init_1G()
71 sxgbe_xpcs_write(ndev, SR_PCS_MMD_CONTROL1, value & ~BIT(13)); in sxgbe_xpcs_init_1G()
74 sxgbe_xpcs_write(ndev, SR_MII_MMD_CONTROL, value | BIT(6)); in sxgbe_xpcs_init_1G()
[all …]