Home
last modified time | relevance | path

Searched refs:load_code (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c2120 static int bnx2x_init_hw(struct bnx2x *bp, u32 load_code) in bnx2x_init_hw() argument
2130 func_params.params.hw_init.load_phase = load_code; in bnx2x_init_hw()
2311 static int bnx2x_nic_load_request(struct bnx2x *bp, u32 *load_code) in bnx2x_nic_load_request() argument
2333 (*load_code) = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_REQ, param); in bnx2x_nic_load_request()
2336 if (!(*load_code)) { in bnx2x_nic_load_request()
2344 if ((*load_code) == FW_MSG_CODE_DRV_LOAD_REFUSED) { in bnx2x_nic_load_request()
2355 int bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err) in bnx2x_compare_fw_ver() argument
2358 if (load_code != FW_MSG_CODE_DRV_LOAD_COMMON_CHIP && in bnx2x_compare_fw_ver()
2359 load_code != FW_MSG_CODE_DRV_LOAD_COMMON) { in bnx2x_compare_fw_ver()
2408 static void bnx2x_nic_load_pmf(struct bnx2x *bp, u32 load_code) in bnx2x_nic_load_pmf() argument
[all …]
Dbnx2x_main.c6299 static void bnx2x_init_internal(struct bnx2x *bp, u32 load_code) in bnx2x_init_internal() argument
6301 switch (load_code) { in bnx2x_init_internal()
6317 BNX2X_ERR("Unknown load_code (0x%x) from MCP\n", load_code); in bnx2x_init_internal()
6532 void bnx2x_post_irq_nic_init(struct bnx2x *bp, u32 load_code) in bnx2x_post_irq_nic_init() argument
6535 bnx2x_init_internal(bp, load_code); in bnx2x_post_irq_nic_init()
9044 static int bnx2x_reset_hw(struct bnx2x *bp, u32 load_code) in bnx2x_reset_hw() argument
9054 func_params.params.hw_init.load_phase = load_code; in bnx2x_reset_hw()
9859 u32 load_code; in bnx2x_leader_reset() local
9865 load_code = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_REQ, in bnx2x_leader_reset()
9867 if (!load_code) { in bnx2x_leader_reset()
[all …]
Dbnx2x_cmn.h327 void bnx2x_post_irq_nic_init(struct bnx2x *bp, u32 load_code);
Dbnx2x_sp.c5987 u32 load_code = params->params.hw_init.load_phase; in bnx2x_func_hw_init() local
5993 BP_ABS_FUNC(bp), load_code); in bnx2x_func_hw_init()
6008 switch (load_code) { in bnx2x_func_hw_init()
6034 BNX2X_ERR("Unknown load_code (0x%x) from MCP\n", load_code); in bnx2x_func_hw_init()
Dbnx2x.h2404 int bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err);
/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c1060 u32 load_code, param; in qed_hw_init() local
1087 rc = qed_mcp_load_req(p_hwfn, p_hwfn->p_main_ptt, &load_code); in qed_hw_init()
1097 rc, load_code); in qed_hw_init()
1099 p_hwfn->first_on_engine = (load_code == in qed_hw_init()
1102 switch (load_code) { in qed_hw_init()
1130 load_code, rc); in qed_hw_init()
1135 0, &load_code, &param); in qed_hw_init()
1150 &load_code, &param); in qed_hw_init()
/drivers/scsi/
Dst.c2601 static int do_load_unload(struct scsi_tape *STp, struct file *filp, int load_code) in do_load_unload() argument
2608 if (STp->ready != ST_READY && !load_code) { in do_load_unload()
2617 if (load_code) in do_load_unload()
2622 if (load_code >= 1 + MT_ST_HPLOADER_OFFSET in do_load_unload()
2623 && load_code <= 6 + MT_ST_HPLOADER_OFFSET) { in do_load_unload()
2626 load_code - MT_ST_HPLOADER_OFFSET); in do_load_unload()
2627 cmd[3] = load_code - MT_ST_HPLOADER_OFFSET; /* MediaID field of C1553A */ in do_load_unload()
2637 if (!load_code) in do_load_unload()
2653 if (!load_code) { in do_load_unload()
/drivers/tty/serial/
Dicom.c352 static void load_code(struct icom_port *icom_port) in load_code() function
546 load_code(icom_port); in startup()