Lines Matching refs:osdep
437 struct ixgbe_osdep *osdep; in ixgbe_attach() local
466 osdep = &ixgbe->osdep; in ixgbe_attach()
467 hw->back = osdep; in ixgbe_attach()
468 osdep->ixgbe = ixgbe; in ixgbe_attach()
485 if (pci_config_setup(devinfo, &osdep->cfg_handle) != DDI_SUCCESS) { in ixgbe_attach()
622 if (ixgbe_check_acc_handle(ixgbe->osdep.cfg_handle) != DDI_FM_OK) { in ixgbe_attach()
909 if (ixgbe->osdep.reg_handle != NULL) in ixgbe_unconfigure()
910 ddi_regs_map_free(&ixgbe->osdep.reg_handle); in ixgbe_unconfigure()
917 if (ixgbe->osdep.cfg_handle != NULL) in ixgbe_unconfigure()
918 pci_config_teardown(&ixgbe->osdep.cfg_handle); in ixgbe_unconfigure()
989 struct ixgbe_osdep *osdep = &ixgbe->osdep; in ixgbe_identify_hardware() local
995 pci_config_get16(osdep->cfg_handle, PCI_CONF_VENID); in ixgbe_identify_hardware()
997 pci_config_get16(osdep->cfg_handle, PCI_CONF_DEVID); in ixgbe_identify_hardware()
999 pci_config_get8(osdep->cfg_handle, PCI_CONF_REVID); in ixgbe_identify_hardware()
1001 pci_config_get16(osdep->cfg_handle, PCI_CONF_SUBSYSID); in ixgbe_identify_hardware()
1003 pci_config_get16(osdep->cfg_handle, PCI_CONF_SUBVENID); in ixgbe_identify_hardware()
1095 struct ixgbe_osdep *osdep = &ixgbe->osdep; in ixgbe_regs_map() local
1112 &osdep->reg_handle)) != DDI_SUCCESS) { in ixgbe_regs_map()
1522 if (ixgbe_check_acc_handle(ixgbe->osdep.reg_handle) != DDI_FM_OK) { in ixgbe_init()
1943 if (ixgbe_check_acc_handle(ixgbe->osdep.reg_handle) != DDI_FM_OK) { in ixgbe_start()
2015 if (ixgbe_check_acc_handle(ixgbe->osdep.reg_handle) != DDI_FM_OK) { in ixgbe_stop()
3294 if (ixgbe_check_acc_handle(ixgbe->osdep.reg_handle) != DDI_FM_OK) { in ixgbe_multicst_add()
3329 if (ixgbe_check_acc_handle(ixgbe->osdep.reg_handle) != DDI_FM_OK) { in ixgbe_multicst_remove()
4530 if (ixgbe_check_acc_handle(ixgbe->osdep.reg_handle) != DDI_FM_OK) { in ixgbe_loopback_ioctl()
4817 if (ixgbe_check_acc_handle(ixgbe->osdep.reg_handle) != DDI_FM_OK) { in ixgbe_intr_legacy()
4932 if (ixgbe_check_acc_handle(ixgbe->osdep.reg_handle) != DDI_FM_OK) { in ixgbe_intr_msi()
5031 if (ixgbe_check_acc_handle(ixgbe->osdep.reg_handle) != in ixgbe_intr_msix()