load_code 2417 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h int bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err); load_code 2123 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_init_hw(struct bnx2x *bp, u32 load_code) load_code 2133 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c func_params.params.hw_init.load_phase = load_code; load_code 2314 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_nic_load_request(struct bnx2x *bp, u32 *load_code) load_code 2336 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c (*load_code) = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_REQ, param); load_code 2339 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!(*load_code)) { load_code 2347 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if ((*load_code) == FW_MSG_CODE_DRV_LOAD_REFUSED) { load_code 2358 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err) load_code 2361 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (load_code != FW_MSG_CODE_DRV_LOAD_COMMON_CHIP && load_code 2362 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c load_code != FW_MSG_CODE_DRV_LOAD_COMMON) { load_code 2411 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_nic_load_pmf(struct bnx2x *bp, u32 load_code) load_code 2413 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if ((load_code == FW_MSG_CODE_DRV_LOAD_COMMON) || load_code 2414 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c (load_code == FW_MSG_CODE_DRV_LOAD_COMMON_CHIP) || load_code 2415 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c (load_code == FW_MSG_CODE_DRV_LOAD_PORT)) { load_code 2429 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_nic_load_afex_dcc(struct bnx2x *bp, int load_code) load_code 2431 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (((load_code == FW_MSG_CODE_DRV_LOAD_COMMON) || load_code 2432 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c (load_code == FW_MSG_CODE_DRV_LOAD_COMMON_CHIP)) && load_code 2610 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int i, rc = 0, load_code = 0; load_code 2707 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c rc = bnx2x_nic_load_request(bp, &load_code); load_code 2712 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c rc = bnx2x_compare_fw_ver(bp, load_code, true); load_code 2718 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c load_code = bnx2x_nic_load_no_mcp(bp, port); load_code 2722 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_nic_load_pmf(bp, load_code); load_code 2728 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c rc = bnx2x_init_hw(bp, load_code); load_code 2750 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_post_irq_nic_init(bp, load_code); load_code 2757 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_nic_load_afex_dcc(bp, load_code); load_code 2769 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c load_code = bnx2x_fw_command(bp, load_code 2771 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!load_code) { load_code 327 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h void bnx2x_post_irq_nic_init(struct bnx2x *bp, u32 load_code); load_code 6299 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static void bnx2x_init_internal(struct bnx2x *bp, u32 load_code) load_code 6301 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c switch (load_code) { load_code 6317 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BNX2X_ERR("Unknown load_code (0x%x) from MCP\n", load_code); load_code 6531 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c void bnx2x_post_irq_nic_init(struct bnx2x *bp, u32 load_code) load_code 6534 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_init_internal(bp, load_code); load_code 9072 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static int bnx2x_reset_hw(struct bnx2x *bp, u32 load_code) load_code 9082 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func_params.params.hw_init.load_phase = load_code; load_code 9895 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 load_code; load_code 9901 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c load_code = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_REQ, load_code 9903 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!load_code) { load_code 9908 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if ((load_code != FW_MSG_CODE_DRV_LOAD_COMMON_CHIP) && load_code 9909 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (load_code != FW_MSG_CODE_DRV_LOAD_COMMON)) { load_code 9914 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c load_code = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_DONE, 0); load_code 9915 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!load_code) { load_code 5986 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c u32 load_code = params->params.hw_init.load_phase; load_code 5992 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c BP_ABS_FUNC(bp), load_code); load_code 6007 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c switch (load_code) { load_code 6033 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c BNX2X_ERR("Unknown load_code (0x%x) from MCP\n", load_code); load_code 3000 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 load_code, resp, param, drv_mb_param; load_code 3062 drivers/net/ethernet/qlogic/qed/qed_dev.c load_code = load_req_params.load_code; load_code 3065 drivers/net/ethernet/qlogic/qed/qed_dev.c load_code); load_code 3080 drivers/net/ethernet/qlogic/qed/qed_dev.c if (load_code != FW_MSG_CODE_DRV_LOAD_ENGINE) { load_code 3105 drivers/net/ethernet/qlogic/qed/qed_dev.c switch (load_code) { load_code 3129 drivers/net/ethernet/qlogic/qed/qed_dev.c "Unexpected load code [0x%08x]", load_code); load_code 3137 drivers/net/ethernet/qlogic/qed/qed_dev.c load_code, rc); load_code 3180 drivers/net/ethernet/qlogic/qed/qed_dev.c drv_mb_param, &load_code, ¶m); load_code 809 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 load_code; load_code 885 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_out_params->load_code = mb_params.mcp_resp; load_code 888 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_out_params->load_code != FW_MSG_CODE_DRV_LOAD_REFUSED_HSI_1) { load_code 993 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (out_params.load_code == FW_MSG_CODE_DRV_LOAD_REFUSED_HSI_1) { load_code 1002 drivers/net/ethernet/qlogic/qed/qed_mcp.c } else if (out_params.load_code == load_code 1047 drivers/net/ethernet/qlogic/qed/qed_mcp.c switch (out_params.load_code) { load_code 1064 drivers/net/ethernet/qlogic/qed/qed_mcp.c out_params.load_code); load_code 1068 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_params->load_code = out_params.load_code; load_code 820 drivers/net/ethernet/qlogic/qed/qed_mcp.h u32 load_code; load_code 2601 drivers/scsi/st.c static int do_load_unload(struct scsi_tape *STp, struct file *filp, int load_code) load_code 2608 drivers/scsi/st.c if (STp->ready != ST_READY && !load_code) { load_code 2617 drivers/scsi/st.c if (load_code) load_code 2622 drivers/scsi/st.c if (load_code >= 1 + MT_ST_HPLOADER_OFFSET load_code 2623 drivers/scsi/st.c && load_code <= 6 + MT_ST_HPLOADER_OFFSET) { load_code 2626 drivers/scsi/st.c load_code - MT_ST_HPLOADER_OFFSET); load_code 2627 drivers/scsi/st.c cmd[3] = load_code - MT_ST_HPLOADER_OFFSET; /* MediaID field of C1553A */ load_code 2637 drivers/scsi/st.c if (!load_code) load_code 2653 drivers/scsi/st.c if (!load_code) { load_code 530 drivers/tty/serial/icom.c load_code(icom_port);