Home
last modified time | relevance | path

Searched refs:ntfy (Results 1 - 25 of 77) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/
H A Devent.c60 nvkm_event_ntfy_state(struct nvkm_event_ntfy *ntfy) in nvkm_event_ntfy_state() argument
62 struct nvkm_event *event = ntfy->event; in nvkm_event_ntfy_state()
65 nvkm_trace(event->subdev, "event: ntfy state changed\n"); in nvkm_event_ntfy_state()
68 if (atomic_read(&ntfy->allowed) != ntfy->running) { in nvkm_event_ntfy_state()
69 if (ntfy->running) { in nvkm_event_ntfy_state()
70 nvkm_event_put(ntfy->event, ntfy->bits, ntfy->id); in nvkm_event_ntfy_state()
71 ntfy in nvkm_event_ntfy_state()
82 nvkm_event_ntfy_remove(struct nvkm_event_ntfy *ntfy) nvkm_event_ntfy_remove() argument
90 nvkm_event_ntfy_insert(struct nvkm_event_ntfy *ntfy) nvkm_event_ntfy_insert() argument
98 nvkm_event_ntfy_block_(struct nvkm_event_ntfy *ntfy, bool wait) nvkm_event_ntfy_block_() argument
112 nvkm_event_ntfy_block(struct nvkm_event_ntfy *ntfy) nvkm_event_ntfy_block() argument
119 nvkm_event_ntfy_allow(struct nvkm_event_ntfy *ntfy) nvkm_event_ntfy_allow() argument
131 nvkm_event_ntfy_del(struct nvkm_event_ntfy *ntfy) nvkm_event_ntfy_del() argument
146 nvkm_event_ntfy_add(struct nvkm_event *event, int id, u32 bits, bool wait, nvkm_event_func func, struct nvkm_event_ntfy *ntfy) nvkm_event_ntfy_add() argument
172 struct nvkm_event_ntfy *ntfy, *ntmp; nvkm_event_ntfy() local
[all...]
H A Duevent.c34 struct nvkm_event_ntfy ntfy; member
44 nvkm_event_ntfy_block(&uevent->ntfy); in nvkm_uevent_mthd_block()
55 nvkm_event_ntfy_allow(&uevent->ntfy); in nvkm_uevent_mthd_allow()
80 nvkm_event_ntfy_block(&uevent->ntfy); in nvkm_uevent_fini()
90 nvkm_event_ntfy_allow(&uevent->ntfy); in nvkm_uevent_init()
100 nvkm_event_ntfy_del(&uevent->ntfy); in nvkm_uevent_dtor()
113 nvkm_uevent_ntfy(struct nvkm_event_ntfy *ntfy, u32 bits) in nvkm_uevent_ntfy() argument
115 struct nvkm_uevent *uevent = container_of(ntfy, typeof(*uevent), ntfy); in nvkm_uevent_ntfy()
131 nvkm_event_ntfy_add(event, id, bits, uevent->wait, nvkm_uevent_ntfy, &uevent->ntfy); in nvkm_uevent_add()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A Dnouveau_usif.c57 struct usif_notify *ntfy; in usif_notify_find() local
58 list_for_each_entry(ntfy, &cli->notifys, head) { in usif_notify_find()
59 if (ntfy->handle == handle) in usif_notify_find()
60 return ntfy; in usif_notify_find()
66 usif_notify_dtor(struct usif_notify *ntfy) in usif_notify_dtor() argument
68 list_del(&ntfy->head); in usif_notify_dtor()
69 kfree(ntfy); in usif_notify_dtor()
75 struct usif_notify *ntfy = NULL; in usif_notify() local
84 if (WARN_ON(!(ntfy = (void *)(unsigned long)rep->v0.token))) in usif_notify()
91 if (WARN_ON(!ntfy in usif_notify()
132 struct usif_notify *ntfy; usif_notify_new() local
174 struct usif_notify *ntfy; usif_notify_del() local
197 struct usif_notify *ntfy; usif_notify_get() local
234 struct usif_notify *ntfy; usif_notify_put() local
251 struct list_head ntfy; global() member
[all...]
H A Dnouveau_abi16.c115 struct nouveau_abi16_ntfy *ntfy) in nouveau_abi16_ntfy_fini()
117 nvif_object_dtor(&ntfy->object); in nouveau_abi16_ntfy_fini()
118 nvkm_mm_free(&chan->heap, &ntfy->node); in nouveau_abi16_ntfy_fini()
119 list_del(&ntfy->head); in nouveau_abi16_ntfy_fini()
120 kfree(ntfy); in nouveau_abi16_ntfy_fini()
127 struct nouveau_abi16_ntfy *ntfy, *temp; in nouveau_abi16_chan_fini() local
131 if (chan->chan && chan->ntfy) in nouveau_abi16_chan_fini()
135 list_for_each_entry_safe(ntfy, temp, &chan->notifiers, head) { in nouveau_abi16_chan_fini()
136 nouveau_abi16_ntfy_fini(chan, ntfy); in nouveau_abi16_chan_fini()
139 if (chan->ntfy) { in nouveau_abi16_chan_fini()
114 nouveau_abi16_ntfy_fini(struct nouveau_abi16_chan *chan, struct nouveau_abi16_ntfy *ntfy) nouveau_abi16_ntfy_fini() argument
429 struct nouveau_abi16_ntfy *ntfy; nouveau_abi16_ioctl_grobj_alloc() local
522 struct nouveau_abi16_ntfy *ntfy; nouveau_abi16_ioctl_notifierobj_alloc() local
594 struct nouveau_abi16_ntfy *ntfy; nouveau_abi16_ioctl_gpuobj_free() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_abi16.c116 struct nouveau_abi16_ntfy *ntfy) in nouveau_abi16_ntfy_fini()
118 nvif_object_dtor(&ntfy->object); in nouveau_abi16_ntfy_fini()
119 nvkm_mm_free(&chan->heap, &ntfy->node); in nouveau_abi16_ntfy_fini()
120 list_del(&ntfy->head); in nouveau_abi16_ntfy_fini()
121 kfree(ntfy); in nouveau_abi16_ntfy_fini()
128 struct nouveau_abi16_ntfy *ntfy, *temp; in nouveau_abi16_chan_fini() local
146 list_for_each_entry_safe(ntfy, temp, &chan->notifiers, head) { in nouveau_abi16_chan_fini()
147 nouveau_abi16_ntfy_fini(chan, ntfy); in nouveau_abi16_chan_fini()
150 if (chan->ntfy) { in nouveau_abi16_chan_fini()
152 nouveau_bo_unpin(chan->ntfy); in nouveau_abi16_chan_fini()
115 nouveau_abi16_ntfy_fini(struct nouveau_abi16_chan *chan, struct nouveau_abi16_ntfy *ntfy) nouveau_abi16_ntfy_fini() argument
498 struct nouveau_abi16_ntfy *ntfy; nouveau_abi16_ioctl_grobj_alloc() local
591 struct nouveau_abi16_ntfy *ntfy; nouveau_abi16_ioctl_notifierobj_alloc() local
661 struct nouveau_abi16_ntfy *ntfy; nouveau_abi16_ioctl_gpuobj_free() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/
H A Dnotify.c38 struct nvif_ioctl_ntfy_put_v0 ntfy; in nvif_notify_put_() member
41 .ntfy.index = notify->index, in nvif_notify_put_()
69 struct nvif_ioctl_ntfy_get_v0 ntfy; in nvif_notify_get_() member
72 .ntfy.index = notify->index, in nvif_notify_get_()
150 struct nvif_ioctl_ntfy_del_v0 ntfy; in nvif_notify_dtor() member
153 .ntfy.index = notify->index, in nvif_notify_dtor()
171 struct nvif_ioctl_ntfy_new_v0 ntfy; in nvif_notify_ctor() member
195 args->ntfy.version = 0; in nvif_notify_ctor()
196 args->ntfy.event = event; in nvif_notify_ctor()
204 notify->index = args->ntfy in nvif_notify_ctor()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndw.c115 if (asyw->set.ntfy) { in nv50_wndw_wait_armed()
117 asyw->ntfy.offset, in nv50_wndw_wait_armed()
131 if (clr.ntfy ) wndw->func-> ntfy_clr(wndw); in nv50_wndw_flush_clr()
149 if (asyw->set.ntfy ) wndw->func->ntfy_set (wndw, asyw); in nv50_wndw_flush_set()
181 asyw->ntfy.handle = wndw->wndw.sync.handle; in nv50_wndw_ntfy_enable()
182 asyw->ntfy.offset = wndw->ntfy; in nv50_wndw_ntfy_enable()
183 asyw->ntfy.awaken = false; in nv50_wndw_ntfy_enable()
184 asyw->set.ntfy = true; in nv50_wndw_ntfy_enable()
186 wndw->func->ntfy_reset(disp->sync, wndw->ntfy); in nv50_wndw_ntfy_enable()
[all...]
H A Dcorec37d.c52 corec37d_update(struct nv50_core *core, u32 *interlock, bool ntfy) in corec37d_update() argument
60 if (ntfy) { in corec37d_update()
73 if (ntfy) { in corec37d_update()
H A Dcrcc37d.c68 PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle); in crcc37d_set_src()
88 PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx ? ctx->ntfy.handle : 0); in crcc37d_set_ctx()
H A Dcore507d.c34 core507d_update(struct nv50_core *core, u32 *interlock, bool ntfy) in core507d_update() argument
42 if (ntfy) { in core507d_update()
H A Dcrc907d.c64 PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle); in crc907d_set_src()
84 PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx ? ctx->ntfy.handle : 0); in crc907d_set_ctx()
H A Dbase507c.c183 NVVAL(NV507C, SET_NOTIFIER_CONTROL, MODE, asyw->ntfy.awaken) | in base507c_ntfy_set()
184 NVVAL(NV507C, SET_NOTIFIER_CONTROL, OFFSET, asyw->ntfy.offset >> 2), in base507c_ntfy_set()
186 SET_CONTEXT_DMA_NOTIFIER, asyw->ntfy.handle); in base507c_ntfy_set()
341 wndw->ntfy = NV50_DISP_BASE_NTFY(wndw->id); in base507c_new_()
H A Dwndwc37e.c236 PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_NOTIFIER, asyw->ntfy.handle, in wndwc37e_ntfy_set()
239 NVVAL(NVC37E, SET_NOTIFIER_CONTROL, MODE, asyw->ntfy.awaken) | in wndwc37e_ntfy_set()
240 NVVAL(NVC37E, SET_NOTIFIER_CONTROL, OFFSET, asyw->ntfy.offset >> 4)); in wndwc37e_ntfy_set()
380 wndw->ntfy = NV50_DISP_WNDW_NTFY(wndw->id); in wndwc37e_new_()
H A Datom.h185 } ntfy; member
255 bool ntfy:1; member
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndw.c118 if (asyw->set.ntfy) { in nv50_wndw_wait_armed()
120 asyw->ntfy.offset, in nv50_wndw_wait_armed()
134 if (clr.ntfy ) wndw->func-> ntfy_clr(wndw); in nv50_wndw_flush_clr()
152 if (asyw->set.ntfy ) wndw->func->ntfy_set (wndw, asyw); in nv50_wndw_flush_set()
184 asyw->ntfy.handle = wndw->wndw.sync.handle; in nv50_wndw_ntfy_enable()
185 asyw->ntfy.offset = wndw->ntfy; in nv50_wndw_ntfy_enable()
186 asyw->ntfy.awaken = false; in nv50_wndw_ntfy_enable()
187 asyw->set.ntfy = true; in nv50_wndw_ntfy_enable()
189 wndw->func->ntfy_reset(disp->sync, wndw->ntfy); in nv50_wndw_ntfy_enable()
[all...]
H A Dcorec37d.c52 corec37d_update(struct nv50_core *core, u32 *interlock, bool ntfy) in corec37d_update() argument
57 if ((ret = PUSH_WAIT(push, (ntfy ? 2 * 2 : 0) + 5))) in corec37d_update()
60 if (ntfy) { in corec37d_update()
73 if (ntfy) { in corec37d_update()
H A Dcore507d.c34 core507d_update(struct nv50_core *core, u32 *interlock, bool ntfy) in core507d_update() argument
39 if ((ret = PUSH_WAIT(push, (ntfy ? 2 : 0) + 3))) in core507d_update()
42 if (ntfy) { in core507d_update()
H A Dcrc907d.c64 PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle); in crc907d_set_src()
84 PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx ? ctx->ntfy.handle : 0); in crc907d_set_ctx()
H A Dcrcc37d.c44 PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle); in crcc37d_set_src()
63 PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx ? ctx->ntfy.handle : 0); in crcc37d_set_ctx()
H A Dbase507c.c181 NVVAL(NV507C, SET_NOTIFIER_CONTROL, MODE, asyw->ntfy.awaken) | in base507c_ntfy_set()
182 NVVAL(NV507C, SET_NOTIFIER_CONTROL, OFFSET, asyw->ntfy.offset >> 2), in base507c_ntfy_set()
184 SET_CONTEXT_DMA_NOTIFIER, asyw->ntfy.handle); in base507c_ntfy_set()
329 wndw->ntfy = NV50_DISP_BASE_NTFY(wndw->id); in base507c_new_()
H A Dwndwc37e.c231 PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_NOTIFIER, asyw->ntfy.handle, in wndwc37e_ntfy_set()
234 NVVAL(NVC37E, SET_NOTIFIER_CONTROL, MODE, asyw->ntfy.awaken) | in wndwc37e_ntfy_set()
235 NVVAL(NVC37E, SET_NOTIFIER_CONTROL, OFFSET, asyw->ntfy.offset >> 4)); in wndwc37e_ntfy_set()
374 wndw->ntfy = NV50_DISP_WNDW_NTFY(wndw->id); in wndwc37e_new_()
H A Datom.h185 } ntfy; member
255 bool ntfy:1; member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
H A Dclient.c47 NULL, oclass->client->ntfy, &client); in nvkm_uclient_new()
86 return client->ntfy(&notify->rep, notify->size, n->data, n->size); in nvkm_client_notify()
288 int (*ntfy)(const void *, u32, const void *, u32), in nvkm_client_new()
303 client->ntfy = ntfy; in nvkm_client_new()
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/
H A Ducsi.c189 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_resume()
825 if (!(ucsi->ntfy & UCSI_ENABLE_NTFY_CONNECTOR_CHANGE)) { in ucsi_connector_change()
903 c = UCSI_SET_NOTIFICATION_ENABLE | con->ucsi->ntfy; in ucsi_role_cmd()
1155 u64 command, ntfy; in ucsi_init() local
1167 ntfy = UCSI_ENABLE_NTFY_CMD_COMPLETE | UCSI_ENABLE_NTFY_ERROR; in ucsi_init()
1168 command = UCSI_SET_NOTIFICATION_ENABLE | ntfy; in ucsi_init()
1200 ntfy = UCSI_ENABLE_NTFY_ALL; in ucsi_init()
1201 command = UCSI_SET_NOTIFICATION_ENABLE | ntfy; in ucsi_init()
1206 ucsi->ntfy = ntfy; in ucsi_init()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dchan.h11 int (*ntfy)(struct nvkm_fifo_chan *, u32 type, struct nvkm_event **); member

Completed in 12 milliseconds

1234