Lines Matching full:object
155 } object; member
163 struct nvkm_gsp_object object; member
271 nvkm_gsp_rm_ctrl_get(struct nvkm_gsp_object *object, u32 cmd, u32 argc) in nvkm_gsp_rm_ctrl_get() argument
273 return object->client->gsp->rm->rm_ctrl_get(object, cmd, argc); in nvkm_gsp_rm_ctrl_get()
277 nvkm_gsp_rm_ctrl_push(struct nvkm_gsp_object *object, void *argv, u32 repc) in nvkm_gsp_rm_ctrl_push() argument
279 return object->client->gsp->rm->rm_ctrl_push(object, argv, repc); in nvkm_gsp_rm_ctrl_push()
283 nvkm_gsp_rm_ctrl_rd(struct nvkm_gsp_object *object, u32 cmd, u32 repc) in nvkm_gsp_rm_ctrl_rd() argument
285 void *argv = nvkm_gsp_rm_ctrl_get(object, cmd, repc); in nvkm_gsp_rm_ctrl_rd()
291 ret = nvkm_gsp_rm_ctrl_push(object, &argv, repc); in nvkm_gsp_rm_ctrl_rd()
298 nvkm_gsp_rm_ctrl_wr(struct nvkm_gsp_object *object, void *argv) in nvkm_gsp_rm_ctrl_wr() argument
300 int ret = nvkm_gsp_rm_ctrl_push(object, &argv, 0); in nvkm_gsp_rm_ctrl_wr()
308 nvkm_gsp_rm_ctrl_done(struct nvkm_gsp_object *object, void *repv) in nvkm_gsp_rm_ctrl_done() argument
310 object->client->gsp->rm->rm_ctrl_done(object, repv); in nvkm_gsp_rm_ctrl_done()
315 struct nvkm_gsp_object *object) in nvkm_gsp_rm_alloc_get() argument
321 object->client = parent->client; in nvkm_gsp_rm_alloc_get()
322 object->parent = parent; in nvkm_gsp_rm_alloc_get()
323 object->handle = handle; in nvkm_gsp_rm_alloc_get()
325 argv = gsp->rm->rm_alloc_get(object, oclass, argc); in nvkm_gsp_rm_alloc_get()
327 object->client = NULL; in nvkm_gsp_rm_alloc_get()
335 nvkm_gsp_rm_alloc_push(struct nvkm_gsp_object *object, void *argv, u32 repc) in nvkm_gsp_rm_alloc_push() argument
337 void *repv = object->client->gsp->rm->rm_alloc_push(object, argv, repc); in nvkm_gsp_rm_alloc_push()
340 object->client = NULL; in nvkm_gsp_rm_alloc_push()
346 nvkm_gsp_rm_alloc_wr(struct nvkm_gsp_object *object, void *argv) in nvkm_gsp_rm_alloc_wr() argument
348 void *repv = nvkm_gsp_rm_alloc_push(object, argv, 0); in nvkm_gsp_rm_alloc_wr()
357 nvkm_gsp_rm_alloc_done(struct nvkm_gsp_object *object, void *repv) in nvkm_gsp_rm_alloc_done() argument
359 object->client->gsp->rm->rm_alloc_done(object, repv); in nvkm_gsp_rm_alloc_done()
364 struct nvkm_gsp_object *object) in nvkm_gsp_rm_alloc() argument
366 void *argv = nvkm_gsp_rm_alloc_get(parent, handle, oclass, argc, object); in nvkm_gsp_rm_alloc()
371 return nvkm_gsp_rm_alloc_wr(object, argv); in nvkm_gsp_rm_alloc()
375 nvkm_gsp_rm_free(struct nvkm_gsp_object *object) in nvkm_gsp_rm_free() argument
377 if (object->client) in nvkm_gsp_rm_free()
378 return object->client->gsp->rm->rm_free(object); in nvkm_gsp_rm_free()
408 if (device->object.client) in nvkm_gsp_device_dtor()
409 device->object.client->gsp->rm->device_dtor(device); in nvkm_gsp_device_dtor()
432 struct nvkm_gsp_object object; member
441 return device->object.client->gsp->rm->event_ctor(device, handle, id, func, event); in nvkm_gsp_device_event_ctor()
450 device->object.client->gsp->rm->event_dtor(event); in nvkm_gsp_event_dtor()