Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/firmware/
Dstratix10-svc.c205 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_data_claim() argument
223 cb_data->status = BIT(SVC_STATUS_BUFFER_DONE); in svc_thread_cmd_data_claim()
224 cb_data->kaddr1 = svc_pa_to_va(res.a1); in svc_thread_cmd_data_claim()
225 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_data_claim()
227 cb_data->kaddr3 = (res.a3) ? in svc_thread_cmd_data_claim()
230 cb_data); in svc_thread_cmd_data_claim()
251 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_config_status() argument
257 cb_data->kaddr1 = NULL; in svc_thread_cmd_config_status()
258 cb_data->kaddr2 = NULL; in svc_thread_cmd_config_status()
259 cb_data->kaddr3 = NULL; in svc_thread_cmd_config_status()
[all …]
/linux-6.1.9/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.1.9/drivers/soc/xilinx/
Dxlnx_event_manager.c95 struct agent_cb *cb_data; in xlnx_add_cb_for_notify_event() local
118 cb_data = kmalloc(sizeof(*cb_data), GFP_KERNEL); in xlnx_add_cb_for_notify_event()
119 if (!cb_data) in xlnx_add_cb_for_notify_event()
121 cb_data->eve_cb = cb_fun; in xlnx_add_cb_for_notify_event()
122 cb_data->agent_data = data; in xlnx_add_cb_for_notify_event()
125 list_add(&cb_data->list, &eve_data->cb_list_head); in xlnx_add_cb_for_notify_event()
139 cb_data = kmalloc(sizeof(*cb_data), GFP_KERNEL); in xlnx_add_cb_for_notify_event()
140 if (!cb_data) in xlnx_add_cb_for_notify_event()
142 cb_data->eve_cb = cb_fun; in xlnx_add_cb_for_notify_event()
143 cb_data->agent_data = data; in xlnx_add_cb_for_notify_event()
[all …]
/linux-6.1.9/include/linux/
Dreboot.h135 void *cb_data; member
143 void *cb_data);
150 void *cb_data);
154 void *cb_data);
158 void *cb_data);
/linux-6.1.9/kernel/
Dreboot.c54 void *cb_data; member
323 data.cb_data = handler->cb_data; in sys_off_notify()
343 if (handler->cb_data) in alloc_sys_off_handler()
392 void *cb_data) in register_sys_off_handler() argument
428 handler->cb_data = cb_data; in register_sys_off_handler()
506 void *cb_data) in devm_register_sys_off_handler() argument
510 handler = register_sys_off_handler(mode, priority, callback, cb_data); in devm_register_sys_off_handler()
532 void *cb_data) in devm_register_power_off_handler() argument
537 callback, cb_data); in devm_register_power_off_handler()
554 void *cb_data) in devm_register_restart_handler() argument
[all …]
/linux-6.1.9/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.1.9/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 …]
Dmmc_ops.h46 int (*busy_cb)(void *cb_data, bool *busy),
47 void *cb_data);
/linux-6.1.9/net/ipv4/
Dinet_diag.c241 struct inet_diag_dump_data *cb_data; in inet_sk_diag_fill() local
248 cb_data = cb->data; in inet_sk_diag_fill()
249 handler = inet_diag_table[inet_diag_get_protocol(req, cb_data)]; in inet_sk_diag_fill()
366 if (cb_data->bpf_stg_diag) { in inet_sk_diag_fill()
374 err = bpf_sk_storage_diag_put(cb_data->bpf_stg_diag, sk, skb, in inet_sk_diag_fill()
1014 struct inet_diag_dump_data *cb_data = cb->data; in inet_diag_dump_icsk() local
1021 bc = cb_data->inet_diag_nla_bc; in inet_diag_dump_icsk()
1168 struct inet_diag_dump_data *cb_data = cb->data; in __inet_diag_dump() local
1173 protocol = inet_diag_get_protocol(r, cb_data); in __inet_diag_dump()
1204 struct inet_diag_dump_data *cb_data; in __inet_diag_dump_start() local
[all …]
Draw_diag.c144 struct inet_diag_dump_data *cb_data; in raw_diag_dump() local
154 cb_data = cb->data; in raw_diag_dump()
155 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.1.9/net/mptcp/
Dmptcp_diag.c80 struct inet_diag_dump_data *cb_data = cb->data; in mptcp_diag_dump_listeners() local
82 struct nlattr *bc = cb_data->inet_diag_nla_bc; in mptcp_diag_dump_listeners()
158 struct inet_diag_dump_data *cb_data; in mptcp_diag_dump() local
164 cb_data = cb->data; in mptcp_diag_dump()
165 bc = cb_data->inet_diag_nla_bc; in mptcp_diag_dump()
/linux-6.1.9/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.c31 void *cb_data; /* user data provided to callback */ member
203 cmd_ctx->cb(fdev, entry, xchg(&cmd_ctx->cb_data, NULL)); in fun_complete_admin_cmd()
365 fun_admin_callback_t cb, void *cb_data, bool wait_ok) in fun_submit_admin_cmd() argument
388 cmd_ctx->cb_data = cb_data; in fun_submit_admin_cmd()
416 void *cb_data) in fun_abandon_admin_cmd() argument
421 return cmpxchg(&cmd_ctx->cb_data, cb_data, NULL) == cb_data; in fun_abandon_admin_cmd()
438 static void fun_admin_cmd_sync_cb(struct fun_dev *fd, void *rsp, void *cb_data) in fun_admin_cmd_sync_cb() argument
441 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.1.9/drivers/ntb/
Dntb_transport.c111 void *cb_data; member
134 void *cb_data; member
946 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_cleanup()
1147 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_work()
1440 void *cb_data; in ntb_complete_rxc() local
1455 cb_data = entry->cb_data; in ntb_complete_rxc()
1463 qp->rx_handler(qp, qp->cb_data, cb_data, len); in ntb_complete_rxc()
1774 qp->tx_handler(qp, qp->cb_data, entry->cb_data, in ntb_tx_copy_callback()
1904 qp->tx_handler(qp, qp->cb_data, NULL, -EIO); in ntb_process_tx()
1942 entry->cb_data = NULL; in ntb_send_link_down()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Ddebug.c25 u32 cb_data; member
225 u32 hw_key_idx = debugfs_priv->cb_data << RTW_SEC_CAM_ENTRY_SHIFT; in rtw_debugfs_get_dump_cam()
229 seq_printf(m, "cam entry%d\n", debugfs_priv->cb_data); in rtw_debugfs_get_dump_cam()
325 debugfs_priv->cb_data = input; in rtw_debugfs_set_single_input()
481 u32 page = debugfs_priv->cb_data; in rtw_debug_get_mac_page()
485 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page()
500 u32 page = debugfs_priv->cb_data; in rtw_debug_get_bb_page()
504 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page()
1066 .cb_data = addr, \
1089 .cb_data = addr, \
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-cmdq.h23 void *cb_data; member
/linux-6.1.9/drivers/video/fbdev/omap/
Dlcd_dma.c56 void *cb_data; member
298 lcd_dma.callback(w, lcd_dma.cb_data); in lcd_dma_irq_handler()
316 lcd_dma.cb_data = data; in omap_request_lcd_dma()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_bridge_connector.c110 static void drm_bridge_connector_hpd_cb(void *cb_data, in drm_bridge_connector_hpd_cb() argument
113 struct drm_bridge_connector *drm_bridge_connector = cb_data; in drm_bridge_connector_hpd_cb()
/linux-6.1.9/drivers/base/
Dmemory.c979 struct for_each_memory_block_cb_data *cb_data = data; in for_each_memory_block_cb() local
981 return cb_data->func(mem, cb_data->arg); in for_each_memory_block_cb()
998 struct for_each_memory_block_cb_data cb_data = { in for_each_memory_block() local
1003 return bus_for_each_dev(&memory_subsys, NULL, &cb_data, in for_each_memory_block()

12