Lines Matching refs:sram_write

1507 static void sram_write(struct r8152 *tp, u16 addr, u16 data)  in sram_write()  function
3570 sram_write(tp, SRAM_GREEN_CFG, data); in rtl_green_en()
3578 sram_write(tp, 0x8045, 0); /* 10M abiq&ldvbias */ in r8153b_green_en()
3579 sram_write(tp, 0x804d, 0x1222); /* 100M short abiq&ldvbias */ in r8153b_green_en()
3580 sram_write(tp, 0x805d, 0x0022); /* 1000M short abiq&ldvbias */ in r8153b_green_en()
3582 sram_write(tp, 0x8045, 0x2444); /* 10M abiq&ldvbias */ in r8153b_green_en()
3583 sram_write(tp, 0x804d, 0x2444); /* 100M short abiq&ldvbias */ in r8153b_green_en()
3584 sram_write(tp, 0x805d, 0x2444); /* 1000M short abiq&ldvbias */ in r8153b_green_en()
4056 sram_write(tp, key_addr, patch_key); in rtl_patch_key_set()
4057 sram_write(tp, SRAM_PHY_LOCK, PHY_PATCH_LOCK); in rtl_patch_key_set()
4061 sram_write(tp, 0x0000, 0x0000); in rtl_patch_key_set()
4067 sram_write(tp, key_addr, 0x0000); in rtl_patch_key_set()
4869 sram_write(tp, ver_addr, ver); in rtl8152_fw_phy_ver()
4913 sram_write(tp, __le16_to_cpu(phy->pre_set[i].addr), in rtl8152_fw_phy_union_apply()
4927 sram_write(tp, __le16_to_cpu(phy->bp[i].addr), __le16_to_cpu(phy->bp[i].data)); in rtl8152_fw_phy_union_apply()
4930 sram_write(tp, __le16_to_cpu(phy->bp_en.addr), __le16_to_cpu(phy->bp_en.data)); in rtl8152_fw_phy_union_apply()
4942 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_pre)); in rtl8152_fw_phy_nc_apply()
4943 sram_write(tp, __le16_to_cpu(phy->ba_reg), in rtl8152_fw_phy_nc_apply()
4955 sram_write(tp, __le16_to_cpu(phy->patch_en_addr), in rtl8152_fw_phy_nc_apply()
4961 sram_write(tp, bp_index, __le16_to_cpu(phy->bp[i])); in rtl8152_fw_phy_nc_apply()
4965 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_post)); in rtl8152_fw_phy_nc_apply()
5673 sram_write(tp, SRAM_IMPEDANCE, 0x0b13); in r8153_hw_phy_cfg()
5680 sram_write(tp, SRAM_LPF_CFG, 0xf70f); in r8153_hw_phy_cfg()
5683 sram_write(tp, SRAM_10M_AMP1, 0x00af); in r8153_hw_phy_cfg()
5684 sram_write(tp, SRAM_10M_AMP2, 0x0208); in r8153_hw_phy_cfg()
5759 sram_write(tp, SRAM_GREEN_CFG, data); in r8153b_hw_phy_cfg()
7250 sram_write(tp, 0x80ea, data); in r8156_hw_phy_cfg()
7254 sram_write(tp, 0x80eb, data); in r8156_hw_phy_cfg()
7258 sram_write(tp, 0x80f8, data); in r8156_hw_phy_cfg()
7262 sram_write(tp, 0x80f1, data); in r8156_hw_phy_cfg()
7267 sram_write(tp, 0x80fe, data); in r8156_hw_phy_cfg()
7271 sram_write(tp, 0x8102, data); in r8156_hw_phy_cfg()
7275 sram_write(tp, 0x8015, data); in r8156_hw_phy_cfg()
7279 sram_write(tp, 0x8100, data); in r8156_hw_phy_cfg()
7283 sram_write(tp, 0x8014, data); in r8156_hw_phy_cfg()
7287 sram_write(tp, 0x8016, data); in r8156_hw_phy_cfg()
7291 sram_write(tp, 0x80dc, data); in r8156_hw_phy_cfg()
7294 sram_write(tp, 0x80df, data); in r8156_hw_phy_cfg()
7297 sram_write(tp, 0x80e1, data); in r8156_hw_phy_cfg()
7304 sram_write(tp, 0x819f, 0xddb6); in r8156_hw_phy_cfg()
7375 sram_write(tp, 0x8257, 0x020f); /* XG PLL */ in r8156_hw_phy_cfg()
7376 sram_write(tp, 0x80ea, 0x7843); /* GIGA Master */ in r8156_hw_phy_cfg()
7413 sram_write(tp, 0x81a2, data); in r8156_hw_phy_cfg()
7603 sram_write(tp, 0x8fff, data); in r8156b_hw_phy_cfg()
7704 sram_write(tp, 0x816c, 0xc4a0); in r8156b_hw_phy_cfg()
7705 sram_write(tp, 0x8170, 0xc4a0); in r8156b_hw_phy_cfg()
7706 sram_write(tp, 0x8174, 0x04a0); in r8156b_hw_phy_cfg()
7707 sram_write(tp, 0x8178, 0x04a0); in r8156b_hw_phy_cfg()
7708 sram_write(tp, 0x817c, 0x0719); in r8156b_hw_phy_cfg()
7709 sram_write(tp, 0x8ff4, 0x0400); in r8156b_hw_phy_cfg()
7710 sram_write(tp, 0x8ff1, 0x0404); in r8156b_hw_phy_cfg()
7738 sram_write(tp, 0x8217, data); in r8156b_hw_phy_cfg()
7742 sram_write(tp, 0x821a, data); in r8156b_hw_phy_cfg()
7743 sram_write(tp, 0x80da, 0x0403); in r8156b_hw_phy_cfg()
7747 sram_write(tp, 0x80dc, data); in r8156b_hw_phy_cfg()
7748 sram_write(tp, 0x80b3, 0x0384); in r8156b_hw_phy_cfg()
7749 sram_write(tp, 0x80b7, 0x2007); in r8156b_hw_phy_cfg()
7753 sram_write(tp, 0x80ba, data); in r8156b_hw_phy_cfg()
7754 sram_write(tp, 0x80b5, 0xf009); in r8156b_hw_phy_cfg()
7758 sram_write(tp, 0x80bd, data); in r8156b_hw_phy_cfg()
7759 sram_write(tp, 0x80c7, 0xf083); in r8156b_hw_phy_cfg()
7760 sram_write(tp, 0x80dd, 0x03f0); in r8156b_hw_phy_cfg()
7764 sram_write(tp, 0x80df, data); in r8156b_hw_phy_cfg()
7765 sram_write(tp, 0x80cb, 0x2007); in r8156b_hw_phy_cfg()
7769 sram_write(tp, 0x80ce, data); in r8156b_hw_phy_cfg()
7770 sram_write(tp, 0x80c9, 0x8009); in r8156b_hw_phy_cfg()
7774 sram_write(tp, 0x80d1, data); in r8156b_hw_phy_cfg()
7775 sram_write(tp, 0x80a3, 0x200a); in r8156b_hw_phy_cfg()
7776 sram_write(tp, 0x80a5, 0xf0ad); in r8156b_hw_phy_cfg()
7777 sram_write(tp, 0x809f, 0x6073); in r8156b_hw_phy_cfg()
7778 sram_write(tp, 0x80a1, 0x000b); in r8156b_hw_phy_cfg()
7782 sram_write(tp, 0x80a9, data); in r8156b_hw_phy_cfg()
7830 sram_write(tp, 0x817d, data); in r8156b_hw_phy_cfg()
7866 sram_write(tp, 0x8044, 0x2417); in r8156b_hw_phy_cfg()
7867 sram_write(tp, 0x804a, 0x2417); in r8156b_hw_phy_cfg()
7868 sram_write(tp, 0x8050, 0x2417); in r8156b_hw_phy_cfg()
7869 sram_write(tp, 0x8056, 0x2417); in r8156b_hw_phy_cfg()
7870 sram_write(tp, 0x805c, 0x2417); in r8156b_hw_phy_cfg()
7871 sram_write(tp, 0x8062, 0x2417); in r8156b_hw_phy_cfg()
7872 sram_write(tp, 0x8068, 0x2417); in r8156b_hw_phy_cfg()
7873 sram_write(tp, 0x806e, 0x2417); in r8156b_hw_phy_cfg()
7874 sram_write(tp, 0x8074, 0x2417); in r8156b_hw_phy_cfg()
7875 sram_write(tp, 0x807a, 0x2417); in r8156b_hw_phy_cfg()