Lines Matching defs:sram_write
1346 static void sram_write(struct r8152 *tp, u16 addr, u16 data)
3155 sram_write(tp, 0x8045, 0); /* 10M abiq&ldvbias */
3156 sram_write(tp, 0x804d, 0x1222); /* 100M short abiq&ldvbias */
3157 sram_write(tp, 0x805d, 0x0022); /* 1000M short abiq&ldvbias */
3159 sram_write(tp, 0x8045, 0x2444); /* 10M abiq&ldvbias */
3160 sram_write(tp, 0x804d, 0x2444); /* 100M short abiq&ldvbias */
3161 sram_write(tp, 0x805d, 0x2444); /* 1000M short abiq&ldvbias */
3166 sram_write(tp, SRAM_GREEN_CFG, data);
3504 sram_write(tp, key_addr, patch_key);
3505 sram_write(tp, SRAM_PHY_LOCK, PHY_PATCH_LOCK);
3514 sram_write(tp, 0x0000, 0x0000);
3520 sram_write(tp, key_addr, 0x0000);
3918 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_pre));
3919 sram_write(tp, __le16_to_cpu(phy->ba_reg),
3931 sram_write(tp, __le16_to_cpu(phy->patch_en_addr),
3937 sram_write(tp, bp_index, __le16_to_cpu(phy->bp[i]));
3941 sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_post));
4548 sram_write(tp, SRAM_IMPEDANCE, 0x0b13);
4555 sram_write(tp, SRAM_LPF_CFG, 0xf70f);
4558 sram_write(tp, SRAM_10M_AMP1, 0x00af);
4559 sram_write(tp, SRAM_10M_AMP2, 0x0208);
4610 sram_write(tp, SRAM_GREEN_CFG, data);