Searched refs:cb_data (Results 1 - 25 of 72) sorted by path

123

/linux-master/drivers/staging/gdm724x/
H A 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);
H A Dgdm_tty.h38 void (*cb)(void *cb_data),
39 void *cb_data);
H A Dgdm_usb.h40 void (*callback)(void *cb_data);
41 void *cb_data; member in struct:usb_tx
50 void (*callback)(void *cb_data);
51 void *cb_data; member in struct:usb_tx_sdu
61 int (*callback)(void *cb_data, void *data, int len, int context);
62 void *cb_data; member in struct:usb_rx
94 int (*rx_cb)(void *cb_data, void *data, int len, int context);
/linux-master/drivers/base/
H A Dmemory.c1040 struct for_each_memory_block_cb_data *cb_data = data; local
1042 return cb_data->func(mem, cb_data->arg);
1059 struct for_each_memory_block_cb_data cb_data = { local
1064 return bus_for_each_dev(&memory_subsys, NULL, &cb_data,
/linux-master/drivers/firmware/arm_ffa/
H A Ddriver.c758 void *cb_data; member in struct:ffa_dev_part_info
766 void *cb_data; local
776 cb_data = partition->cb_data;
780 callback(vcpu, is_per_vcpu, cb_data);
947 void *cb_data; member in struct:notifier_cb_info
952 void *cb_data, bool is_registration)
975 partition->cb_data = cb_data;
982 ffa_sched_recv_cb cb, void *cb_data)
951 ffa_sched_recv_cb_update(u16 part_id, ffa_sched_recv_cb callback, void *cb_data, bool is_registration) argument
981 ffa_sched_recv_cb_register(struct ffa_device *dev, ffa_sched_recv_cb cb, void *cb_data) argument
1016 update_notifier_cb(int notify_id, enum notify_type type, ffa_notifier_cb cb, void *cb_data, bool is_registration) argument
1080 ffa_notify_request(struct ffa_device *dev, bool is_per_vcpu, ffa_notifier_cb cb, void *cb_data, int notify_id) argument
1167 ffa_self_notif_handle(u16 vcpu, bool is_per_vcpu, void *cb_data) argument
[all...]
/linux-master/drivers/firmware/
H A Dstratix10-svc.c199 * @cb_data: pointer to callback data structure to service client
206 struct stratix10_svc_cb_data *cb_data)
224 cb_data->status = BIT(SVC_STATUS_BUFFER_DONE);
225 cb_data->kaddr1 = svc_pa_to_va(res.a1);
226 cb_data->kaddr2 = (res.a2) ?
228 cb_data->kaddr3 = (res.a3) ?
231 cb_data);
245 * @cb_data: pointer to callback data structure to service client
252 struct stratix10_svc_cb_data *cb_data)
258 cb_data
204 svc_thread_cmd_data_claim(struct stratix10_svc_controller *ctrl, struct stratix10_svc_data *p_data, struct stratix10_svc_cb_data *cb_data) argument
250 svc_thread_cmd_config_status(struct stratix10_svc_controller *ctrl, struct stratix10_svc_data *p_data, struct stratix10_svc_cb_data *cb_data) argument
316 svc_thread_recv_status_ok(struct stratix10_svc_data *p_data, struct stratix10_svc_cb_data *cb_data, struct arm_smccc_res res) argument
[all...]
H A Dti_sci.c3256 struct ti_sci_info *info = data->cb_data;
/linux-master/drivers/gpu/drm/
H A Ddrm_bridge_connector.c127 static void drm_bridge_connector_hpd_cb(void *cb_data, argument
130 drm_bridge_connector_handle_hpd(cb_data, status);
/linux-master/drivers/media/pci/cx18/
H A Dcx18-gpio.c327 struct cx18_i2c_algo_callback_data *cb_data = algo->data; local
328 struct cx18 *cx = cb_data->cx;
/linux-master/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-cmdq.c698 cmd->user_cb_data = param->cb_data;
H A Dmtk-mdp3-cmdq.h23 void *cb_data; member in struct:mdp_cmdq_param
H A Dmtk-mdp3-m2m.c104 task.cb_data = NULL;
/linux-master/drivers/mfd/
H A Daxp20x.c1196 struct axp20x_dev *axp20x = data->cb_data;
H A Drk8xx-core.c511 struct rk808 *rk808 = data->cb_data;
549 struct rk808 *rk808 = data->cb_data;
H A Dstpmic1.c123 struct stpmic1 *ddata = data->cb_data;
H A Dtps65219.c37 tps65219_soft_shutdown(data->cb_data);
53 tps65219_restart(data->cb_data, data->mode);
/linux-master/drivers/mmc/core/
H A Dblock.c182 static int mmc_blk_busy_cb(void *cb_data, bool *busy);
644 struct mmc_blk_busy_data cb_data = { local
649 &mmc_blk_busy_cb, &cb_data);
651 idata->ic.response[0] = cb_data.status;
1986 static int mmc_blk_busy_cb(void *cb_data, bool *busy) argument
1988 struct mmc_blk_busy_data *data = cb_data;
2006 struct mmc_blk_busy_data cb_data; local
2019 cb_data.card = card;
2020 cb_data.status = 0;
2022 &mmc_blk_busy_cb, &cb_data);
[all...]
H A Dmmc.c1967 static int mmc_sleep_busy_cb(void *cb_data, bool *busy) argument
1969 struct mmc_host *host = cb_data;
H A Dmmc_ops.c184 static int __mmc_send_op_cond_cb(void *cb_data, bool *busy) argument
186 struct mmc_op_cond_busy_data *data = cb_data;
227 struct mmc_op_cond_busy_data cb_data = { local
239 &__mmc_send_op_cond_cb, &cb_data);
460 static int mmc_busy_cb(void *cb_data, bool *busy) argument
462 struct mmc_busy_data *data = cb_data;
504 int (*busy_cb)(void *cb_data, bool *busy),
505 void *cb_data)
521 err = (*busy_cb)(cb_data, &busy);
548 struct mmc_busy_data cb_data; local
502 __mmc_poll_for_busy(struct mmc_host *host, unsigned int period_us, unsigned int timeout_ms, int (*busy_cb)(void *cb_data, bool *busy), void *cb_data) argument
[all...]
H A Dmmc_ops.h45 int (*busy_cb)(void *cb_data, bool *busy),
46 void *cb_data);
H A Dsd.c1638 static int sd_busy_poweroff_notify_cb(void *cb_data, bool *busy) argument
1640 struct sd_busy_data *data = cb_data;
1663 struct sd_busy_data cb_data; local
1689 cb_data.card = card;
1690 cb_data.reg_buf = reg_buf;
1692 &sd_busy_poweroff_notify_cb, &cb_data);
H A Dsd_ops.c132 static int sd_app_op_cond_cb(void *cb_data, bool *busy) argument
134 struct sd_app_op_cond_busy_data *data = cb_data;
165 struct sd_app_op_cond_busy_data cb_data = { local
181 &cb_data);
/linux-master/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.c30 void *cb_data; /* user data provided to callback */ member in struct:fun_cmd_ctx
202 cmd_ctx->cb(fdev, entry, xchg(&cmd_ctx->cb_data, NULL));
364 fun_admin_callback_t cb, void *cb_data, bool wait_ok)
387 cmd_ctx->cb_data = cb_data;
415 void *cb_data)
420 return cmpxchg(&cmd_ctx->cb_data, cb_data, NULL) == cb_data;
437 static void fun_admin_cmd_sync_cb(struct fun_dev *fd, void *rsp, void *cb_data) argument
363 fun_submit_admin_cmd(struct fun_dev *fdev, struct fun_admin_req_common *cmd, fun_admin_callback_t cb, void *cb_data, bool wait_ok) argument
413 fun_abandon_admin_cmd(struct fun_dev *fd, const struct fun_admin_req_common *cmd, void *cb_data) argument
[all...]
H A Dfun_dev.h34 void *cb_data);
132 fun_admin_callback_t cb, void *cb_data, bool wait_ok);
H A Dfun_queue.c325 funq->cq_cb(funq, funq->cb_data, rsp, info);

Completed in 331 milliseconds

123