Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_nvmet.c78 static void lpfc_nvmet_process_rcv_fcp_req(struct lpfc_nvmet_ctxbuf *ctx_buf);
369 lpfc_nvmet_ctxbuf_post(struct lpfc_hba *phba, struct lpfc_nvmet_ctxbuf *ctx_buf) in lpfc_nvmet_ctxbuf_post() argument
372 struct lpfc_nvmet_rcv_ctx *ctxp = ctx_buf->context; in lpfc_nvmet_ctxbuf_post()
431 ctxp = (struct lpfc_nvmet_rcv_ctx *)ctx_buf->context; in lpfc_nvmet_ctxbuf_post()
442 ctxp->ctxbuf = ctx_buf; in lpfc_nvmet_ctxbuf_post()
467 if (!queue_work(phba->wq, &ctx_buf->defer_work)) { in lpfc_nvmet_ctxbuf_post()
497 list_add_tail(&ctx_buf->list, &infop->nvmet_ctx_list); in lpfc_nvmet_ctxbuf_post()
1242 struct lpfc_nvmet_ctxbuf *ctx_buf, *next_ctx_buf; in __lpfc_nvmet_clean_io_for_cpu() local
1246 list_for_each_entry_safe(ctx_buf, next_ctx_buf, in __lpfc_nvmet_clean_io_for_cpu()
1249 list_del_init(&ctx_buf->list); in __lpfc_nvmet_clean_io_for_cpu()
[all …]
Dlpfc_mbox.c97 pmb->ctx_buf = (uint8_t *)mp; in lpfc_dump_static_vport()
142 ctx = pmb->ctx_buf; in lpfc_dump_mem()
154 pmb->ctx_buf = ctx; in lpfc_dump_mem()
175 ctx = pmb->ctx_buf; in lpfc_dump_wakeup_param()
189 pmb->ctx_buf = ctx; in lpfc_dump_wakeup_param()
307 pmb->ctx_buf = (uint8_t *)mp; in lpfc_read_topology()
634 pmb->ctx_buf = mp; in lpfc_read_sparam()
786 pmb->ctx_buf = (uint8_t *)mp; in lpfc_reg_rpi()
2291 mbox->ctx_buf = (uint8_t *)mp; in lpfc_sli4_dump_cfg_rg23()
2326 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfc_mbx_cmpl_rdp_page_a2()
[all …]
Dlpfc_mem.c299 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
309 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
323 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
Dlpfc_hbadisc.c2966 struct lpfc_dmabuf *dmabuf = mboxq->ctx_buf; in lpfc_mbx_cmpl_reg_vfi()
3059 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_mbx_cmpl_read_sparam()
3103 pmb->ctx_buf = NULL; in lpfc_mbx_cmpl_read_sparam()
3243 mp = (struct lpfc_dmabuf *)sparam_mbox->ctx_buf; in lpfc_mbx_process_link_up()
3372 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)(pmb->ctx_buf); in lpfc_mbx_cmpl_read_topology()
3530 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)(pmb->ctx_buf); in lpfc_mbx_cmpl_reg_login()
3534 pmb->ctx_buf = NULL; in lpfc_mbx_cmpl_reg_login()
3743 if (pmb->ctx_buf) { in lpfc_create_static_vport()
3744 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_create_static_vport()
3766 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_create_static_vport()
[all …]
Dlpfc_sli.h154 void *ctx_buf; /* caller buffer information */ member
Dlpfc_vport.c141 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_vport_sparm()
142 pmb->ctx_buf = NULL; in lpfc_vport_sparm()
Dlpfc_els.c435 mp = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfc_issue_fabric_reglogin()
509 mboxq->ctx_buf = dmabuf; in lpfc_issue_reg_vfi()
4233 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)(pmb->ctx_buf); in lpfc_mbx_cmpl_dflt_rpi()
4236 pmb->ctx_buf = NULL; in lpfc_mbx_cmpl_dflt_rpi()
4313 mp = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfc_cmpl_els_rsp()
4358 mp = mbox->ctx_buf; in lpfc_cmpl_els_rsp()
4425 mp = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfc_cmpl_els_rsp()
5969 pmb->ctx_buf = NULL; in lpfc_els_lcb_rsp()
7057 rxid = (uint16_t)((unsigned long)(pmb->ctx_buf) & 0xffff); in lpfc_els_rsp_rls_acc()
7058 oxid = (uint16_t)(((unsigned long)(pmb->ctx_buf) >> 16) & 0xffff); in lpfc_els_rsp_rls_acc()
[all …]
Dlpfc_sli.c2467 mp = (struct lpfc_dmabuf *)(pmb->ctx_buf); in lpfc_sli_def_mbox_cmpl()
2504 pmb->ctx_buf = NULL; in lpfc_sli_def_mbox_cmpl()
5215 mp = (struct lpfc_dmabuf *)mboxq->ctx_buf; in lpfc_sli4_read_fcoe_params()
7433 mp = (struct lpfc_dmabuf *)mboxq->ctx_buf; in lpfc_sli4_hba_setup()
7445 mboxq->ctx_buf = NULL; in lpfc_sli4_hba_setup()
8213 if (pmbox->in_ext_byte_len && pmbox->ctx_buf) { in lpfc_sli_issue_mbox_s3()
8214 lpfc_sli_pcimem_bcopy(pmbox->ctx_buf, in lpfc_sli_issue_mbox_s3()
8227 if (pmbox->in_ext_byte_len && pmbox->ctx_buf) in lpfc_sli_issue_mbox_s3()
8230 pmbox->ctx_buf, pmbox->in_ext_byte_len); in lpfc_sli_issue_mbox_s3()
8353 if (pmbox->out_ext_byte_len && pmbox->ctx_buf) { in lpfc_sli_issue_mbox_s3()
[all …]
Dlpfc_bsg.c2576 dmabuff = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfcdiag_loop_self_reg()
2577 mbox->ctx_buf = NULL; in lpfcdiag_loop_self_reg()
3648 dd_data = pmboxq->ctx_buf; in lpfc_bsg_issue_mbox_ext_handle_job()
4035 pmboxq->ctx_buf = dd_data; in lpfc_bsg_sli_cfg_read_cmd_ext()
4206 pmboxq->ctx_buf = dd_data; in lpfc_bsg_sli_cfg_write_cmd_ext()
4551 pmboxq->ctx_buf = dd_data; in lpfc_bsg_write_ebuf_set()
4836 pmboxq->ctx_buf = ext; in lpfc_bsg_issue_mbox()
Dlpfc_attr.c1865 pmboxq->ctx_buf = NULL; in lpfc_get_hba_info()
6608 pmboxq->ctx_buf = NULL; in lpfc_get_stats()
6640 pmboxq->ctx_buf = NULL; in lpfc_get_stats()
6720 pmboxq->ctx_buf = NULL; in lpfc_reset_stats()
6738 pmboxq->ctx_buf = NULL; in lpfc_reset_stats()
Dlpfc_nportdisc.c539 elsiocb = (struct lpfc_iocbq *)mboxq->ctx_buf; in lpfc_mbx_cmpl_resume_rpi()
1307 mp = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfc_cmpl_plogi_plogi_issue()
1689 mp = (struct lpfc_dmabuf *)(mb->ctx_buf); in lpfc_rcv_logo_reglogin_issue()
Dlpfc_init.c447 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_config_port_post()
454 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_config_port_post()
459 pmb->ctx_buf = NULL; in lpfc_config_port_post()
/Linux-v5.4/drivers/media/platform/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.h335 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-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1971 u8 *ctx_buf; in cudbg_collect_dump_context() local
1997 ctx_buf = kvzalloc(max_ctx_size, GFP_KERNEL); in cudbg_collect_dump_context()
1998 if (!ctx_buf) { in cudbg_collect_dump_context()
2028 (__be32 *)ctx_buf, 1); in cudbg_collect_dump_context()
2039 src_off = (u64 *)(ctx_buf + j * SGE_CTXT_SIZE); in cudbg_collect_dump_context()
2058 kvfree(ctx_buf); in cudbg_collect_dump_context()
/Linux-v5.4/drivers/crypto/
Dtalitos.c1994 u8 *ctx_buf = req_ctx->buf[req_ctx->buf_idx]; in ahash_process_req() local
2004 ctx_buf + req_ctx->nbuf, nbytes); in ahash_process_req()
2028 sg_set_buf(req_ctx->bufsl, ctx_buf, req_ctx->nbuf); in ahash_process_req()
2045 ctx_buf + req_ctx->nbuf, offset); in ahash_process_req()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_common.c1140 u8 ctx_buf[ICE_RXQ_CTX_SZ] = { 0 }; in ice_write_rxq_ctx() local
1147 ice_set_ctx((u8 *)rlan_ctx, ctx_buf, ice_rlan_ctx_info); in ice_write_rxq_ctx()
1148 return ice_copy_rxq_ctx_to_hw(hw, ctx_buf, rxq_index); in ice_write_rxq_ctx()