Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
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()
Dbase.c50 u8 i2cidx, mxms[6], addr, size; in mxm_shadow_rom() local
59 if (!mxm_shadow_rom_fetch(bus, addr, 0, 6, mxms)) { in mxm_shadow_rom()
61 if (!mxm_shadow_rom_fetch(bus, addr, 0, 6, mxms)) in mxm_shadow_rom()
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()
70 mxm_shadow_rom_fetch(bus, addr, 0, size, 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()
[all …]
Dpriv.h12 u8 *mxms; member
DKbuild3 nvkm-y += nvkm/subdev/mxm/mxms.o