Lines Matching refs:phy_write
185 phy_write(phydev, MDIO_MMD_VEND1, MAILBOX_CONTROL, MAILBOX_RESET_CRC); in aquantia_load_memory()
186 phy_write(phydev, MDIO_MMD_VEND1, MAILBOX_ADDR_MSW, addr >> 16); in aquantia_load_memory()
187 phy_write(phydev, MDIO_MMD_VEND1, MAILBOX_ADDR_LSW, addr & 0xfffc); in aquantia_load_memory()
194 phy_write(phydev, MDIO_MMD_VEND1, MAILBOX_DATA_MSW, in aquantia_load_memory()
196 phy_write(phydev, MDIO_MMD_VEND1, MAILBOX_DATA_LSW, in aquantia_load_memory()
199 phy_write(phydev, MDIO_MMD_VEND1, MAILBOX_CONTROL, in aquantia_load_memory()
263 phy_write(phydev, MDIO_MMD_VEND1, UP_CONTROL, in aquantia_upload_firmware()
281 phy_write(phydev, MDIO_MMD_VEND1, GLOBAL_STANDARD_CONTROL, 0); in aquantia_upload_firmware()
284 phy_write(phydev, MDIO_MMD_VEND1, UP_CONTROL, in aquantia_upload_firmware()
289 phy_write(phydev, MDIO_MMD_VEND1, UP_CONTROL, UP_RUN_STALL_OVERRIDE); in aquantia_upload_firmware()
328 phy_write(phydev, MDIO_MMD_VEND1, AQUANTIA_VND1_GSTART_RATE, in aquantia_set_proto()
333 phy_write(phydev, MDIO_MMD_VEND1, in aquantia_set_proto()
361 phy_write(phydev, MDIO_MMD_PMAPMD, AQUANTIA_PMA_RX_VENDOR_P1, in aquantia_dts_config()
371 phy_write(phydev, MDIO_MMD_VEND1, AQUANTIA_VND1_SMBUS0, in aquantia_dts_config()
373 phy_write(phydev, MDIO_MMD_VEND1, AQUANTIA_VND1_SMBUS1, in aquantia_dts_config()
469 phy_write(phydev, MDIO_MMD_VEND1, AQUANTIA_VND1_GLOBAL_SC, in aquantia_config()
479 phy_write(phydev, MDIO_MMD_VEND1, AQUANTIA_VND1_GLOBAL_SC, 0); in aquantia_config()
492 phy_write(phydev, MDIO_MMD_PMAPMD, MII_BMCR, val); in aquantia_config()
504 phy_write(phydev, MDIO_MMD_PMAPMD, MII_BMCR, in aquantia_config()
522 phy_write(phydev, MDIO_MMD_PHYXS, in aquantia_config()
530 phy_write(phydev, MDIO_MMD_AN, AQUNTIA_10G_CTL, 1); in aquantia_config()
531 phy_write(phydev, MDIO_MMD_AN, AQUNTIA_VENDOR_P1, 0x9440); in aquantia_config()
539 phy_write(phydev, MDIO_MMD_PMAPMD, MII_BMCR, val); in aquantia_config()