Home
last modified time | relevance | path

Searched refs:fwinfo (Results 1 – 7 of 7) sorted by relevance

/drivers/scsi/snic/
Dsnic_ctl.c181 snic->fwinfo.fw_ver = le32_to_cpu(exv_cmpl->version); in snic_io_exch_ver_cmpl_handler()
182 snic->fwinfo.hid = le32_to_cpu(exv_cmpl->hid); in snic_io_exch_ver_cmpl_handler()
183 snic->fwinfo.max_concur_ios = le32_to_cpu(exv_cmpl->max_concur_ios); in snic_io_exch_ver_cmpl_handler()
184 snic->fwinfo.max_sgs_per_cmd = le32_to_cpu(exv_cmpl->max_sgs_per_cmd); in snic_io_exch_ver_cmpl_handler()
185 snic->fwinfo.max_io_sz = le32_to_cpu(exv_cmpl->max_io_sz); in snic_io_exch_ver_cmpl_handler()
186 snic->fwinfo.max_tgts = le32_to_cpu(exv_cmpl->max_tgts); in snic_io_exch_ver_cmpl_handler()
187 snic->fwinfo.io_tmo = le16_to_cpu(exv_cmpl->io_timeout); in snic_io_exch_ver_cmpl_handler()
191 snic->fwinfo.fw_ver, in snic_io_exch_ver_cmpl_handler()
192 snic->fwinfo.hid, in snic_io_exch_ver_cmpl_handler()
193 snic->fwinfo.max_concur_ios, in snic_io_exch_ver_cmpl_handler()
[all …]
Dsnic_disc.c94 if (snic->fwinfo.max_tgts) in snic_queue_report_tgt_req()
95 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req()
419 SNIC_BUG_ON(tgt_cnt > snic->fwinfo.max_tgts); in snic_report_tgt_cmpl_handler()
Dsnic_main.c89 if (snic->fwinfo.io_tmo > 1) in snic_slave_configure()
90 tmo = snic->fwinfo.io_tmo * HZ; in snic_slave_configure()
Dsnic.h318 struct snic_fw_info fwinfo; member
/drivers/hid/
Dhid-thingm.c69 const struct thingm_fwinfo *fwinfo; member
247 for (i = 0; i < ARRAY_SIZE(thingm_fwinfo) && !tdev->fwinfo; ++i) in thingm_probe()
249 tdev->fwinfo = &thingm_fwinfo[i]; in thingm_probe()
251 if (!tdev->fwinfo) { in thingm_probe()
258 sizeof(struct thingm_rgb) * tdev->fwinfo->numrgb, in thingm_probe()
265 for (i = 0; i < tdev->fwinfo->numrgb; ++i) { in thingm_probe()
269 rgb->num = tdev->fwinfo->first + i; in thingm_probe()
292 for (i = 0; i < tdev->fwinfo->numrgb; ++i) in thingm_remove()
/drivers/net/can/
Djanz-ican3.c228 char fwinfo[32]; member
1490 memcpy_fromio(mod->fwinfo, mod->dpm + FIRMWARE_STAMP, sizeof(mod->fwinfo) - 1); in ican3_startup_module()
1491 if (strncmp(mod->fwinfo, "JANZ-ICAN3", 10)) { in ican3_startup_module()
1492 netdev_err(mod->ndev, "ICAN3 not detected (found %s)\n", mod->fwinfo); in ican3_startup_module()
1495 if (strstr(mod->fwinfo, "CAL/CANopen")) in ican3_startup_module()
1779 return scnprintf(buf, PAGE_SIZE, "%s\n", mod->fwinfo); in ican3_sysfs_show_fwinfo()
1784 static DEVICE_ATTR(fwinfo, S_IRUSR | S_IRUGO, ican3_sysfs_show_fwinfo, NULL);
/drivers/media/pci/saa7164/
Dsaa7164-core.c1162 struct tmFwInfoStruct fwinfo; in saa7164_thread_function() local
1184 saa7164_api_get_load_info(dev, &fwinfo); in saa7164_thread_function()