Home
last modified time | relevance | path

Searched refs:devctl (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_mptsas.c37 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 Dfac_prov_mptsas.c76 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 Dfac_prov_ahci.c84 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 Dsfxge_pci.c95 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 Dpiclfrutree.info126 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 DMakefile28 PROG= devctl
/illumos-gate/usr/src/lib/libdevice/
H A DMakefile.com28 OBJECTS= devctl.o
/illumos-gate/usr/src/uts/common/sys/sata/adapters/si3124/
H A Dsi3124reg.h167 #define SET_FIS_SECTOR_DEVCTL(fis, devctl) \ argument
169 ((devctl & 0xff) << 24))
/illumos-gate/usr/src/uts/common/sys/sata/adapters/ahci/
H A Dahcireg.h415 #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 DSSG-2029P-ACR24L-disk-hc-topology.xmlgenksh81 devctl="/devices/pci@0,0/pci15d9,981@11,5:devctl"
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-io-tests.p5m58 file path=usr/sbin/devctl mode=0555
H A Ddriver-network-cxgbe.p5m153 alias=pciex1425,6492 devlink=type=ddi_ctl:devctl;minor1=t4nex\tt4nex\M2
H A Dsystem-kernel.p5m575 policy="devctl write_priv_set=sys_devices"
H A Dsystem-header.p5m818 file path=usr/include/sys/devctl.h
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie.c3567 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 DMakefile127 devctl \
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c188 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 Dmr_sas.h565 uint8_t devctl; /* Device nodes for cfgadm created. */ member
H A Dmr_sas.c882 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 DMakefile180 devctl.h \
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c7720 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()