mirror of
https://github.com/torvalds/linux.git
synced 2026-04-23 09:05:50 -04:00
Karol Herbst: v4: don't kmalloc(0) v5: stricter validation Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Reviewed-by: Martin Peres <martin.peres@free.fr>
17 lines
288 B
C
17 lines
288 B
C
#ifndef __NVBIOS_ICCSENSE_H__
|
|
#define __NVBIOS_ICCSENSE_H__
|
|
struct pwr_rail_t {
|
|
u8 mode;
|
|
u8 extdev_id;
|
|
u8 resistor_mohm;
|
|
u8 rail;
|
|
};
|
|
|
|
struct nvbios_iccsense {
|
|
int nr_entry;
|
|
struct pwr_rail_t *rail;
|
|
};
|
|
|
|
int nvbios_iccsense_parse(struct nvkm_bios *, struct nvbios_iccsense *);
|
|
#endif
|