/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | gsp.h | 155 } object; member in struct:nvkm_gsp::__anon32::nvkm_gsp_client 163 struct nvkm_gsp_object object; member in struct:nvkm_gsp::__anon32::nvkm_gsp_device 265 nvkm_gsp_rm_ctrl_get(struct nvkm_gsp_object *object, u32 cmd, u32 argc) argument 267 return object->client->gsp->rm->rm_ctrl_get(object, cmd, argc); 271 nvkm_gsp_rm_ctrl_push(struct nvkm_gsp_object *object, void *argv, u32 repc) argument 273 return object->client->gsp->rm->rm_ctrl_push(object, argv, repc); 277 nvkm_gsp_rm_ctrl_rd(struct nvkm_gsp_object *object, u32 cmd, u32 repc) argument 279 void *argv = nvkm_gsp_rm_ctrl_get(object, cm 292 nvkm_gsp_rm_ctrl_wr(struct nvkm_gsp_object *object, void *argv) argument 302 nvkm_gsp_rm_ctrl_done(struct nvkm_gsp_object *object, void *repv) argument 308 nvkm_gsp_rm_alloc_get(struct nvkm_gsp_object *parent, u32 handle, u32 oclass, u32 argc, struct nvkm_gsp_object *object) argument 329 nvkm_gsp_rm_alloc_push(struct nvkm_gsp_object *object, void *argv, u32 repc) argument 340 nvkm_gsp_rm_alloc_wr(struct nvkm_gsp_object *object, void *argv) argument 351 nvkm_gsp_rm_alloc_done(struct nvkm_gsp_object *object, void *repv) argument 357 nvkm_gsp_rm_alloc(struct nvkm_gsp_object *parent, u32 handle, u32 oclass, u32 argc, struct nvkm_gsp_object *object) argument 369 nvkm_gsp_rm_free(struct nvkm_gsp_object *object) argument 426 struct nvkm_gsp_object object; member in struct:nvkm_gsp_event [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
H A D | nvsw.c | 30 nvkm_nvsw_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) argument 39 return nvkm_uevent_add(uevent, &nvkm_nvsw(object)->chan->event, 0, 44 nvkm_nvsw_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) argument 46 struct nvkm_nvsw *nvsw = nvkm_nvsw(object); 69 *pobject = &nvsw->object; 71 nvkm_object_ctor(&nvkm_nvsw_, oclass, &nvsw->object);
|
/linux-master/drivers/gpu/drm/nouveau/nvif/ |
H A D | event.c | 32 int ret = nvif_mthd(&event->object, NVIF_EVENT_V0_BLOCK, NULL, 0); 33 NVIF_ERRON(ret, &event->object, "[BLOCK]"); 43 int ret = nvif_mthd(&event->object, NVIF_EVENT_V0_ALLOW, NULL, 0); 44 NVIF_ERRON(ret, &event->object, "[ALLOW]"); 53 nvif_object_dtor(&event->object); 73 NVIF_CLASS_EVENT, args, argc, &event->object);
|
H A D | outp.c | 42 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_VCPI, &args, sizeof(args)); 43 NVIF_ERRON(ret, &outp->object, 57 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_ID_PUT, &args, sizeof(args)); 58 NVIF_ERRON(ret, &outp->object, "[DP_MST_ID_PUT id:%08x]", args.id); 69 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_ID_GET, &args, sizeof(args)); 70 NVIF_ERRON(ret, &outp->object, "[DP_MST_ID_GET] id:%08x", args.id); 89 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_SST, &args, sizeof(args)); 90 NVIF_ERRON(ret, &outp->object, 107 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_DRIVE, &args, sizeof(args)); 108 NVIF_ERRON(ret, &outp->object, "[DP_DRIV [all...] |
H A D | conn.c | 42 ret = nvif_event_ctor_(&conn->object, name ?: "nvifConnHpd", nvif_conn_id(conn), 44 NVIF_DEBUG(&conn->object, "[NEW EVENT:HPD types:%02x]", types); 51 nvif_object_dtor(&conn->object); 63 ret = nvif_object_ctor(&disp->object, name ?: "nvifConn", id, NVIF_CLASS_CONN, 64 &args, sizeof(args), &conn->object); 65 NVIF_ERRON(ret, &disp->object, "[NEW conn id:%d]", id);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | uevent.c | 22 #define nvkm_uevent(p) container_of((p), struct nvkm_uevent, object) 29 struct nvkm_object object; member in struct:nvkm_uevent 61 nvkm_uevent_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) argument 63 struct nvkm_uevent *uevent = nvkm_uevent(object); 76 nvkm_uevent_fini(struct nvkm_object *object, bool suspend) argument 78 struct nvkm_uevent *uevent = nvkm_uevent(object); 85 nvkm_uevent_init(struct nvkm_object *object) argument 87 struct nvkm_uevent *uevent = nvkm_uevent(object); 96 nvkm_uevent_dtor(struct nvkm_object *object) argument 98 struct nvkm_uevent *uevent = nvkm_uevent(object); [all...] |
/linux-master/fs/cachefiles/ |
H A D | namei.c | 17 static bool __cachefiles_mark_inode_in_use(struct cachefiles_object *object, argument 24 trace_cachefiles_mark_active(object, inode); 27 trace_cachefiles_mark_failed(object, inode); 33 static bool cachefiles_mark_inode_in_use(struct cachefiles_object *object, argument 39 can_use = __cachefiles_mark_inode_in_use(object, inode); 47 static void __cachefiles_unmark_inode_in_use(struct cachefiles_object *object, argument 51 trace_cachefiles_mark_inactive(object, inode); 54 static void cachefiles_do_unmark_inode_in_use(struct cachefiles_object *object, argument 58 __cachefiles_unmark_inode_in_use(object, inode); 66 void cachefiles_unmark_inode_in_use(struct cachefiles_object *object, argument 228 cachefiles_unlink(struct cachefiles_cache *cache, struct cachefiles_object *object, struct dentry *dir, struct dentry *dentry, enum fscache_why_object_killed why) argument 264 cachefiles_bury_object(struct cachefiles_cache *cache, struct cachefiles_object *object, struct dentry *dir, struct dentry *rep, enum fscache_why_object_killed why) argument 416 cachefiles_delete_object(struct cachefiles_object *object, enum fscache_why_object_killed why) argument 440 cachefiles_create_tmpfile(struct cachefiles_object *object) argument 519 cachefiles_create_file(struct cachefiles_object *object) argument 544 cachefiles_open_file(struct cachefiles_object *object, struct dentry *dentry) argument 623 cachefiles_look_up_object(struct cachefiles_object *object) argument 672 cachefiles_commit_tmpfile(struct cachefiles_cache *cache, struct cachefiles_object *object) argument [all...] |
H A D | io.c | 25 struct cachefiles_object *object; member in struct:cachefiles_kiocb 36 cachefiles_put_object(ki->object, cachefiles_obj_put_ioreq); 53 trace_cachefiles_io_error(ki->object, inode, ret, 58 if (ki->object->cookie->inval_counter == ki->inval_counter) 80 struct cachefiles_object *object; local 91 object = cachefiles_cres_object(cres); 143 ki->object = object; 153 cachefiles_grab_object(object, cachefiles_obj_get_ioreq); 155 trace_cachefiles_read(object, file_inod 201 struct cachefiles_object *object; local 257 struct cachefiles_object *object = ki->object; local 279 __cachefiles_write(struct cachefiles_object *object, struct file *file, loff_t start_pos, struct iov_iter *iter, netfs_io_terminated_t term_func, void *term_func_priv) argument 383 struct cachefiles_object *object = NULL; local 518 __cachefiles_prepare_write(struct cachefiles_object *object, struct file *file, loff_t *_start, size_t *_len, size_t upper_len, bool no_space_allocated_yet) argument 605 struct cachefiles_object *object = cachefiles_cres_object(cres); local 653 struct cachefiles_object *object = cachefiles_cres_object(cres); local [all...] |
H A D | internal.h | 49 CACHEFILES_ONDEMAND_OBJSTATE_OPEN, /* Anonymous fd associated with object is available */ 57 struct cachefiles_object *object; member in struct:cachefiles_ondemand_info 64 struct fscache_cookie *cookie; /* Netfs data storage object cookie */ 65 struct cachefiles_volume *volume; /* Cache volume that holds this object */ 67 struct file *file; /* The file representing this object */ 139 struct cachefiles_object *object; member in struct:cachefiles_req 235 extern void cachefiles_see_object(struct cachefiles_object *object, 237 extern struct cachefiles_object *cachefiles_grab_object(struct cachefiles_object *object, 239 extern void cachefiles_put_object(struct cachefiles_object *object, 247 extern int __cachefiles_prepare_write(struct cachefiles_object *object, 349 cachefiles_ondemand_init_object(struct cachefiles_object *object) argument 354 cachefiles_ondemand_clean_object(struct cachefiles_object *object) argument 358 cachefiles_ondemand_read(struct cachefiles_object *object, loff_t pos, size_t len) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | udisp.c | 31 nvkm_udisp_sclass(struct nvkm_object *object, int index, struct nvkm_oclass *sclass) argument 33 struct nvkm_disp *disp = nvkm_udisp(object); 63 nvkm_udisp_dtor(struct nvkm_object *object) argument 65 struct nvkm_disp *disp = nvkm_udisp(object); 68 if (object == &disp->client.object) 69 disp->client.object.func = NULL; 93 if (disp->client.object.func) { 97 nvkm_object_ctor(&nvkm_udisp, oclass, &disp->client.object); 98 *pobject = &disp->client.object; [all...] |
H A D | uhead.c | 22 #define nvkm_uhead(p) container_of((p), struct nvkm_head, object) 31 nvkm_uhead_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) argument 33 struct nvkm_head *head = nvkm_uhead(object); 75 nvkm_uhead_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) argument 77 struct nvkm_head *head = nvkm_uhead(object); 87 nvkm_uhead_dtor(struct nvkm_object *object) argument 89 struct nvkm_head *head = nvkm_uhead(object); 93 head->object.func = NULL; 120 if (!head->object.func) { 121 nvkm_object_ctor(&nvkm_uhead, oclass, &head->object); [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | user.c | 24 #define nvkm_udevice(p) container_of((p), struct nvkm_udevice, object) 38 struct nvkm_object object; member in struct:nvkm_udevice 75 struct nvkm_object *object = &udev->object; local 85 nvif_ioctl(object, "device info size %d\n", size); 87 nvif_ioctl(object, "device info vers %d count %d\n", 97 nvif_ioctl(object, "device info vers %d\n", args->v0.version); 173 struct nvkm_object *object = &udev->object; local 180 nvif_ioctl(object, "devic 190 nvkm_udevice_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) argument 206 nvkm_udevice_rd08(struct nvkm_object *object, u64 addr, u8 *data) argument 214 nvkm_udevice_rd16(struct nvkm_object *object, u64 addr, u16 *data) argument 222 nvkm_udevice_rd32(struct nvkm_object *object, u64 addr, u32 *data) argument 230 nvkm_udevice_wr08(struct nvkm_object *object, u64 addr, u8 data) argument 238 nvkm_udevice_wr16(struct nvkm_object *object, u64 addr, u16 data) argument 246 nvkm_udevice_wr32(struct nvkm_object *object, u64 addr, u32 data) argument 254 nvkm_udevice_map(struct nvkm_object *object, void *argv, u32 argc, enum nvkm_object_map *type, u64 *addr, u64 *size) argument 266 nvkm_udevice_fini(struct nvkm_object *object, bool suspend) argument 287 nvkm_udevice_init(struct nvkm_object *object) argument 317 nvkm_udevice_child_get(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | umem.c | 37 struct nvkm_client *master = client->object.client; 39 struct nvkm_object *object; local 42 object = nvkm_object_search(client, handle, &nvkm_umem); 43 if (IS_ERR(object)) { 47 if (umem->object.object == handle) { 55 umem = nvkm_umem(object); 63 nvkm_umem_unmap(struct nvkm_object *object) argument 65 struct nvkm_umem *umem = nvkm_umem(object); 86 nvkm_umem_map(struct nvkm_object *object, voi argument 124 nvkm_umem_dtor(struct nvkm_object *object) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_nvif.c | 62 return nvkm_object_init(&client->object); 69 return nvkm_object_fini(&client->object, true); 75 struct nvif_object *object = (void *)(unsigned long)token; local 76 struct nvif_event *event = container_of(object, typeof(*event), object);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
H A D | dma.h | 5 #include <core/object.h> 12 struct nvkm_object object; member in struct:nvkm_dmaobj 24 struct nvkm_dmaobj *nvkm_dmaobj_search(struct nvkm_client *, u64 object);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A D | gv100.c | 25 #include <core/object.h> 30 gv100_ce_cclass_bind(struct nvkm_object *object, struct nvkm_gpuobj *parent, int align, argument 33 struct nvkm_device *device = object->engine->subdev.device;
|
H A D | r535.c | 24 #include <core/object.h> 33 struct nvkm_object object; member in struct:r535_ce_obj 38 r535_ce_obj_dtor(struct nvkm_object *object) argument 40 struct r535_ce_obj *obj = container_of(object, typeof(*obj), object); 62 nvkm_object_ctor(&r535_ce_obj, oclass, &obj->object); 63 *pobject = &obj->object; 65 args = nvkm_gsp_rm_alloc_get(&chan->rm.object, oclass->handle, oclass->base.oclass,
|
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | event.h | 4 #include <nvif/object.h> 13 struct nvif_object object; member in struct:nvif_event 20 return nvif_object_constructed(&event->object);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv40.h | 19 #define nv40_gr_chan(p) container_of((p), struct nv40_gr_chan, object) 20 #include <core/object.h> 23 struct nvkm_object object; member in struct:nv40_gr_chan 35 /* returns 1 if device is one of the nv4x using the 0x4497 object class,
|
H A D | nv50.h | 22 #define nv50_gr_chan(p) container_of((p), struct nv50_gr_chan, object) 23 #include <core/object.h> 26 struct nvkm_object object; member in struct:nv50_gr_chan
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | ucgrp.c | 22 #define nvkm_ucgrp(p) container_of((p), struct nvkm_ucgrp, object) 32 struct nvkm_object object; member in struct:nvkm_ucgrp 46 nvkm_ucgrp_sclass(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) argument 48 struct nvkm_cgrp *cgrp = nvkm_ucgrp(object)->cgrp; 66 nvkm_ucgrp_dtor(struct nvkm_object *object) argument 68 struct nvkm_ucgrp *ucgrp = nvkm_ucgrp(object); 112 nvkm_object_ctor(&nvkm_ucgrp, oclass, &ucgrp->object); 113 *pobject = &ucgrp->object;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/nvdec/ |
H A D | r535.c | 24 #include <core/object.h> 32 struct nvkm_object object; member in struct:r535_nvdec_obj 37 r535_nvdec_obj_dtor(struct nvkm_object *object) argument 39 struct r535_nvdec_obj *obj = container_of(object, typeof(*obj), object); 61 nvkm_object_ctor(&r535_nvdec_obj, oclass, &obj->object); 62 *pobject = &obj->object; 64 args = nvkm_gsp_rm_alloc_get(&chan->rm.object, oclass->handle, oclass->base.oclass,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/ |
H A D | r535.c | 24 #include <core/object.h> 32 struct nvkm_object object; member in struct:r535_nvenc_obj 37 r535_nvenc_obj_dtor(struct nvkm_object *object) argument 39 struct r535_nvenc_obj *obj = container_of(object, typeof(*obj), object); 61 nvkm_object_ctor(&r535_nvenc_obj, oclass, &obj->object); 62 *pobject = &obj->object; 64 args = nvkm_gsp_rm_alloc_get(&chan->rm.object, oclass->handle, oclass->base.oclass,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/nvjpg/ |
H A D | r535.c | 24 #include <core/object.h> 32 struct nvkm_object object; member in struct:r535_nvjpg_obj 37 r535_nvjpg_obj_dtor(struct nvkm_object *object) argument 39 struct r535_nvjpg_obj *obj = container_of(object, typeof(*obj), object); 61 nvkm_object_ctor(&r535_nvjpg_obj, oclass, &obj->object); 62 *pobject = &obj->object; 64 args = nvkm_gsp_rm_alloc_get(&chan->rm.object, oclass->handle, oclass->base.oclass,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/ofa/ |
H A D | r535.c | 24 #include <core/object.h> 33 struct nvkm_object object; member in struct:r535_ofa_obj 38 r535_ofa_obj_dtor(struct nvkm_object *object) argument 40 struct r535_ofa_obj *obj = container_of(object, typeof(*obj), object); 62 nvkm_object_ctor(&r535_ofa_obj, oclass, &obj->object); 63 *pobject = &obj->object; 65 args = nvkm_gsp_rm_alloc_get(&chan->rm.object, oclass->handle, oclass->base.oclass,
|