---
name: "nand_get_device"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/nand_get_device"
---

# nand\_get\_device(9)

\[GENERIC\] Get chip for selected access

## NAME

nand\_get\_device - \[GENERIC\] Get chip for selected access

## SYNOPSIS

**int nand\_get\_device(struct mtd\_info \*** *mtd***, int** *new\_state***);**

## ARGUMENTS

*mtd*

MTD device structure

*new\_state*

the state which is requested

## DESCRIPTION

Get the device and lock it for exclusive access

## AUTHOR

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

## COPYRIGHT
