Home
last modified time | relevance | path

Searched refs:ntfy (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_usif.c62 struct usif_notify *ntfy; in usif_notify_find() local
63 list_for_each_entry(ntfy, &cli->notifys, head) { in usif_notify_find()
64 if (ntfy->handle == handle) in usif_notify_find()
65 return ntfy; in usif_notify_find()
71 usif_notify_dtor(struct usif_notify *ntfy) in usif_notify_dtor() argument
73 list_del(&ntfy->head); in usif_notify_dtor()
74 kfree(ntfy); in usif_notify_dtor()
80 struct usif_notify *ntfy = NULL; in usif_notify() local
89 if (WARN_ON(!(ntfy = (void *)(unsigned long)rep->v0.token))) in usif_notify()
96 if (WARN_ON(!ntfy->p || ntfy->reply != (length + size))) in usif_notify()
[all …]
H A Dnouveau_abi16.c120 struct nouveau_abi16_ntfy *ntfy) in nouveau_abi16_ntfy_fini() argument
122 nvif_object_fini(&ntfy->object); in nouveau_abi16_ntfy_fini()
123 nvkm_mm_free(&chan->heap, &ntfy->node); in nouveau_abi16_ntfy_fini()
124 list_del(&ntfy->head); in nouveau_abi16_ntfy_fini()
125 kfree(ntfy); in nouveau_abi16_ntfy_fini()
132 struct nouveau_abi16_ntfy *ntfy, *temp; in nouveau_abi16_chan_fini() local
136 if (chan->chan && chan->ntfy) in nouveau_abi16_chan_fini()
140 list_for_each_entry_safe(ntfy, temp, &chan->notifiers, head) { in nouveau_abi16_chan_fini()
141 nouveau_abi16_ntfy_fini(chan, ntfy); in nouveau_abi16_chan_fini()
144 if (chan->ntfy) { in nouveau_abi16_chan_fini()
[all …]
H A Dnouveau_abi16.h27 struct nouveau_bo *ntfy; member
H A Dnouveau_drv.h189 struct nvif_object ntfy; member
H A Dnouveau_chan.c57 nouveau_channel_killed(struct nvif_notify *ntfy) in nouveau_channel_killed() argument
59 struct nouveau_channel *chan = container_of(ntfy, typeof(*chan), kill); in nouveau_channel_killed()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvif/
H A Dnouveau_nvif_notify.c43 struct nvif_ioctl_ntfy_put_v0 ntfy; in nvif_notify_put_() member
46 .ntfy.index = notify->index, in nvif_notify_put_()
74 struct nvif_ioctl_ntfy_get_v0 ntfy; in nvif_notify_get_() member
77 .ntfy.index = notify->index, in nvif_notify_get_()
155 struct nvif_ioctl_ntfy_del_v0 ntfy; in nvif_notify_fini() member
158 .ntfy.index = notify->index, in nvif_notify_fini()
176 struct nvif_ioctl_ntfy_new_v0 ntfy; in nvif_notify_init() member
199 args->ntfy.version = 0; in nvif_notify_init()
200 args->ntfy.event = event; in nvif_notify_init()
208 notify->index = args->ntfy.index; in nvif_notify_init()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
H A Dnouveau_dispnv50_wndw.c110 if (asyw->set.ntfy) { in nv50_wndw_wait_armed()
112 asyw->ntfy.offset, in nv50_wndw_wait_armed()
126 if (clr.ntfy ) wndw->func-> ntfy_clr(wndw); in nv50_wndw_flush_clr()
144 if (asyw->set.ntfy ) wndw->func->ntfy_set (wndw, asyw); in nv50_wndw_flush_set()
176 asyw->ntfy.handle = wndw->wndw.sync.handle; in nv50_wndw_ntfy_enable()
177 asyw->ntfy.offset = wndw->ntfy; in nv50_wndw_ntfy_enable()
178 asyw->ntfy.awaken = false; in nv50_wndw_ntfy_enable()
179 asyw->set.ntfy = true; in nv50_wndw_ntfy_enable()
181 wndw->func->ntfy_reset(disp->sync, wndw->ntfy); in nv50_wndw_ntfy_enable()
182 wndw->ntfy ^= 0x10; in nv50_wndw_ntfy_enable()
[all …]
H A Dnouveau_dispnv50_corec37d.c47 corec37d_update(struct nv50_core *core, u32 *interlock, bool ntfy) in corec37d_update() argument
51 if (ntfy) { in corec37d_update()
62 if (ntfy) { in corec37d_update()
H A Dnouveau_dispnv50_ovly507e.c117 evo_data(push, asyw->ntfy.awaken << 30 | asyw->ntfy.offset); in ovly507e_ntfy_set()
118 evo_data(push, asyw->ntfy.handle); in ovly507e_ntfy_set()
209 wndw->ntfy = NV50_DISP_OVLY_NTFY(wndw->id); in ovly507e_new_()
H A Dnouveau_dispnv50_base507c.c147 evo_data(push, asyw->ntfy.awaken << 30 | asyw->ntfy.offset); in base507c_ntfy_set()
148 evo_data(push, asyw->ntfy.handle); in base507c_ntfy_set()
297 wndw->ntfy = NV50_DISP_BASE_NTFY(wndw->id); in base507c_new_()
H A Dnouveau_dispnv50_wndwc37e.c176 evo_data(push, asyw->ntfy.handle); in wndwc37e_ntfy_set()
177 evo_data(push, asyw->ntfy.offset | asyw->ntfy.awaken); in wndwc37e_ntfy_set()
312 wndw->ntfy = NV50_DISP_WNDW_NTFY(wndw->id); in wndwc37e_new_()
H A Dnouveau_dispnv50_core507d.c35 core507d_update(struct nv50_core *core, u32 *interlock, bool ntfy) in core507d_update() argument
39 if (ntfy) { in core507d_update()
H A Datom.h171 } ntfy; member
241 bool ntfy:1; member
H A Dcore.h22 void (*update)(struct nv50_core *, u32 *interlock, bool ntfy);
H A Dwndw.h36 u16 ntfy; member
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/
H A Dnouveau_nvkm_core_client.c52 NULL, oclass->client->ntfy, &client); in nvkm_uclient_new()
91 return client->ntfy(&notify->rep, notify->size, n->data, n->size); in nvkm_client_notify()
329 int (*ntfy)(const void *, u32, const void *, u32), in nvkm_client_new()
348 client->ntfy = ntfy; in nvkm_client_new()
H A Dnouveau_nvkm_core_object.c128 if (likely(object->func->ntfy)) in nvkm_object_ntfy()
129 return object->func->ntfy(object, mthd, pevent); in nvkm_object_ntfy()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/
H A Dchan.h13 int (*ntfy)(struct nvkm_fifo_chan *, u32 type, struct nvkm_event **); member
H A Dnouveau_nvkm_engine_fifo_chan.c255 if (chan->func->ntfy) in nvkm_fifo_chan_ntfy()
256 return chan->func->ntfy(chan, type, pevent); in nvkm_fifo_chan_ntfy()
408 .ntfy = nvkm_fifo_chan_ntfy,
H A Dnouveau_nvkm_engine_fifo_gpfifotu102.c48 .ntfy = gf100_fifo_chan_ntfy,
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/sw/
H A Dnouveau_nvkm_engine_sw_nvsw.c61 .ntfy = nvkm_nvsw_ntfy_,
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/
H A Dnouveau_nvkm_engine_disp_rootnv04.c79 .ntfy = nvkm_disp_ntfy,
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/
H A Dclient.h24 int (*ntfy)(const void *, u32, const void *, u32); member
H A Dobject.h38 int (*ntfy)(struct nvkm_object *, u32 mthd, struct nvkm_event **); member
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fault/
H A Dnouveau_nvkm_subdev_fault_user.c95 .ntfy = nvkm_ufault_ntfy,

12