Home
last modified time | relevance | path

Searched refs:cbdata (Results 1 – 7 of 7) sorted by relevance

/drivers/scsi/elx/libefc/
Defc_device.c506 struct efc_node_cb *cbdata = arg; in __efc_d_init() local
539 struct fc_frame_header *hdr = cbdata->header->dma.virt; in __efc_d_init()
542 efc_node_save_sparms(node, cbdata->payload->dma.virt); in __efc_d_init()
544 cbdata->header->dma.virt, in __efc_d_init()
568 struct fc_frame_header *hdr = cbdata->header->dma.virt; in __efc_d_init()
573 cbdata->payload->dma.virt, in __efc_d_init()
592 struct fc_frame_header *hdr = cbdata->header->dma.virt; in __efc_d_init()
617 struct fc_frame_header *hdr = cbdata->header->dma.virt; in __efc_d_init()
691 struct efc_node_cb *cbdata = arg; in __efc_d_wait_plogi_rsp() local
708 efc_node_save_sparms(node, cbdata->payload->dma.virt); in __efc_d_wait_plogi_rsp()
[all …]
Defc_fabric.c134 struct efc_node_cb *cbdata = arg; in __efc_fabric_flogi_wait_rsp() local
151 cbdata->els_rsp.virt, in __efc_fabric_flogi_wait_rsp()
155 if (!efc_rnode_is_nport(cbdata->els_rsp.virt)) { in __efc_fabric_flogi_wait_rsp()
162 cbdata->ext_status); in __efc_fabric_flogi_wait_rsp()
262 struct efc_node_cb *cbdata = arg; in __efc_fabric_fdisc_wait_rsp() local
280 efc_nport_attach(node->nport, cbdata->ext_status); in __efc_fabric_fdisc_wait_rsp()
435 struct efc_node_cb *cbdata = arg; in __efc_ns_plogi_wait_rsp() local
454 efc_node_save_sparms(node, cbdata->els_rsp.virt); in __efc_ns_plogi_wait_rsp()
790 struct efc_node_cb *cbdata = arg; in __efc_ns_gidpt_wait_rsp() local
810 efc_process_gidpt_payload(node, cbdata->els_rsp.virt, in __efc_ns_gidpt_wait_rsp()
[all …]
Defc_els.c162 struct efc_node_cb cbdata; in efc_els_req_cb() local
175 cbdata.status = status; in efc_els_req_cb()
176 cbdata.ext_status = ext_status; in efc_els_req_cb()
177 cbdata.header = NULL; in efc_els_req_cb()
178 cbdata.els_rsp = els->io.rsp; in efc_els_req_cb()
181 cbdata.rsp_len = length; in efc_els_req_cb()
191 efc_els_io_cleanup(els, EFC_EVT_SRRS_ELS_REQ_FAIL, &cbdata); in efc_els_req_cb()
198 efc_els_io_cleanup(els, EFC_EVT_SRRS_ELS_REQ_OK, &cbdata); in efc_els_req_cb()
217 &cbdata); in efc_els_req_cb()
231 &cbdata); in efc_els_req_cb()
[all …]
Defc_node.c650 struct efc_node_cb *cbdata = arg; in __efc_node_common() local
708 struct fc_frame_header *hdr = cbdata->header->dma.virt; in __efc_node_common()
717 ((u8 *)cbdata->payload->dma.virt)[0]); in __efc_node_common()
734 struct fc_frame_header *hdr = cbdata->header->dma.virt; in __efc_node_common()
751 efc_send_bls_acc(node, cbdata->header->dma.virt); in __efc_node_common()
945 struct efc_node_cb cbdata; in efc_node_recv_els_frame() local
950 memset(&cbdata, 0, sizeof(cbdata)); in efc_node_recv_els_frame()
951 cbdata.header = seq->header; in efc_node_recv_els_frame()
952 cbdata.payload = seq->payload; in efc_node_recv_els_frame()
962 efc_node_post_event(node, evt, &cbdata); in efc_node_recv_els_frame()
[all …]
Defc_els.h40 struct efc_node_cb *cbdata, void *arg);
/drivers/firmware/
Dstratix10-svc.c388 struct stratix10_svc_cb_data *cbdata; in svc_normal_to_secure_thread() local
397 cbdata = kmalloc(sizeof(*cbdata), GFP_KERNEL); in svc_normal_to_secure_thread()
398 if (!cbdata) { in svc_normal_to_secure_thread()
429 svc_thread_cmd_data_claim(ctrl, pdata, cbdata); in svc_normal_to_secure_thread()
559 cbdata->status = BIT(SVC_STATUS_ERROR); in svc_normal_to_secure_thread()
561 cbdata->status = BIT(SVC_STATUS_OK); in svc_normal_to_secure_thread()
563 cbdata->kaddr1 = &res; in svc_normal_to_secure_thread()
564 cbdata->kaddr2 = NULL; in svc_normal_to_secure_thread()
565 cbdata->kaddr3 = NULL; in svc_normal_to_secure_thread()
566 pdata->chan->scl->receive_cb(pdata->chan->scl, cbdata); in svc_normal_to_secure_thread()
[all …]
/drivers/block/
Dfloppy.c4123 struct rb0_cbdata *cbdata = (struct rb0_cbdata *)bio->bi_private; in floppy_rb0_cb() local
4124 int drive = cbdata->drive; in floppy_rb0_cb()
4131 complete(&cbdata->complete); in floppy_rb0_cb()
4139 struct rb0_cbdata cbdata; in __floppy_read_block_0() local
4147 cbdata.drive = drive; in __floppy_read_block_0()
4154 bio.bi_private = &cbdata; in __floppy_read_block_0()
4157 init_completion(&cbdata.complete); in __floppy_read_block_0()
4162 wait_for_completion(&cbdata.complete); in __floppy_read_block_0()