Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / iccsense.h
blobe220a1ac13879d06ca3165e6e40a90938cb14fd7
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVBIOS_ICCSENSE_H__
3 #define __NVBIOS_ICCSENSE_H__
4 struct pwr_rail_resistor_t {
5 u8 mohm;
6 bool enabled;
7 };
9 struct pwr_rail_t {
10 u8 mode;
11 u8 extdev_id;
12 u8 resistor_count;
13 struct pwr_rail_resistor_t resistors[3];
14 u16 config;
17 struct nvbios_iccsense {
18 int nr_entry;
19 struct pwr_rail_t *rail;
22 int nvbios_iccsense_parse(struct nvkm_bios *, struct nvbios_iccsense *);
23 #endif