Searched defs:devctl (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_mptsas.c36 get_sas_address(topo_mod_t *mod, char *devctl, uint32_t enclosure, argument
46 if ((fd = open(devctl, O_RDWR)) == -1) {
48 devctl, strerror(errno));
53 topo_mod_dprintf(mod, "ioctl 1 on '%s' failed: %s\n", devctl,
69 topo_mod_dprintf(mod, "ioctl 2 on '%s' failed: %s\n", devctl,
97 char *devctl = NULL; local
106 TOPO_BINDING_DEVCTL, &devctl, &err) != 0 ||
111 if (devctl != NULL)
112 topo_mod_strfree(mod, devctl);
118 return (get_sas_address(mod, devctl, enclosur
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_pci.c95 uint16_t devctl; local
184 devctl = pci_config_get16(sp->s_pci_handle, off + PCIE_DEVCTL);
186 max_payload_size = (devctl & PCIE_DEVCTL_MAX_PAYLOAD_MASK)
189 max_read_request = (devctl & PCIE_DEVCTL_MAX_READ_REQ_MASK)
/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, argument
90 if ((fd = open(devctl, (set ? O_RDWR : O_RDONLY))) == -1) {
91 topo_mod_dprintf(mod, "devctl open failed: %s",
127 char *driver = NULL, *devctl = NULL; local
165 TOPO_BINDING_DEVCTL, &devctl, &err) != 0 ||
200 if (do_led_control(mod, devctl, enclosure, slot, mptsas_led, &ledmode,
222 if (devctl != NULL)
223 topo_mod_strfree(mod, devctl);
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c186 uint16_t devctl; member in struct:pcicfg_err_regs
3964 uint16_t devctl; local
3972 regs->devctl = devctl = PCI_CAP_GET16(h, NULL, cap_ptr,
3974 devctl &= ~(PCIE_DEVCTL_UR_REPORTING_EN |
3978 PCI_CAP_PUT16(h, NULL, cap_ptr, PCIE_DEVCTL, devctl);
3997 regs->devctl);
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h562 uint8_t devctl; /* Device nodes for cfgadm created. */ member in struct:mrsas_instance::_unroll

Completed in 86 milliseconds