Lines Matching refs:cpu_base
5232 static int tg3_load_firmware_cpu(struct tg3 *tp, u32 cpu_base, u32 cpu_scratch_base,
5238 if (cpu_base == TX_CPU_BASE &&
5255 err = tg3_halt_cpu(tp, cpu_base);
5263 tw32(cpu_base + CPU_STATE, 0xffffffff);
5264 tw32(cpu_base + CPU_MODE, tr32(cpu_base+CPU_MODE)|CPU_MODE_HALT);
5851 unsigned long cpu_base, cpu_scratch_base, cpu_scratch_size;
5867 cpu_base = RX_CPU_BASE;
5884 cpu_base = TX_CPU_BASE;
5889 err = tg3_load_firmware_cpu(tp, cpu_base,
5896 tw32(cpu_base + CPU_STATE, 0xffffffff);
5897 tw32_f(cpu_base + CPU_PC, info.text_base);
5900 if (tr32(cpu_base + CPU_PC) == info.text_base)
5902 tw32(cpu_base + CPU_STATE, 0xffffffff);
5903 tw32(cpu_base + CPU_MODE, CPU_MODE_HALT);
5904 tw32_f(cpu_base + CPU_PC, info.text_base);
5910 tp->dev->name, tr32(cpu_base + CPU_PC),
5914 tw32(cpu_base + CPU_STATE, 0xffffffff);
5915 tw32_f(cpu_base + CPU_MODE, 0x00000000);