/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_mptsas.c | 37 get_sas_address(topo_mod_t *mod, char *devctl, uint32_t enclosure, in get_sas_address() argument 47 if ((fd = open(devctl, O_RDWR)) == -1) { in get_sas_address() 49 devctl, strerror(errno)); in get_sas_address() 54 topo_mod_dprintf(mod, "ioctl 1 on '%s' failed: %s\n", devctl, in get_sas_address() 70 topo_mod_dprintf(mod, "ioctl 2 on '%s' failed: %s\n", devctl, in get_sas_address() 98 char *devctl = NULL; in disk_mptsas_find_disk() local 107 TOPO_BINDING_DEVCTL, &devctl, &err) != 0 || in disk_mptsas_find_disk() 112 if (devctl != NULL) in disk_mptsas_find_disk() 113 topo_mod_strfree(mod, devctl); in disk_mptsas_find_disk() 119 return (get_sas_address(mod, devctl, enclosure, slot, sas_address)); in disk_mptsas_find_disk()
|
/illumos-gate/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() 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()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ahci/ |
H A D | fac_prov_ahci.c | 84 do_led_control(topo_mod_t *mod, const char *devctl, uint32_t port, in do_led_control() argument 89 if ((fd = open(devctl, (set ? O_RDWR : O_RDONLY))) == -1) { in do_led_control() 175 char *devctl = NULL; in ahci_led_mode() local 210 TOPO_BINDING_DEVCTL, &devctl, &err) != 0 || in ahci_led_mode() 244 ret = do_led_control(mod, devctl, ahci_port, fac_type, &ledmode, set); in ahci_led_mode() 265 topo_mod_strfree(mod, devctl); in ahci_led_mode()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_pci.c | 95 uint16_t devctl; in sfxge_pci_init() local 184 devctl = pci_config_get16(sp->s_pci_handle, off + PCIE_DEVCTL); in sfxge_pci_init() 186 max_payload_size = (devctl & PCIE_DEVCTL_MAX_PAYLOAD_MASK) in sfxge_pci_init() 189 max_read_request = (devctl & PCIE_DEVCTL_MAX_READ_REQ_MASK) in sfxge_pci_init()
|
/illumos-gate/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
|
/illumos-gate/usr/src/cmd/devctl/ |
H A D | Makefile | 28 PROG= devctl
|
/illumos-gate/usr/src/lib/libdevice/ |
H A D | Makefile.com | 28 OBJECTS= devctl.o
|
/illumos-gate/usr/src/uts/common/sys/sata/adapters/si3124/ |
H A D | si3124reg.h | 167 #define SET_FIS_SECTOR_DEVCTL(fis, devctl) \ argument 169 ((devctl & 0xff) << 24))
|
/illumos-gate/usr/src/uts/common/sys/sata/adapters/ahci/ |
H A D | ahcireg.h | 415 #define SET_FIS_DEVCTL(fis, devctl) \ argument 417 ((devctl & 0xff) << 24))
|
/illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-2029P-ACR24L/ |
H A D | SSG-2029P-ACR24L-disk-hc-topology.xmlgenksh | 81 devctl="/devices/pci@0,0/pci15d9,981@11,5:devctl"
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-io-tests.p5m | 58 file path=usr/sbin/devctl mode=0555
|
H A D | driver-network-cxgbe.p5m | 153 alias=pciex1425,6492 devlink=type=ddi_ctl:devctl;minor1=t4nex\tt4nex\M2
|
H A D | system-kernel.p5m | 575 policy="devctl write_priv_set=sys_devices"
|
H A D | system-header.p5m | 818 file path=usr/include/sys/devctl.h
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcie.c | 3567 uint32_t devcap, devctl; in pcie_fabric_feature_set() local 3587 devctl = pci_cfgacc_get16(rcdip, bus_p->bus_bdf, bus_p->bus_pcie_off + in pcie_fabric_feature_set() 3592 devctl |= PCIE_DEVCTL_EXT_TAG_FIELD_EN; in pcie_fabric_feature_set() 3595 devctl &= ~PCIE_DEVCTL_MAX_PAYLOAD_MASK; in pcie_fabric_feature_set() 3597 devctl |= fab->pfd_mps_act << PCIE_DEVCTL_MAX_PAYLOAD_SHIFT; in pcie_fabric_feature_set() 3600 PCIE_DEVCTL, devctl); in pcie_fabric_feature_set()
|
/illumos-gate/usr/src/cmd/ |
H A D | Makefile | 127 devctl \
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 188 uint16_t devctl; member 3968 uint16_t devctl; in pcicfg_disable_bridge_probe_err() local 3976 regs->devctl = devctl = PCI_CAP_GET16(h, 0, cap_ptr, in pcicfg_disable_bridge_probe_err() 3978 devctl &= ~(PCIE_DEVCTL_UR_REPORTING_EN | in pcicfg_disable_bridge_probe_err() 3982 PCI_CAP_PUT16(h, 0, cap_ptr, PCIE_DEVCTL, devctl); in pcicfg_disable_bridge_probe_err() 4001 regs->devctl); in pcicfg_enable_bridge_probe_err()
|
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.h | 565 uint8_t devctl; /* Device nodes for cfgadm created. */ member
|
H A D | mr_sas.c | 882 instance->unroll.devctl = 1; in mrsas_attach() 1161 if (instance->unroll.devctl == 1) { in mrsas_undo_resources() 1163 instance->unroll.devctl = 0; in mrsas_undo_resources()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | Makefile | 180 devctl.h \
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_hw.c | 7720 u16 devctl; in t4_fixup_host_params_compat() local 7728 &devctl); in t4_fixup_host_params_compat() 7729 mps_log = ((devctl & PCI_EXP_DEVCTL_PAYLOAD) >> 5) + 7; in t4_fixup_host_params_compat()
|