Lines Matching refs:cpu_reg
3831 load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg, in load_cpu_fw() argument
3840 val = bnx2_reg_rd_ind(bp, cpu_reg->mode); in load_cpu_fw()
3841 val |= cpu_reg->mode_value_halt; in load_cpu_fw()
3842 bnx2_reg_wr_ind(bp, cpu_reg->mode, val); in load_cpu_fw()
3843 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear); in load_cpu_fw()
3851 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3865 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3879 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3888 bnx2_reg_wr_ind(bp, cpu_reg->inst, 0); in load_cpu_fw()
3891 bnx2_reg_wr_ind(bp, cpu_reg->pc, val); in load_cpu_fw()
3894 val = bnx2_reg_rd_ind(bp, cpu_reg->mode); in load_cpu_fw()
3895 val &= ~cpu_reg->mode_value_halt; in load_cpu_fw()
3896 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear); in load_cpu_fw()
3897 bnx2_reg_wr_ind(bp, cpu_reg->mode, val); in load_cpu_fw()