/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_nvmet.c | 1557 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 D | lpfc_mbox.c | 81 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 D | lpfc_mem.c | 295 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 D | lpfc_sli.h | 186 void *ctx_buf; /* caller buffer information */ member
|
H A D | lpfc_hbadisc.c | 3439 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 D | lpfc_bsg.c | 2516 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 D | lpfc_vport.c | 169 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_vport_sparm()
|
H A D | lpfc_els.c | 467 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 D | lpfc_sli.c | 2890 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 D | lpfc_attr.c | 2162 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 D | lpfc_init.c | 462 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 D | lpfc_nportdisc.c | 685 elsiocb = (struct lpfc_iocbq *)mboxq->ctx_buf; in lpfc_mbx_cmpl_resume_rpi()
|
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_cmd_v6.c | 42 mfc_write(dev, dev->ctx_buf.dma, S5P_FIMV_CONTEXT_MEM_ADDR_V6); in s5p_mfc_sys_init_cmd_v6()
|
H A D | s5p_mfc_common.h | 339 struct s5p_mfc_priv_buf ctx_buf; member
|
H A D | s5p_mfc_opr_v6.c | 401 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 D | cudbg_lib.c | 2400 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 D | talitos.c | 1996 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 D | ice_common.c | 1472 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()
|