Lines Matching defs:osdep
352 struct igb_osdep *osdep;
380 osdep = &igb->osdep;
381 hw->back = osdep;
382 osdep->igb = igb;
399 if (pci_config_setup(devinfo, &osdep->cfg_handle) != DDI_SUCCESS) {
466 if (igb_check_acc_handle(igb->osdep.cfg_handle) != DDI_FM_OK) {
709 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK)
722 if (igb->osdep.reg_handle != NULL)
723 ddi_regs_map_free(&igb->osdep.reg_handle);
730 if (igb->osdep.cfg_handle != NULL)
731 pci_config_teardown(&igb->osdep.cfg_handle);
803 struct igb_osdep *osdep = &igb->osdep;
809 pci_config_get16(osdep->cfg_handle, PCI_CONF_VENID);
811 pci_config_get16(osdep->cfg_handle, PCI_CONF_DEVID);
813 pci_config_get8(osdep->cfg_handle, PCI_CONF_REVID);
815 pci_config_get16(osdep->cfg_handle, PCI_CONF_SUBSYSID);
817 pci_config_get16(osdep->cfg_handle, PCI_CONF_SUBVENID);
854 struct igb_osdep *osdep = &igb->osdep;
871 &osdep->reg_handle)) != DDI_SUCCESS) {
1475 if (igb_check_acc_handle(igb->osdep.cfg_handle) != DDI_FM_OK)
1478 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK)
1696 if (igb_check_acc_handle(igb->osdep.cfg_handle) != DDI_FM_OK)
1699 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK)
1762 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK)
2496 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK) {
2557 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK) {
2611 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK) {
3049 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK) {
3638 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK) {
3932 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK) {
4027 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK) {
4115 if (igb_check_acc_handle(igb->osdep.reg_handle) != DDI_FM_OK) {