Home
last modified time | relevance | path

Searched refs:mxms (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dmxms.c32 return mxm->mxms; in mxms_data()
39 u8 *mxms = mxms_data(mxm); in mxms_version() local
40 u16 version = (mxms[4] << 8) | mxms[5]; in mxms_version()
50 nvkm_debug(&mxm->subdev, "unknown version %d.%d\n", mxms[4], mxms[5]); in mxms_version()
70 u8 *mxms = mxms_data(mxm), sum = 0; in mxms_checksum() local
72 sum += *mxms++; in mxms_checksum()
83 u8 *mxms = mxms_data(mxm); in mxms_valid() local
84 if (*(u32 *)mxms != 0x5f4d584d) { in mxms_valid()
100 u8 *mxms = mxms_data(mxm); in mxms_foreach() local
101 u8 *desc = mxms + mxms_headerlen(mxm); in mxms_foreach()
H A Dbase.c50 u8 i2cidx, mxms[6], addr, size; in mxm_shadow_rom() local
65 mxm->mxms = mxms; in mxm_shadow_rom()
67 mxm->mxms = kmalloc(size, GFP_KERNEL); in mxm_shadow_rom()
69 if (mxm->mxms && in mxm_shadow_rom()
73 kfree(mxm->mxms); in mxm_shadow_rom()
74 mxm->mxms = NULL; in mxm_shadow_rom()
114 mxm->mxms = kmemdup(obj->buffer.pointer, in mxm_shadow_dsm()
122 return mxm->mxms != NULL; in mxm_shadow_dsm()
194 return mxm->mxms != NULL; in mxm_shadow_wmi()
221 kfree(mxm->mxms); in mxm_shadow()
[all …]
H A Dpriv.h12 u8 *mxms; member
H A DKbuild3 nvkm-y += nvkm/subdev/mxm/mxms.o