Lines Matching refs:reset_code
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()
7310 reset_code = FW_MSG_CODE_DRV_UNLOAD_COMMON; in bnx2x_chip_cleanup()
7312 reset_code = FW_MSG_CODE_DRV_UNLOAD_PORT; in bnx2x_chip_cleanup()
7314 reset_code = FW_MSG_CODE_DRV_UNLOAD_FUNCTION; in bnx2x_chip_cleanup()
7317 if ((reset_code == FW_MSG_CODE_DRV_UNLOAD_COMMON) || in bnx2x_chip_cleanup()
7318 (reset_code == FW_MSG_CODE_DRV_UNLOAD_PORT)) in bnx2x_chip_cleanup()
7328 bnx2x_reset_chip(bp, reset_code); in bnx2x_chip_cleanup()
7857 u32 reset_code = DRV_MSG_CODE_UNLOAD_REQ_WOL_DIS; in bnx2x_undi_unload() local
7873 reset_code = bnx2x_fw_command(bp, reset_code, 0); in bnx2x_undi_unload()
7876 if (reset_code != FW_MSG_CODE_DRV_UNLOAD_COMMON) { in bnx2x_undi_unload()
7887 reset_code = DRV_MSG_CODE_UNLOAD_REQ_WOL_DIS; in bnx2x_undi_unload()
7889 bnx2x_fw_command(bp, reset_code, 0); in bnx2x_undi_unload()