Home
last modified time | relevance | path

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

12

/openbmc/linux/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()
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 write_lock_irq(&ntfy->event->list_lock); in nvkm_event_ntfy_remove()
[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()
155 uevent->ntfy.event = NULL; in nvkm_uevent_new()
H A Dobject.c113 if (likely(object->func->ntfy)) in nvkm_object_ntfy()
114 return object->func->ntfy(object, mthd, pevent); in nvkm_object_ntfy()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A 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 …]
H A Dnouveau_abi16.h26 struct nouveau_bo *ntfy; member
H A Dnouveau_bo0039.c107 PUSH_MTHD(push, NV039, SET_CONTEXT_DMA_NOTIFIES, chan->drm->ntfy.handle); in nv04_bo_move_init()
H A Dnouveau_bo5039.c147 PUSH_MTHD(push, NV5039, SET_CONTEXT_DMA_NOTIFY, chan->drm->ntfy.handle, in nv50_bo_move_init()
/openbmc/linux/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()
190 wndw->ntfy ^= 0x10; 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 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 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 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 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 Datom.h185 } ntfy; member
255 bool ntfy:1; member
H A Dcrcc57d.c40 PUSH_MTHD(push, NVC57D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle); in crcc57d_set_src()
H A Dcore.h23 int (*update)(struct nv50_core *, u32 *interlock, bool ntfy);
H A Dcrc.h43 struct nvif_object ntfy; member
H A Dwndw.h31 u16 ntfy; member
/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi.c964 if (!(ucsi->ntfy & UCSI_ENABLE_NTFY_CONNECTOR_CHANGE)) { in ucsi_connector_change()
1074 c = UCSI_SET_NOTIFICATION_ENABLE | con->ucsi->ntfy; in ucsi_role_cmd()
1401 u64 command, ntfy; in ucsi_init() local
1414 ntfy = UCSI_ENABLE_NTFY_CMD_COMPLETE | UCSI_ENABLE_NTFY_ERROR; in ucsi_init()
1415 command = UCSI_SET_NOTIFICATION_ENABLE | ntfy; in ucsi_init()
1447 ntfy = UCSI_ENABLE_NTFY_ALL; in ucsi_init()
1448 command = UCSI_SET_NOTIFICATION_ENABLE | ntfy; in ucsi_init()
1454 ucsi->ntfy = ntfy; in ucsi_init()
1499 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_resume_work()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
H 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()
/openbmc/linux/drivers/scsi/qla2xxx/
H 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
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()
1704 struct imm_ntfy_from_isp *ntfy, in qlt_send_notify_ack() argument
1733 nack->ox_id = ntfy->ox_id; in qlt_send_notify_ack()
1736 nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; in qlt_send_notify_ack()
1737 if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { in qlt_send_notify_ack()
[all …]
H A Dqla_iocb.c3744 struct imm_ntfy_from_isp *ntfy = sp->u.iocb_cmd.u.nack.ntfy; in qla2x00_send_notify_ack_iocb() local
3748 nack->ox_id = ntfy->ox_id; in qla2x00_send_notify_ack_iocb()
3751 nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; in qla2x00_send_notify_ack_iocb()
3752 if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { in qla2x00_send_notify_ack_iocb()
3753 nack->u.isp24.flags = ntfy->u.isp24.flags & in qla2x00_send_notify_ack_iocb()
3756 nack->u.isp24.srr_rx_id = ntfy->u.isp24.srr_rx_id; in qla2x00_send_notify_ack_iocb()
3757 nack->u.isp24.status = ntfy->u.isp24.status; in qla2x00_send_notify_ack_iocb()
3758 nack->u.isp24.status_subcode = ntfy->u.isp24.status_subcode; in qla2x00_send_notify_ack_iocb()
3759 nack->u.isp24.fw_handle = ntfy->u.isp24.fw_handle; in qla2x00_send_notify_ack_iocb()
3760 nack->u.isp24.exchange_address = ntfy->u.isp24.exchange_address; in qla2x00_send_notify_ack_iocb()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Devent.h20 struct list_head ntfy; member
H A Dobject.h34 int (*ntfy)(struct nvkm_object *, u32 mthd, struct nvkm_event **); member

12