treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / xpio.h
blob11b4c4d27e5fe0eb5942147d03989f14dbcd8b50
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVBIOS_XPIO_H__
3 #define __NVBIOS_XPIO_H__
5 #define NVBIOS_XPIO_FLAG_AUX 0x10
6 #define NVBIOS_XPIO_FLAG_AUX0 0x00
7 #define NVBIOS_XPIO_FLAG_AUX1 0x10
9 struct nvbios_xpio {
10 u8 type;
11 u8 addr;
12 u8 flags;
15 u16 dcb_xpio_table(struct nvkm_bios *, u8 idx,
16 u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
17 u16 dcb_xpio_parse(struct nvkm_bios *, u8 idx,
18 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_xpio *);
19 #endif