Lines Matching refs:cpu_reg
3728 load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg, in load_cpu_fw() argument
3737 val = bnx2_reg_rd_ind(bp, cpu_reg->mode); in load_cpu_fw()
3738 val |= cpu_reg->mode_value_halt; in load_cpu_fw()
3739 bnx2_reg_wr_ind(bp, cpu_reg->mode, val); in load_cpu_fw()
3740 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear); in load_cpu_fw()
3748 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3762 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3776 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3785 bnx2_reg_wr_ind(bp, cpu_reg->inst, 0); in load_cpu_fw()
3788 bnx2_reg_wr_ind(bp, cpu_reg->pc, val); in load_cpu_fw()
3791 val = bnx2_reg_rd_ind(bp, cpu_reg->mode); in load_cpu_fw()
3792 val &= ~cpu_reg->mode_value_halt; in load_cpu_fw()
3793 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear); in load_cpu_fw()
3794 bnx2_reg_wr_ind(bp, cpu_reg->mode, val); in load_cpu_fw()