Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_nvmet.c70 static void lpfc_nvmet_process_rcv_fcp_req(struct lpfc_nvmet_ctxbuf *ctx_buf);
386 lpfc_nvmet_ctxbuf_post(struct lpfc_hba *phba, struct lpfc_nvmet_ctxbuf *ctx_buf) in lpfc_nvmet_ctxbuf_post() argument
389 struct lpfc_async_xchg_ctx *ctxp = ctx_buf->context; in lpfc_nvmet_ctxbuf_post()
441 ctxp = (struct lpfc_async_xchg_ctx *)ctx_buf->context; in lpfc_nvmet_ctxbuf_post()
451 ctxp->ctxbuf = ctx_buf; in lpfc_nvmet_ctxbuf_post()
476 if (!queue_work(phba->wq, &ctx_buf->defer_work)) { in lpfc_nvmet_ctxbuf_post()
506 list_add_tail(&ctx_buf->list, &infop->nvmet_ctx_list); in lpfc_nvmet_ctxbuf_post()
1433 struct lpfc_nvmet_ctxbuf *ctx_buf, *next_ctx_buf; in __lpfc_nvmet_clean_io_for_cpu() local
1437 list_for_each_entry_safe(ctx_buf, next_ctx_buf, in __lpfc_nvmet_clean_io_for_cpu()
1440 list_del_init(&ctx_buf->list); in __lpfc_nvmet_clean_io_for_cpu()
[all …]
Dlpfc_mbox.c81 mbox->ctx_buf = mp; in lpfc_mbox_rsrc_prep()
105 mp = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfc_mbox_rsrc_cleanup()
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()
375 pmb->ctx_buf = (uint8_t *)mp; in lpfc_read_topology()
689 mp = pmb->ctx_buf; in lpfc_read_sparam()
[all …]
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()
Dlpfc_sli.h186 void *ctx_buf; /* caller buffer information */ member
Dlpfc_hbadisc.c3414 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_mbx_cmpl_read_sparam()
3732 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)(pmb->ctx_buf); in lpfc_mbx_cmpl_read_topology()
3849 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_mbx_cmpl_reg_login()
3856 pmb->ctx_buf = NULL; in lpfc_mbx_cmpl_reg_login()
3892 pmb->ctx_buf = mp; in lpfc_mbx_cmpl_reg_login()
4065 if (pmb->ctx_buf) { in lpfc_create_static_vport()
4066 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_create_static_vport()
4069 pmb->ctx_buf = NULL; in lpfc_create_static_vport()
4089 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_create_static_vport()
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()
Dlpfc_vport.c169 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_vport_sparm()
Dlpfc_sli.c2872 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_sli_def_mbox_cmpl()
2874 pmb->ctx_buf = NULL; in lpfc_sli_def_mbox_cmpl()
5834 mp = (struct lpfc_dmabuf *)mboxq->ctx_buf; in lpfc_sli4_read_fcoe_params()
8778 mp = (struct lpfc_dmabuf *)mboxq->ctx_buf; in lpfc_sli4_hba_setup()
8791 mboxq->ctx_buf = NULL; in lpfc_sli4_hba_setup()
9577 if (pmbox->in_ext_byte_len && pmbox->ctx_buf) { in lpfc_sli_issue_mbox_s3()
9578 lpfc_sli_pcimem_bcopy(pmbox->ctx_buf, in lpfc_sli_issue_mbox_s3()
9591 if (pmbox->in_ext_byte_len && pmbox->ctx_buf) in lpfc_sli_issue_mbox_s3()
9594 pmbox->ctx_buf, pmbox->in_ext_byte_len); in lpfc_sli_issue_mbox_s3()
9717 if (pmbox->out_ext_byte_len && pmbox->ctx_buf) { in lpfc_sli_issue_mbox_s3()
[all …]
Dlpfc_attr.c2047 pmboxq->ctx_buf = NULL; in lpfc_get_hba_info()
6510 pmboxq->ctx_buf = NULL; in lpfc_get_stats()
6563 pmboxq->ctx_buf = NULL; in lpfc_get_stats()
6650 pmboxq->ctx_buf = NULL; in lpfc_reset_stats()
6672 pmboxq->ctx_buf = NULL; in lpfc_reset_stats()
Dlpfc_els.c467 dmabuf = mboxq->ctx_buf; in lpfc_issue_reg_vfi()
476 mboxq->ctx_buf = dmabuf; in lpfc_issue_reg_vfi()
7316 pmb->ctx_buf = NULL; in lpfc_els_lcb_rsp()
8457 rxid = (uint16_t)((unsigned long)(pmb->ctx_buf) & 0xffff); in lpfc_els_rsp_rls_acc()
8458 oxid = (uint16_t)(((unsigned long)(pmb->ctx_buf) >> 16) & 0xffff); in lpfc_els_rsp_rls_acc()
8459 pmb->ctx_buf = NULL; in lpfc_els_rsp_rls_acc()
8563 mbox->ctx_buf = (void *)((unsigned long) in lpfc_els_rcv_rls()
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()
2216 lpfc_read_topology(phba, pmb, (struct lpfc_dmabuf *)pmb->ctx_buf); in lpfc_handle_latt()
5433 lpfc_read_topology(phba, pmb, (struct lpfc_dmabuf *)pmb->ctx_buf); in lpfc_sli4_async_link_evt()
6356 lpfc_read_topology(phba, pmb, (struct lpfc_dmabuf *)pmb->ctx_buf); in lpfc_sli4_async_fc_evt()
Dlpfc_nportdisc.c685 elsiocb = (struct lpfc_iocbq *)mboxq->ctx_buf; in lpfc_mbx_cmpl_resume_rpi()
/linux-6.1.9/drivers/media/platform/samsung/s5p-mfc/
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()
Ds5p_mfc_common.h339 struct s5p_mfc_priv_buf ctx_buf; member
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()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
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()
/linux-6.1.9/drivers/crypto/
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()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_common.c1448 u8 ctx_buf[ICE_RXQ_CTX_SZ] = { 0 }; in ice_write_rxq_ctx() local
1455 ice_set_ctx(hw, (u8 *)rlan_ctx, ctx_buf, ice_rlan_ctx_info); in ice_write_rxq_ctx()
1456 return ice_copy_rxq_ctx_to_hw(hw, ctx_buf, rxq_index); in ice_write_rxq_ctx()