Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/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->p || ntfy->reply != (length + size))) in usif_notify()
[all …]
H A 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 …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_btc_fsm.c25 struct rtw_phl_btc_ntfy *ntfy; member
111 pbtc->ntfy = param; in btc_service_st_hdl()
112 prinfo = &pbtc->ntfy->u.rinfo; in btc_service_st_hdl()
122 if (pbtc->ntfy->ntfy_cb) in btc_service_st_hdl()
123 pbtc->ntfy->ntfy_cb(pbtc->ntfy->priv, in btc_service_st_hdl()
124 pbtc->ntfy->notify, in btc_service_st_hdl()
125 pbtc->ntfy); in btc_service_st_hdl()
142 pbtc->ntfy = param; in btc_service_st_hdl()
143 tmr = &pbtc->ntfy->u.tmr; in btc_service_st_hdl()
154 pbtc->ntfy = param; in btc_service_st_hdl()
[all …]
H A Dphl_cmd_btc.c488 struct rtw_phl_btc_ntfy *ntfy) in rtw_phl_btc_notify() argument
495 struct rtw_phl_btc_ntfy ntfy = {0}; in rtw_phl_btc_role_notify() local
496 struct rtw_phl_btc_role_info_param *prinfo = &ntfy.u.rinfo; in rtw_phl_btc_role_notify()
501 ntfy.notify = PHL_BTC_NTFY_ROLE_INFO; in rtw_phl_btc_role_notify()
502 ntfy.ops = NULL; in rtw_phl_btc_role_notify()
503 ntfy.priv = NULL; in rtw_phl_btc_role_notify()
504 ntfy.ntfy_cb = NULL; in rtw_phl_btc_role_notify()
506 rtw_phl_btc_notify(phl, ntfy.notify, &ntfy); in rtw_phl_btc_role_notify()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_btc_fsm.c25 struct rtw_phl_btc_ntfy *ntfy; member
111 pbtc->ntfy = param; in btc_service_st_hdl()
112 prinfo = &pbtc->ntfy->u.rinfo; in btc_service_st_hdl()
122 if (pbtc->ntfy->ntfy_cb) in btc_service_st_hdl()
123 pbtc->ntfy->ntfy_cb(pbtc->ntfy->priv, in btc_service_st_hdl()
124 pbtc->ntfy->notify, in btc_service_st_hdl()
125 pbtc->ntfy); in btc_service_st_hdl()
142 pbtc->ntfy = param; in btc_service_st_hdl()
143 tmr = &pbtc->ntfy->u.tmr; in btc_service_st_hdl()
154 pbtc->ntfy = param; in btc_service_st_hdl()
[all …]
H A Dphl_cmd_btc.c500 struct rtw_phl_btc_ntfy *ntfy) in rtw_phl_btc_notify() argument
507 struct rtw_phl_btc_ntfy ntfy = {0}; in rtw_phl_btc_role_notify() local
508 struct rtw_phl_btc_role_info_param *prinfo = &ntfy.u.rinfo; in rtw_phl_btc_role_notify()
513 ntfy.notify = PHL_BTC_NTFY_ROLE_INFO; in rtw_phl_btc_role_notify()
514 ntfy.ops = NULL; in rtw_phl_btc_role_notify()
515 ntfy.priv = NULL; in rtw_phl_btc_role_notify()
516 ntfy.ntfy_cb = NULL; in rtw_phl_btc_role_notify()
518 rtw_phl_btc_notify(phl, ntfy.notify, &ntfy); in rtw_phl_btc_role_notify()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_btc.c47 static int rtw_btc_info_dump_callback(void *priv, enum RTW_PHL_BTC_NOTIFY ntfy, struct rtw_phl_btc_… in rtw_btc_info_dump_callback() argument
63 struct rtw_phl_btc_ntfy ntfy = {0}; in rtw_btc_disp_btc_info() local
64 struct rtw_phl_btc_coex_info_param *pcinfo = &ntfy.u.cinfo; in rtw_btc_disp_btc_info()
70 ntfy.notify = PHL_BTC_NTFY_COEX_INFO; in rtw_btc_disp_btc_info()
71 ntfy.ops = &phl_btc_ops; in rtw_btc_disp_btc_info()
72 ntfy.priv = padapter; in rtw_btc_disp_btc_info()
73 ntfy.ntfy_cb = rtw_btc_info_dump_callback; in rtw_btc_disp_btc_info()
77 rtw_phl_btc_notify(dvobj->phl, ntfy.notify, &ntfy); in rtw_btc_disp_btc_info()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_btc.c47 static int rtw_btc_info_dump_callback(void *priv, enum RTW_PHL_BTC_NOTIFY ntfy, struct rtw_phl_btc_… in rtw_btc_info_dump_callback() argument
63 struct rtw_phl_btc_ntfy ntfy = {0}; in rtw_btc_disp_btc_info() local
64 struct rtw_phl_btc_coex_info_param *pcinfo = &ntfy.u.cinfo; in rtw_btc_disp_btc_info()
70 ntfy.notify = PHL_BTC_NTFY_COEX_INFO; in rtw_btc_disp_btc_info()
71 ntfy.ops = &phl_btc_ops; in rtw_btc_disp_btc_info()
72 ntfy.priv = padapter; in rtw_btc_disp_btc_info()
73 ntfy.ntfy_cb = rtw_btc_info_dump_callback; in rtw_btc_disp_btc_info()
77 rtw_phl_btc_notify(dvobj->phl, ntfy.notify, &ntfy); in rtw_btc_disp_btc_info()
/OK3568_Linux_fs/kernel/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.index; in nvif_notify_ctor()
/OK3568_Linux_fs/kernel/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()
187 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
60 if (ntfy) { in corec37d_update()
73 if (ntfy) { in corec37d_update()
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 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 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 Dcore507d.c34 core507d_update(struct nv50_core *core, u32 *interlock, bool ntfy) in core507d_update() argument
42 if (ntfy) { in core507d_update()
H A Datom.h185 } ntfy; member
255 bool ntfy:1; member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/
H A Ducsi.c189 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_resume()
852 if (!(ucsi->ntfy & UCSI_ENABLE_NTFY_CONNECTOR_CHANGE)) { in ucsi_connector_change()
930 c = UCSI_SET_NOTIFICATION_ENABLE | con->ucsi->ntfy; in ucsi_role_cmd()
1218 ucsi->ntfy = UCSI_ENABLE_NTFY_CMD_COMPLETE | UCSI_ENABLE_NTFY_ERROR; in ucsi_init()
1219 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_init()
1251 ucsi->ntfy = UCSI_ENABLE_NTFY_ALL; in ucsi_init()
1252 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dchan.c250 if (chan->func->ntfy) in nvkm_fifo_chan_ntfy()
251 return chan->func->ntfy(chan, type, pevent); in nvkm_fifo_chan_ntfy()
345 .ntfy = nvkm_fifo_chan_ntfy,
H A Dchan.h11 int (*ntfy)(struct nvkm_fifo_chan *, u32 type, struct nvkm_event **); member
H A Dgpfifotu102.c43 .ntfy = gf100_fifo_chan_ntfy,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/sw/
H A Dnvsw.c56 .ntfy = nvkm_nvsw_ntfy_,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Drootnv04.c74 .ntfy = nvkm_disp_ntfy,
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_target.c121 struct imm_ntfy_from_isp *ntfy,
546 struct imm_ntfy_from_isp *ntfy, int type) in qla24xx_post_nack_work() argument
556 memcpy(e->u.nack.iocb, ntfy, sizeof(struct imm_ntfy_from_isp)); in qla24xx_post_nack_work()
616 struct imm_ntfy_from_isp *ntfy, int type) in qla24xx_async_notify_ack() argument
649 sp->u.iocb_cmd.u.nack.ntfy = ntfy; in qla24xx_async_notify_ack()
1670 struct imm_ntfy_from_isp *ntfy, in qlt_send_notify_ack() argument
1699 nack->ox_id = ntfy->ox_id; in qlt_send_notify_ack()
1702 nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; in qlt_send_notify_ack()
1703 if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { in qlt_send_notify_ack()
1704 nack->u.isp24.flags = ntfy->u.isp24.flags & in qlt_send_notify_ack()
[all …]

123