GNU Linux-libre 4.9.328-gnu1
[releases.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / iccsense.h
1 #ifndef __NVBIOS_ICCSENSE_H__
2 #define __NVBIOS_ICCSENSE_H__
3 struct pwr_rail_t {
4         u8 mode;
5         u8 extdev_id;
6         u8 resistor_mohm;
7         u8 rail;
8 };
9
10 struct nvbios_iccsense {
11         int nr_entry;
12         struct pwr_rail_t *rail;
13 };
14
15 int nvbios_iccsense_parse(struct nvkm_bios *, struct nvbios_iccsense *);
16 #endif