Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/firmware/
Dstratix10-svc.c199 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_data_claim() argument
217 cb_data->status = BIT(SVC_STATUS_BUFFER_DONE); in svc_thread_cmd_data_claim()
218 cb_data->kaddr1 = svc_pa_to_va(res.a1); in svc_thread_cmd_data_claim()
219 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_data_claim()
221 cb_data->kaddr3 = (res.a3) ? in svc_thread_cmd_data_claim()
224 cb_data); in svc_thread_cmd_data_claim()
245 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_config_status() argument
250 cb_data->kaddr1 = NULL; in svc_thread_cmd_config_status()
251 cb_data->kaddr2 = NULL; in svc_thread_cmd_config_status()
252 cb_data->kaddr3 = NULL; in svc_thread_cmd_config_status()
[all …]
/linux-5.19.10/include/linux/
Dreboot.h127 void *cb_data; member
135 void *cb_data);
142 void *cb_data);
146 void *cb_data);
150 void *cb_data);
/linux-5.19.10/kernel/
Dreboot.c54 void *cb_data; member
311 data.cb_data = handler->cb_data; in sys_off_notify()
331 if (handler->cb_data) in alloc_sys_off_handler()
380 void *cb_data) in register_sys_off_handler() argument
411 handler->cb_data = cb_data; in register_sys_off_handler()
489 void *cb_data) in devm_register_sys_off_handler() argument
493 handler = register_sys_off_handler(mode, priority, callback, cb_data); in devm_register_sys_off_handler()
515 void *cb_data) in devm_register_power_off_handler() argument
520 callback, cb_data); in devm_register_power_off_handler()
537 void *cb_data) in devm_register_restart_handler() argument
[all …]
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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()
155 struct inet_diag_dump_data *cb_data; in mptcp_diag_dump() local
161 cb_data = cb->data; in mptcp_diag_dump()
162 bc = cb_data->inet_diag_nla_bc; in mptcp_diag_dump()
/linux-5.19.10/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-5.19.10/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-5.19.10/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()
329 debugfs_priv->cb_data = input; in rtw_debugfs_set_single_input()
485 u32 page = debugfs_priv->cb_data; in rtw_debug_get_mac_page()
489 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page()
504 u32 page = debugfs_priv->cb_data; in rtw_debug_get_bb_page()
508 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page()
1067 .cb_data = addr, \
1090 .cb_data = addr, \
/linux-5.19.10/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-5.19.10/include/linux/firmware/intel/
Dstratix10-svc-client.h171 struct stratix10_svc_cb_data *cb_data);
/linux-5.19.10/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-5.19.10/drivers/base/
Dmemory.c985 struct for_each_memory_block_cb_data *cb_data = data; in for_each_memory_block_cb() local
987 return cb_data->func(mem, cb_data->arg); in for_each_memory_block_cb()
1004 struct for_each_memory_block_cb_data cb_data = { in for_each_memory_block() local
1009 return bus_for_each_dev(&memory_subsys, NULL, &cb_data, in for_each_memory_block()

12