Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/core/
A Devent.c68 if (atomic_read(&ntfy->allowed) != ntfy->running) { in nvkm_event_ntfy_state()
70 nvkm_event_put(ntfy->event, ntfy->bits, ntfy->id); in nvkm_event_ntfy_state()
73 nvkm_event_get(ntfy->event, ntfy->bits, ntfy->id); in nvkm_event_ntfy_state()
93 list_add_tail(&ntfy->head, &ntfy->event->ntfy); in nvkm_event_ntfy_insert()
114 if (ntfy->event) in nvkm_event_ntfy_block()
115 nvkm_event_ntfy_block_(ntfy, ntfy->wait); in nvkm_event_ntfy_block()
121 nvkm_trace(ntfy->event->subdev, "event: ntfy allow %08x on %d\n", ntfy->bits, ntfy->id); in nvkm_event_ntfy_allow()
152 ntfy->id = id; in nvkm_event_ntfy_add()
181 list_for_each_entry_safe(ntfy, ntmp, &event->ntfy, head) { in nvkm_event_ntfy()
182 if (ntfy->id == id && ntfy->bits & bits) { in nvkm_event_ntfy()
[all …]
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()
155 uevent->ntfy.event = NULL; in nvkm_uevent_new()
A Dobject.c99 if (likely(object->func->ntfy)) in nvkm_object_ntfy()
100 return object->func->ntfy(object, mthd, pevent); in nvkm_object_ntfy()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
A Dnouveau_abi16.c118 list_del(&ntfy->head); in nouveau_abi16_ntfy_fini()
119 kfree(ntfy); in nouveau_abi16_ntfy_fini()
137 if (chan->ntfy) { in nouveau_abi16_chan_fini()
353 0, 0, &chan->ntfy); in nouveau_abi16_ioctl_channel_alloc()
523 ntfy = kzalloc(sizeof(*ntfy), GFP_KERNEL); in nouveau_abi16_ioctl_grobj_alloc()
524 if (!ntfy) in nouveau_abi16_ioctl_grobj_alloc()
564 ntfy = kzalloc(sizeof(*ntfy), GFP_KERNEL); in nouveau_abi16_ioctl_notifierobj_alloc()
565 if (!ntfy) in nouveau_abi16_ioctl_notifierobj_alloc()
571 &ntfy->node); in nouveau_abi16_ioctl_notifierobj_alloc()
576 args.limit = ntfy->node->offset + ntfy->node->length - 1; in nouveau_abi16_ioctl_notifierobj_alloc()
[all …]
A Dnouveau_bo0039.c107 PUSH_MTHD(push, NV039, SET_CONTEXT_DMA_NOTIFIES, chan->drm->ntfy.handle); in nv04_bo_move_init()
A Dnouveau_abi16.h26 struct nouveau_bo *ntfy; member
A Dnouveau_bo5039.c147 PUSH_MTHD(push, NV5039, SET_CONTEXT_DMA_NOTIFY, chan->drm->ntfy.handle, in nv50_bo_move_init()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv50/
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()
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()
190 wndw->ntfy ^= 0x10; in nv50_wndw_ntfy_enable()
201 asyw->ntfy.handle = 0; in nv50_wndw_atomic_check_release()
504 asyw->clr.ntfy = armw->ntfy.handle != 0; in nv50_wndw_atomic_check()
[all …]
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()
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()
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_()
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()
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_()
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()
A Datom.h185 } ntfy; member
255 bool ntfy:1; member
A Dcrcc57d.c40 PUSH_MTHD(push, NVC57D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle); in crcc57d_set_src()
A Dcore.h23 int (*update)(struct nv50_core *, u32 *interlock, bool ntfy);
A Dcrc.h43 struct nvif_object ntfy; member
A Dwndw.h31 u16 ntfy; member
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
A 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-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/core/
A Devent.h20 struct list_head ntfy; member
A Dobject.h34 int (*ntfy)(struct nvkm_object *, u32 mthd, struct nvkm_event **); member
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_target.c114 struct imm_ntfy_from_isp *ntfy,
522 struct imm_ntfy_from_isp *ntfy, int type) in qla24xx_post_nack_work() argument
604 struct imm_ntfy_from_isp *ntfy, int type) in qla24xx_async_notify_ack() argument
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()
1728 nack->u.isp24.flags = ntfy->u.isp24.flags & in qlt_send_notify_ack()
1732 nack->u.isp24.status = ntfy->u.isp24.status; in qlt_send_notify_ack()
1737 nack->u.isp24.srr_ui = ntfy->u.isp24.srr_ui; in qlt_send_notify_ack()
3589 struct imm_ntfy_from_isp *ntfy) in __qlt_send_term_imm_notif() argument
[all …]
A Dqla_iocb.c3717 struct imm_ntfy_from_isp *ntfy = sp->u.iocb_cmd.u.nack.ntfy; in qla2x00_send_notify_ack_iocb() local
3721 nack->ox_id = ntfy->ox_id; in qla2x00_send_notify_ack_iocb()
3724 nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; in qla2x00_send_notify_ack_iocb()
3725 if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { in qla2x00_send_notify_ack_iocb()
3726 nack->u.isp24.flags = ntfy->u.isp24.flags & in qla2x00_send_notify_ack_iocb()
3729 nack->u.isp24.srr_rx_id = ntfy->u.isp24.srr_rx_id; in qla2x00_send_notify_ack_iocb()
3730 nack->u.isp24.status = ntfy->u.isp24.status; in qla2x00_send_notify_ack_iocb()
3732 nack->u.isp24.fw_handle = ntfy->u.isp24.fw_handle; in qla2x00_send_notify_ack_iocb()
3735 nack->u.isp24.srr_ui = ntfy->u.isp24.srr_ui; in qla2x00_send_notify_ack_iocb()
3739 nack->u.isp24.vp_index = ntfy->u.isp24.vp_index; in qla2x00_send_notify_ack_iocb()
[all …]
/linux-6.3-rc2/drivers/usb/typec/ucsi/
A Ducsi.c933 if (!(ucsi->ntfy & UCSI_ENABLE_NTFY_CONNECTOR_CHANGE)) { in ucsi_connector_change()
1009 c = UCSI_SET_NOTIFICATION_ENABLE | con->ucsi->ntfy; in ucsi_role_cmd()
1344 ucsi->ntfy = UCSI_ENABLE_NTFY_CMD_COMPLETE | UCSI_ENABLE_NTFY_ERROR; in ucsi_init()
1345 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_init()
1377 ucsi->ntfy = UCSI_ENABLE_NTFY_ALL; in ucsi_init()
1378 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_init()
1421 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_resume_work()

Completed in 93 milliseconds

12