Home
last modified time | relevance | path

Searched refs:NDI_DEVI_REMOVE (Results 1 – 25 of 37) sorted by relevance

12

/titanic_50/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_main.c462 if (flags & (NDI_UNCONFIG | NDI_DEVI_REMOVE)) { in eibnx_bus_unconfig()
478 if (flags & (NDI_UNCONFIG | NDI_DEVI_REMOVE)) { in eibnx_bus_unconfig()
/titanic_50/usr/src/uts/common/io/
H A Dtphci.c567 rval = mdi_pi_offline(pip, NDI_DEVI_REMOVE); in tphci_bus_unconfig()
588 rval = mdi_pi_offline(pip, NDI_DEVI_REMOVE); in tphci_bus_unconfig()
/titanic_50/usr/src/uts/common/os/
H A Dsunndi.c553 rval = ndi_devi_unconfig_one(dip, name, NULL, flags | NDI_DEVI_REMOVE); in ndi_devctl_device_remove()
881 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create()
890 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create()
900 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create()
912 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create()
921 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create()
944 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create()
H A Ddevcfg.c1834 ret = ndi_devi_unconfig(dip, NDI_DEVI_REMOVE); in ddi_remove_child()
5134 (flags & (NDI_DEVI_OFFLINE | NDI_UNCONFIG | NDI_DEVI_REMOVE)) && in need_remove_event()
5955 if (flags & (NDI_UNCONFIG | NDI_DEVI_REMOVE)) { in devi_detach_node()
5964 flags |= NDI_DEVI_REMOVE; in devi_detach_node()
5966 if (flags & NDI_DEVI_REMOVE) { in devi_detach_node()
H A Dsunmdi.c1199 rv = ndi_devi_offline(cdip, NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE); in i_mdi_devinfo_remove()
3816 if (flags & NDI_DEVI_REMOVE) { in mdi_pi_offline()
3817 flags &= ~NDI_DEVI_REMOVE; in mdi_pi_offline()
5664 if (flags & NDI_DEVI_REMOVE) { in i_mdi_client_offline()
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_lun.c713 NDI_DEVI_REMOVE); in iscsi_lun_offline()
742 ilp->lun_dip, NDI_DEVI_REMOVE); in iscsi_lun_offline()
/titanic_50/usr/src/uts/common/io/fcoe/
H A Dfcoe_fc.c491 rval = ndi_devi_offline(mac->fm_client_dev, NDI_DEVI_REMOVE); in fcoe_delete_port()
/titanic_50/usr/src/uts/common/io/usb/usb_ia/
H A Dusb_ia.c431 flag &= ~(NDI_DEVI_REMOVE | NDI_UNCONFIG); in usb_ia_bus_unconfig()
439 flag |= NDI_DEVI_REMOVE; in usb_ia_bus_unconfig()
/titanic_50/usr/src/uts/common/sys/
H A Dsunndi.h306 #define NDI_DEVI_REMOVE 0x00000001 /* remove after unconfig */ macro
/titanic_50/usr/src/uts/common/io/usb/usb_mid/
H A Dusb_mid.c482 flag &= ~(NDI_DEVI_REMOVE | NDI_UNCONFIG); in usb_mid_bus_unconfig()
490 flag |= NDI_DEVI_REMOVE; in usb_mid_bus_unconfig()
/titanic_50/usr/src/uts/common/io/bnxe/
H A Dbnxe_fcoe.c1742 if (ndi_devi_offline(pUM->fcoe.pDev, NDI_DEVI_REMOVE) != NDI_SUCCESS) in BnxeFcoeFini()
1749 ndi_devi_offline(pUM->fcoe.pDev, NDI_DEVI_REMOVE); in BnxeFcoeFini()
/titanic_50/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c725 flag &= ~(NDI_DEVI_REMOVE | NDI_UNCONFIG); in scsa1394_scsi_bus_unconfig()
738 flag |= NDI_DEVI_REMOVE; in scsa1394_scsi_bus_unconfig()
744 ((saved_flag & NDI_DEVI_REMOVE) != 0)) { in scsa1394_scsi_bus_unconfig()
/titanic_50/usr/src/uts/sun4/io/efcode/
H A Dfc_ops.c794 (void) ndi_devi_offline(root, NDI_UNCONFIG | NDI_DEVI_REMOVE); in remove_subtree()
/titanic_50/usr/src/uts/common/io/usb/usba/
H A Dusba.c921 int rval = usba_destroy_child_devi(*child_dip, NDI_DEVI_REMOVE); in usba_create_child_devi()
2523 (void) usba_destroy_child_devi(child_dip, NDI_DEVI_REMOVE); in usba_ready_interface_association_node()
2754 (void) usba_destroy_child_devi(child_dip, NDI_DEVI_REMOVE); in usba_ready_interface_node()
H A Dhubdi.c1432 flag |= NDI_DEVI_REMOVE; in hubd_bus_unconfig()
2342 (void) hubd_delete_child(hubd, port, NDI_DEVI_REMOVE, in hubd_check_disconnected_ports()
6401 NDI_DEVI_REMOVE); in hubd_create_child()
6464 if ((rval == USB_SUCCESS) && (flag & NDI_DEVI_REMOVE)) { in hubd_delete_child()
7504 NDI_DEVI_REMOVE, B_FALSE) != USB_SUCCESS) { in usba_hubdi_ioctl()
8752 NDI_DEVI_REMOVE, B_FALSE); in hubd_reset_thread()
8769 reset_port, NDI_DEVI_REMOVE, B_FALSE) != USB_SUCCESS)) { in hubd_reset_thread()
/titanic_50/usr/src/uts/sun4u/io/i2c/nexus/
H A Di2bsc.c467 if ((rv = ndi_devi_offline(child, NDI_DEVI_REMOVE)) != in i2bsc_ioctl()
/titanic_50/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c3279 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) != NDI_SUCCESS) { in scsi_hba_ioctl()
3327 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) != NDI_SUCCESS) in scsi_hba_ioctl()
6757 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) == DDI_SUCCESS) { in scsi_device_unconfig()
8076 flags &= ~NDI_DEVI_REMOVE; in scsi_hba_bus_unconfig_tgtmap()
8231 flags &= ~NDI_DEVI_REMOVE; in scsi_hba_bus_unconfig_iportmap()
8349 flags |= NDI_DEVI_REMOVE; in scsi_hba_bus_unconfig()
8468 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) == DDI_SUCCESS) { in scsi_tgtmap_smp_unconfig()
9463 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) == DDI_SUCCESS) { in scsi_iportmap_unconfig()
/titanic_50/usr/src/uts/i86pc/io/
H A Dimmu_dmar.c731 if (ndi_devi_offline(dip, NDI_DEVI_REMOVE) != DDI_SUCCESS) { in drhd_devi_destroy()
/titanic_50/usr/src/uts/common/xen/os/
H A Dxvdi.c814 (void) ndi_devi_offline(dip, NDI_DEVI_REMOVE); in xvdi_create_dev()
2265 (void) ndi_devi_offline(dip, NDI_DEVI_REMOVE); in xendev_offline_device()
/titanic_50/usr/src/uts/common/io/1394/
H A Ds1394_hotplug.c754 (void) ndi_devi_offline(devinfo_ptrs[j], NDI_DEVI_REMOVE); in s1394_offline_node()
/titanic_50/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c2448 flag &= ~(NDI_DEVI_REMOVE | NDI_UNCONFIG); in scsa2usb_scsi_bus_unconfig()
2460 flag |= NDI_DEVI_REMOVE; in scsa2usb_scsi_bus_unconfig()
2466 (save_flag & NDI_DEVI_REMOVE)) { in scsa2usb_scsi_bus_unconfig()
/titanic_50/usr/src/uts/common/io/cardbus/
H A Dcardbus_cfg.c424 NDI_UNCONFIG|NDI_DEVI_REMOVE); in cardbus_configure()
467 if (ndi_devi_offline(dip, NDI_DEVI_REMOVE) != NDI_SUCCESS) { in cardbus_teardown_device()
/titanic_50/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c3868 flag = NDI_DEVI_REMOVE; in fcp_port_ioctl()
9319 0, 1, NDI_DEVI_REMOVE); in fcp_device_changed()
12585 link_cnt, tgt_cnt, NDI_DEVI_REMOVE, 0); in fcp_create_dip()
12776 NDI_DEVI_REMOVE, 0); in fcp_create_pip()
13362 if (flags & NDI_DEVI_REMOVE) { in fcp_offline_child()
13396 if (flags & NDI_DEVI_REMOVE) { in fcp_offline_child()
13459 NDI_DEVI_REMOVE); in fcp_remove_child()
/titanic_50/usr/src/uts/common/io/sata/impl/
H A Dsata.c1033 NDI_DEVI_REMOVE) != in sata_hba_detach()
1068 NDI_DEVI_REMOVE) != in sata_hba_detach()
10856 NDI_DEVI_REMOVE) != NDI_SUCCESS) { in sata_offline_device()
11116 if (ndi_devi_offline(tdip, NDI_DEVI_REMOVE) != NDI_SUCCESS) { in sata_remove_target_node()
12057 NDI_DEVI_REMOVE) != NDI_SUCCESS) { in sata_free_pmult()
15370 if (ndi_devi_offline(tdip, NDI_DEVI_REMOVE) != in sata_ioctl_deactivate()
20030 NDI_DEVI_REMOVE); in sata_process_device_attached()
20292 NDI_DEVI_REMOVE); in sata_process_pmdevice_attached()
20402 if (ndi_devi_offline(tdip, NDI_DEVI_REMOVE) == in sata_process_target_node_cleanup()
/titanic_50/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c755 (void) ndi_devi_offline(new_device, NDI_DEVI_REMOVE); in pcicfg_configure()
1612 if (ndi_devi_offline(dip, NDI_DEVI_REMOVE) != NDI_SUCCESS) { in pcicfg_teardown_device()

12