---
name: "WaitForDoorbellInt"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/WaitForDoorbellInt"
---

# WaitForDoorbellInt(9)

Wait for IOC to set its doorbell interrupt bit

## NAME

WaitForDoorbellInt - Wait for IOC to set its doorbell interrupt bit

## SYNOPSIS

**int WaitForDoorbellInt(MPT\_ADAPTER \*** *ioc***, int** *howlong***, int** *sleepFlag***);**

## ARGUMENTS

*ioc*

Pointer to MPT\_ADAPTER structure

*howlong*

How long to wait (in seconds)

*sleepFlag*

Specifies whether the process can sleep

## DESCRIPTION

This routine waits (up to ~2 seconds max) for IOC doorbell interrupt (MPI\_HIS\_DOORBELL\_INTERRUPT) to be set in the IntStatus register.

Returns a negative value on failure, else wait loop count.

## COPYRIGHT
