H A D | cassini.c | 425 static int cas_phy_write(struct cas *cp, int reg, u16 val) cas_phy_write() function 454 cas_phy_write(cp, MII_BMCR, ctl); cas_phy_powerup() 464 cas_phy_write(cp, MII_BMCR, ctl); cas_phy_powerdown() 784 cas_phy_write(cp, MII_BMCR, ctl); cas_begin_auto_negotiation() 798 cas_phy_write(cp, MII_BMCR, BMCR_RESET); cas_reset_mii_phy() 849 cas_phy_write(cp, DP83065_MII_MEM, 0x0); cas_saturn_firmware_load() 852 cas_phy_write(cp, DP83065_MII_REGE, 0x8ff9); cas_saturn_firmware_load() 853 cas_phy_write(cp, DP83065_MII_REGD, 0xbd); cas_saturn_firmware_load() 854 cas_phy_write(cp, DP83065_MII_REGE, 0x8ffa); cas_saturn_firmware_load() 855 cas_phy_write(cp, DP83065_MII_REGD, 0x82); cas_saturn_firmware_load() 856 cas_phy_write(cp, DP83065_MII_REGE, 0x8ffb); cas_saturn_firmware_load() 857 cas_phy_write(cp, DP83065_MII_REGD, 0x0); cas_saturn_firmware_load() 858 cas_phy_write(cp, DP83065_MII_REGE, 0x8ffc); cas_saturn_firmware_load() 859 cas_phy_write(cp, DP83065_MII_REGD, 0x39); cas_saturn_firmware_load() 862 cas_phy_write(cp, DP83065_MII_MEM, 0x1); cas_saturn_firmware_load() 863 cas_phy_write(cp, DP83065_MII_REGE, cp->fw_load_addr); cas_saturn_firmware_load() 865 cas_phy_write(cp, DP83065_MII_REGD, cp->fw_data[i]); cas_saturn_firmware_load() 868 cas_phy_write(cp, DP83065_MII_REGE, 0x8ff8); cas_saturn_firmware_load() 869 cas_phy_write(cp, DP83065_MII_REGD, 0x1); cas_saturn_firmware_load() 888 cas_phy_write(cp, LUCENT_MII_REG, 0x8000); cas_phy_init() 889 cas_phy_write(cp, MII_BMCR, 0x00f1); cas_phy_init() 890 cas_phy_write(cp, LUCENT_MII_REG, 0x0); cas_phy_init() 894 cas_phy_write(cp, BROADCOM_MII_REG8, 0x0C20); cas_phy_init() 895 cas_phy_write(cp, BROADCOM_MII_REG7, 0x0012); cas_phy_init() 896 cas_phy_write(cp, BROADCOM_MII_REG5, 0x1804); cas_phy_init() 897 cas_phy_write(cp, BROADCOM_MII_REG7, 0x0013); cas_phy_init() 898 cas_phy_write(cp, BROADCOM_MII_REG5, 0x1204); cas_phy_init() 899 cas_phy_write(cp, BROADCOM_MII_REG7, 0x8006); cas_phy_init() 900 cas_phy_write(cp, BROADCOM_MII_REG5, 0x0132); cas_phy_init() 901 cas_phy_write(cp, BROADCOM_MII_REG7, 0x8006); cas_phy_init() 902 cas_phy_write(cp, BROADCOM_MII_REG5, 0x0232); cas_phy_init() 903 cas_phy_write(cp, BROADCOM_MII_REG7, 0x201F); cas_phy_init() 904 cas_phy_write(cp, BROADCOM_MII_REG5, 0x0A20); cas_phy_init() 911 cas_phy_write(cp, BROADCOM_MII_REG4, cas_phy_init() 933 cas_phy_write(cp, MII_BMCR, val); cas_phy_init() 936 cas_phy_write(cp, MII_ADVERTISE, cas_phy_init() 950 cas_phy_write(cp, CAS_MII_1000_CTRL, val); cas_phy_init() 1583 cas_phy_write(cp, MII_BMCR, cp->link_fcntl); cas_mdio_link_not_up() 1599 cas_phy_write(cp, MII_BMCR, val); cas_mdio_link_not_up() 1612 cas_phy_write(cp, MII_BMCR, val); cas_mdio_link_not_up() 1622 cas_phy_write(cp, MII_BMCR, val); cas_mdio_link_not_up() 1653 cas_phy_write(cp, MII_BMCR, cas_mii_link_check() 4804 rc = cas_phy_write(cp, data->reg_num & 0x1f, data->val_in); cas_ioctl()
|