Searched refs:cpu_reg (Results 1 – 2 of 2) sorted by relevance
1353 load_cpu_fw(struct bnx2 *bp, struct cpu_reg *cpu_reg, struct fw_info *fw) in load_cpu_fw() argument1359 val = REG_RD_IND(bp, cpu_reg->mode); in load_cpu_fw()1360 val |= cpu_reg->mode_value_halt; in load_cpu_fw()1361 REG_WR_IND(bp, cpu_reg->mode, val); in load_cpu_fw()1362 REG_WR_IND(bp, cpu_reg->state, cpu_reg->state_value_clear); in load_cpu_fw()1365 offset = cpu_reg->spad_base + (fw->text_addr - cpu_reg->mips_view_base); in load_cpu_fw()1375 offset = cpu_reg->spad_base + (fw->data_addr - cpu_reg->mips_view_base); in load_cpu_fw()1385 offset = cpu_reg->spad_base + (fw->sbss_addr - cpu_reg->mips_view_base); in load_cpu_fw()1395 offset = cpu_reg->spad_base + (fw->bss_addr - cpu_reg->mips_view_base); in load_cpu_fw()1405 offset = cpu_reg->spad_base + in load_cpu_fw()[all …]
4213 struct cpu_reg { struct