Lines Matching refs:cas_phy_write

400 static int cas_phy_write(struct cas *cp, int reg, u16 val)  in cas_phy_write()  function
429 cas_phy_write(cp, MII_BMCR, ctl); in cas_phy_powerup()
439 cas_phy_write(cp, MII_BMCR, ctl); in cas_phy_powerdown()
760 cas_phy_write(cp, MII_BMCR, ctl); in cas_begin_auto_negotiation()
774 cas_phy_write(cp, MII_BMCR, BMCR_RESET); in cas_reset_mii_phy()
825 cas_phy_write(cp, DP83065_MII_MEM, 0x0); in cas_saturn_firmware_load()
828 cas_phy_write(cp, DP83065_MII_REGE, 0x8ff9); in cas_saturn_firmware_load()
829 cas_phy_write(cp, DP83065_MII_REGD, 0xbd); in cas_saturn_firmware_load()
830 cas_phy_write(cp, DP83065_MII_REGE, 0x8ffa); in cas_saturn_firmware_load()
831 cas_phy_write(cp, DP83065_MII_REGD, 0x82); in cas_saturn_firmware_load()
832 cas_phy_write(cp, DP83065_MII_REGE, 0x8ffb); in cas_saturn_firmware_load()
833 cas_phy_write(cp, DP83065_MII_REGD, 0x0); in cas_saturn_firmware_load()
834 cas_phy_write(cp, DP83065_MII_REGE, 0x8ffc); in cas_saturn_firmware_load()
835 cas_phy_write(cp, DP83065_MII_REGD, 0x39); in cas_saturn_firmware_load()
838 cas_phy_write(cp, DP83065_MII_MEM, 0x1); in cas_saturn_firmware_load()
839 cas_phy_write(cp, DP83065_MII_REGE, cp->fw_load_addr); in cas_saturn_firmware_load()
841 cas_phy_write(cp, DP83065_MII_REGD, cp->fw_data[i]); in cas_saturn_firmware_load()
844 cas_phy_write(cp, DP83065_MII_REGE, 0x8ff8); in cas_saturn_firmware_load()
845 cas_phy_write(cp, DP83065_MII_REGD, 0x1); in cas_saturn_firmware_load()
864 cas_phy_write(cp, LUCENT_MII_REG, 0x8000); in cas_phy_init()
865 cas_phy_write(cp, MII_BMCR, 0x00f1); in cas_phy_init()
866 cas_phy_write(cp, LUCENT_MII_REG, 0x0); in cas_phy_init()
870 cas_phy_write(cp, BROADCOM_MII_REG8, 0x0C20); in cas_phy_init()
871 cas_phy_write(cp, BROADCOM_MII_REG7, 0x0012); in cas_phy_init()
872 cas_phy_write(cp, BROADCOM_MII_REG5, 0x1804); in cas_phy_init()
873 cas_phy_write(cp, BROADCOM_MII_REG7, 0x0013); in cas_phy_init()
874 cas_phy_write(cp, BROADCOM_MII_REG5, 0x1204); in cas_phy_init()
875 cas_phy_write(cp, BROADCOM_MII_REG7, 0x8006); in cas_phy_init()
876 cas_phy_write(cp, BROADCOM_MII_REG5, 0x0132); in cas_phy_init()
877 cas_phy_write(cp, BROADCOM_MII_REG7, 0x8006); in cas_phy_init()
878 cas_phy_write(cp, BROADCOM_MII_REG5, 0x0232); in cas_phy_init()
879 cas_phy_write(cp, BROADCOM_MII_REG7, 0x201F); in cas_phy_init()
880 cas_phy_write(cp, BROADCOM_MII_REG5, 0x0A20); in cas_phy_init()
887 cas_phy_write(cp, BROADCOM_MII_REG4, in cas_phy_init()
909 cas_phy_write(cp, MII_BMCR, val); in cas_phy_init()
912 cas_phy_write(cp, MII_ADVERTISE, in cas_phy_init()
926 cas_phy_write(cp, CAS_MII_1000_CTRL, val); in cas_phy_init()
1546 cas_phy_write(cp, MII_BMCR, cp->link_fcntl); in cas_mdio_link_not_up()
1562 cas_phy_write(cp, MII_BMCR, val); in cas_mdio_link_not_up()
1575 cas_phy_write(cp, MII_BMCR, val); in cas_mdio_link_not_up()
1585 cas_phy_write(cp, MII_BMCR, val); in cas_mdio_link_not_up()
1617 cas_phy_write(cp, MII_BMCR, in cas_mii_link_check()
4741 rc = cas_phy_write(cp, data->reg_num & 0x1f, data->val_in); in cas_ioctl()