Home
last modified time | relevance | path

Searched +full:powered +full:- +full:while +full:- +full:suspended (Results 1 – 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/man/man8/
H A Dcfgadm_sbd.89 cfgadm_sbd \- \fBcfgadm\fR commands for system board administration
12 \fBcfgadm \fR \fB-l\fR [\fB-a\fR] [\fB-o\fR parsable] \fI ap_id\fR...
17 \fBcfgadm \fR \fB-c \fR \fIfunction\fR [\fB-f\fR] [\fB-y\fR | \fB-n\fR]
18 [\fB-o\fR nopoweroff] [\fB-v\fR] \fI ap_id\fR...
23 \fBcfgadm \fR \fB-t\fR [\fB-v\fR] \fI ap_id\fR...
28 \fBcfgadm \fR \fB-x \fR [\fB-f\fR] [\fB-v\fR] \fIfunction\fR \fI ap_id\fR...
45 slot by using the \fB-a\fR option.
158 powered on and in the disconnected state crashes the operating system and can
170 The board is powered on and connected to the system bus. You can view the
181 disconnected state without being powered off. However, a board must be powered
[all …]
/illumos-gate/usr/src/man/man5/
H A Dpower.conf.58 power.conf \- Power Management configuration information file
34 \fBpm-components\fR property describes the Power Management model of a device
35 driver to the Power Management framework. See \fBpm-components\fR(9P) for more
42 component is power-managed independently.
47 threshold. By default, all components of the device are powered off if they
58 system-threshold \fIthreshold\fR
65 system-threshold \fBalways-on\fR
73 (defaulting to seconds if only a number is given). If \fBalways-on\fR is
77 The \fBsystem-threshold\fR entry is applicable to CPU Power Management only
78 when CPU Power Management has been configured to operate in poll-mode, which is
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c28 * Copyright 2013 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
32 * FTDI FT232R USB UART device-specific driver
96 * Sub-routines
134 /* vendor-specific commands */
177 static uint_t uftdi_instance_debug = (uint_t)-1;
191 uf->uf_dip = aip->ai_dip; in uftdi_attach()
192 uf->uf_usb_events = aip->ai_usb_events; in uftdi_attach()
193 *aip->ai_hdl = (ds_hdl_t)uf; in uftdi_attach()
196 *aip->ai_port_cnt = 1; in uftdi_attach()
198 if (usb_client_attach(uf->uf_dip, USBDRV_VERSION, 0) != USB_SUCCESS) { in uftdi_attach()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dpl2303_dsd.c29 * USB Prolific PL2303 device-specific driver (DSD)
90 * Sub-routines
128 /* vendor-specific commands */
210 static uint_t pl2303_instance_debug = (uint_t)-1;
222 plp->pl_dip = aip->ai_dip; in pl2303_attach()
223 plp->pl_usb_events = aip->ai_usb_events; in pl2303_attach()
224 *aip->ai_hdl = (ds_hdl_t)plp; in pl2303_attach()
227 *aip->ai_port_cnt = 1; in pl2303_attach()
229 if (usb_client_attach(plp->pl_dip, USBDRV_VERSION, 0) != USB_SUCCESS) { in pl2303_attach()
235 if (usb_get_dev_data(plp->pl_dip, &plp->pl_dev_data, USB_PARSE_LVL_IF, in pl2303_attach()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dppmvar.h51 #define PPM_STATE_SUSPENDED 0x1 /* driver is suspended */
56 #define PPM_DOMAIN_UP(domp) (!(domp->dflags & PPMD_OFFLINE))
112 /* while power level change, */
129 * domain control data structure -
197 * ppm_dc.cmd field -
220 * ppm_dc.method field - select union element
230 * devices that are powered by the same source
236 int pwr_cnt; /* number of powered up devices */
244 int sub_domain; /* sub-domain */
255 * ppm_domain.model field -
[all …]
H A Dcyclic_impl.h37 * Cyclic Subsystem Backend-supplied Interfaces
38 * --------------------------------------------
50 * cyb_configure() <-- Configures the backend on the specified CPU
51 * cyb_unconfigure() <-- Unconfigures the backend
52 * cyb_enable() <-- Enables the CY_HIGH_LEVEL interrupt source
53 * cyb_disable() <-- Disables the CY_HIGH_LEVEL interrupt source
54 * cyb_reprogram() <-- Reprograms the CY_HIGH_LEVEL interrupt source
55 * cyb_softint() <-- Generates a soft interrupt
56 * cyb_set_level() <-- Sets the programmable interrupt level
57 * cyb_restore_level() <-- Restores the programmable interrupt level
[all …]
H A Depm.h59 #define PM_LEVEL_UPONLY (-2) /* only raise power level */
60 #define PM_LEVEL_DOWNONLY (-3) /* only lower power level */
61 #define PM_LEVEL_EXACT (-4) /* wants exact power level */
70 #define PMC_BC 0x00010 /* no pm-components, backwards compat */
71 #define PMC_COMPONENTS_DONE 0x00020 /* parsed pm-components */
72 #define PMC_COMPONENTS_FAILED 0x00040 /* failed parsing pm-components */
73 #define PMC_SUSPENDED 0x00080 /* device has been suspended */
78 #define PMC_NOPMKID 0x01000 /* non-pm'd child of pm'd parent */
84 * A node which is the console frame buffer, and should not be powered down
127 * dev_info struct (if initialized by driver and/or auto-pm)
[all …]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dhubdi.c152 uint_t hubdi_errmask = (uint_t)-1;
203 hubdi->hubdi_dip = dip; in usba_hubdi_register()
204 hubdi->hubdi_flags = flags; in usba_hubdi_register()
206 usba_device->usb_hubdi = hubdi; in usba_hubdi_register()
211 usba_init_list(&hubdi->hubdi_list, (usb_opaque_t)hubdi, in usba_hubdi_register()
212 usba_hcdi_get_hcdi(usba_device->usb_root_hub_dip)-> in usba_hubdi_register()
215 usba_add_to_list(&usba_hubdi_list, &hubdi->hubdi_list); in usba_hubdi_register()
229 usba_hubdi_t *hubdi = usba_device->usb_hubdi; in usba_hubdi_unregister()
235 (void) usba_rm_from_list(&usba_hubdi_list, &hubdi->hubdi_list); in usba_hubdi_unregister()
238 usba_destroy_list(&hubdi->hubdi_list); in usba_hubdi_unregister()
[all …]
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dmp_xen.c72 * cross-call interrupts, as mentioned, so we must go through a
73 * two-stage process. First, we use the standard Solaris pause_cpus().
75 * mach_cpu_idle(), and nothing will cross-call them.
77 * Powered-off-CPUs are already safe, as we own the cpu_lock needed to
86 * Thus, we set CPU_PHASE_WAIT_SAFE for every powered-on CPU, as well as
89 * know we can suspend, or power-off a CPU, without problems.
154 if (cpu == CPU->cpu_id) in vcpu_on_pcpu()
180 * while starting cpus. For virtual cpus, there is no such state.
215 maxclsyspri - 1, 1, 1, TASKQ_PREPOPULATE); in mach_cpucontext_fini()
228 vgc->flags = VGCF_IN_KERNEL; in mp_set_cpu_context()
[all …]
H A Dxen_machdep.c64 #include <xen/public/arch-x86/xen-mca.h>
160 * - the second character in the extraversion information in xen_set_version()
161 * - one character long in xen_set_version()
162 * - numeric digit in xen_set_version()
167 xenver[idx].xv_revision = xenver[idx].xv_ver[1] - '0'; in xen_set_version()
175 if (strstr(xenver[idx].xv_ver, "-xvm") != NULL) in xen_set_version()
185 * e.g. 'xen-3.1-x86_32p' or 'hvm-3.2-x86_64' in xen_set_version()
231 * If the hypervisor is -xvm, or 3.1.2 or higher, we don't need the
366 HYPERVISOR_shared_info->arch.pfn_to_mfn_frame_list_list in rebuild_mfn_list()
427 "-xvm based hypervisor", XENVER_CURRENT(xv_major), in xen_suspend_domain()
[all …]
/illumos-gate/usr/src/uts/sun4/os/
H A Dmp_startup.c65 /* bit mask of cpus ready for x-calls, protected by cpu_lock */
93 return (TRAP_TSIZE * (max_ncpus - 1)); in calc_traptrace_sz()
122 tp->t_preempt = 1; in common_startup_init()
123 tp->t_bound_cpu = cp; in common_startup_init()
124 tp->t_affinitycnt = 1; in common_startup_init()
125 tp->t_cpu = cp; in common_startup_init()
126 tp->t_disp_queue = cp->cpu_disp; in common_startup_init()
129 CPUSET_ADD(sfmmup->sfmmu_cpusran, cpuid); in common_startup_init()
134 sp = tp->t_stk; in common_startup_init()
135 tp->t_pc = (uintptr_t)slave_startup - 8; in common_startup_init()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbskel/
H A Dusbskel.c33 * the caller will issue an initial 4-byte read to get the total length of the
41 * USB_DEV_SUSPENDED: Device has been suspended along with the system.
42 * USB_DEV_PWRED_DOWN: Device has been powered down. (Note that this
43 * driver supports only two power states, powered down and
194 * Module-wide initialization routine.
220 * Module-wide tear-down routine.
263 *result = usbskelp->usbskel_dip; in usbskel_info()
330 usbskelp->usbskel_dip = dip; in usbskel_attach()
336 usbskelp->usbskel_devinst = kmem_zalloc(devinstlen + 1, KM_SLEEP); in usbskel_attach()
337 (void) strncpy(usbskelp->usbskel_devinst, devinst, devinstlen); in usbskel_attach()
[all …]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_main.c157 static char clsize_propname[] = "cache-line-size";
158 static char latency_propname[] = "latency-timer";
159 static char debug_propname[] = "nge-debug-flags";
160 static char intr_moderation[] = "intr-moderation";
161 static char rx_data_hw[] = "rx-data-hw";
162 static char rx_prd_lw[] = "rx-prd-lw";
163 static char rx_prd_hw[] = "rx-prd-hw";
164 static char sw_intr_intv[] = "sw-intr-intvl";
165 static char nge_desc_mode[] = "desc-mode";
167 static char low_memory_mode[] = "minimal-memory-usage";
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddrmach.c143 int powered; member
158 int powered; member
250 (OPL_MAX_COREID_PER_BOARD - 1))
260 int drmach_debug = 1; /* set to non-zero to enable debug messages */
273 (DRMACH_OBJ(id)->isa == (void *)drmach_board_new))
277 (DRMACH_OBJ(id)->isa == (void *)drmach_cpu_new))
281 (DRMACH_OBJ(id)->isa == (void *)drmach_mem_new))
285 (DRMACH_OBJ(id)->isa == (void *)drmach_io_new))
289 (DRMACH_OBJ(id)->isa == (void *)drmach_cpu_new || \
290 DRMACH_OBJ(id)->isa == (void *)drmach_mem_new || \
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dkeyspan_dsd.c90 * Sub-routines
296 static uint_t keyspan_instance_debug = (uint_t)-1;
306 ksp->ks_dip = aip->ai_dip; in keyspan_attach()
307 ksp->ks_usb_events = aip->ai_usb_events; in keyspan_attach()
308 *aip->ai_hdl = (ds_hdl_t)ksp; in keyspan_attach()
320 USB_DPRINTF_L2(DPRINT_ATTACH, ksp->ks_lh, "fail attach dev "); in keyspan_attach()
327 switch (ksp->ks_dev_spec.id_product) { in keyspan_attach()
340 USB_DPRINTF_L2(DPRINT_ATTACH, ksp->ks_lh, "keyspan_attach:" in keyspan_attach()
347 USB_DPRINTF_L2(DPRINT_ATTACH, ksp->ks_lh, in keyspan_attach()
358 USB_DPRINTF_L2(DPRINT_ATTACH, ksp->ks_lh, in keyspan_attach()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsacm/
H A Dusbsacm.c34 * -------------------
37 * ------------
46 * some devices which provide modem-like function and have pairs of
55 * general-purpose mechanism that can be used to enable all types of
57 * Interface Class defines a general-purpose mechanism to enable bulk
62 * -------------------------
80 * -------------------------
84 * standard and Communication Class-specific requests. The notification
92 * --------------------------------
94 * V.25ter (AT) commands. The device contains a Datapump and micro-
[all …]
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c31 * Platform Power Management driver for SUNW,Sun-Blade-1000
118 * one-to-one correspondence with the cpu_level array.
192 &mod_driverops, /* type of module - pseudo */
244 &unitp->hndls.bbc_estar_ctrl); in xcppm_map_all_regs()
246 unitp->regs.bbc_estar_ctrl = (uint16_t *)(base_addr + in xcppm_map_all_regs()
248 unitp->regs.bbc_assert_change = (uint32_t *)(base_addr + in xcppm_map_all_regs()
250 unitp->regs.bbc_pll_settle = (uint32_t *)(base_addr + in xcppm_map_all_regs()
254 (caddr_t *)&unitp->regs.rio_mode_auxio, in xcppm_map_all_regs()
255 0, 0, &attr_le, &unitp->hndls.rio_mode_auxio); in xcppm_map_all_regs()
258 0, 0, &attr_le, &unitp->hndls.gpio_bank_select); in xcppm_map_all_regs()
[all …]
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c144 err = ddi_dma_alloc_handle(rgep->devinfo, dma_attr_p, in rge_alloc_dma_mem()
145 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); in rge_alloc_dma_mem()
147 dma_p->dma_hdl = NULL; in rge_alloc_dma_mem()
154 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, acc_attr_p, in rge_alloc_dma_mem()
156 DDI_DMA_SLEEP, NULL, &vaddr, &dma_p->alength, &dma_p->acc_hdl); in rge_alloc_dma_mem()
158 ddi_dma_free_handle(&dma_p->dma_hdl); in rge_alloc_dma_mem()
159 dma_p->dma_hdl = NULL; in rge_alloc_dma_mem()
160 dma_p->acc_hdl = NULL; in rge_alloc_dma_mem()
167 dma_p->mem_va = vaddr; in rge_alloc_dma_mem()
168 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, in rge_alloc_dma_mem()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c32 * kernel-resident power management code. Implements power management
37 * PM - (device) Power Management
48 * They are recognized by the pm code by the lack of a pm-components property
54 * After setting component 0 from 0 to a non-zero power level, a call must be
60 * For non-bc devices, the driver describes the components by exporting a
61 * pm-components(9P) property that tells how many components there are,
64 * Devices which export pm-components(9P) are automatically power managed
81 * -implement PM policy as described in power.conf(5)
84 * -set threshold values (defaults if none provided by pmconfig)
85 * -set dependencies among devices
[all …]
H A Dsunmdi.c147 * of all paths. Set it to -1 to disable discovery of all paths.
171 static uint_t mdi_pathmap_instance = 1; /* 0 -> any path */
174 static mod_hash_t *mdi_pathmap_bypath; /* "path"->instance */
175 static mod_hash_t *mdi_pathmap_byinstance; /* instance->"path" */
176 static mod_hash_t *mdi_pathmap_sbyinstance; /* inst->shortpath */
181 const char *mdi_component_prop = "mpxio-component";
189 const char *mdi_client_guid_prop = "client-guid";
194 const char *mdi_load_balance = "load-balance";
196 const char *mdi_load_balance_rr = "round-robin";
197 const char *mdi_load_balance_lba = "logical-block";
[all …]
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231.c38 * back to make sure it was set. If not we wait a little while and
186 0x3f, 0x3e, 0x3d, 0x3c, 0x3b, /* [000] -> [004] */
187 0x3a, 0x39, 0x38, 0x37, 0x36, /* [005] -> [009] */
188 0x35, 0x34, 0x33, 0x32, 0x31, /* [010] -> [014] */
189 0x30, 0x2f, 0x2e, 0x2d, 0x2c, /* [015] -> [019] */
190 0x2b, 0x2a, 0x29, 0x29, 0x28, /* [020] -> [024] */
191 0x28, 0x27, 0x27, 0x26, 0x26, /* [025] -> [029] */
192 0x25, 0x25, 0x24, 0x24, 0x23, /* [030] -> [034] */
193 0x23, 0x22, 0x22, 0x21, 0x21, /* [035] -> [039] */
194 0x20, 0x20, 0x1f, 0x1f, 0x1f, /* [040] -> [044] */
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dtimestamp.c61 * ------------------------------------------------
63 * The Pentium family, like many chip architectures, has a high-resolution
77 * While TSC and %tick are both cycle counting registers, TSC's functionality
80 * (a) TSCs on different CPUs are not guaranteed to be in sync. While in
85 * only supports writing the low 32-bits of TSC, making it impractical
92 * TSCs and account for it (it is assumed that while there may exist skew,
94 * have newly onlined CPUs call tsc_sync_slave(), while the CPU performing
97 * In the absence of time-of-day clock adjustments, gethrtime() must stay in
99 * cannot drive its time-of-day source from TSC, and yet they must somehow be
101 * is called once per second from the interrupt which drives time-of-day.
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/
H A Dusb_as.c50 * If device is not fully powered, synchronous raise power in wsrv entry points.
67 uint_t usb_as_errmask = (uint_t)-1;
68 uint_t usb_as_instance_debug = (uint_t)-1;
163 nulldev, /* devo_identify - obsolete */
164 nulldev, /* devo_probe - not needed */
260 *result = uasp->usb_as_dip; in usb_as_getinfo()
316 uasp->usb_as_log_handle = usb_alloc_log_hdl(dip, "as", in usb_as_attach()
320 uasp->usb_as_instance = instance; in usb_as_attach()
321 uasp->usb_as_dip = dip; in usb_as_attach()
323 (void) snprintf(uasp->dstr, sizeof (uasp->dstr), "%s#%d", in usb_as_attach()
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h49 #define SD_FAILURE (-1)
103 * XXX - NSDMAP has multiple definitions, one more in cmlb_impl.h
105 * FDISK partitions - 4 primary and MAX_EXT_PARTS number of Extended
135 (getminor((bp)->b_edev) >> SDUNIT_SHIFT)
142 * assumed to be types 0-3.
145 uint64_t reg_open[OTYPCNT - 1];
174 * The following declaration are for Non-512 byte block support for the
175 * removable devices. (ex - DVD RAM, MO).
177 * manipalating write range list during the read-modify-write-operation.
195 void *wm_private; /* Used to store bp->b_private */
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c33 * joystick etc and provides the class-specific interfaces
43 * skeleton template driver which contains scaled-down versions of these
44 * functions written in a DDI-compliant way.
68 uint_t hid_instance_debug = (uint_t)-1;
157 * happening while a streams entry point is executing. So, the hid_mutex
173 512, /* hi-water mark */
174 128 /* lo-water mark */
318 *result = hidp->hid_dip; in hid_info()
383 hidp->hid_log_handle = usb_alloc_log_hdl(dip, NULL, &hid_errlevel, in hid_attach()
386 hidp->hid_instance = instance; in hid_attach()
[all …]

12