Ben Skeggs | d38ac52 | 2012-07-22 16:41:26 +1000 | [diff] [blame^] | 1 | #ifndef __NVMXM_MXMS_H__ |
| 2 | #define __NVMXM_MXMS_H__ |
| 3 | |
| 4 | struct mxms_odev { |
| 5 | u8 outp_type; |
| 6 | u8 conn_type; |
| 7 | u8 ddc_port; |
| 8 | u8 dig_conn; |
| 9 | }; |
| 10 | |
| 11 | void mxms_output_device(struct nouveau_mxm *, u8 *, struct mxms_odev *); |
| 12 | |
| 13 | u16 mxms_version(struct nouveau_mxm *); |
| 14 | u16 mxms_headerlen(struct nouveau_mxm *); |
| 15 | u16 mxms_structlen(struct nouveau_mxm *); |
| 16 | bool mxms_checksum(struct nouveau_mxm *); |
| 17 | bool mxms_valid(struct nouveau_mxm *); |
| 18 | |
| 19 | bool mxms_foreach(struct nouveau_mxm *, u8, |
| 20 | bool (*)(struct nouveau_mxm *, u8 *, void *), void *); |
| 21 | |
| 22 | #endif |