Lines Matching refs:cpu_reg
3833 load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg, in load_cpu_fw() argument
3842 val = bnx2_reg_rd_ind(bp, cpu_reg->mode); in load_cpu_fw()
3843 val |= cpu_reg->mode_value_halt; in load_cpu_fw()
3844 bnx2_reg_wr_ind(bp, cpu_reg->mode, val); in load_cpu_fw()
3845 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear); in load_cpu_fw()
3853 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3867 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3881 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3890 bnx2_reg_wr_ind(bp, cpu_reg->inst, 0); in load_cpu_fw()
3893 bnx2_reg_wr_ind(bp, cpu_reg->pc, val); in load_cpu_fw()
3896 val = bnx2_reg_rd_ind(bp, cpu_reg->mode); in load_cpu_fw()
3897 val &= ~cpu_reg->mode_value_halt; in load_cpu_fw()
3898 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear); in load_cpu_fw()
3899 bnx2_reg_wr_ind(bp, cpu_reg->mode, val); in load_cpu_fw()