Home
last modified time | relevance | path

Searched refs:cb_data (Results 1 – 25 of 77) sorted by relevance

1234

/linux-6.12.1/drivers/firmware/
Dstratix10-svc.c206 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_data_claim() argument
224 cb_data->status = BIT(SVC_STATUS_BUFFER_DONE); in svc_thread_cmd_data_claim()
225 cb_data->kaddr1 = svc_pa_to_va(res.a1); in svc_thread_cmd_data_claim()
226 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_data_claim()
228 cb_data->kaddr3 = (res.a3) ? in svc_thread_cmd_data_claim()
231 cb_data); in svc_thread_cmd_data_claim()
252 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_config_status() argument
258 cb_data->kaddr1 = NULL; in svc_thread_cmd_config_status()
259 cb_data->kaddr2 = NULL; in svc_thread_cmd_config_status()
260 cb_data->kaddr3 = NULL; in svc_thread_cmd_config_status()
[all …]
/linux-6.12.1/drivers/staging/gdm724x/
Dgdm_usb.h40 void (*callback)(void *cb_data);
41 void *cb_data; member
50 void (*callback)(void *cb_data);
51 void *cb_data; member
61 int (*callback)(void *cb_data, void *data, int len, int context);
62 void *cb_data; member
94 int (*rx_cb)(void *cb_data, void *data, int len, int context);
Dgdm_lte.h40 void (*cb)(void *cb_data), void *cb_data);
43 void (*cb)(void *cb_data), void *cb_data,
46 int (*cb)(void *cb_data, void *data, int len,
48 void *cb_data, int context);
Dgdm_usb.c52 int (*cb)(void *cb_data,
54 void *cb_data,
404 phy_dev = r->cb_data; in do_rx()
411 if (set_mac_address(hci->data, r->cb_data) == 0) { in do_rx()
412 r->callback(r->cb_data, in do_rx()
421 ret = r->callback(r->cb_data, in do_rx()
436 r->cb_data, in do_rx()
484 int (*cb)(void *cb_data, in gdm_usb_recv() argument
486 void *cb_data, in gdm_usb_recv()
510 r->cb_data = cb_data; in gdm_usb_recv()
[all …]
Dgdm_tty.h38 void (*cb)(void *cb_data),
39 void *cb_data);
Dgdm_mux.h39 void (*callback)(void *cb_data);
40 void *cb_data; member
/linux-6.12.1/drivers/soc/xilinx/
Dxlnx_event_manager.c110 struct agent_cb *cb_data; in xlnx_add_cb_for_notify_event() local
133 cb_data = kmalloc(sizeof(*cb_data), GFP_KERNEL); in xlnx_add_cb_for_notify_event()
134 if (!cb_data) { in xlnx_add_cb_for_notify_event()
138 cb_data->eve_cb = cb_fun; in xlnx_add_cb_for_notify_event()
139 cb_data->agent_data = data; in xlnx_add_cb_for_notify_event()
142 list_add(&cb_data->list, &eve_data->cb_list_head); in xlnx_add_cb_for_notify_event()
156 cb_data = kmalloc(sizeof(*cb_data), GFP_KERNEL); in xlnx_add_cb_for_notify_event()
157 if (!cb_data) in xlnx_add_cb_for_notify_event()
159 cb_data->eve_cb = cb_fun; in xlnx_add_cb_for_notify_event()
160 cb_data->agent_data = data; in xlnx_add_cb_for_notify_event()
[all …]
/linux-6.12.1/include/linux/
Dreboot.h137 void *cb_data; member
146 void *cb_data);
153 void *cb_data);
157 void *cb_data);
161 void *cb_data);
Darm_ffa.h453 typedef void (*ffa_sched_recv_cb)(u16 vcpu, bool is_per_vcpu, void *cb_data);
454 typedef void (*ffa_notifier_cb)(int notify_id, void *cb_data);
458 ffa_sched_recv_cb cb, void *cb_data);
461 ffa_notifier_cb cb, void *cb_data, int notify_id);
/linux-6.12.1/kernel/
Dreboot.c54 void *cb_data; member
336 data.cb_data = handler->cb_data; in sys_off_notify()
357 if (handler->cb_data) in alloc_sys_off_handler()
406 void *cb_data) in register_sys_off_handler() argument
442 handler->cb_data = cb_data; in register_sys_off_handler()
520 void *cb_data) in devm_register_sys_off_handler() argument
524 handler = register_sys_off_handler(mode, priority, callback, cb_data); in devm_register_sys_off_handler()
547 void *cb_data) in devm_register_power_off_handler() argument
552 callback, cb_data); in devm_register_power_off_handler()
569 void *cb_data) in devm_register_restart_handler() argument
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Ddebug.c50 u32 cb_data; member
78 u32 page = debugfs_priv->cb_data; in rtl_debug_get_mac_page()
95 .cb_data = addr, \
120 u32 page = debugfs_priv->cb_data; in rtl_debug_get_bb_page()
137 .cb_data = addr, \
162 enum radio_path rfpath = debugfs_priv->cb_data; in rtl_debug_get_reg_rf()
184 .cb_data = addr, \
194 int start = debugfs_priv->cb_data; in rtl_debug_get_cam_register()
239 .cb_data = addr, \
262 .cb_data = 0,
/linux-6.12.1/drivers/mmc/core/
Dmmc_ops.c184 static int __mmc_send_op_cond_cb(void *cb_data, bool *busy) in __mmc_send_op_cond_cb() argument
186 struct mmc_op_cond_busy_data *data = cb_data; in __mmc_send_op_cond_cb()
227 struct mmc_op_cond_busy_data cb_data = { in mmc_send_op_cond() local
239 &__mmc_send_op_cond_cb, &cb_data); in mmc_send_op_cond()
460 static int mmc_busy_cb(void *cb_data, bool *busy) in mmc_busy_cb() argument
462 struct mmc_busy_data *data = cb_data; in mmc_busy_cb()
504 int (*busy_cb)(void *cb_data, bool *busy), in __mmc_poll_for_busy() argument
505 void *cb_data) in __mmc_poll_for_busy()
521 err = (*busy_cb)(cb_data, &busy); in __mmc_poll_for_busy()
548 struct mmc_busy_data cb_data; in mmc_poll_for_busy() local
[all …]
Dsd_ops.c132 static int sd_app_op_cond_cb(void *cb_data, bool *busy) in sd_app_op_cond_cb() argument
134 struct sd_app_op_cond_busy_data *data = cb_data; in sd_app_op_cond_cb()
165 struct sd_app_op_cond_busy_data cb_data = { in mmc_send_app_op_cond() local
181 &cb_data); in mmc_send_app_op_cond()
Dmmc_ops.h45 int (*busy_cb)(void *cb_data, bool *busy),
46 void *cb_data);
/linux-6.12.1/net/ipv4/
Dinet_diag.c244 struct inet_diag_dump_data *cb_data; in inet_sk_diag_fill() local
252 cb_data = cb->data; in inet_sk_diag_fill()
253 protocol = inet_diag_get_protocol(req, cb_data); in inet_sk_diag_fill()
375 if (cb_data->bpf_stg_diag) { in inet_sk_diag_fill()
383 err = bpf_sk_storage_diag_put(cb_data->bpf_stg_diag, sk, skb, in inet_sk_diag_fill()
1024 struct inet_diag_dump_data *cb_data = cb->data; in inet_diag_dump_icsk() local
1031 bc = cb_data->inet_diag_nla_bc; in inet_diag_dump_icsk()
1270 struct inet_diag_dump_data *cb_data = cb->data; in __inet_diag_dump() local
1275 protocol = inet_diag_get_protocol(r, cb_data); in __inet_diag_dump()
1306 struct inet_diag_dump_data *cb_data; in __inet_diag_dump_start() local
[all …]
Draw_diag.c143 struct inet_diag_dump_data *cb_data; in raw_diag_dump() local
152 cb_data = cb->data; in raw_diag_dump()
153 bc = cb_data->inet_diag_nla_bc; in raw_diag_dump()
Dudp_diag.c95 struct inet_diag_dump_data *cb_data; in udp_dump() local
99 cb_data = cb->data; in udp_dump()
100 bc = cb_data->inet_diag_nla_bc; in udp_dump()
/linux-6.12.1/net/mptcp/
Dmptcp_diag.c79 struct inet_diag_dump_data *cb_data = cb->data; in mptcp_diag_dump_listeners() local
81 struct nlattr *bc = cb_data->inet_diag_nla_bc; in mptcp_diag_dump_listeners()
157 struct inet_diag_dump_data *cb_data; in mptcp_diag_dump() local
163 cb_data = cb->data; in mptcp_diag_dump()
164 bc = cb_data->inet_diag_nla_bc; in mptcp_diag_dump()
/linux-6.12.1/drivers/net/ethernet/fungible/funcore/
Dfun_queue.h77 void *cb_data; member
159 void *cb_data) in fun_set_cq_callback() argument
162 funq->cb_data = cb_data; in fun_set_cq_callback()
Dfun_dev.c30 void *cb_data; /* user data provided to callback */ member
202 cmd_ctx->cb(fdev, entry, xchg(&cmd_ctx->cb_data, NULL)); in fun_complete_admin_cmd()
364 fun_admin_callback_t cb, void *cb_data, bool wait_ok) in fun_submit_admin_cmd() argument
387 cmd_ctx->cb_data = cb_data; in fun_submit_admin_cmd()
415 void *cb_data) in fun_abandon_admin_cmd() argument
420 return cmpxchg(&cmd_ctx->cb_data, cb_data, NULL) == cb_data; in fun_abandon_admin_cmd()
437 static void fun_admin_cmd_sync_cb(struct fun_dev *fd, void *rsp, void *cb_data) in fun_admin_cmd_sync_cb() argument
440 struct fun_sync_cmd_ctx *ctx = cb_data; in fun_admin_cmd_sync_cb()
Dfun_dev.h34 void *cb_data);
132 fun_admin_callback_t cb, void *cb_data, bool wait_ok);
/linux-6.12.1/drivers/firmware/arm_ffa/
Ddriver.c864 void *cb_data; member
872 void *cb_data; in __do_sched_recv_cb() local
882 cb_data = partition->cb_data; in __do_sched_recv_cb()
886 callback(vcpu, is_per_vcpu, cb_data); in __do_sched_recv_cb()
1067 void *cb_data; member
1072 void *cb_data, bool is_registration) in ffa_sched_recv_cb_update() argument
1095 partition->cb_data = cb_data; in ffa_sched_recv_cb_update()
1102 ffa_sched_recv_cb cb, void *cb_data) in ffa_sched_recv_cb_register() argument
1104 return ffa_sched_recv_cb_update(dev->vm_id, cb, cb_data, true); in ffa_sched_recv_cb_register()
1137 void *cb_data, bool is_registration) in update_notifier_cb() argument
[all …]
/linux-6.12.1/drivers/ntb/
Dntb_transport.c111 void *cb_data; member
134 void *cb_data; member
968 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_cleanup()
1169 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_work()
1462 void *cb_data; in ntb_complete_rxc() local
1477 cb_data = entry->cb_data; in ntb_complete_rxc()
1485 qp->rx_handler(qp, qp->cb_data, cb_data, len); in ntb_complete_rxc()
1796 qp->tx_handler(qp, qp->cb_data, entry->cb_data, in ntb_tx_copy_callback()
1926 qp->tx_handler(qp, qp->cb_data, NULL, -EIO); in ntb_process_tx()
1964 entry->cb_data = NULL; in ntb_send_link_down()
[all …]
/linux-6.12.1/drivers/power/reset/
Datc260x-poweroff.c166 struct atc260x_pwrc *pwrc = data->cb_data; in atc260x_pwrc_pm_handler()
177 struct atc260x_pwrc *pwrc = data->cb_data; in atc260x_pwrc_restart_handler()
/linux-6.12.1/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-cmdq.h23 void *cb_data; member

1234