Searched refs:reset_code (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_main.c | 7160 static void bnx2x_reset_chip(struct bnx2x *bp, u32 reset_code) in bnx2x_reset_chip() argument 7163 BP_ABS_FUNC(bp), reset_code); in bnx2x_reset_chip() 7165 switch (reset_code) { in bnx2x_reset_chip() 7182 BNX2X_ERR("Unknown reset_code (0x%x) from MCP\n", reset_code); in bnx2x_reset_chip() 7204 u32 reset_code = 0; in bnx2x_chip_cleanup() local 7247 reset_code = DRV_MSG_CODE_UNLOAD_REQ_WOL_DIS; in bnx2x_chip_cleanup() 7250 reset_code = DRV_MSG_CODE_UNLOAD_REQ_WOL_MCP; in bnx2x_chip_cleanup() 7267 reset_code = DRV_MSG_CODE_UNLOAD_REQ_WOL_EN; in bnx2x_chip_cleanup() 7270 reset_code = DRV_MSG_CODE_UNLOAD_REQ_WOL_DIS; in bnx2x_chip_cleanup() 7296 reset_code = bnx2x_fw_command(bp, reset_code, 0); in bnx2x_chip_cleanup() [all …]
|
/linux-2.6.39/drivers/net/ |
D | bnx2.c | 4637 bnx2_reset_chip(struct bnx2 *bp, u32 reset_code) in bnx2_reset_chip() argument 4669 bnx2_fw_sync(bp, BNX2_DRV_MSG_DATA_WAIT0 | reset_code, 1, 1); in bnx2_reset_chip() 4730 rc = bnx2_fw_sync(bp, BNX2_DRV_MSG_DATA_WAIT1 | reset_code, 1, 0); in bnx2_reset_chip() 5377 bnx2_reset_nic(struct bnx2 *bp, u32 reset_code) in bnx2_reset_nic() argument 5381 rc = bnx2_reset_chip(bp, reset_code); in bnx2_reset_nic() 5413 u32 reset_code; in bnx2_shutdown_chip() local 5416 reset_code = BNX2_DRV_MSG_CODE_UNLOAD_LNK_DN; in bnx2_shutdown_chip() 5418 reset_code = BNX2_DRV_MSG_CODE_SUSPEND_WOL; in bnx2_shutdown_chip() 5420 reset_code = BNX2_DRV_MSG_CODE_SUSPEND_NO_WOL; in bnx2_shutdown_chip() 5422 return bnx2_reset_chip(bp, reset_code); in bnx2_shutdown_chip()
|