Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c2123 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
[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()
6531 void bnx2x_post_irq_nic_init(struct bnx2x *bp, u32 load_code) in bnx2x_post_irq_nic_init() argument
6534 bnx2x_init_internal(bp, load_code); in bnx2x_post_irq_nic_init()
9072 static int bnx2x_reset_hw(struct bnx2x *bp, u32 load_code) in bnx2x_reset_hw() argument
9082 func_params.params.hw_init.load_phase = load_code; in bnx2x_reset_hw()
9895 u32 load_code; in bnx2x_leader_reset() local
9901 load_code = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_REQ, in bnx2x_leader_reset()
9903 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.c5986 u32 load_code = params->params.hw_init.load_phase; in bnx2x_func_hw_init() local
5992 BP_ABS_FUNC(bp), load_code); in bnx2x_func_hw_init()
6007 switch (load_code) { in bnx2x_func_hw_init()
6033 BNX2X_ERR("Unknown load_code (0x%x) from MCP\n", load_code); in bnx2x_func_hw_init()
Dbnx2x.h2417 int bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err);
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c809 u32 load_code; member
885 p_out_params->load_code = mb_params.mcp_resp; in __qed_mcp_load_req()
888 p_out_params->load_code != FW_MSG_CODE_DRV_LOAD_REFUSED_HSI_1) { in __qed_mcp_load_req()
993 if (out_params.load_code == FW_MSG_CODE_DRV_LOAD_REFUSED_HSI_1) { in qed_mcp_load_req()
1002 } else if (out_params.load_code == in qed_mcp_load_req()
1047 switch (out_params.load_code) { in qed_mcp_load_req()
1064 out_params.load_code); in qed_mcp_load_req()
1068 p_params->load_code = out_params.load_code; in qed_mcp_load_req()
Dqed_dev.c3000 u32 load_code, resp, param, drv_mb_param; in qed_hw_init() local
3062 load_code = load_req_params.load_code; in qed_hw_init()
3065 load_code); in qed_hw_init()
3080 if (load_code != FW_MSG_CODE_DRV_LOAD_ENGINE) { in qed_hw_init()
3105 switch (load_code) { in qed_hw_init()
3129 "Unexpected load code [0x%08x]", load_code); in qed_hw_init()
3137 load_code, rc); in qed_hw_init()
3180 drv_mb_param, &load_code, &param); in qed_hw_init()
Dqed_mcp.h820 u32 load_code; member
/Linux-v5.4/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()
/Linux-v5.4/drivers/tty/serial/
Dicom.c336 static void load_code(struct icom_port *icom_port) in load_code() function
530 load_code(icom_port); in startup()