Lines Matching full:sor
263 r535_sor_bl_set(struct nvkm_ior *sor, int lvl) in r535_sor_bl_set() argument
265 struct nvkm_disp *disp = sor->disp; in r535_sor_bl_set()
274 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_bl_set()
281 r535_sor_bl_get(struct nvkm_ior *sor) in r535_sor_bl_get() argument
283 struct nvkm_disp *disp = sor->disp; in r535_sor_bl_get()
293 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_bl_get()
313 r535_sor_hda_eld(struct nvkm_ior *sor, int head, u8 *data, u8 size) in r535_sor_hda_eld() argument
315 struct nvkm_disp *disp = sor->disp; in r535_sor_hda_eld()
326 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_hda_eld()
338 r535_sor_hda_hpd(struct nvkm_ior *sor, int head, bool present) in r535_sor_hda_hpd() argument
340 struct nvkm_disp *disp = sor->disp; in r535_sor_hda_hpd()
351 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_hda_hpd()
364 r535_sor_dp_audio_mute(struct nvkm_ior *sor, bool mute) in r535_sor_dp_audio_mute() argument
366 struct nvkm_disp *disp = sor->disp; in r535_sor_dp_audio_mute()
374 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_dp_audio_mute()
380 r535_sor_dp_audio(struct nvkm_ior *sor, int head, bool enable) in r535_sor_dp_audio() argument
382 struct nvkm_disp *disp = sor->disp; in r535_sor_dp_audio()
386 r535_sor_dp_audio_mute(sor, true); in r535_sor_dp_audio()
393 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_dp_audio()
398 r535_sor_dp_audio_mute(sor, false); in r535_sor_dp_audio()
402 r535_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned_pbn) in r535_sor_dp_vcpi() argument
404 struct nvkm_disp *disp = sor->disp; in r535_sor_dp_vcpi()
414 ctrl->sorIndex = sor->id; in r535_sor_dp_vcpi()
415 ctrl->dpLink = sor->asy.link == 2; in r535_sor_dp_vcpi()
434 r535_sor_dp_sst(struct nvkm_ior *sor, int head, bool ef, in r535_sor_dp_sst() argument
437 struct nvkm_disp *disp = sor->disp; in r535_sor_dp_sst()
447 ctrl->sorIndex = sor->id; in r535_sor_dp_sst()
448 ctrl->dpLink = sor->asy.link == 2; in r535_sor_dp_sst()
470 r535_sor_hdmi_scdc(struct nvkm_ior *sor, u32 khz, bool support, bool scrambling, in r535_sor_hdmi_scdc() argument
473 struct nvkm_outp *outp = sor->asy.outp; in r535_sor_hdmi_scdc()
544 r535_sor_hdmi_audio(struct nvkm_ior *sor, int head, bool enable) in r535_sor_hdmi_audio() argument
546 struct nvkm_device *device = sor->disp->engine.subdev.device; in r535_sor_hdmi_audio()
549 r535_sor_hdmi_ctrl_audio(sor->asy.outp, enable); in r535_sor_hdmi_audio()
550 r535_sor_hdmi_ctrl_audio_mute(sor->asy.outp, !enable); in r535_sor_hdmi_audio()
559 r535_sor_hdmi_ctrl(struct nvkm_ior *sor, int head, bool enable, u8 max_ac_packet, u8 rekey) in r535_sor_hdmi_ctrl() argument
561 struct nvkm_disp *disp = sor->disp; in r535_sor_hdmi_ctrl()
572 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_hdmi_ctrl()
599 return nvkm_ior_new_(&r535_sor, disp, SOR, id, true/*XXX: hda cap*/); in r535_sor_new()
724 ior = nvkm_ior_find(disp, SOR, or); in r535_outp_acquire()
794 ior = nvkm_ior_find(disp, SOR, id); in r535_outp_inherit()
1617 disp->sor.nr = disp->func->sor.cnt(disp, &disp->sor.mask); in r535_disp_oneinit()
1618 nvkm_debug(&disp->engine.subdev, " SOR(s): %d (%02lx)\n", disp->sor.nr, disp->sor.mask); in r535_disp_oneinit()
1619 for_each_set_bit(i, &disp->sor.mask, disp->sor.nr) { in r535_disp_oneinit()
1620 ret = disp->func->sor.new(disp, i); in r535_disp_oneinit()
1700 rm->sor.cnt = r535_sor_cnt; in r535_disp_new()
1701 rm->sor.new = r535_sor_new; in r535_disp_new()