Lines Matching refs:object
42 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_VCPI, &args, sizeof(args)); in nvif_outp_dp_mst_vcpi()
43 NVIF_ERRON(ret, &outp->object, in nvif_outp_dp_mst_vcpi()
57 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_ID_PUT, &args, sizeof(args)); in nvif_outp_dp_mst_id_put()
58 NVIF_ERRON(ret, &outp->object, "[DP_MST_ID_PUT id:%08x]", args.id); in nvif_outp_dp_mst_id_put()
69 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_ID_GET, &args, sizeof(args)); in nvif_outp_dp_mst_id_get()
70 NVIF_ERRON(ret, &outp->object, "[DP_MST_ID_GET] id:%08x", args.id); in nvif_outp_dp_mst_id_get()
89 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_SST, &args, sizeof(args)); in nvif_outp_dp_sst()
90 NVIF_ERRON(ret, &outp->object, in nvif_outp_dp_sst()
107 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_DRIVE, &args, sizeof(args)); in nvif_outp_dp_drive()
108 NVIF_ERRON(ret, &outp->object, "[DP_DRIVE lanes:%d]", args.lanes); in nvif_outp_dp_drive()
128 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_TRAIN, &args, sizeof(args)); in nvif_outp_dp_train()
129 NVIF_ERRON(ret, &outp->object, in nvif_outp_dp_train()
152 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_RATES, &args, sizeof(args)); in nvif_outp_dp_rates()
153 NVIF_ERRON(ret, &outp->object, "[DP_RATES rates:%d]", args.rates); in nvif_outp_dp_rates()
169 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_AUX_XFER, &args, sizeof(args)); in nvif_outp_dp_aux_xfer()
170 NVIF_DEBUG(&outp->object, "[DP_AUX_XFER type:%d size:%d addr:%05x] %d size:%d (ret: %d)", in nvif_outp_dp_aux_xfer()
190 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_AUX_PWR, &args, sizeof(args)); in nvif_outp_dp_aux_pwr()
191 NVIF_ERRON(ret, &outp->object, "[DP_AUX_PWR state:%d]", args.state); in nvif_outp_dp_aux_pwr()
211 ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_HDA_ELD, &args, sizeof(args.mthd) + size); in nvif_outp_hda_eld()
212 NVIF_ERRON(ret, &outp->object, "[HDA_ELD head:%d size:%d]", head, size); in nvif_outp_hda_eld()
223 ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_INFOFRAME, args, sizeof(*args) + size); in nvif_outp_infoframe()
224 NVIF_ERRON(ret, &outp->object, "[INFOFRAME type:%d size:%d]", type, size); in nvif_outp_infoframe()
245 ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_HDMI, &args, sizeof(args)); in nvif_outp_hdmi()
246 NVIF_ERRON(ret, &outp->object, in nvif_outp_hdmi()
264 ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_LVDS, &args, sizeof(args)); in nvif_outp_lvds()
265 NVIF_ERRON(ret, &outp->object, "[LVDS dual:%d 8bpc:%d]", args.dual, args.bpc8); in nvif_outp_lvds()
278 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_BL_SET, &args, sizeof(args)); in nvif_outp_bl_set()
279 NVIF_ERRON(ret, &outp->object, "[BL_SET level:%d]", args.level); in nvif_outp_bl_set()
291 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_BL_GET, &args, sizeof(args)); in nvif_outp_bl_get()
292 NVIF_ERRON(ret, &outp->object, "[BL_GET level:%d]", args.level); in nvif_outp_bl_get()
299 int ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_RELEASE, NULL, 0); in nvif_outp_release()
300 NVIF_ERRON(ret, &outp->object, "[RELEASE]"); in nvif_outp_release()
312 ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_ACQUIRE, args, sizeof(*args)); in nvif_outp_acquire()
328 NVIF_ERRON(ret, &outp->object, "[ACQUIRE PIOR] or:%d", args.or); in nvif_outp_acquire_pior()
341 NVIF_ERRON(ret, &outp->object, "[ACQUIRE SOR] or:%d link:%d", args.or, args.link); in nvif_outp_acquire_sor()
352 NVIF_ERRON(ret, &outp->object, "[ACQUIRE DAC] or:%d", args.or); in nvif_outp_acquire_dac()
367 ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_INHERIT, args, sizeof(*args)); in nvif_outp_inherit()
384 NVIF_ERRON(ret && ret != -ENODEV, &outp->object, "[INHERIT proto:LVDS] ret:%d", ret); in nvif_outp_inherit_lvds()
395 NVIF_ERRON(ret && ret != -ENODEV, &outp->object, "[INHERIT proto:TMDS] ret:%d", ret); in nvif_outp_inherit_tmds()
406 NVIF_ERRON(ret && ret != -ENODEV, &outp->object, "[INHERIT proto:DP] ret:%d", ret); in nvif_outp_inherit_dp()
420 NVIF_ERRON(ret && ret != -ENODEV, &outp->object, "[INHERIT proto:RGB_CRT] ret:%d", ret); in nvif_outp_inherit_rgb_crt()
433 ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_LOAD_DETECT, &args, sizeof(args)); in nvif_outp_load_detect()
434 NVIF_ERRON(ret, &outp->object, "[LOAD_DETECT data:%08x] load:%02x", args.data, args.load); in nvif_outp_load_detect()
450 ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_EDID_GET, args, sizeof(*args)); in nvif_outp_edid_get()
451 NVIF_ERRON(ret, &outp->object, "[EDID_GET] size:%d", args->size); in nvif_outp_edid_get()
475 ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_DETECT, &args, sizeof(args)); in nvif_outp_detect()
476 NVIF_ERRON(ret, &outp->object, "[DETECT] status:%02x", args.status); in nvif_outp_detect()
495 nvif_object_dtor(&outp->object); in nvif_outp_dtor()
507 ret = nvif_object_ctor(&disp->object, name ?: "nvifOutp", id, NVIF_CLASS_OUTP, in nvif_outp_ctor()
508 &args, sizeof(args), &outp->object); in nvif_outp_ctor()
509 NVIF_ERRON(ret, &disp->object, "[NEW outp id:%d]", id); in nvif_outp_ctor()