Lines Matching refs:fwinfo

175 	snic->fwinfo.fw_ver = le32_to_cpu(exv_cmpl->version);  in snic_io_exch_ver_cmpl_handler()
176 snic->fwinfo.hid = le32_to_cpu(exv_cmpl->hid); in snic_io_exch_ver_cmpl_handler()
177 snic->fwinfo.max_concur_ios = le32_to_cpu(exv_cmpl->max_concur_ios); in snic_io_exch_ver_cmpl_handler()
178 snic->fwinfo.max_sgs_per_cmd = le32_to_cpu(exv_cmpl->max_sgs_per_cmd); in snic_io_exch_ver_cmpl_handler()
179 snic->fwinfo.max_io_sz = le32_to_cpu(exv_cmpl->max_io_sz); in snic_io_exch_ver_cmpl_handler()
180 snic->fwinfo.max_tgts = le32_to_cpu(exv_cmpl->max_tgts); in snic_io_exch_ver_cmpl_handler()
181 snic->fwinfo.io_tmo = le16_to_cpu(exv_cmpl->io_timeout); in snic_io_exch_ver_cmpl_handler()
185 snic->fwinfo.fw_ver, in snic_io_exch_ver_cmpl_handler()
186 snic->fwinfo.hid, in snic_io_exch_ver_cmpl_handler()
187 snic->fwinfo.max_concur_ios, in snic_io_exch_ver_cmpl_handler()
188 snic->fwinfo.max_sgs_per_cmd, in snic_io_exch_ver_cmpl_handler()
189 snic->fwinfo.max_io_sz, in snic_io_exch_ver_cmpl_handler()
190 snic->fwinfo.max_tgts, in snic_io_exch_ver_cmpl_handler()
191 snic->fwinfo.io_tmo); in snic_io_exch_ver_cmpl_handler()
198 max_sgs = snic->fwinfo.max_sgs_per_cmd; in snic_io_exch_ver_cmpl_handler()
210 if (snic->shost->can_queue > snic->fwinfo.max_concur_ios) in snic_io_exch_ver_cmpl_handler()
211 snic->shost->can_queue = snic->fwinfo.max_concur_ios; in snic_io_exch_ver_cmpl_handler()
213 snic->shost->max_sectors = snic->fwinfo.max_io_sz >> 9; in snic_io_exch_ver_cmpl_handler()
214 if (snic->fwinfo.wait) in snic_io_exch_ver_cmpl_handler()
215 complete(snic->fwinfo.wait); in snic_io_exch_ver_cmpl_handler()
240 memset(&snic->fwinfo, 0, sizeof(snic->fwinfo)); in snic_get_conf()
241 snic->fwinfo.wait = &wait; in snic_get_conf()
258 ret = (snic->fwinfo.fw_ver != 0) ? 0 : -ETIMEDOUT; in snic_get_conf()
265 snic->fwinfo.wait = NULL; in snic_get_conf()