Lines Matching refs:dmb_desc
160 int smc_ism_unregister_dmb(struct smcd_dev *smcd, struct smc_buf_desc *dmb_desc) in smc_ism_unregister_dmb() argument
165 if (!dmb_desc->dma_addr) in smc_ism_unregister_dmb()
169 dmb.dmb_tok = dmb_desc->token; in smc_ism_unregister_dmb()
170 dmb.sba_idx = dmb_desc->sba_idx; in smc_ism_unregister_dmb()
171 dmb.cpu_addr = dmb_desc->cpu_addr; in smc_ism_unregister_dmb()
172 dmb.dma_addr = dmb_desc->dma_addr; in smc_ism_unregister_dmb()
173 dmb.dmb_len = dmb_desc->len; in smc_ism_unregister_dmb()
176 dmb_desc->cpu_addr = NULL; in smc_ism_unregister_dmb()
177 dmb_desc->dma_addr = 0; in smc_ism_unregister_dmb()
184 struct smc_buf_desc *dmb_desc) in smc_ism_register_dmb() argument
191 dmb.sba_idx = dmb_desc->sba_idx; in smc_ism_register_dmb()
196 dmb_desc->sba_idx = dmb.sba_idx; in smc_ism_register_dmb()
197 dmb_desc->token = dmb.dmb_tok; in smc_ism_register_dmb()
198 dmb_desc->cpu_addr = dmb.cpu_addr; in smc_ism_register_dmb()
199 dmb_desc->dma_addr = dmb.dma_addr; in smc_ism_register_dmb()
200 dmb_desc->len = dmb.dmb_len; in smc_ism_register_dmb()