Lines Matching refs:fcpim
22 BFA_MODULE(fcpim);
63 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
70 fcpim->bfa = bfa;
71 fcpim->num_itnims = cfg->fwcfg.num_rports;
72 fcpim->num_ioim_reqs = cfg->fwcfg.num_ioim_reqs;
73 fcpim->num_tskim_reqs = cfg->fwcfg.num_tskim_reqs;
74 fcpim->path_tov = cfg->drvcfg.path_tov;
75 fcpim->delay_comp = cfg->drvcfg.delay_comp;
77 bfa_itnim_attach(fcpim, meminfo);
78 bfa_tskim_attach(fcpim, meminfo);
79 bfa_ioim_attach(fcpim, meminfo);
85 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
87 bfa_ioim_detach(fcpim);
88 bfa_tskim_detach(fcpim);
104 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
108 list_for_each_safe(qe, qen, &fcpim->itnim_q) {
117 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
119 fcpim->path_tov = path_tov * 1000;
120 if (fcpim->path_tov > BFA_FCPIM_PATHTOV_MAX)
121 fcpim->path_tov = BFA_FCPIM_PATHTOV_MAX;
127 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
129 return fcpim->path_tov / 1000;
135 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
137 *modstats = fcpim->stats;
145 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
147 memset(&fcpim->stats, 0, sizeof(struct bfa_fcpim_stats_s));
155 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
159 fcpim->q_depth = q_depth;
165 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
167 return fcpim->q_depth;
184 * fcpim's ioredirect state accordingly.
192 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
193 fcpim->ioredirect = state;