• Home
  • Raw
  • Download

Lines Matching refs:load_code

2123 static int bnx2x_init_hw(struct bnx2x *bp, u32 load_code)  in bnx2x_init_hw()  argument
2133 func_params.params.hw_init.load_phase = load_code; in bnx2x_init_hw()
2314 static int bnx2x_nic_load_request(struct bnx2x *bp, u32 *load_code) in bnx2x_nic_load_request() argument
2336 (*load_code) = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_REQ, param); in bnx2x_nic_load_request()
2339 if (!(*load_code)) { in bnx2x_nic_load_request()
2347 if ((*load_code) == FW_MSG_CODE_DRV_LOAD_REFUSED) { in bnx2x_nic_load_request()
2358 int bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err) in bnx2x_compare_fw_ver() argument
2361 if (load_code != FW_MSG_CODE_DRV_LOAD_COMMON_CHIP && in bnx2x_compare_fw_ver()
2362 load_code != FW_MSG_CODE_DRV_LOAD_COMMON) { in bnx2x_compare_fw_ver()
2411 static void bnx2x_nic_load_pmf(struct bnx2x *bp, u32 load_code) in bnx2x_nic_load_pmf() argument
2413 if ((load_code == FW_MSG_CODE_DRV_LOAD_COMMON) || in bnx2x_nic_load_pmf()
2414 (load_code == FW_MSG_CODE_DRV_LOAD_COMMON_CHIP) || in bnx2x_nic_load_pmf()
2415 (load_code == FW_MSG_CODE_DRV_LOAD_PORT)) { in bnx2x_nic_load_pmf()
2429 static void bnx2x_nic_load_afex_dcc(struct bnx2x *bp, int load_code) in bnx2x_nic_load_afex_dcc() argument
2431 if (((load_code == FW_MSG_CODE_DRV_LOAD_COMMON) || in bnx2x_nic_load_afex_dcc()
2432 (load_code == FW_MSG_CODE_DRV_LOAD_COMMON_CHIP)) && in bnx2x_nic_load_afex_dcc()
2610 int i, rc = 0, load_code = 0; in bnx2x_nic_load() local
2707 rc = bnx2x_nic_load_request(bp, &load_code); in bnx2x_nic_load()
2712 rc = bnx2x_compare_fw_ver(bp, load_code, true); in bnx2x_nic_load()
2718 load_code = bnx2x_nic_load_no_mcp(bp, port); in bnx2x_nic_load()
2722 bnx2x_nic_load_pmf(bp, load_code); in bnx2x_nic_load()
2728 rc = bnx2x_init_hw(bp, load_code); in bnx2x_nic_load()
2750 bnx2x_post_irq_nic_init(bp, load_code); in bnx2x_nic_load()
2757 bnx2x_nic_load_afex_dcc(bp, load_code); in bnx2x_nic_load()
2769 load_code = bnx2x_fw_command(bp, in bnx2x_nic_load()
2771 if (!load_code) { in bnx2x_nic_load()