| /titanic_54/usr/src/lib/fm/topo/modules/common/disk/ |
| H A D | disk_mptsas.c | 36 get_sas_address(topo_mod_t *mod, char *devctl, uint32_t enclosure, in get_sas_address() argument 46 if ((fd = open(devctl, O_RDWR)) == -1) { in get_sas_address() 48 devctl, strerror(errno)); in get_sas_address() 53 topo_mod_dprintf(mod, "ioctl 1 on '%s' failed: %s\n", devctl, in get_sas_address() 69 topo_mod_dprintf(mod, "ioctl 2 on '%s' failed: %s\n", devctl, in get_sas_address() 97 char *devctl = NULL; in disk_mptsas_find_disk() local 106 TOPO_BINDING_DEVCTL, &devctl, &err) != 0 || in disk_mptsas_find_disk() 111 if (devctl != NULL) in disk_mptsas_find_disk() 112 topo_mod_strfree(mod, devctl); in disk_mptsas_find_disk() 118 return (get_sas_address(mod, devctl, enclosure, slot, sas_address)); in disk_mptsas_find_disk()
|
| /titanic_54/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/ |
| H A D | Joyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh | 28 <propval name='devctl' type='string' value='${3}' /> 72 devctl='/devices/pci@0,0/pci8086,3c02@1/pci15d9,691@0:devctl' 74 do_node $bay "Front Disk $bay" "$devctl" $enclosure $slot 80 devctl='/devices/pci@0,0/pci8086,3c06@2,2/pci15d9,691@0:devctl' 82 do_node $bay "Front Disk $bay" "$devctl" $enclosure $slot
|
| /titanic_54/usr/src/cmd/devctl/ |
| H A D | devctl.c | 27 * devctl - device control utility 30 * cc -o devctl -ldevice -ldevinfo devctl.c 32 * usage: devctl [-v] command [device/bus pathname] 35 * list - list all controllers exporting the devctl interface 80 * devctl list - list all controllers exporting a :devctl node 81 * devctl offline /dev/dsk/c0t3d0s0 - offline disk 82 * devctl dev-getstate /devices/sbus@1f,0/espdma@e,8400000/esp@e,8800000\ 254 "devctl: readlink(%s) - %s\n", in main() 281 "devctl: device_pm_bus_acquire %s - %s\n", in main() 288 (void) fprintf(stderr, "devctl: bus_acquire " in main() [all …]
|
| /titanic_54/usr/src/lib/fm/topo/modules/common/fac_prov_mptsas/ |
| H A D | fac_prov_mptsas.c | 76 do_led_control(topo_mod_t *mod, char *devctl, uint16_t enclosure, in do_led_control() argument 90 if ((fd = open(devctl, (set ? O_RDWR : O_RDONLY))) == -1) { in do_led_control() 91 topo_mod_dprintf(mod, "devctl open failed: %s", in do_led_control() 127 char *driver = NULL, *devctl = NULL; in mptsas_led_mode() local 165 TOPO_BINDING_DEVCTL, &devctl, &err) != 0 || in mptsas_led_mode() 200 if (do_led_control(mod, devctl, enclosure, slot, mptsas_led, &ledmode, in mptsas_led_mode() 222 if (devctl != NULL) in mptsas_led_mode() 223 topo_mod_strfree(mod, devctl); in mptsas_led_mode()
|
| /titanic_54/usr/src/man/man1m/ |
| H A D | fwflash.1m | 211 pci15b3,5a46@c/pci15b3,5a44@0:devctl 220 Device[1], /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl 263 -d /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl\fR 265 /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl 287 -d /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl\fR 289 /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl 308 -d /devices/pci@1d,700000/pci@1/pci15b3,5a44@0:devctl\fR 310 /devices/pci@1d,700000/pci@1/pci15b3,5a44@0:devctl
|
| /titanic_54/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/ |
| H A D | piclfrutree.info | 126 REFNODE disk fru WITH _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=1 129 REFNODE disk fru WITH _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=3 134 _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=1 137 _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=3
|
| /titanic_54/usr/src/uts/sun4/io/px/ |
| H A D | px_devctl.c | 27 * PCI nexus HotPlug devctl interface 106 /* To handle devctl and hotplug related ioctls */ in px_open() 156 /* To handle devctl and hotplug related ioctls */ in px_close() 244 /* To handle devctl and hotplug related ioctls */ in px_ioctl()
|
| /titanic_54/usr/src/lib/storage/common/ |
| H A D | stgcom.h | 49 #define FC_CTLR ":devctl" 65 #define VHCI_NODE "/devices/scsi_vhci:devctl" 73 #define DEVCTL_POSTFIX ":devctl" 450 * for Devctl functions. 452 /* Devctl acquire fails */
|
| /titanic_54/usr/src/uts/common/io/ib/clients/eoib/ |
| H A D | enx_main.c | 269 * Create "devctl" minor node for general ioctl interface to the in eibnx_attach() 271 * the support for devctl (but issue a warning). in eibnx_attach() 274 if (ddi_create_minor_node(dip, "devctl", S_IFCHR, instance, in eibnx_attach() 276 ENX_DPRINTF_WARN("could not create devctl minor node " in eibnx_attach() 331 * Cleanup any devctl minor node we may have created, unbind and in eibnx_detach()
|
| /titanic_54/usr/src/uts/common/io/ |
| H A D | pseudonex.c | 35 * pseudonex also supports the devctl (see <sys/devctl.h>) interface via 36 * its :devctl minor node. This allows priveleged userland applications to 54 * database to include nexus children of pseudo. Then we could use devctl 231 if (ddi_create_minor_node(devi, "devctl", S_IFCHR, instance, in pseudonex_attach()
|
| H A D | pshot.c | 89 #include <sys/devctl.h> 1761 * devctl IOCTL support 1866 * pshot_devctl: handle DEVCTL operations 1894 cmn_err(CE_CONT, "pshot%d devctl: %s", in pshot_devctl() 1915 * read devctl ioctl data in pshot_devctl() 1924 cmn_err(CE_CONT, "pshot%d devctl:" in pshot_devctl() 1933 cmn_err(CE_CONT, "pshot%d devctl:" in pshot_devctl() 1949 cmn_err(CE_CONT, "pshot%d devctl:" in pshot_devctl() 1987 cmn_err(CE_CONT, "pshot%d devctl:" in pshot_devctl() 2010 cmn_err(CE_CONT, "pshot%d devctl:" in pshot_devctl() [all …]
|
| /titanic_54/usr/src/uts/common/sys/ib/ibnex/ |
| H A D | ibnex_devctl.h | 38 * The only devctl of interest is DEVCTL_AP_CONTROL which uses 113 #define IBNEX_HCA_VERBOSE_SZ 0x20000 /* -alv hca_apid devctl size */ 114 #define IBNEX_HCA_VERBOSE_INFO 0x40000 /* -alv hca_apid devctl data */ 119 * devctl. Note that these are separate structures as some fields are pointers. 243 * NOTE: The ioctl codes should not collide with generic devctl ioctls 255 #define IBNEX_DEVCTL_DEV "/devices/ib:devctl"
|
| /titanic_54/usr/src/uts/common/sys/sata/impl/ |
| H A D | sata.h | 101 * DEVCTL open flag: 450 * sata_scsi's hba_open_flag: field indicating open devctl instance. 722 * Minor number construction for devctl and attachment point nodes. 725 * Devctl node minor number: 752 * a/d - 0 - devctl node 759 #define SATA_DEVCTL_NODE 0x000 /* DEVCTL node */ 767 /* Macro for creating devctl node minor number */
|
| /titanic_54/usr/src/uts/sun4u/chicago/io/ |
| H A D | ppm.conf | 126 "cmd=PRE_PWR_OFF path=/pci@1f,700000:devctl method=KIO iowr=0x504D0001 val=0x00", 127 "cmd=PRE_PWR_ON path=/pci@1f,700000:devctl method=KIO iowr=0x504D0002 val=0x00", 128 …"cmd=POST_PWR_ON path=/pci@1f,700000:devctl method=KIO iowr=0x504D0003 val=0x00 post_delay=100000",
|
| /titanic_54/usr/src/uts/sun4u/io/pci/ |
| H A D | pci_devctl.c | 27 * PCI nexus HotPlug devctl interface 186 * read devctl ioctl data in pci_devctl_ioctl() 308 * devctl ioctls with minor number PCIHP_DEVCTL_MINOR and in pci_ioctl()
|
| H A D | simba.c | 404 * create minor node for devctl interfaces in simba_attach() 406 if (ddi_create_minor_node(devi, "devctl", S_IFCHR, instance, in simba_attach() 415 ddi_remove_minor_node(devi, "devctl"); in simba_attach() 490 ddi_remove_minor_node(devi, "devctl"); in simba_detach() 1113 * simba_ioctl: devctl hotplug controls 1145 * read devctl ioctl data in simba_ioctl()
|
| /titanic_54/usr/src/lib/storage/libg_fc/common/ |
| H A D | hot.c | 154 * Path to the FCA devctl node. 157 * /devices/pci@6,2000/pci@2/SUNW,qlc@4/fp@0,0:devctl 285 /* append devctl to the path */ in g_force_lip() 296 /* append devctl to the path */ in g_force_lip()
|
| H A D | map.c | 889 * Get the path to the :devctl driver in g_get_limited_map() 1143 * Get the path to the :devctl driver in g_get_dev_list() 1150 * /devices/sbus@1f,0/SUNW,socal@1,0/SUNW,sf@0,0:devctl in g_get_dev_list() 1152 * a 1 level PCI type driver but still :devctl in g_get_dev_list() 1568 * Get the path to the :devctl driver in create_map() 1575 * /devices/sbus@1f,0/SUNW,socal@1,0/SUNW,sf@0,0:devctl in create_map() 1577 * a 1 level PCI type driver but still :devctl in create_map() 2184 * Get the path to the :devctl driver in g_dev_map_init() 2191 * /devices/sbus@1f,0/SUNW,socal@1,0/SUNW,sf@0,0:devctl in g_dev_map_init() 2193 * a 1 level PCI type driver but still :devctl in g_dev_map_init() [all …]
|
| /titanic_54/usr/src/lib/cfgadm_plugins/ib/common/ |
| H A D | cfga_ib.c | 126 "Cannot issue devctl to " }, 568 * devctl_hdl - Handler to devctl 598 * devctl_hdl - Handler to devctl 654 * hdl - Handler to devctl 662 * issues a "devctl" to get the Receptacle state for that ap_id. 692 * hdl - Handler to devctl 700 * issues a "devctl" to get the Occupant state for that ap_id. 729 * sub_cmd1 - Sub Command 1 to DEVCTL_AP_CONTROL devctl 730 * sub_cmd2 - Sub Command 2 to DEVCTL_AP_CONTROL devctl 735 * misc_arg - optional arguments to DEVCTL_AP_CONTROL devctl [all …]
|
| /titanic_54/usr/src/uts/sun4/io/ |
| H A D | ebus.c | 313 * create minor node for devctl interfaces in ebus_attach() 315 if (ddi_create_minor_node(dip, "devctl", S_IFCHR, instance, in ebus_attach() 321 ddi_remove_minor_node(dip, "devctl"); in ebus_attach() 376 ddi_remove_minor_node(dip, "devctl"); in ebus_detach() 1025 * ebus_ioctl: devctl hotplug controls 1056 * read devctl ioctl data in ebus_ioctl()
|
| /titanic_54/usr/src/uts/common/io/pciex/ |
| H A D | pcie.c | 219 * Create a "devctl" minor node to support DEVCTL_DEVICE_* in pcie_init() 222 if ((ret = ddi_create_minor_node(dip, "devctl", S_IFCHR, in pcie_init() 225 PCIE_DBG("Failed to create devctl minor node for %s%d\n", in pcie_init() 247 ddi_remove_minor_node(dip, "devctl"); in pcie_init() 272 ddi_remove_minor_node(dip, "devctl"); in pcie_uninit() 377 * We can use the generic implementation for devctl ioctl in pcie_ioctl() 390 * read devctl ioctl data in pcie_ioctl() 607 PCIE_DBG_CAP(cdip, bus_p, "DEVCTL", 16, PCIE_DEVCTL, reg16); in pcie_initchild() 1385 PCIE_DBG_CAP(dip, bus_p, "DEVCTL", 16, PCIE_DEVCTL, reg16); in pcie_enable_errors() 1397 PCIE_DBG_CAP(dip, bus_p, "ROOT DEVCTL", 16, PCIE_ROOTCTL, in pcie_enable_errors() [all …]
|
| /titanic_54/usr/src/cmd/th_tools/ |
| H A D | th_manage.c | 40 #include <sys/devctl.h> 149 * might have been a devctl command in main() 268 * These functions provide access to the devctl functions,
|
| /titanic_54/usr/src/uts/common/sys/ |
| H A D | devctl.h | 41 * and nexus driver devctl IOCTL interface. 179 * is (c) in the range of possible devctl IOCTL commands?
|
| /titanic_54/usr/src/lib/libdevice/ |
| H A D | llib-ldevice | 30 #include <sys/devctl.h>
|
| H A D | devctl.c | 44 static const char *devctl_minorname = ":devctl"; 178 * The minor name ":devctl" is appended. 268 * ":devctl" minor node name string. in dc_mkhndl() 352 * ":devctl" minor node name string. in dc_mkhndl() 379 * in the IOCTL data for DEVCTL ops on devices. in dc_mkhndl() 434 * verify the devctl or ap device exists and is a in dc_mkhndl()
|