Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/sound/pci/maestro.c
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
static unsigned int powerstate_init = PCI_POWERSTATE_D2; | static unsigned int powerstate_init = PCI_POWERSTATE_D2; | ||||
/* XXX: this should move to a device specific sysctl dev.pcm.X.debug.Y via | /* XXX: this should move to a device specific sysctl dev.pcm.X.debug.Y via | ||||
device_get_sysctl_*() as discussed on multimedia@ in msg-id | device_get_sysctl_*() as discussed on multimedia@ in msg-id | ||||
<861wujij2q.fsf@xps.des.no> */ | <861wujij2q.fsf@xps.des.no> */ | ||||
static SYSCTL_NODE(_debug, OID_AUTO, maestro, CTLFLAG_RD, 0, ""); | static SYSCTL_NODE(_debug, OID_AUTO, maestro, CTLFLAG_RD, 0, ""); | ||||
SYSCTL_UINT(_debug_maestro, OID_AUTO, powerstate_active, CTLFLAG_RW, | SYSCTL_UINT(_debug_maestro, OID_AUTO, powerstate_active, CTLFLAG_RW, | ||||
&powerstate_active, 0, "The Dx power state when active (0-1)"); | &powerstate_active, 0, "The Dx power state when active (0-1)"); | ||||
SYSCTL_UINT(_debug_maestro, OID_AUTO, powerstate_idle, CTLFLAG_RW, | SYSCTL_UINT(_debug_maestro, OID_AUTO, powerstate_idle, CTLFLAG_RW, | ||||
&powerstate_idle, 0, "The Dx power state when idle (0-2)"); | &powerstate_idle, 0, "The Dx power state when idle (0-2)"); | ||||
SYSCTL_UINT(_debug_maestro, OID_AUTO, powerstate_init, CTLFLAG_RW, | SYSCTL_UINT(_debug_maestro, OID_AUTO, powerstate_init, CTLFLAG_RW, | ||||
&powerstate_init, 0, | &powerstate_init, 0, "The Dx power state prior to the first use (0-2)"); | ||||
"The Dx power state prior to the first use (0-2)"); | |||||
/* ----------------------------- | /* ----------------------------- | ||||
* Prototypes | * Prototypes | ||||
*/ | */ | ||||
static void agg_sleep(struct agg_info*, const char *wmesg, int msec); | static void agg_sleep(struct agg_info*, const char *wmesg, int msec); | ||||
▲ Show 20 Lines • Show All 1,856 Lines • Show Last 20 Lines |