Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/core/
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()
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->running = false; in nvkm_event_ntfy_state()
73 nvkm_event_get(ntfy->event, ntfy->bits, ntfy->id); in nvkm_event_ntfy_state()
74 ntfy->running = true; in nvkm_event_ntfy_state()
82 nvkm_event_ntfy_remove(struct nvkm_event_ntfy *ntfy) in nvkm_event_ntfy_remove() argument
84 spin_lock_irq(&ntfy->event->list_lock); in nvkm_event_ntfy_remove()
[all …]
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()
155 uevent->ntfy.event = NULL; in nvkm_uevent_new()
Dobject.c99 if (likely(object->func->ntfy)) in nvkm_object_ntfy()
100 return object->func->ntfy(object, mthd, pevent); in nvkm_object_ntfy()
/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_abi16.c116 struct nouveau_abi16_ntfy *ntfy) in nouveau_abi16_ntfy_fini() argument
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()
[all …]
Dnouveau_abi16.h26 struct nouveau_bo *ntfy; member
Dnouveau_bo0039.c107 PUSH_MTHD(push, NV039, SET_CONTEXT_DMA_NOTIFIES, chan->drm->ntfy.handle); in nv04_bo_move_init()
Dnouveau_bo5039.c147 PUSH_MTHD(push, NV5039, SET_CONTEXT_DMA_NOTIFY, chan->drm->ntfy.handle, in nv50_bo_move_init()
/Linux-v6.6/drivers/gpu/drm/nouveau/dispnv50/
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()
190 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.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_()
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()
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_()
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()
Datom.h185 } ntfy; member
255 bool ntfy:1; member
Dcrcc57d.c40 PUSH_MTHD(push, NVC57D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle); in crcc57d_set_src()
Dcore.h23 int (*update)(struct nv50_core *, u32 *interlock, bool ntfy);
Dcrc.h43 struct nvif_object ntfy; member
Dwndw.h31 u16 ntfy; member
/Linux-v6.6/drivers/usb/typec/ucsi/
Ducsi.c955 if (!(ucsi->ntfy & UCSI_ENABLE_NTFY_CONNECTOR_CHANGE)) { in ucsi_connector_change()
1031 c = UCSI_SET_NOTIFICATION_ENABLE | con->ucsi->ntfy; in ucsi_role_cmd()
1352 u64 command, ntfy; in ucsi_init() local
1364 ntfy = UCSI_ENABLE_NTFY_CMD_COMPLETE | UCSI_ENABLE_NTFY_ERROR; in ucsi_init()
1365 command = UCSI_SET_NOTIFICATION_ENABLE | ntfy; in ucsi_init()
1397 ntfy = UCSI_ENABLE_NTFY_ALL; in ucsi_init()
1398 command = UCSI_SET_NOTIFICATION_ENABLE | ntfy; in ucsi_init()
1404 ucsi->ntfy = ntfy; in ucsi_init()
1440 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_resume_work()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
Dgv100.c120 gv100_fault_ntfy_nrpfb(struct nvkm_event_ntfy *ntfy, u32 bits) in gv100_fault_ntfy_nrpfb() argument
122 struct nvkm_fault *fault = container_of(ntfy, typeof(*fault), nrpfb); in gv100_fault_ntfy_nrpfb()
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/core/
Devent.h20 struct list_head ntfy; member
Dobject.h34 int (*ntfy)(struct nvkm_object *, u32 mthd, struct nvkm_event **); member
/Linux-v6.6/drivers/scsi/qla2xxx/
Dqla_target.c114 struct imm_ntfy_from_isp *ntfy,
522 struct imm_ntfy_from_isp *ntfy, int type) in qla24xx_post_nack_work() argument
532 memcpy(e->u.nack.iocb, ntfy, sizeof(struct imm_ntfy_from_isp)); in qla24xx_post_nack_work()
604 struct imm_ntfy_from_isp *ntfy, int type) in qla24xx_async_notify_ack() argument
616 (le16_to_cpu(ntfy->u.isp24.flags) & NOTIFY24XX_FLAGS_FCSP)) in qla24xx_async_notify_ack()
639 sp->u.iocb_cmd.u.nack.ntfy = ntfy; in qla24xx_async_notify_ack()
1694 struct imm_ntfy_from_isp *ntfy, in qlt_send_notify_ack() argument
1723 nack->ox_id = ntfy->ox_id; in qlt_send_notify_ack()
1726 nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; in qlt_send_notify_ack()
1727 if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { in qlt_send_notify_ack()
[all …]
Dqla_iocb.c3724 struct imm_ntfy_from_isp *ntfy = sp->u.iocb_cmd.u.nack.ntfy; in qla2x00_send_notify_ack_iocb() local
3728 nack->ox_id = ntfy->ox_id; in qla2x00_send_notify_ack_iocb()
3731 nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; in qla2x00_send_notify_ack_iocb()
3732 if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { in qla2x00_send_notify_ack_iocb()
3733 nack->u.isp24.flags = ntfy->u.isp24.flags & in qla2x00_send_notify_ack_iocb()
3736 nack->u.isp24.srr_rx_id = ntfy->u.isp24.srr_rx_id; in qla2x00_send_notify_ack_iocb()
3737 nack->u.isp24.status = ntfy->u.isp24.status; in qla2x00_send_notify_ack_iocb()
3738 nack->u.isp24.status_subcode = ntfy->u.isp24.status_subcode; in qla2x00_send_notify_ack_iocb()
3739 nack->u.isp24.fw_handle = ntfy->u.isp24.fw_handle; in qla2x00_send_notify_ack_iocb()
3740 nack->u.isp24.exchange_address = ntfy->u.isp24.exchange_address; in qla2x00_send_notify_ack_iocb()
[all …]

12