Lines Matching refs:cpu_reg
3783 load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg,
3792 val = bnx2_reg_rd_ind(bp, cpu_reg->mode);
3793 val |= cpu_reg->mode_value_halt;
3794 bnx2_reg_wr_ind(bp, cpu_reg->mode, val);
3795 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear);
3803 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base);
3817 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base);
3831 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base);
3840 bnx2_reg_wr_ind(bp, cpu_reg->inst, 0);
3843 bnx2_reg_wr_ind(bp, cpu_reg->pc, val);
3846 val = bnx2_reg_rd_ind(bp, cpu_reg->mode);
3847 val &= ~cpu_reg->mode_value_halt;
3848 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear);
3849 bnx2_reg_wr_ind(bp, cpu_reg->mode, val);