Home
last modified time | relevance | path

Searched refs:model_info (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c170 if (hba->model_info.intr_limit && (max > hba->model_info.intr_limit)) { in emlxs_msi_init()
171 max = hba->model_info.intr_limit; in emlxs_msi_init()
204 (hba->model_info.flags & EMLXS_MSIX_SUPPORTED)) { in emlxs_msi_init()
220 (hba->model_info.flags & EMLXS_MSI_SUPPORTED)) { in emlxs_msi_init()
235 (hba->model_info.flags & EMLXS_INTX_SUPPORTED)) { in emlxs_msi_init()
792 if (!(hba->model_info.flags & EMLXS_INTX_SUPPORTED)) { in emlxs_intx_init()
795 hba->model_info.model, hba->model_info.flags); in emlxs_intx_init()
1588 model = &hba->model_info; in emlxs_parse_prog_types()
1809 if (hba->model_info.pt_2[0]) { in emlxs_build_prog_types()
1815 while ((i < 8) && (hba->model_info.pt_2[i])) { in emlxs_build_prog_types()
[all …]
H A Demlxs_dump.c50 if (hba->model_info.vendor_id != PCI_VENDOR_ID_EMULEX || in emlxs_menlo_set_mode()
51 hba->model_info.device_id != PCI_DEVICE_ID_HORNET) { in emlxs_menlo_set_mode()
114 if (hba->model_info.vendor_id != PCI_VENDOR_ID_EMULEX || in emlxs_menlo_reset()
115 hba->model_info.device_id != PCI_DEVICE_ID_HORNET) { in emlxs_menlo_reset()
176 if (hba->model_info.vendor_id != PCI_VENDOR_ID_EMULEX || in emlxs_menlo_get_cfg()
177 hba->model_info.device_id != PCI_DEVICE_ID_HORNET) { in emlxs_menlo_get_cfg()
235 if (hba->model_info.vendor_id != PCI_VENDOR_ID_EMULEX || in emlxs_menlo_get_logcfg()
236 hba->model_info.device_id != PCI_DEVICE_ID_HORNET) { in emlxs_menlo_get_logcfg()
292 if (hba->model_info.vendor_id != PCI_VENDOR_ID_EMULEX || in emlxs_menlo_get_log()
293 hba->model_info.device_id != PCI_DEVICE_ID_HORNET) { in emlxs_menlo_get_log()
[all …]
H A Demlxs_sli3.c265 if (hba->model_info.sli_mask & EMLXS_SLI3_MASK) { in emlxs_sli3_online()
268 } else if (hba->model_info.sli_mask & EMLXS_SLI2_MASK) { in emlxs_sli3_online()
313 if (hba->model_info.vendor_id == PCI_VENDOR_ID_EMULEX && in emlxs_sli3_online()
314 hba->model_info.device_id == PCI_DEVICE_ID_PEGASUS) { in emlxs_sli3_online()
322 &hba->model_info, in emlxs_sli3_online()
327 } else if (hba->model_info.id != LP9802) { in emlxs_sli3_online()
332 &hba->model_info, in emlxs_sli3_online()
365 if (hba->model_info.sli_mask & EMLXS_SLI4_MASK) { in emlxs_sli3_online()
368 hba->model_info.sli_mask); in emlxs_sli3_online()
471 if (!(hba->model_info.sli_mask & sli_mode_mask)) { in emlxs_sli3_online()
[all …]
H A Demlxs_download.c179 if (hba->model_info.chip & EMLXS_BE_CHIPS) { in emlxs_fw_download()
237 !(hba->model_info.chip & in emlxs_fw_download()
873 if (hba->model_info.chip != EMLXS_BE2_CHIP) { in emlxs_be2_validate_image()
1021 hba->model_info.device_id) { in emlxs_be2_validate_image()
1029 hba->model_info.device_id); in emlxs_be2_validate_image()
1245 if (hba->model_info.chip != EMLXS_BE3_CHIP) { in emlxs_be3_validate_image()
1402 hba->model_info.device_id) { in emlxs_be3_validate_image()
1410 hba->model_info.device_id); in emlxs_be3_validate_image()
1613 if (!(hba->model_info.chip & EMLXS_BE_CHIPS)) { in emlxs_be_fw_download()
1615 "Invalid adapter model. chip=%x", hba->model_info.chip); in emlxs_be_fw_download()
[all …]
H A Demlxs_sli4.c367 if (hba->model_info.flags & EMLXS_GPIO_LEDS) { in emlxs_sli4_online()
590 if ((hba->model_info.chip & EMLXS_LANCER_CHIPS) != 0) { in emlxs_sli4_online()
600 if (hba->model_info.chip == EMLXS_BE2_CHIP) { in emlxs_sli4_online()
603 } else if (hba->model_info.chip == EMLXS_BE3_CHIP) { in emlxs_sli4_online()
606 } else if (hba->model_info.chip == EMLXS_LANCER_CHIP) { in emlxs_sli4_online()
609 } else if (hba->model_info.chip == EMLXS_LANCERG6_CHIP) { in emlxs_sli4_online()
612 } else if (hba->model_info.chip == EMLXS_PRISMG7_CHIP) { in emlxs_sli4_online()
687 (strcmp(&vpd->model[0], hba->model_info.model) != 0)) { in emlxs_sli4_online()
695 &hba->model_info, in emlxs_sli4_online()
704 (strcmp(&vpd->part_num[0], hba->model_info.model) != 0)) { in emlxs_sli4_online()
[all …]
H A Demlxs_solaris.c1680 if (((hba->model_info.chip == EMLXS_BE2_CHIP) || in emlxs_fca_bind_port()
1681 (hba->model_info.chip == EMLXS_BE3_CHIP)) && in emlxs_fca_bind_port()
1773 hba->model_info.manufacturer, in emlxs_fca_bind_port()
1803 (hba->model_info.device_id << 16) | hba->model_info.vendor_id; in emlxs_fca_bind_port()
1812 if ((hba->model_info.chip & EMLXS_LANCER_CHIPS) != 0) { in emlxs_fca_bind_port()
1959 (void) strncpy(port_info->pi_attrs.model, hba->model_info.model, in emlxs_fca_bind_port()
1962 hba->model_info.model_desc, in emlxs_fca_bind_port()
4179 "%s %s", hba->model_info.model, in emlxs_fca_port_manage()
4205 "%s %s", hba->model_info.model, in emlxs_fca_port_manage()
4741 "%s %s", hba->model_info.model, vpd->boot_version); in emlxs_fca_port_manage()
[all …]
H A Demlxs_dfc.c1259 hba->model_info.manufacturer, in emlxs_fcio_get_adapter_attrs()
1263 (void) strncpy(hba_attrs->Model, hba->model_info.model, in emlxs_fcio_get_adapter_attrs()
1266 hba->model_info.model_desc, in emlxs_fcio_get_adapter_attrs()
1288 (hba->model_info.device_id << 16) | in emlxs_fcio_get_adapter_attrs()
1289 hba->model_info.vendor_id; in emlxs_fcio_get_adapter_attrs()
1306 hba->model_info.manufacturer, in emlxs_fcio_get_adapter_attrs()
1310 (void) strncpy(hba_attrs->Model, hba->model_info.model, in emlxs_fcio_get_adapter_attrs()
1313 hba->model_info.model_desc, in emlxs_fcio_get_adapter_attrs()
1335 (hba->model_info.device_id << 16) | in emlxs_fcio_get_adapter_attrs()
1336 hba->model_info.vendor_id; in emlxs_fcio_get_adapter_attrs()
[all …]
H A Demlxs_mem.c109 if (hba->model_info.sli_mask & EMLXS_SLI4_MASK) { in emlxs_mem_alloc_buffer()
246 if (!(hba->model_info.sli_mask & EMLXS_SLI4_MASK) && in emlxs_mem_alloc_buffer()
312 if (!(hba->model_info.sli_mask & EMLXS_SLI4_MASK)) { in emlxs_mem_free_buffer()
H A Demlxs_mbox.c542 if (hba->model_info.chip & EMLXS_BE_CHIPS) { in emlxs_mb_get_port_name()
1661 if (hba->model_info.vendor_id == PCI_VENDOR_ID_EMULEX && in emlxs_read_la_mbcmpl()
1662 hba->model_info.device_id == PCI_DEVICE_ID_HORNET && in emlxs_read_la_mbcmpl()
1677 (hba->model_info.chip & EMLXS_DRAGONFLY_CHIP)) { in emlxs_read_la_mbcmpl()
1732 if (hba->model_info.vendor_id == PCI_VENDOR_ID_EMULEX && in emlxs_read_la_mbcmpl()
1733 hba->model_info.device_id == PCI_DEVICE_ID_HORNET) { in emlxs_read_la_mbcmpl()
H A Demlxs_fct.c1378 hba->model_info.manufacturer, in emlxs_fct_populate_hba_details()
1382 (void) strncpy(port_attrs->model, hba->model_info.model, in emlxs_fct_populate_hba_details()
1385 hba->model_info.model_desc, in emlxs_fct_populate_hba_details()
1402 port_attrs->vendor_specific_id = (hba->model_info.device_id << 16) | in emlxs_fct_populate_hba_details()
1403 hba->model_info.vendor_id; in emlxs_fct_populate_hba_details()
H A Demlxs_clock.c802 if (hba->model_info.sli_mask & EMLXS_SLI4_MASK) { in emlxs_timer_check_linkup()
H A Demlxs_event.c747 if (hba->model_info.device_id != PCI_DEVICE_ID_HORNET) { in emlxs_log_fcoe_event()
H A Demlxs_fcf.c10844 if ((hba->model_info.chip & EMLXS_BE_CHIPS) && in emlxs_vfi_reg_action()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h1747 emlxs_model_t model_info; member