Home
last modified time | relevance | path

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

12

/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 …]
/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 …]
/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
Dgdm_mux.c337 t->callback(t->cb_data); in gdm_mux_send_complete()
343 void (*cb)(void *data), void *cb_data) in gdm_mux_send() argument
383 t->cb_data = cb_data; in gdm_mux_send()
/drivers/mmc/core/
Dmmc_ops.c185 static int __mmc_send_op_cond_cb(void *cb_data, bool *busy) in __mmc_send_op_cond_cb() argument
187 struct mmc_op_cond_busy_data *data = cb_data; in __mmc_send_op_cond_cb()
228 struct mmc_op_cond_busy_data cb_data = { in mmc_send_op_cond() local
240 &__mmc_send_op_cond_cb, &cb_data); in mmc_send_op_cond()
461 static int mmc_busy_cb(void *cb_data, bool *busy) in mmc_busy_cb() argument
463 struct mmc_busy_data *data = cb_data; in mmc_busy_cb()
505 int (*busy_cb)(void *cb_data, bool *busy), in __mmc_poll_for_busy() argument
506 void *cb_data) in __mmc_poll_for_busy()
522 err = (*busy_cb)(cb_data, &busy); in __mmc_poll_for_busy()
549 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);
Dblock.c187 static int mmc_blk_busy_cb(void *cb_data, bool *busy);
662 struct mmc_blk_busy_data cb_data = { in __mmc_blk_ioctl_cmd() local
667 &mmc_blk_busy_cb, &cb_data); in __mmc_blk_ioctl_cmd()
669 idata->ic.response[0] = cb_data.status; in __mmc_blk_ioctl_cmd()
2011 static int mmc_blk_busy_cb(void *cb_data, bool *busy) in mmc_blk_busy_cb() argument
2013 struct mmc_blk_busy_data *data = cb_data; in mmc_blk_busy_cb()
2031 struct mmc_blk_busy_data cb_data; in mmc_blk_card_busy() local
2044 cb_data.card = card; in mmc_blk_card_busy()
2045 cb_data.status = 0; in mmc_blk_card_busy()
2047 &mmc_blk_busy_cb, &cb_data); in mmc_blk_card_busy()
[all …]
Dsd.c1628 static int sd_busy_poweroff_notify_cb(void *cb_data, bool *busy) in sd_busy_poweroff_notify_cb() argument
1630 struct sd_busy_data *data = cb_data; in sd_busy_poweroff_notify_cb()
1653 struct sd_busy_data cb_data; in sd_poweroff_notify() local
1679 cb_data.card = card; in sd_poweroff_notify()
1680 cb_data.reg_buf = reg_buf; in sd_poweroff_notify()
1682 &sd_busy_poweroff_notify_cb, &cb_data); in sd_poweroff_notify()
/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,
/drivers/net/ethernet/fungible/funcore/
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_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.h34 void *cb_data);
132 fun_admin_callback_t cb, void *cb_data, bool wait_ok);
/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 …]
/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, \
/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()
/drivers/base/
Dmemory.c991 struct for_each_memory_block_cb_data *cb_data = data; in for_each_memory_block_cb() local
993 return cb_data->func(mem, cb_data->arg); in for_each_memory_block_cb()
1010 struct for_each_memory_block_cb_data cb_data = { in for_each_memory_block() local
1015 return bus_for_each_dev(&memory_subsys, NULL, &cb_data, in for_each_memory_block()
/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()
/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-cmdq.h23 void *cb_data; member
/drivers/media/pci/cx18/
Dcx18-gpio.c327 struct cx18_i2c_algo_callback_data *cb_data = algo->data; in cx18_reset_tuner_gpio() local
328 struct cx18 *cx = cb_data->cx; in cx18_reset_tuner_gpio()
/drivers/s390/cio/
Dcss.c62 struct cb_data { struct
72 struct cb_data *cb = data; in call_fn_known_sch() argument
84 struct cb_data *cb = data; in call_fn_unknown_sch()
94 struct cb_data *cb = data; in call_fn_all_sch()
115 struct cb_data cb; in for_each_subchannel_staged()
/drivers/parisc/
Dpower.c204 gsc_writel(0, (unsigned long) data->cb_data); in qemu_power_off()

12