/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
D | base.c | 44 mxm_shadow_rom(struct nvkm_mxm *mxm, u8 version) in mxm_shadow_rom() argument 46 struct nvkm_device *device = mxm->subdev.device; in mxm_shadow_rom() 65 mxm->mxms = mxms; in mxm_shadow_rom() 66 size = mxms_headerlen(mxm) + mxms_structlen(mxm); 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() 80 mxm_shadow_dsm(struct nvkm_mxm *mxm, u8 version) in mxm_shadow_dsm() argument [all …]
|
D | mxms.c | 30 mxms_data(struct nvkm_mxm *mxm) in mxms_data() argument 32 return mxm->mxms; in mxms_data() 37 mxms_version(struct nvkm_mxm *mxm) in mxms_version() argument 39 u8 *mxms = mxms_data(mxm); in mxms_version() 50 nvkm_debug(&mxm->subdev, "unknown version %d.%d\n", mxms[4], mxms[5]); in mxms_version() 55 mxms_headerlen(struct nvkm_mxm *mxm) in mxms_headerlen() argument 61 mxms_structlen(struct nvkm_mxm *mxm) in mxms_structlen() argument 63 return *(u16 *)&mxms_data(mxm)[6]; in mxms_structlen() 67 mxms_checksum(struct nvkm_mxm *mxm) in mxms_checksum() argument 69 u16 size = mxms_headerlen(mxm) + mxms_structlen(mxm); in mxms_checksum() [all …]
|
D | nv50.c | 37 mxm_match_tmds_partner(struct nvkm_mxm *mxm, u8 *data, void *info) in mxm_match_tmds_partner() argument 42 mxms_output_device(mxm, data, &desc); in mxm_match_tmds_partner() 50 mxm_match_dcb(struct nvkm_mxm *mxm, u8 *data, void *info) in mxm_match_dcb() argument 52 struct nvkm_bios *bios = mxm->subdev.device->bios; in mxm_match_dcb() 56 mxms_output_device(mxm, data, &ctx->desc); in mxm_match_dcb() 85 mxms_foreach(mxm, 0x01, mxm_match_tmds_partner, ctx)) { in mxm_match_dcb() 97 struct nvkm_mxm *mxm = data; in mxm_dcb_sanitise_entry() local 105 if (mxms_foreach(mxm, 0x01, mxm_match_dcb, &ctx)) { in mxm_dcb_sanitise_entry() 106 nvkm_debug(&mxm->subdev, "disable %d: %08x %08x\n", in mxm_dcb_sanitise_entry() 171 if (mxms_version(mxm) >= 0x0300) in mxm_dcb_sanitise_entry() [all …]
|
D | Kbuild | 2 nvkm-y += nvkm/subdev/mxm/base.o 3 nvkm-y += nvkm/subdev/mxm/mxms.o 4 nvkm-y += nvkm/subdev/mxm/nv50.o
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | mxm.c | 79 u16 mxm = mxm_table(bios, &ver, &hdr); in mxm_sor_map() local 80 if (mxm && hdr >= 6) { in mxm_sor_map() 81 u16 map = nvbios_rd16(bios, mxm + 4); in mxm_sor_map() 116 u16 mxm = mxm_table(bios, &ver, &hdr); in mxm_ddc_map() local 117 if (mxm && hdr >= 8) { in mxm_ddc_map() 118 u16 map = nvbios_rd16(bios, mxm + 6); in mxm_ddc_map()
|
D | Kbuild | 17 nvkm-y += nvkm/subdev/bios/mxm.o
|
/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | base.c | 825 .mxm = { 0x00000001, nv50_mxm_new }, 932 .mxm = { 0x00000001, nv50_mxm_new }, 964 .mxm = { 0x00000001, nv50_mxm_new }, 996 .mxm = { 0x00000001, nv50_mxm_new }, 1028 .mxm = { 0x00000001, nv50_mxm_new }, 1060 .mxm = { 0x00000001, nv50_mxm_new }, 1092 .mxm = { 0x00000001, nv50_mxm_new }, 1124 .mxm = { 0x00000001, nv50_mxm_new }, 1156 .mxm = { 0x00000001, nv50_mxm_new }, 1190 .mxm = { 0x00000001, nv50_mxm_new }, [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/ |
D | Kbuild | 19 include $(src)/nvkm/subdev/mxm/Kbuild
|
/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | layout.h | 10 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_MXM , struct nvkm_subdev , mxm)
|
/drivers/platform/x86/ |
D | Makefile | 13 obj-$(CONFIG_MXM_WMI) += mxm-wmi.o
|