Lines Matching refs:dmb
173 struct smcd_dmb dmb; in smc_ism_unregister_dmb() local
179 memset(&dmb, 0, sizeof(dmb)); in smc_ism_unregister_dmb()
180 dmb.dmb_tok = dmb_desc->token; in smc_ism_unregister_dmb()
181 dmb.sba_idx = dmb_desc->sba_idx; in smc_ism_unregister_dmb()
182 dmb.cpu_addr = dmb_desc->cpu_addr; in smc_ism_unregister_dmb()
183 dmb.dma_addr = dmb_desc->dma_addr; in smc_ism_unregister_dmb()
184 dmb.dmb_len = dmb_desc->len; in smc_ism_unregister_dmb()
185 rc = smcd->ops->unregister_dmb(smcd, &dmb); in smc_ism_unregister_dmb()
197 struct smcd_dmb dmb; in smc_ism_register_dmb() local
200 memset(&dmb, 0, sizeof(dmb)); in smc_ism_register_dmb()
201 dmb.dmb_len = dmb_len; in smc_ism_register_dmb()
202 dmb.sba_idx = dmb_desc->sba_idx; in smc_ism_register_dmb()
203 dmb.vlan_id = lgr->vlan_id; in smc_ism_register_dmb()
204 dmb.rgid = lgr->peer_gid; in smc_ism_register_dmb()
205 rc = lgr->smcd->ops->register_dmb(lgr->smcd, &dmb); in smc_ism_register_dmb()
207 dmb_desc->sba_idx = dmb.sba_idx; in smc_ism_register_dmb()
208 dmb_desc->token = dmb.dmb_tok; in smc_ism_register_dmb()
209 dmb_desc->cpu_addr = dmb.cpu_addr; in smc_ism_register_dmb()
210 dmb_desc->dma_addr = dmb.dma_addr; in smc_ism_register_dmb()
211 dmb_desc->len = dmb.dmb_len; in smc_ism_register_dmb()