Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
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 …]
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 …]
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 …]
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-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
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()
DKbuild17 nvkm-y += nvkm/subdev/bios/mxm.o
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c824 .mxm = { 0x00000001, nv50_mxm_new },
931 .mxm = { 0x00000001, nv50_mxm_new },
963 .mxm = { 0x00000001, nv50_mxm_new },
995 .mxm = { 0x00000001, nv50_mxm_new },
1027 .mxm = { 0x00000001, nv50_mxm_new },
1059 .mxm = { 0x00000001, nv50_mxm_new },
1091 .mxm = { 0x00000001, nv50_mxm_new },
1123 .mxm = { 0x00000001, nv50_mxm_new },
1155 .mxm = { 0x00000001, nv50_mxm_new },
1189 .mxm = { 0x00000001, nv50_mxm_new },
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild19 include $(src)/nvkm/subdev/mxm/Kbuild
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/core/
Dlayout.h10 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_MXM , struct nvkm_subdev , mxm)
/linux-6.1.9/drivers/platform/x86/
DMakefile13 obj-$(CONFIG_MXM_WMI) += mxm-wmi.o
/linux-6.1.9/arch/arm/boot/dts/
Dtegra124-apalis.dtsi1959 reg_3v3_mxm: regulator-3v3-mxm {
Dtegra124-apalis-v1.2.dtsi1967 reg_3v3_mxm: regulator-3v3-mxm {