Lines Matching refs:dmb
148 struct smcd_dmb dmb; in smc_ism_unregister_dmb() local
150 memset(&dmb, 0, sizeof(dmb)); in smc_ism_unregister_dmb()
151 dmb.dmb_tok = dmb_desc->token; in smc_ism_unregister_dmb()
152 dmb.sba_idx = dmb_desc->sba_idx; in smc_ism_unregister_dmb()
153 dmb.cpu_addr = dmb_desc->cpu_addr; in smc_ism_unregister_dmb()
154 dmb.dma_addr = dmb_desc->dma_addr; in smc_ism_unregister_dmb()
155 dmb.dmb_len = dmb_desc->len; in smc_ism_unregister_dmb()
156 return smcd->ops->unregister_dmb(smcd, &dmb); in smc_ism_unregister_dmb()
162 struct smcd_dmb dmb; in smc_ism_register_dmb() local
165 memset(&dmb, 0, sizeof(dmb)); in smc_ism_register_dmb()
166 dmb.dmb_len = dmb_len; in smc_ism_register_dmb()
167 dmb.sba_idx = dmb_desc->sba_idx; in smc_ism_register_dmb()
168 dmb.vlan_id = lgr->vlan_id; in smc_ism_register_dmb()
169 dmb.rgid = lgr->peer_gid; in smc_ism_register_dmb()
170 rc = lgr->smcd->ops->register_dmb(lgr->smcd, &dmb); in smc_ism_register_dmb()
172 dmb_desc->sba_idx = dmb.sba_idx; in smc_ism_register_dmb()
173 dmb_desc->token = dmb.dmb_tok; in smc_ism_register_dmb()
174 dmb_desc->cpu_addr = dmb.cpu_addr; in smc_ism_register_dmb()
175 dmb_desc->dma_addr = dmb.dma_addr; in smc_ism_register_dmb()
176 dmb_desc->len = dmb.dmb_len; in smc_ism_register_dmb()