Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1661 static inline int bnx2x_init_hw(struct bnx2x *bp, u32 load_code) in bnx2x_init_hw() argument
1671 func_params.params.hw_init.load_phase = load_code; in bnx2x_init_hw()
1774 u32 load_code; in bnx2x_nic_load() local
1851 load_code = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_REQ, 0); in bnx2x_nic_load()
1852 if (!load_code) { in bnx2x_nic_load()
1857 if (load_code == FW_MSG_CODE_DRV_LOAD_REFUSED) { in bnx2x_nic_load()
1862 if (load_code != FW_MSG_CODE_DRV_LOAD_COMMON_CHIP && in bnx2x_nic_load()
1863 load_code != FW_MSG_CODE_DRV_LOAD_COMMON) { in bnx2x_nic_load()
1883 load_code = FW_MSG_CODE_DRV_LOAD_COMMON; in bnx2x_nic_load()
1885 load_code = FW_MSG_CODE_DRV_LOAD_PORT; in bnx2x_nic_load()
[all …]
Dbnx2x_main.c5353 static void bnx2x_init_internal(struct bnx2x *bp, u32 load_code) in bnx2x_init_internal() argument
5355 switch (load_code) { in bnx2x_init_internal()
5371 BNX2X_ERR("Unknown load_code (0x%x) from MCP\n", load_code); in bnx2x_init_internal()
5447 void bnx2x_nic_init(struct bnx2x *bp, u32 load_code) in bnx2x_nic_init() argument
5476 bnx2x_init_internal(bp, load_code); in bnx2x_nic_init()
7721 static inline int bnx2x_reset_hw(struct bnx2x *bp, u32 load_code) in bnx2x_reset_hw() argument
7731 func_params.params.hw_init.load_phase = load_code; in bnx2x_reset_hw()
8442 u32 load_code; in bnx2x_leader_reset() local
8448 load_code = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_REQ, 0); in bnx2x_leader_reset()
8449 if (!load_code) { in bnx2x_leader_reset()
[all …]
Dbnx2x_sp.c5438 u32 load_code = params->params.hw_init.load_phase; in bnx2x_func_hw_init() local
5444 BP_ABS_FUNC(bp), load_code); in bnx2x_func_hw_init()
5459 switch (load_code) { in bnx2x_func_hw_init()
5485 BNX2X_ERR("Unknown load_code (0x%x) from MCP\n", load_code); in bnx2x_func_hw_init()
Dbnx2x_cmn.h276 void bnx2x_nic_init(struct bnx2x *bp, u32 load_code);
/linux-3.4.99/drivers/scsi/
Dst.c2525 static int do_load_unload(struct scsi_tape *STp, struct file *filp, int load_code) in do_load_unload() argument
2533 if (STp->ready != ST_READY && !load_code) { in do_load_unload()
2542 if (load_code) in do_load_unload()
2547 if (load_code >= 1 + MT_ST_HPLOADER_OFFSET in do_load_unload()
2548 && load_code <= 6 + MT_ST_HPLOADER_OFFSET) { in do_load_unload()
2551 load_code - MT_ST_HPLOADER_OFFSET)); in do_load_unload()
2552 cmd[3] = load_code - MT_ST_HPLOADER_OFFSET; /* MediaID field of C1553A */ in do_load_unload()
2562 if (!load_code) in do_load_unload()
2578 if (!load_code) { in do_load_unload()
/linux-3.4.99/drivers/tty/serial/
Dicom.c351 static void load_code(struct icom_port *icom_port) in load_code() function
545 load_code(icom_port); in startup()