---
name: "mpt_GetIocState"
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/mpt_GetIocState"
---

# mpt\_GetIocState(9)

Get the current state of a MPT adapter.

## NAME

mpt\_GetIocState - Get the current state of a MPT adapter.

## SYNOPSIS

**u32 mpt\_GetIocState(MPT\_ADAPTER \*** *ioc***, int** *cooked***);**

## ARGUMENTS

*ioc*

Pointer to MPT\_ADAPTER structure

*cooked*

Request raw or cooked IOC state

## DESCRIPTION

Returns all IOC Doorbell register bits if cooked==0, else just the Doorbell bits in MPI\_IOC\_STATE\_MASK.

## COPYRIGHT
