Home
last modified time | relevance | path

Searched refs:mxm (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dbase.c44 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 …]
H A Dmxms.c30 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 …]
H A Dnv50.c37 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 …]
H A DKbuild2 nvkm-y += nvkm/subdev/mxm/base.o
3 nvkm-y += nvkm/subdev/mxm/mxms.o
4 nvkm-y += nvkm/subdev/mxm/nv50.o
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dmxm.c79 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()
H A DKbuild17 nvkm-y += nvkm/subdev/bios/mxm.o
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dbase.c791 .mxm = { 0x00000001, nv50_mxm_new },
894 .mxm = { 0x00000001, nv50_mxm_new },
925 .mxm = { 0x00000001, nv50_mxm_new },
956 .mxm = { 0x00000001, nv50_mxm_new },
987 .mxm = { 0x00000001, nv50_mxm_new },
1018 .mxm = { 0x00000001, nv50_mxm_new },
1049 .mxm = { 0x00000001, nv50_mxm_new },
1080 .mxm = { 0x00000001, nv50_mxm_new },
1111 .mxm = { 0x00000001, nv50_mxm_new },
1144 .mxm = { 0x00000001, nv50_mxm_new },
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/
H A DKbuild19 include $(src)/nvkm/subdev/mxm/Kbuild
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dlayout.h12 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_MXM , struct nvkm_subdev , mxm)
/linux/drivers/platform/x86/
H A DMakefile13 obj-$(CONFIG_MXM_WMI) += mxm-wmi.o
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra124-apalis-v1.2.dtsi1988 reg_3v3_mxm: regulator-3v3-mxm {
H A Dtegra124-apalis.dtsi1980 reg_3v3_mxm: regulator-3v3-mxm {