Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitae6bd9b

Browse files
committed
adjust formatting and dont use utf symbols, for consistency.
1 parentd5df3cd commitae6bd9b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

‎compiler/include/devices/usbhardware.h‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -237,26 +237,26 @@ struct IOUsbHWBufferReq
237237
* -------------------------------------------------------------------- */
238238

239239
/* Allowed states / capabilities (bitwise OR) */
240-
#defineUSBPWR_ALLOW_L1 0x0001/* Allow USB 2.0 LPM (L1) while active */
241-
#defineUSBPWR_ALLOW_U1 0x0002/* Allow USB 3.x U1 while active */
242-
#defineUSBPWR_ALLOW_U2 0x0004/* Allow USB 3.x U2 while active */
243-
#defineUSBPWR_ALLOW_U3 0x0008/* Allow USB 3.x U3 (device suspend) */
240+
#defineUSBPWR_ALLOW_L1 0x0001/* Allow USB 2.0 LPM (L1) while active */
241+
#defineUSBPWR_ALLOW_U1 0x0002/* Allow USB 3.x U1 while active */
242+
#defineUSBPWR_ALLOW_U2 0x0004/* Allow USB 3.x U2 while active */
243+
#defineUSBPWR_ALLOW_U3 0x0008/* Allow USB 3.x U3 (device suspend) */
244244

245245
#defineUSBPWR_ALLOW_MASK 0x000F
246246

247-
/* Policy preference (mutually exclusive“mode”) */
247+
/* Policy preference (mutually exclusive"mode") */
248248
#defineUSBPWR_POLICY_MASK 0x0070
249-
#defineUSBPWR_POLICY_DEFAULT 0x0000/* Use controller’s / OS global default */
250-
#defineUSBPWR_POLICY_PERF 0x0010/* Prefer performance (less power save) */
251-
#defineUSBPWR_POLICY_BALANCED 0x0020/* Balanced power/performance (default) */
252-
#defineUSBPWR_POLICY_POWERSAVE 0x0030/* Prefer power saving (more L1/U1/U2) */
249+
#defineUSBPWR_POLICY_DEFAULT 0x0000/* Use controller's / OS global default */
250+
#defineUSBPWR_POLICY_PERF 0x0010/* Prefer performance (less power save) */
251+
#defineUSBPWR_POLICY_BALANCED 0x0020/* Balanced power/performance (default) */
252+
#defineUSBPWR_POLICY_POWERSAVE 0x0030/* Prefer power saving (more L1/U1/U2) */
253253

254254
/* Behaviour flags */
255-
#defineUSBPWR_FLAG_NO_REMOTE_WAKE 0x0100/* Don’t arm remote wake/signal resume */
256-
#defineUSBPWR_FLAG_NO_AUTOSUSPEND 0x0200/* Don’t autosuspend this endpoint */
255+
#defineUSBPWR_FLAG_NO_REMOTE_WAKE 0x0100/* Don't arm remote wake/signal resume */
256+
#defineUSBPWR_FLAG_NO_AUTOSUSPEND 0x0200/* Don't autosuspend this endpoint */
257257

258-
/* Predefined“profiles” (for convenience) */
259-
#defineUSBPWR_PROFILE_LEGACY 0x0000/* No low power states, policy default */
258+
/* Predefined"profiles" (for convenience) */
259+
#defineUSBPWR_PROFILE_LEGACY 0x0000/* No low power states, policy default */
260260
#defineUSBPWR_PROFILE_USB2_LPM (USBPWR_ALLOW_L1 | USBPWR_POLICY_BALANCED)
261261
#defineUSBPWR_PROFILE_USB3_LPM (USBPWR_ALLOW_U1 | USBPWR_ALLOW_U2 | USBPWR_POLICY_BALANCED)
262262

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp