Lines Matching refs:sram_write
1346 static void sram_write(struct r8152 *tp, u16 addr, u16 data) in sram_write() function
3152 sram_write(tp, 0x8045, 0); /* 10M abiq&ldvbias */ in r8153b_green_en()
3153 sram_write(tp, 0x804d, 0x1222); /* 100M short abiq&ldvbias */ in r8153b_green_en()
3154 sram_write(tp, 0x805d, 0x0022); /* 1000M short abiq&ldvbias */ in r8153b_green_en()
3156 sram_write(tp, 0x8045, 0x2444); /* 10M abiq&ldvbias */ in r8153b_green_en()
3157 sram_write(tp, 0x804d, 0x2444); /* 100M short abiq&ldvbias */ in r8153b_green_en()
3158 sram_write(tp, 0x805d, 0x2444); /* 1000M short abiq&ldvbias */ in r8153b_green_en()
3163 sram_write(tp, SRAM_GREEN_CFG, data); in r8153b_green_en()
3501 sram_write(tp, key_addr, patch_key); in r8153_pre_ram_code()
3502 sram_write(tp, SRAM_PHY_LOCK, PHY_PATCH_LOCK); in r8153_pre_ram_code()
3511 sram_write(tp, 0x0000, 0x0000); in r8153_post_ram_code()
3517 sram_write(tp, key_addr, 0x0000); in r8153_post_ram_code()
3915 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_pre)); in rtl8152_fw_phy_nc_apply()
3916 sram_write(tp, __le16_to_cpu(phy->ba_reg), in rtl8152_fw_phy_nc_apply()
3928 sram_write(tp, __le16_to_cpu(phy->patch_en_addr), in rtl8152_fw_phy_nc_apply()
3934 sram_write(tp, bp_index, __le16_to_cpu(phy->bp[i])); in rtl8152_fw_phy_nc_apply()
3938 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_post)); in rtl8152_fw_phy_nc_apply()
4545 sram_write(tp, SRAM_IMPEDANCE, 0x0b13); in r8153_hw_phy_cfg()
4552 sram_write(tp, SRAM_LPF_CFG, 0xf70f); in r8153_hw_phy_cfg()
4555 sram_write(tp, SRAM_10M_AMP1, 0x00af); in r8153_hw_phy_cfg()
4556 sram_write(tp, SRAM_10M_AMP2, 0x0208); in r8153_hw_phy_cfg()
4607 sram_write(tp, SRAM_GREEN_CFG, data); in r8153b_hw_phy_cfg()