Lines Matching refs:sram_write
1617 static void sram_write(struct r8152 *tp, u16 addr, u16 data) in sram_write() function
3691 sram_write(tp, SRAM_GREEN_CFG, data); in rtl_green_en()
3699 sram_write(tp, 0x8045, 0); /* 10M abiq&ldvbias */ in r8153b_green_en()
3700 sram_write(tp, 0x804d, 0x1222); /* 100M short abiq&ldvbias */ in r8153b_green_en()
3701 sram_write(tp, 0x805d, 0x0022); /* 1000M short abiq&ldvbias */ in r8153b_green_en()
3703 sram_write(tp, 0x8045, 0x2444); /* 10M abiq&ldvbias */ in r8153b_green_en()
3704 sram_write(tp, 0x804d, 0x2444); /* 100M short abiq&ldvbias */ in r8153b_green_en()
3705 sram_write(tp, 0x805d, 0x2444); /* 1000M short abiq&ldvbias */ in r8153b_green_en()
4169 sram_write(tp, key_addr, patch_key); in rtl_patch_key_set()
4170 sram_write(tp, SRAM_PHY_LOCK, PHY_PATCH_LOCK); in rtl_patch_key_set()
4174 sram_write(tp, 0x0000, 0x0000); in rtl_patch_key_set()
4180 sram_write(tp, key_addr, 0x0000); in rtl_patch_key_set()
4985 sram_write(tp, ver_addr, ver); in rtl8152_fw_phy_ver()
5033 sram_write(tp, __le16_to_cpu(phy->pre_set[i].addr), in rtl8152_fw_phy_union_apply()
5047 sram_write(tp, __le16_to_cpu(phy->bp[i].addr), __le16_to_cpu(phy->bp[i].data)); in rtl8152_fw_phy_union_apply()
5050 sram_write(tp, __le16_to_cpu(phy->bp_en.addr), __le16_to_cpu(phy->bp_en.data)); in rtl8152_fw_phy_union_apply()
5064 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_pre)); in rtl8152_fw_phy_nc_apply()
5065 sram_write(tp, __le16_to_cpu(phy->ba_reg), in rtl8152_fw_phy_nc_apply()
5077 sram_write(tp, __le16_to_cpu(phy->patch_en_addr), in rtl8152_fw_phy_nc_apply()
5083 sram_write(tp, bp_index, __le16_to_cpu(phy->bp[i])); in rtl8152_fw_phy_nc_apply()
5087 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_post)); in rtl8152_fw_phy_nc_apply()
5791 sram_write(tp, SRAM_IMPEDANCE, 0x0b13); in r8153_hw_phy_cfg()
5798 sram_write(tp, SRAM_LPF_CFG, 0xf70f); in r8153_hw_phy_cfg()
5801 sram_write(tp, SRAM_10M_AMP1, 0x00af); in r8153_hw_phy_cfg()
5802 sram_write(tp, SRAM_10M_AMP2, 0x0208); in r8153_hw_phy_cfg()
5877 sram_write(tp, SRAM_GREEN_CFG, data); in r8153b_hw_phy_cfg()
7408 sram_write(tp, 0x80ea, data); in r8156_hw_phy_cfg()
7412 sram_write(tp, 0x80eb, data); in r8156_hw_phy_cfg()
7416 sram_write(tp, 0x80f8, data); in r8156_hw_phy_cfg()
7420 sram_write(tp, 0x80f1, data); in r8156_hw_phy_cfg()
7425 sram_write(tp, 0x80fe, data); in r8156_hw_phy_cfg()
7429 sram_write(tp, 0x8102, data); in r8156_hw_phy_cfg()
7433 sram_write(tp, 0x8015, data); in r8156_hw_phy_cfg()
7437 sram_write(tp, 0x8100, data); in r8156_hw_phy_cfg()
7441 sram_write(tp, 0x8014, data); in r8156_hw_phy_cfg()
7445 sram_write(tp, 0x8016, data); in r8156_hw_phy_cfg()
7449 sram_write(tp, 0x80dc, data); in r8156_hw_phy_cfg()
7452 sram_write(tp, 0x80df, data); in r8156_hw_phy_cfg()
7455 sram_write(tp, 0x80e1, data); in r8156_hw_phy_cfg()
7462 sram_write(tp, 0x819f, 0xddb6); in r8156_hw_phy_cfg()
7533 sram_write(tp, 0x8257, 0x020f); /* XG PLL */ in r8156_hw_phy_cfg()
7534 sram_write(tp, 0x80ea, 0x7843); /* GIGA Master */ in r8156_hw_phy_cfg()
7571 sram_write(tp, 0x81a2, data); in r8156_hw_phy_cfg()
7766 sram_write(tp, 0x8fff, data); in r8156b_hw_phy_cfg()
7867 sram_write(tp, 0x816c, 0xc4a0); in r8156b_hw_phy_cfg()
7868 sram_write(tp, 0x8170, 0xc4a0); in r8156b_hw_phy_cfg()
7869 sram_write(tp, 0x8174, 0x04a0); in r8156b_hw_phy_cfg()
7870 sram_write(tp, 0x8178, 0x04a0); in r8156b_hw_phy_cfg()
7871 sram_write(tp, 0x817c, 0x0719); in r8156b_hw_phy_cfg()
7872 sram_write(tp, 0x8ff4, 0x0400); in r8156b_hw_phy_cfg()
7873 sram_write(tp, 0x8ff1, 0x0404); in r8156b_hw_phy_cfg()
7901 sram_write(tp, 0x8217, data); in r8156b_hw_phy_cfg()
7905 sram_write(tp, 0x821a, data); in r8156b_hw_phy_cfg()
7906 sram_write(tp, 0x80da, 0x0403); in r8156b_hw_phy_cfg()
7910 sram_write(tp, 0x80dc, data); in r8156b_hw_phy_cfg()
7911 sram_write(tp, 0x80b3, 0x0384); in r8156b_hw_phy_cfg()
7912 sram_write(tp, 0x80b7, 0x2007); in r8156b_hw_phy_cfg()
7916 sram_write(tp, 0x80ba, data); in r8156b_hw_phy_cfg()
7917 sram_write(tp, 0x80b5, 0xf009); in r8156b_hw_phy_cfg()
7921 sram_write(tp, 0x80bd, data); in r8156b_hw_phy_cfg()
7922 sram_write(tp, 0x80c7, 0xf083); in r8156b_hw_phy_cfg()
7923 sram_write(tp, 0x80dd, 0x03f0); in r8156b_hw_phy_cfg()
7927 sram_write(tp, 0x80df, data); in r8156b_hw_phy_cfg()
7928 sram_write(tp, 0x80cb, 0x2007); in r8156b_hw_phy_cfg()
7932 sram_write(tp, 0x80ce, data); in r8156b_hw_phy_cfg()
7933 sram_write(tp, 0x80c9, 0x8009); in r8156b_hw_phy_cfg()
7937 sram_write(tp, 0x80d1, data); in r8156b_hw_phy_cfg()
7938 sram_write(tp, 0x80a3, 0x200a); in r8156b_hw_phy_cfg()
7939 sram_write(tp, 0x80a5, 0xf0ad); in r8156b_hw_phy_cfg()
7940 sram_write(tp, 0x809f, 0x6073); in r8156b_hw_phy_cfg()
7941 sram_write(tp, 0x80a1, 0x000b); in r8156b_hw_phy_cfg()
7945 sram_write(tp, 0x80a9, data); in r8156b_hw_phy_cfg()
7993 sram_write(tp, 0x817d, data); in r8156b_hw_phy_cfg()
8029 sram_write(tp, 0x8044, 0x2417); in r8156b_hw_phy_cfg()
8030 sram_write(tp, 0x804a, 0x2417); in r8156b_hw_phy_cfg()
8031 sram_write(tp, 0x8050, 0x2417); in r8156b_hw_phy_cfg()
8032 sram_write(tp, 0x8056, 0x2417); in r8156b_hw_phy_cfg()
8033 sram_write(tp, 0x805c, 0x2417); in r8156b_hw_phy_cfg()
8034 sram_write(tp, 0x8062, 0x2417); in r8156b_hw_phy_cfg()
8035 sram_write(tp, 0x8068, 0x2417); in r8156b_hw_phy_cfg()
8036 sram_write(tp, 0x806e, 0x2417); in r8156b_hw_phy_cfg()
8037 sram_write(tp, 0x8074, 0x2417); in r8156b_hw_phy_cfg()
8038 sram_write(tp, 0x807a, 0x2417); in r8156b_hw_phy_cfg()