Lines Matching refs:sram_write

1511 static void sram_write(struct r8152 *tp, u16 addr, u16 data)  in sram_write()  function
3580 sram_write(tp, SRAM_GREEN_CFG, data); in rtl_green_en()
3588 sram_write(tp, 0x8045, 0); /* 10M abiq&ldvbias */ in r8153b_green_en()
3589 sram_write(tp, 0x804d, 0x1222); /* 100M short abiq&ldvbias */ in r8153b_green_en()
3590 sram_write(tp, 0x805d, 0x0022); /* 1000M short abiq&ldvbias */ in r8153b_green_en()
3592 sram_write(tp, 0x8045, 0x2444); /* 10M abiq&ldvbias */ in r8153b_green_en()
3593 sram_write(tp, 0x804d, 0x2444); /* 100M short abiq&ldvbias */ in r8153b_green_en()
3594 sram_write(tp, 0x805d, 0x2444); /* 1000M short abiq&ldvbias */ in r8153b_green_en()
4071 sram_write(tp, key_addr, patch_key); in rtl_patch_key_set()
4072 sram_write(tp, SRAM_PHY_LOCK, PHY_PATCH_LOCK); in rtl_patch_key_set()
4076 sram_write(tp, 0x0000, 0x0000); in rtl_patch_key_set()
4082 sram_write(tp, key_addr, 0x0000); in rtl_patch_key_set()
4887 sram_write(tp, ver_addr, ver); in rtl8152_fw_phy_ver()
4935 sram_write(tp, __le16_to_cpu(phy->pre_set[i].addr), in rtl8152_fw_phy_union_apply()
4949 sram_write(tp, __le16_to_cpu(phy->bp[i].addr), __le16_to_cpu(phy->bp[i].data)); in rtl8152_fw_phy_union_apply()
4952 sram_write(tp, __le16_to_cpu(phy->bp_en.addr), __le16_to_cpu(phy->bp_en.data)); in rtl8152_fw_phy_union_apply()
4966 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_pre)); in rtl8152_fw_phy_nc_apply()
4967 sram_write(tp, __le16_to_cpu(phy->ba_reg), in rtl8152_fw_phy_nc_apply()
4979 sram_write(tp, __le16_to_cpu(phy->patch_en_addr), in rtl8152_fw_phy_nc_apply()
4985 sram_write(tp, bp_index, __le16_to_cpu(phy->bp[i])); in rtl8152_fw_phy_nc_apply()
4989 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_post)); in rtl8152_fw_phy_nc_apply()
5698 sram_write(tp, SRAM_IMPEDANCE, 0x0b13); in r8153_hw_phy_cfg()
5705 sram_write(tp, SRAM_LPF_CFG, 0xf70f); in r8153_hw_phy_cfg()
5708 sram_write(tp, SRAM_10M_AMP1, 0x00af); in r8153_hw_phy_cfg()
5709 sram_write(tp, SRAM_10M_AMP2, 0x0208); in r8153_hw_phy_cfg()
5784 sram_write(tp, SRAM_GREEN_CFG, data); in r8153b_hw_phy_cfg()
7299 sram_write(tp, 0x80ea, data); in r8156_hw_phy_cfg()
7303 sram_write(tp, 0x80eb, data); in r8156_hw_phy_cfg()
7307 sram_write(tp, 0x80f8, data); in r8156_hw_phy_cfg()
7311 sram_write(tp, 0x80f1, data); in r8156_hw_phy_cfg()
7316 sram_write(tp, 0x80fe, data); in r8156_hw_phy_cfg()
7320 sram_write(tp, 0x8102, data); in r8156_hw_phy_cfg()
7324 sram_write(tp, 0x8015, data); in r8156_hw_phy_cfg()
7328 sram_write(tp, 0x8100, data); in r8156_hw_phy_cfg()
7332 sram_write(tp, 0x8014, data); in r8156_hw_phy_cfg()
7336 sram_write(tp, 0x8016, data); in r8156_hw_phy_cfg()
7340 sram_write(tp, 0x80dc, data); in r8156_hw_phy_cfg()
7343 sram_write(tp, 0x80df, data); in r8156_hw_phy_cfg()
7346 sram_write(tp, 0x80e1, data); in r8156_hw_phy_cfg()
7353 sram_write(tp, 0x819f, 0xddb6); in r8156_hw_phy_cfg()
7424 sram_write(tp, 0x8257, 0x020f); /* XG PLL */ in r8156_hw_phy_cfg()
7425 sram_write(tp, 0x80ea, 0x7843); /* GIGA Master */ in r8156_hw_phy_cfg()
7462 sram_write(tp, 0x81a2, data); in r8156_hw_phy_cfg()
7652 sram_write(tp, 0x8fff, data); in r8156b_hw_phy_cfg()
7753 sram_write(tp, 0x816c, 0xc4a0); in r8156b_hw_phy_cfg()
7754 sram_write(tp, 0x8170, 0xc4a0); in r8156b_hw_phy_cfg()
7755 sram_write(tp, 0x8174, 0x04a0); in r8156b_hw_phy_cfg()
7756 sram_write(tp, 0x8178, 0x04a0); in r8156b_hw_phy_cfg()
7757 sram_write(tp, 0x817c, 0x0719); in r8156b_hw_phy_cfg()
7758 sram_write(tp, 0x8ff4, 0x0400); in r8156b_hw_phy_cfg()
7759 sram_write(tp, 0x8ff1, 0x0404); in r8156b_hw_phy_cfg()
7787 sram_write(tp, 0x8217, data); in r8156b_hw_phy_cfg()
7791 sram_write(tp, 0x821a, data); in r8156b_hw_phy_cfg()
7792 sram_write(tp, 0x80da, 0x0403); in r8156b_hw_phy_cfg()
7796 sram_write(tp, 0x80dc, data); in r8156b_hw_phy_cfg()
7797 sram_write(tp, 0x80b3, 0x0384); in r8156b_hw_phy_cfg()
7798 sram_write(tp, 0x80b7, 0x2007); in r8156b_hw_phy_cfg()
7802 sram_write(tp, 0x80ba, data); in r8156b_hw_phy_cfg()
7803 sram_write(tp, 0x80b5, 0xf009); in r8156b_hw_phy_cfg()
7807 sram_write(tp, 0x80bd, data); in r8156b_hw_phy_cfg()
7808 sram_write(tp, 0x80c7, 0xf083); in r8156b_hw_phy_cfg()
7809 sram_write(tp, 0x80dd, 0x03f0); in r8156b_hw_phy_cfg()
7813 sram_write(tp, 0x80df, data); in r8156b_hw_phy_cfg()
7814 sram_write(tp, 0x80cb, 0x2007); in r8156b_hw_phy_cfg()
7818 sram_write(tp, 0x80ce, data); in r8156b_hw_phy_cfg()
7819 sram_write(tp, 0x80c9, 0x8009); in r8156b_hw_phy_cfg()
7823 sram_write(tp, 0x80d1, data); in r8156b_hw_phy_cfg()
7824 sram_write(tp, 0x80a3, 0x200a); in r8156b_hw_phy_cfg()
7825 sram_write(tp, 0x80a5, 0xf0ad); in r8156b_hw_phy_cfg()
7826 sram_write(tp, 0x809f, 0x6073); in r8156b_hw_phy_cfg()
7827 sram_write(tp, 0x80a1, 0x000b); in r8156b_hw_phy_cfg()
7831 sram_write(tp, 0x80a9, data); in r8156b_hw_phy_cfg()
7879 sram_write(tp, 0x817d, data); in r8156b_hw_phy_cfg()
7915 sram_write(tp, 0x8044, 0x2417); in r8156b_hw_phy_cfg()
7916 sram_write(tp, 0x804a, 0x2417); in r8156b_hw_phy_cfg()
7917 sram_write(tp, 0x8050, 0x2417); in r8156b_hw_phy_cfg()
7918 sram_write(tp, 0x8056, 0x2417); in r8156b_hw_phy_cfg()
7919 sram_write(tp, 0x805c, 0x2417); in r8156b_hw_phy_cfg()
7920 sram_write(tp, 0x8062, 0x2417); in r8156b_hw_phy_cfg()
7921 sram_write(tp, 0x8068, 0x2417); in r8156b_hw_phy_cfg()
7922 sram_write(tp, 0x806e, 0x2417); in r8156b_hw_phy_cfg()
7923 sram_write(tp, 0x8074, 0x2417); in r8156b_hw_phy_cfg()
7924 sram_write(tp, 0x807a, 0x2417); in r8156b_hw_phy_cfg()