Lines Matching refs:mxm
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()
178 mxm_show_unmatched(struct nvkm_mxm *mxm, u8 *data, void *info) in mxm_show_unmatched() argument
180 struct nvkm_subdev *subdev = &mxm->subdev; in mxm_show_unmatched()
188 mxm_dcb_sanitise(struct nvkm_mxm *mxm) in mxm_dcb_sanitise() argument
190 struct nvkm_subdev *subdev = &mxm->subdev; in mxm_dcb_sanitise()
199 dcb_outp_foreach(bios, mxm, mxm_dcb_sanitise_entry); in mxm_dcb_sanitise()
200 mxms_foreach(mxm, 0x01, mxm_show_unmatched, NULL); in mxm_dcb_sanitise()
207 struct nvkm_mxm *mxm; in nv50_mxm_new() local
210 ret = nvkm_mxm_new_(device, type, inst, &mxm); in nv50_mxm_new()
211 if (mxm) in nv50_mxm_new()
212 *pmxm = &mxm->subdev; in nv50_mxm_new()
216 if (mxm->action & MXM_SANITISE_DCB) in nv50_mxm_new()
217 mxm_dcb_sanitise(mxm); in nv50_mxm_new()