Home
last modified time | relevance | path

Searched refs:ctx_buf (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_nvmet.c1557 ctx_buf = kzalloc(sizeof(*ctx_buf), GFP_KERNEL); in lpfc_nvmet_setup_io_context()
1558 if (!ctx_buf) { in lpfc_nvmet_setup_io_context()
1564 ctx_buf->context = kzalloc(sizeof(*ctx_buf->context), in lpfc_nvmet_setup_io_context()
1567 kfree(ctx_buf); in lpfc_nvmet_setup_io_context()
1573 ctx_buf->context->ctxbuf = ctx_buf; in lpfc_nvmet_setup_io_context()
1579 kfree(ctx_buf); in lpfc_nvmet_setup_io_context()
1593 ctx_buf->sglq = __lpfc_sli_get_nvmet_sglq(phba, ctx_buf->iocbq); in lpfc_nvmet_setup_io_context()
1598 kfree(ctx_buf); in lpfc_nvmet_setup_io_context()
2338 return ctx_buf; in lpfc_nvmet_replenish_context()
2385 ctx_buf = NULL; in lpfc_nvmet_unsol_fcp_buffer()
[all …]
H A Dlpfc_mbox.c81 mbox->ctx_buf = mp; in lpfc_mbox_rsrc_prep()
106 mbox->ctx_buf = NULL; in lpfc_mbox_rsrc_cleanup()
165 mp = pmb->ctx_buf; in lpfc_dump_static_vport()
210 ctx = pmb->ctx_buf; in lpfc_dump_mem()
222 pmb->ctx_buf = ctx; in lpfc_dump_mem()
243 ctx = pmb->ctx_buf; in lpfc_dump_wakeup_param()
257 pmb->ctx_buf = ctx; in lpfc_dump_wakeup_param()
689 mp = pmb->ctx_buf; in lpfc_read_sparam()
843 mp = pmb->ctx_buf; in lpfc_reg_rpi()
2356 mp = mbox->ctx_buf; in lpfc_sli4_dump_cfg_rg23()
[all …]
H A Dlpfc_mem.c295 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
305 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
319 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
H A Dlpfc_sli.h186 void *ctx_buf; /* caller buffer information */ member
H A Dlpfc_hbadisc.c3439 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_mbx_cmpl_read_sparam()
3757 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)(pmb->ctx_buf); in lpfc_mbx_cmpl_read_topology()
3874 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_mbx_cmpl_reg_login()
3881 pmb->ctx_buf = NULL; in lpfc_mbx_cmpl_reg_login()
3917 pmb->ctx_buf = mp; in lpfc_mbx_cmpl_reg_login()
4090 if (pmb->ctx_buf) { in lpfc_create_static_vport()
4091 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_create_static_vport()
4094 pmb->ctx_buf = NULL; in lpfc_create_static_vport()
4114 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_create_static_vport()
H A Dlpfc_bsg.c2516 dmabuff = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfcdiag_loop_self_reg()
2517 mbox->ctx_buf = NULL; in lpfcdiag_loop_self_reg()
3556 dd_data = pmboxq->ctx_buf; in lpfc_bsg_issue_mbox_ext_handle_job()
3943 pmboxq->ctx_buf = dd_data; in lpfc_bsg_sli_cfg_read_cmd_ext()
4115 pmboxq->ctx_buf = dd_data; in lpfc_bsg_sli_cfg_write_cmd_ext()
4463 pmboxq->ctx_buf = dd_data; in lpfc_bsg_write_ebuf_set()
4750 pmboxq->ctx_buf = ext; in lpfc_bsg_issue_mbox()
H A Dlpfc_vport.c169 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_vport_sparm()
H A Dlpfc_els.c467 dmabuf = mboxq->ctx_buf; in lpfc_issue_reg_vfi()
476 mboxq->ctx_buf = dmabuf; in lpfc_issue_reg_vfi()
7284 mp = mbox->ctx_buf; in lpfc_get_sfp_info_wait()
7303 mbox->ctx_buf = virt; in lpfc_get_sfp_info_wait()
7320 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_get_sfp_info_wait()
7337 mbox->ctx_buf = mp; in lpfc_get_sfp_info_wait()
7363 mbox->ctx_buf = virt; in lpfc_get_sfp_info_wait()
7383 mbox->ctx_buf = mpsave; in lpfc_get_sfp_info_wait()
7516 pmb->ctx_buf = NULL; in lpfc_els_lcb_rsp()
8659 pmb->ctx_buf = NULL; in lpfc_els_rsp_rls_acc()
[all …]
H A Dlpfc_sli.c2890 pmb->ctx_buf = NULL; in lpfc_sli_def_mbox_cmpl()
8779 mboxq->ctx_buf = NULL; in lpfc_sli4_hba_setup()
9690 pmbox->ctx_buf, in lpfc_sli_issue_mbox_s3()
9700 pmbox->ctx_buf, in lpfc_sli_issue_mbox_s3()
13812 pmb->ctx_buf) in lpfc_sli_sp_intr_handler()
13815 pmb->ctx_buf, in lpfc_sli_sp_intr_handler()
13830 (pmb->ctx_buf); in lpfc_sli_sp_intr_handler()
13845 pmb->ctx_buf = mp; in lpfc_sli_sp_intr_handler()
14353 pmb->ctx_buf = mp; in lpfc_sli4_sp_handle_mbox_event()
16149 mbox->ctx_buf = NULL; in lpfc_eq_create()
[all …]
H A Dlpfc_attr.c2162 pmboxq->ctx_buf = NULL; in lpfc_get_hba_info()
6651 pmboxq->ctx_buf = NULL; in lpfc_get_stats()
6704 pmboxq->ctx_buf = NULL; in lpfc_get_stats()
6791 pmboxq->ctx_buf = NULL; in lpfc_reset_stats()
6813 pmboxq->ctx_buf = NULL; in lpfc_reset_stats()
H A Dlpfc_init.c462 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_config_port_post()
471 pmb->ctx_buf = NULL; in lpfc_config_port_post()
2218 lpfc_read_topology(phba, pmb, (struct lpfc_dmabuf *)pmb->ctx_buf); in lpfc_handle_latt()
5450 lpfc_read_topology(phba, pmb, (struct lpfc_dmabuf *)pmb->ctx_buf); in lpfc_sli4_async_link_evt()
6343 lpfc_read_topology(phba, pmb, (struct lpfc_dmabuf *)pmb->ctx_buf); in lpfc_sli4_async_fc_evt()
H A Dlpfc_nportdisc.c685 elsiocb = (struct lpfc_iocbq *)mboxq->ctx_buf; in lpfc_mbx_cmpl_resume_rpi()
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_cmd_v6.c42 mfc_write(dev, dev->ctx_buf.dma, S5P_FIMV_CONTEXT_MEM_ADDR_V6); in s5p_mfc_sys_init_cmd_v6()
H A Ds5p_mfc_common.h339 struct s5p_mfc_priv_buf ctx_buf; member
H A Ds5p_mfc_opr_v6.c401 dev->ctx_buf.size = buf_size->dev_ctx; in s5p_mfc_alloc_dev_context_buffer_v6()
402 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->ctx_buf); in s5p_mfc_alloc_dev_context_buffer_v6()
408 memset(dev->ctx_buf.virt, 0, buf_size->dev_ctx); in s5p_mfc_alloc_dev_context_buffer_v6()
419 s5p_mfc_release_priv_buf(dev, &dev->ctx_buf); in s5p_mfc_release_dev_context_buffer_v6()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_lib.c2400 u8 *ctx_buf; in cudbg_collect_dump_context() local
2426 ctx_buf = kvzalloc(max_ctx_size, GFP_KERNEL); in cudbg_collect_dump_context()
2427 if (!ctx_buf) { in cudbg_collect_dump_context()
2457 (__be32 *)ctx_buf, 1); in cudbg_collect_dump_context()
2471 src_off = (u64 *)(ctx_buf + j * SGE_CTXT_SIZE); in cudbg_collect_dump_context()
2490 kvfree(ctx_buf); in cudbg_collect_dump_context()
/openbmc/linux/drivers/crypto/
H A Dtalitos.c1996 u8 *ctx_buf = req_ctx->buf[req_ctx->buf_idx]; in ahash_process_req() local
2006 ctx_buf + req_ctx->nbuf, nbytes); in ahash_process_req()
2030 sg_set_buf(req_ctx->bufsl, ctx_buf, req_ctx->nbuf); in ahash_process_req()
2047 ctx_buf + req_ctx->nbuf, offset); in ahash_process_req()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c1472 u8 ctx_buf[ICE_RXQ_CTX_SZ] = { 0 }; in ice_write_rxq_ctx() local
1479 ice_set_ctx(hw, (u8 *)rlan_ctx, ctx_buf, ice_rlan_ctx_info); in ice_write_rxq_ctx()
1480 return ice_copy_rxq_ctx_to_hw(hw, ctx_buf, rxq_index); in ice_write_rxq_ctx()