]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/xpio.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / xpio.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVBIOS_XPIO_H__
3 #define __NVBIOS_XPIO_H__
4
5 #define NVBIOS_XPIO_FLAG_AUX 0x10
6 #define NVBIOS_XPIO_FLAG_AUX0 0x00
7 #define NVBIOS_XPIO_FLAG_AUX1 0x10
8
9 struct nvbios_xpio {
10 u8 type;
11 u8 addr;
12 u8 flags;
13 };
14
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