Lines Matching refs:inst

37 	union npa_aq_inst_s *inst;  in npa_attach_aura()  local
47 inst = (union npa_aq_inst_s *)(npa->aq.inst.base) + head; in npa_attach_aura()
50 memset(inst, 0, sizeof(*inst)); in npa_attach_aura()
51 inst->s.lf = lf; in npa_attach_aura()
52 inst->s.doneint = 0; in npa_attach_aura()
53 inst->s.ctype = NPA_AQ_CTYPE_E_AURA; in npa_attach_aura()
54 inst->s.op = NPA_AQ_INSTOP_E_INIT; in npa_attach_aura()
55 inst->s.res_addr = npa->aq.res.iova; in npa_attach_aura()
56 inst->s.cindex = aura_id; in npa_attach_aura()
81 union npa_aq_inst_s *inst; in npa_attach_pool() local
93 inst = (union npa_aq_inst_s *)(npa->aq.inst.base) + head; in npa_attach_pool()
96 memset(inst, 0, sizeof(*inst)); in npa_attach_pool()
97 inst->s.cindex = pool_id; in npa_attach_pool()
98 inst->s.lf = lf; in npa_attach_pool()
99 inst->s.doneint = 0; in npa_attach_pool()
100 inst->s.ctype = NPA_AQ_CTYPE_E_POOL; in npa_attach_pool()
101 inst->s.op = NPA_AQ_INSTOP_E_INIT; in npa_attach_pool()
102 inst->s.res_addr = npa->aq.res.iova; in npa_attach_pool()
161 union npa_aq_inst_s *inst; in npa_lf_admin_shutdown() local
181 inst = (union npa_aq_inst_s *)(npa->aq.inst.base) + head; in npa_lf_admin_shutdown()
184 memset(inst, 0, sizeof(*inst)); in npa_lf_admin_shutdown()
185 inst->s.cindex = pool_id; in npa_lf_admin_shutdown()
186 inst->s.lf = lf; in npa_lf_admin_shutdown()
187 inst->s.doneint = 0; in npa_lf_admin_shutdown()
188 inst->s.ctype = NPA_AQ_CTYPE_E_POOL; in npa_lf_admin_shutdown()
189 inst->s.op = NPA_AQ_INSTOP_E_WRITE; in npa_lf_admin_shutdown()
190 inst->s.res_addr = (u64)&pool_req.resp; in npa_lf_admin_shutdown()
217 inst = (union npa_aq_inst_s *)(npa->aq.inst.base) + head; in npa_lf_admin_shutdown()
220 memset(inst, 0, sizeof(*inst)); in npa_lf_admin_shutdown()
221 inst->s.cindex = pool_id; in npa_lf_admin_shutdown()
222 inst->s.lf = lf; in npa_lf_admin_shutdown()
223 inst->s.doneint = 0; in npa_lf_admin_shutdown()
224 inst->s.ctype = NPA_AQ_CTYPE_E_AURA; in npa_lf_admin_shutdown()
225 inst->s.op = NPA_AQ_INSTOP_E_WRITE; in npa_lf_admin_shutdown()
226 inst->s.res_addr = (u64)&aura_req.resp; in npa_lf_admin_shutdown()
280 npa_af->aq.inst.base, npa_af->aq.inst.iova); in npa_af_setup()
305 npa_af_reg_write(npa_af, NPA_AF_AQ_BASE(), npa_af->aq.inst.iova); in npa_af_setup()
464 aq_inst = (union nix_aq_inst_s *)(nix_af->aq.inst.base) + in nix_aq_issue_command()
1065 nix_af_reg_write(nix_af, NIXX_AF_AQ_BASE(), nix_af->aq.inst.iova); in nix_af_setup()