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

# panic\_nand\_get\_device(9)

\[GENERIC\] Get chip for selected access

## NAME

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

## SYNOPSIS

**void panic\_nand\_get\_device(struct nand\_chip \*** *chip***, struct mtd\_info \*** *mtd***, int** *new\_state***);**

## ARGUMENTS

*chip*

the nand chip descriptor

*mtd*

MTD device structure

*new\_state*

the state which is requested

## DESCRIPTION

Used when in panic, no locks are taken.

## AUTHOR

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

Author.

## COPYRIGHT
