Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/nouveau/
Dnouveau_usif.c60 struct usif_notify *ntfy; in usif_notify_find() local
61 list_for_each_entry(ntfy, &cli->notifys, head) { in usif_notify_find()
62 if (ntfy->handle == handle) in usif_notify_find()
63 return ntfy; in usif_notify_find()
69 usif_notify_dtor(struct usif_notify *ntfy) in usif_notify_dtor() argument
71 list_del(&ntfy->head); in usif_notify_dtor()
72 kfree(ntfy); in usif_notify_dtor()
78 struct usif_notify *ntfy = NULL; in usif_notify() local
87 if (WARN_ON(!(ntfy = (void *)(unsigned long)rep->v0.token))) in usif_notify()
94 if (WARN_ON(!ntfy->p || ntfy->reply != (length + size))) in usif_notify()
[all …]
Dnouveau_abi16.c115 struct nouveau_abi16_ntfy *ntfy) in nouveau_abi16_ntfy_fini() argument
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()
[all …]
Dnouveau_bo0039.c107 PUSH_MTHD(push, NV039, SET_CONTEXT_DMA_NOTIFIES, chan->drm->ntfy.handle); in nv04_bo_move_init()
Dnouveau_abi16.h25 struct nouveau_bo *ntfy; member
/drivers/gpu/drm/nouveau/nvif/
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.index; in nvif_notify_ctor()
/drivers/gpu/drm/nouveau/dispnv50/
Dwndw.c116 if (asyw->set.ntfy) { in nv50_wndw_wait_armed()
118 asyw->ntfy.offset, in nv50_wndw_wait_armed()
132 if (clr.ntfy ) wndw->func-> ntfy_clr(wndw); in nv50_wndw_flush_clr()
150 if (asyw->set.ntfy ) wndw->func->ntfy_set (wndw, asyw); in nv50_wndw_flush_set()
182 asyw->ntfy.handle = wndw->wndw.sync.handle; in nv50_wndw_ntfy_enable()
183 asyw->ntfy.offset = wndw->ntfy; in nv50_wndw_ntfy_enable()
184 asyw->ntfy.awaken = false; in nv50_wndw_ntfy_enable()
185 asyw->set.ntfy = true; in nv50_wndw_ntfy_enable()
187 wndw->func->ntfy_reset(disp->sync, wndw->ntfy); in nv50_wndw_ntfy_enable()
188 wndw->ntfy ^= 0x10; in nv50_wndw_ntfy_enable()
[all …]
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()
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()
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_()
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_()
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()
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()
Datom.h185 } ntfy; member
255 bool ntfy:1; member
Dcore.h23 int (*update)(struct nv50_core *, u32 *interlock, bool ntfy);
Dcrc.h43 struct nvif_object ntfy; member
/drivers/gpu/drm/nouveau/nvkm/core/
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()
/drivers/usb/typec/ucsi/
Ducsi.c189 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_resume()
853 if (!(ucsi->ntfy & UCSI_ENABLE_NTFY_CONNECTOR_CHANGE)) { in ucsi_connector_change()
931 c = UCSI_SET_NOTIFICATION_ENABLE | con->ucsi->ntfy; in ucsi_role_cmd()
1207 u64 command, ntfy; in ucsi_init() local
1219 ntfy = UCSI_ENABLE_NTFY_CMD_COMPLETE | UCSI_ENABLE_NTFY_ERROR; in ucsi_init()
1220 command = UCSI_SET_NOTIFICATION_ENABLE | ntfy; in ucsi_init()
1252 ntfy = UCSI_ENABLE_NTFY_ALL; in ucsi_init()
1253 command = UCSI_SET_NOTIFICATION_ENABLE | ntfy; in ucsi_init()
1258 ucsi->ntfy = ntfy; in ucsi_init()
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dchan.c258 if (chan->func->ntfy) in nvkm_fifo_chan_ntfy()
259 return chan->func->ntfy(chan, type, pevent); in nvkm_fifo_chan_ntfy()
353 .ntfy = nvkm_fifo_chan_ntfy,
Dchan.h11 int (*ntfy)(struct nvkm_fifo_chan *, u32 type, struct nvkm_event **); member
Dgpfifotu102.c43 .ntfy = gf100_fifo_chan_ntfy,
/drivers/scsi/qla2xxx/
Dqla_target.c121 struct imm_ntfy_from_isp *ntfy,
545 struct imm_ntfy_from_isp *ntfy, int type) in qla24xx_post_nack_work() argument
555 memcpy(e->u.nack.iocb, ntfy, sizeof(struct imm_ntfy_from_isp)); in qla24xx_post_nack_work()
627 struct imm_ntfy_from_isp *ntfy, int type) in qla24xx_async_notify_ack() argument
639 (le16_to_cpu(ntfy->u.isp24.flags) & NOTIFY24XX_FLAGS_FCSP)) in qla24xx_async_notify_ack()
662 sp->u.iocb_cmd.u.nack.ntfy = ntfy; in qla24xx_async_notify_ack()
1715 struct imm_ntfy_from_isp *ntfy, in qlt_send_notify_ack() argument
1744 nack->ox_id = ntfy->ox_id; in qlt_send_notify_ack()
1747 nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; in qlt_send_notify_ack()
1748 if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { in qlt_send_notify_ack()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dnvsw.c56 .ntfy = nvkm_nvsw_ntfy_,
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Drootnv04.c74 .ntfy = nvkm_disp_ntfy,
/drivers/gpu/drm/nouveau/include/nvkm/core/
Dclient.h17 int (*ntfy)(const void *, u32, const void *, u32); member
/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
Duser.c81 .ntfy = nvkm_ufault_ntfy,

12