]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/i2c.h
1 #ifndef __NVBIOS_I2C_H__
2 #define __NVBIOS_I2C_H__
4 /* matches bios type field prior to ccb 4.1 */
5 DCB_I2C_NV04_BIT
= 0x00,
6 DCB_I2C_NV4E_BIT
= 0x04,
7 DCB_I2C_NVIO_BIT
= 0x05,
8 DCB_I2C_NVIO_AUX
= 0x06,
14 struct dcb_i2c_entry
{
15 enum dcb_i2c_type type
;
22 u16
dcb_i2c_table(struct nvkm_bios
*, u8
*ver
, u8
*hdr
, u8
*cnt
, u8
*len
);
23 u16
dcb_i2c_entry(struct nvkm_bios
*, u8 index
, u8
*ver
, u8
*len
);
24 int dcb_i2c_parse(struct nvkm_bios
*, u8 index
, struct dcb_i2c_entry
*);