Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.6.21/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.6.21/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()
123 cb_data->eve_cb = cb_fun; in xlnx_add_cb_for_notify_event()
124 cb_data->agent_data = data; in xlnx_add_cb_for_notify_event()
127 list_add(&cb_data->list, &eve_data->cb_list_head); in xlnx_add_cb_for_notify_event()
141 cb_data = kmalloc(sizeof(*cb_data), GFP_KERNEL); in xlnx_add_cb_for_notify_event()
142 if (!cb_data) in xlnx_add_cb_for_notify_event()
144 cb_data->eve_cb = cb_fun; in xlnx_add_cb_for_notify_event()
145 cb_data->agent_data = data; in xlnx_add_cb_for_notify_event()
[all …]
/linux-6.6.21/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.6.21/kernel/
Dreboot.c54 void *cb_data; member
324 data.cb_data = handler->cb_data; in sys_off_notify()
344 if (handler->cb_data) in alloc_sys_off_handler()
393 void *cb_data) in register_sys_off_handler() argument
429 handler->cb_data = cb_data; in register_sys_off_handler()
507 void *cb_data) in devm_register_sys_off_handler() argument
511 handler = register_sys_off_handler(mode, priority, callback, cb_data); in devm_register_sys_off_handler()
533 void *cb_data) in devm_register_power_off_handler() argument
538 callback, cb_data); in devm_register_power_off_handler()
555 void *cb_data) in devm_register_restart_handler() argument
[all …]
/linux-6.6.21/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.6.21/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.h45 int (*busy_cb)(void *cb_data, bool *busy),
46 void *cb_data);
/linux-6.6.21/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.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.6.21/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.6.21/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.6.21/drivers/ntb/
Dntb_transport.c111 void *cb_data; member
134 void *cb_data; member
953 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_cleanup()
1154 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_work()
1447 void *cb_data; in ntb_complete_rxc() local
1462 cb_data = entry->cb_data; in ntb_complete_rxc()
1470 qp->rx_handler(qp, qp->cb_data, cb_data, len); in ntb_complete_rxc()
1781 qp->tx_handler(qp, qp->cb_data, entry->cb_data, in ntb_tx_copy_callback()
1911 qp->tx_handler(qp, qp->cb_data, NULL, -EIO); in ntb_process_tx()
1949 entry->cb_data = NULL; in ntb_send_link_down()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Ddebug.c25 u32 cb_data; member
230 u32 hw_key_idx = debugfs_priv->cb_data << RTW_SEC_CAM_ENTRY_SHIFT; in rtw_debugfs_get_dump_cam()
234 seq_printf(m, "cam entry%d\n", debugfs_priv->cb_data); in rtw_debugfs_get_dump_cam()
336 debugfs_priv->cb_data = input; in rtw_debugfs_set_single_input()
510 u32 page = debugfs_priv->cb_data; in rtw_debug_get_mac_page()
514 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page()
529 u32 page = debugfs_priv->cb_data; in rtw_debug_get_bb_page()
533 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page()
1108 .cb_data = addr, \
1131 .cb_data = addr, \
/linux-6.6.21/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-cmdq.h23 void *cb_data; member
/linux-6.6.21/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.6.21/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.6.21/drivers/base/
Dmemory.c1019 struct for_each_memory_block_cb_data *cb_data = data; in for_each_memory_block_cb() local
1021 return cb_data->func(mem, cb_data->arg); in for_each_memory_block_cb()
1038 struct for_each_memory_block_cb_data cb_data = { in for_each_memory_block() local
1043 return bus_for_each_dev(&memory_subsys, NULL, &cb_data, in for_each_memory_block()

123