Lines Matching refs:osdep
408 struct e1000g_osdep *osdep; in e1000g_attach() local
441 osdep = &Adapter->osdep; in e1000g_attach()
442 hw->back = osdep; in e1000g_attach()
443 osdep->adapter = Adapter; in e1000g_attach()
461 if (pci_config_setup(devinfo, &osdep->cfg_handle) != DDI_SUCCESS) { in e1000g_attach()
492 if (e1000g_check_acc_handle(Adapter->osdep.cfg_handle) != DDI_FM_OK) { in e1000g_attach()
635 struct e1000g_osdep *osdep = &Adapter->osdep; in e1000g_identify_hardware() local
639 pci_config_get16(osdep->cfg_handle, PCI_CONF_VENID); in e1000g_identify_hardware()
641 pci_config_get16(osdep->cfg_handle, PCI_CONF_DEVID); in e1000g_identify_hardware()
643 pci_config_get8(osdep->cfg_handle, PCI_CONF_REVID); in e1000g_identify_hardware()
645 pci_config_get16(osdep->cfg_handle, PCI_CONF_SUBSYSID); in e1000g_identify_hardware()
647 pci_config_get16(osdep->cfg_handle, PCI_CONF_SUBVENID); in e1000g_identify_hardware()
663 struct e1000g_osdep *osdep = &Adapter->osdep; in e1000g_regs_map() local
680 &osdep->reg_handle)) != DDI_SUCCESS) { in e1000g_regs_map()
708 &osdep->ich_flash_handle) != DDI_SUCCESS) { in e1000g_regs_map()
732 osdep->ich_flash_handle = osdep->reg_handle; in e1000g_regs_map()
777 &osdep->io_reg_handle)) != DDI_SUCCESS) { in e1000g_regs_map()
791 if (osdep->reg_handle != NULL) in e1000g_regs_map()
792 ddi_regs_map_free(&osdep->reg_handle); in e1000g_regs_map()
793 if (osdep->ich_flash_handle != NULL && hw->mac.type < e1000_pch_spt) in e1000g_regs_map()
794 ddi_regs_map_free(&osdep->ich_flash_handle); in e1000g_regs_map()
1166 if (Adapter->osdep.reg_handle != NULL) in e1000g_unattach()
1167 ddi_regs_map_free(&Adapter->osdep.reg_handle); in e1000g_unattach()
1168 if (Adapter->osdep.ich_flash_handle != NULL && in e1000g_unattach()
1170 ddi_regs_map_free(&Adapter->osdep.ich_flash_handle); in e1000g_unattach()
1171 if (Adapter->osdep.io_reg_handle != NULL) in e1000g_unattach()
1172 ddi_regs_map_free(&Adapter->osdep.io_reg_handle); in e1000g_unattach()
1176 if (Adapter->osdep.cfg_handle != NULL) in e1000g_unattach()
1177 pci_config_teardown(&Adapter->osdep.cfg_handle); in e1000g_unattach()
1467 pci_config_put8(Adapter->osdep.cfg_handle, in e1000g_init()
1662 if (e1000g_check_acc_handle(Adapter->osdep.cfg_handle) != DDI_FM_OK) { in e1000g_init()
1665 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_init()
1990 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_start()
2034 hang_state = pci_config_get16(Adapter->osdep.cfg_handle, in e1000g_flush_desc_rings()
2041 hang_state = pci_config_get16(Adapter->osdep.cfg_handle, in e1000g_flush_desc_rings()
2105 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) in e1000g_stop()
2345 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_intr_pciexpress()
2383 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_intr()
2622 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) in e1000g_init_unicst()
2696 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_unicst_set()
2764 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) { in multicst_add()
2821 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) { in multicst_remove()
2888 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_m_promisc()
3889 Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_set_priv_prop()
3910 Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_set_priv_prop()
3932 Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_set_priv_prop()
3979 Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_set_priv_prop()
4001 Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_set_priv_prop()
4025 Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_set_priv_prop()
4499 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) in e1000g_link_check()
4708 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) in e1000g_local_timer()
5301 handle = e1000gp->osdep.reg_handle; in e1000g_ioc_peek_reg()
5315 handle = e1000gp->osdep.reg_handle; in e1000g_ioc_poke_reg()
5541 if (e1000g_check_acc_handle(Adapter->osdep.reg_handle) != DDI_FM_OK) { in e1000g_loopback_ioctl()