Searched refs:cpu_reg (Results 1 – 2 of 2) sorted by relevance
360 void bnx_load_cpu_fw(struct bnx_softc *, struct cpu_reg *,2845 bnx_load_cpu_fw(struct bnx_softc *sc, struct cpu_reg *cpu_reg, in bnx_load_cpu_fw() argument2852 val = REG_RD_IND(sc, cpu_reg->mode); in bnx_load_cpu_fw()2853 val |= cpu_reg->mode_value_halt; in bnx_load_cpu_fw()2854 REG_WR_IND(sc, cpu_reg->mode, val); in bnx_load_cpu_fw()2855 REG_WR_IND(sc, cpu_reg->state, cpu_reg->state_value_clear); in bnx_load_cpu_fw()2858 offset = cpu_reg->spad_base + (fw->text_addr - cpu_reg->mips_view_base); in bnx_load_cpu_fw()2867 offset = cpu_reg->spad_base + (fw->data_addr - cpu_reg->mips_view_base); in bnx_load_cpu_fw()2876 offset = cpu_reg->spad_base + (fw->sbss_addr - cpu_reg->mips_view_base); in bnx_load_cpu_fw()2885 offset = cpu_reg->spad_base + (fw->bss_addr - cpu_reg->mips_view_base); in bnx_load_cpu_fw()[all …]
4640 struct cpu_reg { struct