Home
last modified time | relevance | path

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

12

/drivers/scsi/qedf/
Dqedf_els.c11 void (*cb_func)(struct qedf_els_cb_arg *cb_arg), in qedf_initiate_els() argument
12 struct qedf_els_cb_arg *cb_arg, uint32_t timer_msec) in qedf_initiate_els()
66 "0x%p cb_arg = %p xid = %x\n", els_req, cb_arg, in qedf_initiate_els()
72 cb_arg->io_req = els_req; in qedf_initiate_els()
73 cb_arg->op = op; in qedf_initiate_els()
74 els_req->cb_arg = cb_arg; in qedf_initiate_els()
96 els_req->cb_arg = NULL; in qedf_initiate_els()
183 if ((els_req->cb_func) && (els_req->cb_arg)) { in qedf_process_els_compl()
184 els_req->cb_func(els_req->cb_arg); in qedf_process_els_compl()
185 els_req->cb_arg = NULL; in qedf_process_els_compl()
[all …]
Dqedf.h166 void (*cb_func)(struct qedf_els_cb_arg *cb_arg);
167 struct qedf_els_cb_arg *cb_arg; member
Dqedf_io.c86 if (io_req->cb_func && io_req->cb_arg) { in qedf_cmd_timeout()
87 io_req->cb_func(io_req->cb_arg); in qedf_cmd_timeout()
88 io_req->cb_arg = NULL; in qedf_cmd_timeout()
1580 if (els_req->cb_func && els_req->cb_arg) { in qedf_flush_els_req()
1581 els_req->cb_func(els_req->cb_arg); in qedf_flush_els_req()
1582 els_req->cb_arg = NULL; in qedf_flush_els_req()
/drivers/scsi/bnx2fc/
Dbnx2fc_els.c25 void (*cb_func)(struct bnx2fc_els_cb_arg *cb_arg),
26 struct bnx2fc_els_cb_arg *cb_arg, u32 timer_msec);
28 static void bnx2fc_rrq_compl(struct bnx2fc_els_cb_arg *cb_arg) in bnx2fc_rrq_compl() argument
34 BUG_ON(!cb_arg); in bnx2fc_rrq_compl()
35 rrq_req = cb_arg->io_req; in bnx2fc_rrq_compl()
36 orig_io_req = cb_arg->aborted_io_req; in bnx2fc_rrq_compl()
58 kfree(cb_arg); in bnx2fc_rrq_compl()
66 struct bnx2fc_els_cb_arg *cb_arg = NULL; in bnx2fc_send_rrq() local
83 cb_arg = kzalloc(sizeof(struct bnx2fc_els_cb_arg), GFP_NOIO); in bnx2fc_send_rrq()
84 if (!cb_arg) { in bnx2fc_send_rrq()
[all …]
Dbnx2fc_io.c144 if ((io_req->cb_func) && (io_req->cb_arg)) { in bnx2fc_cmd_timeout()
145 io_req->cb_func(io_req->cb_arg); in bnx2fc_cmd_timeout()
146 io_req->cb_arg = NULL; in bnx2fc_cmd_timeout()
939 struct bnx2fc_els_cb_arg *cb_arg = NULL; in bnx2fc_initiate_seq_cleanup() local
951 cb_arg = kzalloc(sizeof(struct bnx2fc_els_cb_arg), GFP_ATOMIC); in bnx2fc_initiate_seq_cleanup()
952 if (!cb_arg) { in bnx2fc_initiate_seq_cleanup()
962 kfree(cb_arg); in bnx2fc_initiate_seq_cleanup()
980 cb_arg->aborted_io_req = orig_io_req; in bnx2fc_initiate_seq_cleanup()
981 cb_arg->io_req = seq_clnp_req; in bnx2fc_initiate_seq_cleanup()
982 cb_arg->r_ctl = r_ctl; in bnx2fc_initiate_seq_cleanup()
[all …]
Dbnx2fc.h433 void (*cb_func)(struct bnx2fc_els_cb_arg *cb_arg);
434 struct bnx2fc_els_cb_arg *cb_arg; member
Dbnx2fc_tgt.c228 if ((io_req->cb_func) && (io_req->cb_arg)) { in bnx2fc_flush_active_ios()
229 io_req->cb_func(io_req->cb_arg); in bnx2fc_flush_active_ios()
230 io_req->cb_arg = NULL; in bnx2fc_flush_active_ios()
/drivers/nfc/
Dport100.c1158 const struct port100_cb_arg *cb_arg = arg; in port100_in_comm_rf_complete() local
1159 nfc_digital_cmd_complete_t cb = cb_arg->complete_cb; in port100_in_comm_rf_complete()
1201 cb(dev->nfc_digital_dev, cb_arg->complete_arg, resp); in port100_in_comm_rf_complete()
1203 kfree(cb_arg); in port100_in_comm_rf_complete()
1211 struct port100_cb_arg *cb_arg; in port100_in_send_cmd() local
1214 cb_arg = kzalloc(sizeof(struct port100_cb_arg), GFP_KERNEL); in port100_in_send_cmd()
1215 if (!cb_arg) in port100_in_send_cmd()
1218 cb_arg->complete_cb = cb; in port100_in_send_cmd()
1219 cb_arg->complete_arg = arg; in port100_in_send_cmd()
1226 port100_in_comm_rf_complete, cb_arg); in port100_in_send_cmd()
[all …]
/drivers/clk/tegra/
Dclk-tegra20-emc.c46 void *cb_arg; member
179 emc->cb_arg); in emc_determine_rate()
225 void *cb_arg) in tegra20_clk_set_emc_round_callback() argument
236 emc->cb_arg = cb_arg; in tegra20_clk_set_emc_round_callback()
/drivers/scsi/elx/efct/
Defct_hw.c3027 struct efct_hw_link_stat_cb_arg *cb_arg = arg; in efct_hw_cb_link_stat() local
3083 if (cb_arg) { in efct_hw_cb_link_stat()
3084 if (cb_arg->cb) { in efct_hw_cb_link_stat()
3087 cb_arg->cb(status, num_counters, counts, cb_arg->arg); in efct_hw_cb_link_stat()
3090 kfree(cb_arg); in efct_hw_cb_link_stat()
3105 struct efct_hw_link_stat_cb_arg *cb_arg; in efct_hw_get_link_stats() local
3108 cb_arg = kzalloc(sizeof(*cb_arg), GFP_ATOMIC); in efct_hw_get_link_stats()
3109 if (!cb_arg) in efct_hw_get_link_stats()
3112 cb_arg->cb = cb; in efct_hw_get_link_stats()
3113 cb_arg->arg = arg; in efct_hw_get_link_stats()
[all …]
/drivers/nfc/st95hf/
Dcore.c703 struct st95_digital_cmd_complete_arg *cb_arg; in st95hf_response_handler() local
705 cb_arg = &stcontext->complete_cb_arg; in st95hf_response_handler()
716 if (nfcddev->curr_protocol == NFC_PROTO_ISO14443 && cb_arg->rats && in st95hf_response_handler()
734 cb_arg->rats = false; in st95hf_response_handler()
776 struct st95_digital_cmd_complete_arg *cb_arg; in st95hf_irq_thread_handler() local
799 cb_arg = &stcontext->complete_cb_arg; in st95hf_irq_thread_handler()
800 skb_resp = cb_arg->skb_resp; in st95hf_irq_thread_handler()
848 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
859 cb_arg->rats = false; in st95hf_irq_thread_handler()
862 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c15 ionic_desc_cb cb_func, void *cb_arg) in ionic_txq_post() argument
19 ionic_q_post(q, ring_dbell, cb_func, cb_arg); in ionic_txq_post()
23 ionic_desc_cb cb_func, void *cb_arg) in ionic_rxq_post() argument
25 ionic_q_post(q, ring_dbell, cb_func, cb_arg); in ionic_rxq_post()
224 void *cb_arg) in ionic_rx_clean() argument
342 ionic_rx_clean(q, desc_info, cq_info, desc_info->cb_arg); in ionic_rx_service()
345 desc_info->cb_arg = NULL; in ionic_rx_service()
454 desc_info->cb_arg = NULL; in ionic_rx_empty()
691 void *cb_arg) in ionic_tx_clean() argument
696 struct sk_buff *skb = cb_arg; in ionic_tx_clean()
[all …]
Dionic_dev.c655 void *cb_arg) in ionic_q_post() argument
663 desc_info->cb_arg = cb_arg; in ionic_q_post()
692 void *cb_arg; in ionic_q_service() local
711 cb_arg = desc_info->cb_arg; in ionic_q_service()
714 desc_info->cb_arg = NULL; in ionic_q_service()
717 cb(q, desc_info, cq_info, cb_arg); in ionic_q_service()
Dionic_dev.h176 struct ionic_cq_info *cq_info, void *cb_arg);
209 void *cb_arg; member
357 void *cb_arg);
Dionic_main.c208 desc_info->cb_arg = NULL; in ionic_adminq_flush()
242 struct ionic_cq_info *cq_info, void *cb_arg) in ionic_adminq_cb() argument
244 struct ionic_admin_ctx *ctx = cb_arg; in ionic_adminq_cb()
/drivers/crypto/cavium/nitrox/
Dnitrox_reqmgr.c384 void *cb_arg) in nitrox_process_se_request() argument
401 sr->cb_arg = cb_arg; in nitrox_process_se_request()
543 void *cb_arg; in process_response_list() local
574 cb_arg = sr->cb_arg; in process_response_list()
577 callback(cb_arg, err); in process_response_list()
Dnitrox_common.h26 void *cb_arg);
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.h47 void (*recv_cb)(void *cb_arg, struct mlx5_fpga_dma_buf *buf);
48 void *cb_arg; member
Dsdk.h116 void (*recv_cb)(void *cb_arg, struct mlx5_fpga_dma_buf *buf);
118 void *cb_arg; member
Dtls.c379 static void mlx5_fpga_tls_hw_qp_recv_cb(void *cb_arg, in mlx5_fpga_tls_hw_qp_recv_cb() argument
382 struct mlx5_fpga_device *fdev = (struct mlx5_fpga_device *)cb_arg; in mlx5_fpga_tls_hw_qp_recv_cb()
473 init_attr.cb_arg = fdev; in mlx5_fpga_tls_init()
/drivers/scsi/bfa/
Dbfa_fcs_fcpim.c694 bfa_cb_itnim_offline(void *cb_arg) in bfa_cb_itnim_offline() argument
696 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_offline()
707 bfa_cb_itnim_tov_begin(void *cb_arg) in bfa_cb_itnim_tov_begin() argument
709 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_tov_begin()
718 bfa_cb_itnim_tov(void *cb_arg) in bfa_cb_itnim_tov() argument
720 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_tov()
735 bfa_cb_itnim_sler(void *cb_arg) in bfa_cb_itnim_sler() argument
737 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_sler()
/drivers/net/wireless/marvell/libertas/
Dcmd.h34 #define lbs_cmd(priv, cmdnr, cmd, cb, cb_arg) ({ \ argument
37 __lbs_cmd(priv, cmdnr, &(cmd)->hdr, __sz, cb, cb_arg); \
/drivers/net/wireless/marvell/libertas_tf/
Dlibertas_tf.h499 #define lbtf_cmd(priv, cmdnr, cmd, cb, cb_arg) ({ \ argument
502 __lbtf_cmd(priv, cmdnr, &(cmd)->hdr, __sz, cb, cb_arg); \
/drivers/android/
Dbinder_alloc.h124 spinlock_t *lock, void *cb_arg);
/drivers/firmware/
Darm_sdei.c199 void *cb_arg) in sdei_event_create() argument
240 reg->callback_arg = cb_arg; in sdei_event_create()
258 reg->callback_arg = cb_arg; in sdei_event_create()

12