| /linux/drivers/soc/xilinx/ |
| H A D | xlnx_event_manager.c | 110 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/drivers/firmware/ |
| H A D | stratix10-svc.c | 341 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_data_claim() argument 359 cb_data->status = BIT(SVC_STATUS_BUFFER_DONE); in svc_thread_cmd_data_claim() 360 cb_data->kaddr1 = svc_pa_to_va(res.a1); in svc_thread_cmd_data_claim() 361 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_data_claim() 363 cb_data->kaddr3 = (res.a3) ? in svc_thread_cmd_data_claim() 366 cb_data); in svc_thread_cmd_data_claim() 387 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_config_status() argument 393 cb_data->kaddr1 = NULL; in svc_thread_cmd_config_status() 394 cb_data->kaddr2 = NULL; in svc_thread_cmd_config_status() 395 cb_data->kaddr3 = NULL; in svc_thread_cmd_config_status() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | debug.c | 50 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/include/linux/raspberrypi/ |
| H A D | vchiq.h | 59 void *cb_data, void __user *cb_userdata); 67 void *cb_data; member 77 void *cb_data, void __user *cb_userdata);
|
| /linux/drivers/net/ethernet/fungible/funcore/ |
| H A D | fun_dev.c | 30 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()
|
| H A D | fun_dev.h | 34 void *cb_data); 132 fun_admin_callback_t cb, void *cb_data, bool wait_ok);
|
| /linux/drivers/firmware/arm_ffa/ |
| H A D | driver.c | 954 void *cb_data; member 965 void *cb_data; in __do_sched_recv_cb() local 976 cb_data = partition->cb_data; in __do_sched_recv_cb() 980 callback(vcpu, is_per_vcpu, cb_data); in __do_sched_recv_cb() 1156 void *cb_data; member 1161 void *cb_data, bool is_registration) in ffa_sched_recv_cb_update() argument 1194 partition->cb_data = cb_data; in ffa_sched_recv_cb_update() 1201 ffa_sched_recv_cb cb, void *cb_data) in ffa_sched_recv_cb_register() argument 1203 return ffa_sched_recv_cb_update(dev, cb, cb_data, true); in ffa_sched_recv_cb_register() 1337 void *cb, void *cb_data, in __ffa_notify_request() argument [all …]
|
| /linux/include/linux/ |
| H A D | arm_ffa.h | 488 typedef void (*ffa_sched_recv_cb)(u16 vcpu, bool is_per_vcpu, void *cb_data); 489 typedef void (*ffa_notifier_cb)(int notify_id, void *cb_data); 490 typedef void (*ffa_fwk_notifier_cb)(int notify_id, void *cb_data, void *buf); 494 ffa_sched_recv_cb cb, void *cb_data); 497 ffa_notifier_cb cb, void *cb_data, int notify_id); 500 ffa_fwk_notifier_cb cb, void *cb_data,
|
| /linux/drivers/platform/raspberrypi/vchiq-interface/ |
| H A D | vchiq_arm.c | 523 bulk_params.cb_data = userdata; in vchiq_bulk_transmit() 558 bulk_params.cb_data = userdata; in vchiq_bulk_receive() 654 void *cb_data, void __user *cb_userdata) in add_completion() argument 684 completion->cb_data = cb_data; in add_completion() 717 void *cb_data, void __user *cb_userdata) in service_single_message() argument 735 cb_data, cb_userdata); in service_single_message() 754 void *cb_data, void __user *cb_userdata) in service_callback() argument 795 reason, header, instance, cb_data, cb_userdata); in service_callback() 808 cb_data, cb_userdata); in service_callback() 846 cb_data, cb_userdata); in service_callback() [all …]
|
| /linux/drivers/mmc/core/ |
| H A D | sd_ops.c | 142 static int sd_app_op_cond_cb(void *cb_data, bool *busy) in sd_app_op_cond_cb() argument 144 struct sd_app_op_cond_busy_data *data = cb_data; in sd_app_op_cond_cb() 175 struct sd_app_op_cond_busy_data cb_data = { in mmc_send_app_op_cond() local 191 &cb_data); in mmc_send_app_op_cond()
|
| H A D | mmc_ops.h | 46 int (*busy_cb)(void *cb_data, bool *busy), 47 void *cb_data);
|
| /linux/drivers/power/reset/ |
| H A D | macsmc-reboot.c | 89 struct macsmc_reboot *reboot = data->cb_data; in macsmc_prepare_atomic() 99 struct macsmc_reboot *reboot = data->cb_data; in macsmc_power_off() 115 struct macsmc_reboot *reboot = data->cb_data; in macsmc_restart()
|
| H A D | tdx-ec-poweroff.c | 73 struct regmap *regmap = data->cb_data; in tdx_ec_power_off() 83 struct regmap *regmap = data->cb_data; in tdx_ec_restart()
|
| H A D | atc260x-poweroff.c | 166 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()
|
| H A D | regulator-poweroff.c | 23 struct regulator *cpu_regulator = data->cb_data; in regulator_poweroff_do_poweroff()
|
| H A D | tps65086-restart.c | 14 struct tps65086 *tps65086 = data->cb_data; in tps65086_restart_notify()
|
| H A D | rmobile-reset.c | 24 void __iomem *sysc_base2 = (void __iomem *)data->cb_data; in rmobile_reset_handler()
|
| H A D | axxia-reset.c | 31 struct regmap *syscon = data->cb_data; in axxia_restart_handler()
|
| H A D | xgene-reboot.c | 31 struct xgene_reboot_context *ctx = data->cb_data; in xgene_restart_handler()
|
| H A D | mt6323-poweroff.c | 27 struct mt6323_pwrc *pwrc = data->cb_data; in mt6323_do_pwroff()
|
| H A D | syscon-poweroff.c | 28 struct syscon_poweroff_data *data = off_data->cb_data; in syscon_poweroff()
|
| /linux/drivers/ntb/ |
| H A D | ntb_transport.c | 112 void *cb_data; member 135 void *cb_data; member 972 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_cleanup() 1176 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_work() 1469 void *cb_data; in ntb_complete_rxc() local 1484 cb_data = entry->cb_data; in ntb_complete_rxc() 1492 qp->rx_handler(qp, qp->cb_data, cb_data, len); in ntb_complete_rxc() 1803 qp->tx_handler(qp, qp->cb_data, entry->cb_data, in ntb_tx_copy_callback() 1933 qp->tx_handler(qp, qp->cb_data, NULL, -EIO); in ntb_process_tx() 1971 entry->cb_data = NULL; in ntb_send_link_down() [all …]
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | debug.c | 25 u32 cb_data; member 286 u32 hw_key_idx = debugfs_priv->cb_data << RTW_SEC_CAM_ENTRY_SHIFT; in rtw_debugfs_get_dump_cam() 290 seq_printf(m, "cam entry%d\n", debugfs_priv->cb_data); in rtw_debugfs_get_dump_cam() 382 debugfs_priv->cb_data = input; in rtw_debugfs_set_single_input() 549 u32 page = debugfs_priv->cb_data; in rtw_debug_get_mac_page() 553 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page() 568 u32 page = debugfs_priv->cb_data; in rtw_debug_get_bb_page() 572 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page() 1157 .cb_data = addr, \ 1163 .cb_data = addr, \
|
| /linux/drivers/platform/cznic/ |
| H A D | turris-omnia-mcu-sys-off-wakeup.c | 111 struct omnia_mcu *mcu = data->cb_data; in omnia_power_off() 144 struct omnia_mcu *mcu = data->cb_data; in omnia_restart()
|
| /linux/drivers/base/ |
| H A D | memory.c | 1038 struct for_each_memory_block_cb_data *cb_data = data; in for_each_memory_block_cb() local 1040 return cb_data->func(mem, cb_data->arg); in for_each_memory_block_cb() 1057 struct for_each_memory_block_cb_data cb_data = { in for_each_memory_block() local 1062 return bus_for_each_dev(&memory_subsys, NULL, &cb_data, in for_each_memory_block()
|