Lines Matching refs:ret
37 int ret;
42 ret = nvif_event_ctor_(&conn->object, name ?: "nvifConnHpd", nvif_conn_id(conn),
45 return ret;
52 int ret;
56 ret = nvif_mthd(&conn->object, NVIF_CONN_V0_HPD_STATUS, &args, sizeof(args));
57 NVIF_ERRON(ret, &conn->object, "[HPD_STATUS] support:%d present:%d",
59 return ret ? ret : !!args.support + !!args.present;
72 int ret;
77 ret = nvif_object_ctor(&disp->object, name ?: "nvifConn", id, NVIF_CLASS_CONN,
79 NVIF_ERRON(ret, &disp->object, "[NEW conn id:%d]", id);
80 return ret;