/illumos-gate/usr/src/uts/common/os/ |
H A D | sunndi.c | 410 return (NDI_SUCCESS); in ndi_dc_allochdl() 475 flags | NDI_DEVI_ONLINE | NDI_CONFIG)) == NDI_SUCCESS) { in ndi_devctl_device_online() 493 ((rval == NDI_SUCCESS) ? "ok" : "failed"))); in ndi_devctl_device_online() 530 (rval == NDI_SUCCESS) ? "ok" : "failed")); in ndi_devctl_device_offline() 567 (rval == NDI_SUCCESS) ? "ok" : "failed")); in ndi_devctl_device_remove() 624 return (NDI_SUCCESS); in ndi_devctl_device_getstate() 662 return (NDI_SUCCESS); in ndi_dc_return_dev_state() 693 if (ndi_dc_allochdl((void *)arg, &dcp) != NDI_SUCCESS) in ndi_devctl_ioctl() 700 if (rval == NDI_SUCCESS) { in ndi_devctl_ioctl() 717 if (rval == NDI_SUCCESS) { in ndi_devctl_ioctl() [all …]
|
H A D | ddi_hp_ndi.c | 93 return (NDI_SUCCESS); in ndi_hp_register() 123 return (NDI_SUCCESS); in ndi_hp_register() 163 ret = NDI_SUCCESS; in ndi_hp_unregister()
|
H A D | devcfg.c | 548 return (NDI_SUCCESS); in ndi_devi_set_nodename() 1302 if ((rv = mdi_devi_online(dip, 0)) != NDI_SUCCESS) { in attach_node() 1400 if (mdi_devi_offline(dip, flag) != NDI_SUCCESS) { in detach_node() 1777 if (ret == NDI_SUCCESS) { in i_ddi_attachchild() 1851 if (ret != NDI_SUCCESS) { in ddi_remove_child() 2133 return (NDI_SUCCESS); in ndi_devi_alloc() 2169 return (NDI_SUCCESS); in ndi_devi_free() 2190 ret = NDI_SUCCESS; in ndi_devi_bind_driver() 4047 NDI_PROMNAME | NDI_NO_EVENT) != NDI_SUCCESS) { in resolve_pathname() 4069 config_name, &child, 0) != NDI_SUCCESS) { in resolve_pathname() [all …]
|
H A D | ddi_hp_impl.c | 1035 NDI_ONLINE_ATTACH | NDI_CONFIG) != NDI_SUCCESS) { in ddihp_cn_change_children_state() 1056 NDI_SUCCESS) { in ddihp_cn_change_children_state() 1148 if (rv == NDI_SUCCESS) { in ddihp_port_upgrade_state() 1230 if (rv == NDI_SUCCESS) { in ddihp_port_downgrade_state()
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_hp.c | 691 ctrl.rv = NDI_SUCCESS; in cardbus_configure_ap() 705 if (ctrl.rv != NDI_SUCCESS) { in cardbus_configure_ap() 753 ctrl.rv = NDI_SUCCESS; in cardbus_configure_ap() 765 if (ctrl.rv != NDI_SUCCESS) { in cardbus_configure_ap() 818 if (nrv != NDI_SUCCESS) { in cardbus_unconfigure_ap() 917 rc == NDI_SUCCESS ? "Success": "Failure"); in cbus_configure() 919 if (rc != NDI_SUCCESS) in cbus_configure() 937 return (NDI_SUCCESS); in cardbus_unconfigure_node() 947 if (rc != NDI_SUCCESS) in cardbus_unconfigure_node() 955 return (NDI_SUCCESS); in cardbus_unconfigure_node() [all …]
|
H A D | cardbus.c | 306 NDI_RA_TYPE_PCI_BUSNUM, 0) == NDI_SUCCESS) in cardbus_claim_pci_busnum() 350 0) != NDI_SUCCESS) { in cardbus_fix_hostbridge_busrange() 476 NDI_SLEEP) == NDI_SUCCESS) { in cardbus_attach() 482 NDI_SLEEP) != NDI_SUCCESS) { in cardbus_attach() 626 ctrl.rv = NDI_SUCCESS; in cardbus_load_cardbus() 643 if (ctrl.rv != NDI_SUCCESS) { in cardbus_load_cardbus() 708 if (rval != NDI_SUCCESS) { in cardbus_unload_cardbus() 730 DDI_DEVI_REMOVE_EVENT, &cookie, 0) == NDI_SUCCESS) { in cardbus_unload_cardbus() 2448 NDI_RA_PASS)) != NDI_SUCCESS) in cardbus_expand_busrange() 2451 if (ret != NDI_SUCCESS) { in cardbus_expand_busrange() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_main.c | 248 NDI_SLEEP) != NDI_SUCCESS) { in eibnx_attach() 257 NDI_SLEEP) != NDI_SUCCESS) { in eibnx_attach() 419 int ret = NDI_SUCCESS; in eibnx_bus_config() 433 if (ret == NDI_SUCCESS) in eibnx_bus_config() 443 if (ret == NDI_SUCCESS) in eibnx_bus_config() 457 if (ret != NDI_SUCCESS) in eibnx_bus_unconfig() 574 return (NDI_SUCCESS); in eibnx_config_all_children() 581 return (NDI_SUCCESS); in eibnx_config_all_children()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | pshot.c | 637 NDI_SLEEP) != NDI_SUCCESS) { in pshot_attach() 646 NDI_SLEEP) != NDI_SUCCESS) { in pshot_attach() 1694 &enum_child) != NDI_SUCCESS) in pshot_initchild() 1916 if (ndi_dc_allochdl((void *)arg, &dcp) != NDI_SUCCESS) in pshot_devctl() 1927 ASSERT(rv == NDI_SUCCESS); in pshot_devctl() 1934 if (ndi_get_bus_state(self, &state) == NDI_SUCCESS) { in pshot_devctl() 1942 ASSERT(rv == NDI_SUCCESS); in pshot_devctl() 1950 if (ndi_get_bus_state(self, &state) == NDI_SUCCESS) { in pshot_devctl() 1962 ASSERT(rv == NDI_SUCCESS); in pshot_devctl() 1973 ASSERT(rv == NDI_SUCCESS); in pshot_devctl() [all …]
|
H A D | tphci.c | 498 return (NDI_SUCCESS); in tphci_bus_config() 547 return (NDI_SUCCESS); in tphci_bus_config() 564 return (NDI_SUCCESS); /* no such device */ in tphci_bus_unconfig() 579 return (rval == MDI_SUCCESS ? NDI_SUCCESS : NDI_FAILURE); in tphci_bus_unconfig() 601 return (rval == MDI_SUCCESS ? NDI_SUCCESS : NDI_FAILURE); in tphci_bus_unconfig() 604 return (NDI_SUCCESS); in tphci_bus_unconfig()
|
H A D | busra.c | 238 return (NDI_SUCCESS); in ndi_ra_map_setup() 285 return (NDI_SUCCESS); in ndi_ra_map_destroy() 301 return (NDI_SUCCESS); in ra_map_exist() 371 return (NDI_SUCCESS); in ndi_ra_free() 451 return (NDI_SUCCESS); in ndi_ra_free() 665 rval = NDI_SUCCESS; in ndi_ra_alloc() 704 rval = NDI_SUCCESS; in ndi_ra_alloc() 711 if ((rval != NDI_SUCCESS) && in ndi_ra_alloc() 736 if ((rval == NDI_SUCCESS) || (rval == NDI_RA_PARTIAL_REQ)) in ndi_ra_alloc() 883 return (NDI_SUCCESS); in isa_resource_setup() [all …]
|
H A D | gen_drv.c | 915 if (ndi_dc_allochdl((void *)arg, &dcp) != NDI_SUCCESS) in gen_ioctl() 921 &(cookie)) != NDI_SUCCESS) in gen_ioctl() 929 &cookie) == NDI_SUCCESS) { in gen_ioctl() 935 &cookie) == NDI_SUCCESS) { in gen_ioctl() 941 &cookie) == NDI_SUCCESS) { in gen_ioctl() 947 &cookie) == NDI_SUCCESS) { in gen_ioctl() 953 &cookie) == NDI_SUCCESS) { in gen_ioctl() 959 &cookie) == NDI_SUCCESS) { in gen_ioctl()
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_irm.c | 200 &apix_irm_pool_p) == NDI_SUCCESS) { in apix_irm_init() 352 NDI_SUCCESS) { in apix_irm_alloc_fixed() 407 new_pool_size) == NDI_SUCCESS) { in apix_irm_free_fixed() 484 new_pool_size) != NDI_SUCCESS) { in apix_irm_disable_intr()
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | nx1394.c | 200 if (status != NDI_SUCCESS) { in nx1394_bus_ctl() 433 if (ret == NDI_SUCCESS) { in nx1394_define_events() 437 if (ret != NDI_SUCCESS) { in nx1394_define_events() 457 if (ret == NDI_SUCCESS) in nx1394_undefine_events()
|
H A D | s1394_hotplug.c | 75 == NDI_SUCCESS) { in s1394_send_remove_event() 98 NDI_SUCCESS) in s1394_send_insert_event() 148 if (result != NDI_SUCCESS) { in s1394_create_devinfo() 157 if (result != NDI_SUCCESS) { in s1394_create_devinfo() 305 if (result != NDI_SUCCESS) { in s1394_create_devinfo() 330 if (result != NDI_SUCCESS) { in s1394_create_devinfo()
|
/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/ |
H A D | pcihp.c | 697 ctrl.rv = NDI_SUCCESS; in pcihp_create_occupant_props_nolock() 767 ndi_dc_allochdl((void *)arg, &dcp) != NDI_SUCCESS) in pcihp_ioctl() 835 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in pcihp_ioctl() 842 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in pcihp_ioctl() 1059 if (ndi_dc_return_ap_state(&ap_state, dcp) != NDI_SUCCESS) in pcihp_ioctl() 1484 ctrl.rv = NDI_SUCCESS; in pcihp_configure_ap() 1494 if (ctrl.rv != NDI_SUCCESS) { in pcihp_configure_ap() 1581 ctrl.rv = NDI_SUCCESS; in pcihp_configure_ap() 1590 if (ctrl.rv != NDI_SUCCESS) { in pcihp_configure_ap() 1681 ctrl.rv = NDI_SUCCESS; in pcihp_unconfigure_ap() [all …]
|
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/ |
H A D | pcie_hp.c | 284 arg.rv = NDI_SUCCESS; in pcie_hp_uninit() 289 if (arg.rv != NDI_SUCCESS) in pcie_hp_uninit() 381 arg.rv = NDI_SUCCESS; in pcie_hp_unprobe() 384 return (arg.rv == NDI_SUCCESS) ? (DDI_SUCCESS) : (DDI_FAILURE); in pcie_hp_unprobe() 505 cn_cfg.rv = NDI_SUCCESS; in pcie_hp_create_occupant_props() 616 int rv = NDI_SUCCESS; in pcie_hp_unregister_ports_cb() 636 if (rv == NDI_SUCCESS) in pcie_hp_unregister_ports_cb() 820 case NDI_SUCCESS: in ndi2ddi()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 951 NDI_RA_PASS) != NDI_SUCCESS) { in pcicfg_configure_ntbridge() 983 if (rc != NDI_SUCCESS) { in pcicfg_configure_ntbridge() 1005 != NDI_SUCCESS) { in pcicfg_configure_ntbridge() 1085 NDI_RA_TYPE_PCI_BUSNUM, NDI_RA_PASS) != NDI_SUCCESS) { in pcicfg_configure_ntbridge() 1119 if (rc1 != NDI_SUCCESS) { in pcicfg_configure_ntbridge() 1180 NDI_RA_PASS) != NDI_SUCCESS) { in pcicfg_ntbridge_allocate_resources() 1224 NDI_RA_PASS) != NDI_SUCCESS) { in pcicfg_ntbridge_allocate_resources() 1342 (pnode_t)DEVI_SID_NODEID, &new_ntbridgechild) != NDI_SUCCESS) { in pcicfg_ntbridge_unconfigure_child() 1411 NDI_RA_TYPE_PCI_BUSNUM, NDI_RA_PASS) != NDI_SUCCESS) { in pcicfg_ntbridge_unconfigure() 1581 if (ndi_devi_offline(child_dip, NDI_UNCONFIG) == NDI_SUCCESS) in pcicfg_unconfigure() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_devctl.c | 188 if (ndi_dc_allochdl((void *)arg, &dcp) != NDI_SUCCESS) in pci_devctl_ioctl() 201 if (ndi_get_bus_state(dip, &bus_state) == NDI_SUCCESS) in pci_devctl_ioctl() 209 if (ndi_get_bus_state(dip, &bus_state) == NDI_SUCCESS) in pci_devctl_ioctl()
|
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 857 NDI_RA_TYPE_PCI_BUSNUM, NDI_RA_PASS) != NDI_SUCCESS) { in pcicfg_configure_ntbridge() 889 if (rc != NDI_SUCCESS) { in pcicfg_configure_ntbridge() 981 NDI_RA_PASS) != NDI_SUCCESS) { in pcicfg_configure_ntbridge() 1009 if (rc1 != NDI_SUCCESS) { in pcicfg_configure_ntbridge() 1342 NDI_RA_TYPE_PCI_BUSNUM, NDI_RA_PASS) != NDI_SUCCESS) { in pcicfg_ntbridge_unconfigure() 1515 if (ndi_devi_offline(child_dip, NDI_UNCONFIG) == NDI_SUCCESS) in pcicfg_unconfigure() 1546 != NDI_SUCCESS) { in pcicfg_unconfigure() 1650 if (ndi_devi_offline(dip, NDI_DEVI_REMOVE) != NDI_SUCCESS) { in pcicfg_teardown_device() 2089 != NDI_SUCCESS) { in pcicfg_device_assign() 2126 != NDI_SUCCESS) { in pcicfg_device_assign() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_lun.c | 533 if (ndi_rtn == NDI_SUCCESS) { in iscsi_lun_phys_create() 567 if (ndi_rtn == NDI_SUCCESS) { in iscsi_lun_phys_create() 573 if (ndi_rtn == NDI_SUCCESS) { in iscsi_lun_phys_create() 639 if (rval == NDI_SUCCESS) { in iscsi_lun_online() 768 if (ndi_devi_offline(ilp->lun_dip, flags) != NDI_SUCCESS) { in iscsi_lun_offline()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 1689 if (ndi_devi_online(child, 0) != NDI_SUCCESS) { in smp_hba_bus_config() 1698 return (NDI_SUCCESS); in smp_hba_bus_config() 1727 return (NDI_SUCCESS); in smp_hba_bus_config_taddr() 1747 return (NDI_SUCCESS); in smp_hba_bus_config_taddr() 3122 if (ndi_dc_allochdl((void *)arg, &dcp) != NDI_SUCCESS) { in scsi_hba_ioctl() 3207 if (ndi_dc_return_dev_state(child, dcp) != NDI_SUCCESS) in scsi_hba_ioctl() 3232 if ((ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) && in scsi_hba_ioctl() 3239 else if (ndi_set_bus_state(self, BUS_QUIESCED) != NDI_SUCCESS) in scsi_hba_ioctl() 3244 if ((ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) && in scsi_hba_ioctl() 3251 else if (ndi_set_bus_state(self, BUS_ACTIVE) != NDI_SUCCESS) in scsi_hba_ioctl() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/ |
H A D | smartpqi_hba.c | 761 if (ret == NDI_SUCCESS) in pqi_bus_config() 813 return (NDI_SUCCESS); in pqi_config_all() 934 NDI_SUCCESS) { 978 if (ndi_devi_online(dip, NDI_ONLINE_ATTACH) != NDI_SUCCESS) 1141 return (NDI_SUCCESS); 1145 return (NDI_SUCCESS); 1155 return ((rval == B_TRUE) ? NDI_SUCCESS : NDI_FAILURE);
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_resource.c | 1058 sizeof (int)) != NDI_SUCCESS) { in acpidev_resource_process() 1068 sizeof (int)) != NDI_SUCCESS) { in acpidev_resource_process() 1079 rhdl->acpidev_irq_count) != NDI_SUCCESS) { in acpidev_resource_process() 1090 rhdl->acpidev_dma_count) != NDI_SUCCESS) { in acpidev_resource_process() 1105 sizeof (int)) != NDI_SUCCESS) { in acpidev_resource_process() 1117 sizeof (int)) != NDI_SUCCESS) { in acpidev_resource_process()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_dr.c | 139 if (err != NDI_SUCCESS) { in sbdp_attach_branch() 144 if (err != NDI_SUCCESS) { in sbdp_attach_branch()
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fcpci.c | 1398 NDI_RA_PASS) != NDI_SUCCESS) { in pci_alloc_resource() 1433 NDI_RA_PASS) != NDI_SUCCESS) { in pci_alloc_resource() 1483 NDI_RA_PASS) != NDI_SUCCESS) { in pci_alloc_resource() 1522 NDI_RA_PASS) != NDI_SUCCESS) { in pci_alloc_resource() 1622 NDI_RA_PASS) != NDI_SUCCESS) { in pci_free_resource() 1638 NDI_RA_PASS) != NDI_SUCCESS) { in pci_free_resource() 1650 NDI_RA_PASS) != NDI_SUCCESS) { in pci_free_resource() 1661 NDI_RA_PASS) != NDI_SUCCESS) { in pci_free_resource()
|