Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mxms.c File Reference
#include <subdev/mxm.h>
#include "mxms.h"

Go to the source code of this file.

Macros

#define ROM16(x)   le16_to_cpu(*(u16 *)&(x))
 
#define ROM32(x)   le32_to_cpu(*(u32 *)&(x))
 

Functions

u16 mxms_version (struct nouveau_mxm *mxm)
 
u16 mxms_headerlen (struct nouveau_mxm *mxm)
 
u16 mxms_structlen (struct nouveau_mxm *mxm)
 
bool mxms_checksum (struct nouveau_mxm *mxm)
 
bool mxms_valid (struct nouveau_mxm *mxm)
 
bool mxms_foreach (struct nouveau_mxm *mxm, u8 types, bool(*exec)(struct nouveau_mxm *, u8 *, void *), void *info)
 
void mxms_output_device (struct nouveau_mxm *mxm, u8 *pdata, struct mxms_odev *desc)
 

Macro Definition Documentation

#define ROM16 (   x)    le16_to_cpu(*(u16 *)&(x))

Definition at line 28 of file mxms.c.

#define ROM32 (   x)    le32_to_cpu(*(u32 *)&(x))

Definition at line 29 of file mxms.c.

Function Documentation

bool mxms_checksum ( struct nouveau_mxm mxm)

Definition at line 69 of file mxms.c.

bool mxms_foreach ( struct nouveau_mxm mxm,
u8  types,
bool(*)(struct nouveau_mxm *, u8 *, void *)  exec,
void info 
)

Definition at line 98 of file mxms.c.

u16 mxms_headerlen ( struct nouveau_mxm mxm)

Definition at line 57 of file mxms.c.

void mxms_output_device ( struct nouveau_mxm mxm,
u8 pdata,
struct mxms_odev desc 
)

Definition at line 183 of file mxms.c.

u16 mxms_structlen ( struct nouveau_mxm mxm)

Definition at line 63 of file mxms.c.

bool mxms_valid ( struct nouveau_mxm mxm)

Definition at line 83 of file mxms.c.

u16 mxms_version ( struct nouveau_mxm mxm)

Definition at line 39 of file mxms.c.