aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2007-10-16 04:28:31 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:14 -0400
commitf259ebb67b61bd8276fbfba43e119e68754be027 (patch)
tree0facbd973e17af84656e57f9614888a70906129d /include/video
parent65faaeb359b4ed1991b32b381bf155fa9b85293f (diff)
pm3fb: header file reduction
This patch removes constants named AAA_DISABLE with value 0. They are redudant and misleading ( a |= AAA_DISABLE does nothing and usually should be a &= ~AAA_ENABLE). Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/pm3fb.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/video/pm3fb.h b/include/video/pm3fb.h
index 871f707c7250..541c0bd4ab76 100644
--- a/include/video/pm3fb.h
+++ b/include/video/pm3fb.h
@@ -55,7 +55,6 @@
55 #define PM3ByApertureMode_BYTESWAP_BADC (1<<0) 55 #define PM3ByApertureMode_BYTESWAP_BADC (1<<0)
56 #define PM3ByApertureMode_BYTESWAP_CDAB (2<<0) 56 #define PM3ByApertureMode_BYTESWAP_CDAB (2<<0)
57 #define PM3ByApertureMode_BYTESWAP_DCBA (3<<0) 57 #define PM3ByApertureMode_BYTESWAP_DCBA (3<<0)
58 #define PM3ByApertureMode_PATCH_DISABLE (0<<2)
59 #define PM3ByApertureMode_PATCH_ENABLE (1<<2) 58 #define PM3ByApertureMode_PATCH_ENABLE (1<<2)
60 #define PM3ByApertureMode_FORMAT_RAW (0<<3) 59 #define PM3ByApertureMode_FORMAT_RAW (0<<3)
61 #define PM3ByApertureMode_FORMAT_YUYV (1<<3) 60 #define PM3ByApertureMode_FORMAT_YUYV (1<<3)
@@ -112,7 +111,6 @@
112#define PM3VsStart 0x3048 111#define PM3VsStart 0x3048
113#define PM3VsEnd 0x3050 112#define PM3VsEnd 0x3050
114#define PM3VideoControl 0x3058 113#define PM3VideoControl 0x3058
115 #define PM3VideoControl_DISABLE (0<<0)
116 #define PM3VideoControl_ENABLE (1<<0) 114 #define PM3VideoControl_ENABLE (1<<0)
117 #define PM3VideoControl_BLANK_ACTIVE_HIGH (0<<1) 115 #define PM3VideoControl_BLANK_ACTIVE_HIGH (0<<1)
118 #define PM3VideoControl_BLANK_ACTIVE_LOW (1<<1) 116 #define PM3VideoControl_BLANK_ACTIVE_LOW (1<<1)
@@ -133,7 +131,6 @@
133 #define PM3VideoControl_BUFFER_SWAP_SYNCON_FRAMEBLANK (0<<9) 131 #define PM3VideoControl_BUFFER_SWAP_SYNCON_FRAMEBLANK (0<<9)
134 #define PM3VideoControl_BUFFER_SWAP_FREE_RUNNING (1<<9) 132 #define PM3VideoControl_BUFFER_SWAP_FREE_RUNNING (1<<9)
135 #define PM3VideoControl_BUFFER_SWAP_LIMITETO_FRAMERATE (2<<9) 133 #define PM3VideoControl_BUFFER_SWAP_LIMITETO_FRAMERATE (2<<9)
136 #define PM3VideoControl_STEREO_DISABLE (0<<11)
137 #define PM3VideoControl_STEREO_ENABLE (1<<11) 134 #define PM3VideoControl_STEREO_ENABLE (1<<11)
138 #define PM3VideoControl_RIGHT_EYE_ACTIVE_HIGH (0<<12) 135 #define PM3VideoControl_RIGHT_EYE_ACTIVE_HIGH (0<<12)
139 #define PM3VideoControl_RIGHT_EYE_ACTIVE_LOW (1<<12) 136 #define PM3VideoControl_RIGHT_EYE_ACTIVE_LOW (1<<12)
@@ -142,12 +139,10 @@
142 #define PM3VideoControl_SYNC_MODE_INDEPENDENT (0<<16) 139 #define PM3VideoControl_SYNC_MODE_INDEPENDENT (0<<16)
143 #define PM3VideoControl_SYNC_MODE_SYNCTO_VSA (1<<16) 140 #define PM3VideoControl_SYNC_MODE_SYNCTO_VSA (1<<16)
144 #define PM3VideoControl_SYNC_MODE_SYNCTO_VSB (2<<16) 141 #define PM3VideoControl_SYNC_MODE_SYNCTO_VSB (2<<16)
145 #define PM3VideoControl_PATCH_DISABLE (0<<18)
146 #define PM3VideoControl_PATCH_ENABLE (1<<18) 142 #define PM3VideoControl_PATCH_ENABLE (1<<18)
147 #define PM3VideoControl_PIXELSIZE_8BIT (0<<19) 143 #define PM3VideoControl_PIXELSIZE_8BIT (0<<19)
148 #define PM3VideoControl_PIXELSIZE_16BIT (1<<19) 144 #define PM3VideoControl_PIXELSIZE_16BIT (1<<19)
149 #define PM3VideoControl_PIXELSIZE_32BIT (2<<19) 145 #define PM3VideoControl_PIXELSIZE_32BIT (2<<19)
150 #define PM3VideoControl_DISPLAY_DISABLE (0<<21)
151 #define PM3VideoControl_DISPLAY_ENABLE (1<<21) 146 #define PM3VideoControl_DISPLAY_ENABLE (1<<21)
152 #define PM3VideoControl_PATCH_OFFSET_X(off) (((off)&0x3f)<<22) 147 #define PM3VideoControl_PATCH_OFFSET_X(off) (((off)&0x3f)<<22)
153 #define PM3VideoControl_PATCH_OFFSET_Y(off) (((off)&0x3f)<<28) 148 #define PM3VideoControl_PATCH_OFFSET_Y(off) (((off)&0x3f)<<28)
@@ -159,10 +154,8 @@
159#define PM3MiscControl 0x3088 154#define PM3MiscControl 0x3088
160 155
161#define PM3VideoOverlayUpdate 0x3100 156#define PM3VideoOverlayUpdate 0x3100
162 #define PM3VideoOverlayUpdate_DISABLE (0<<0)
163 #define PM3VideoOverlayUpdate_ENABLE (1<<0) 157 #define PM3VideoOverlayUpdate_ENABLE (1<<0)
164#define PM3VideoOverlayMode 0x3108 158#define PM3VideoOverlayMode 0x3108
165 #define PM3VideoOverlayMode_DISABLE (0<<0)
166 #define PM3VideoOverlayMode_ENABLE (1<<0) 159 #define PM3VideoOverlayMode_ENABLE (1<<0)
167 #define PM3VideoOverlayMode_BUFFERSYNC_MANUAL (0<<1) 160 #define PM3VideoOverlayMode_BUFFERSYNC_MANUAL (0<<1)
168 #define PM3VideoOverlayMode_BUFFERSYNC_VIDEOSTREAMA (1<<1) 161 #define PM3VideoOverlayMode_BUFFERSYNC_VIDEOSTREAMA (1<<1)
@@ -250,25 +243,16 @@
250#define PM3RD_IndexedData 0x4030 243#define PM3RD_IndexedData 0x4030
251#define PM3RD_IndexControl 0x4038 244#define PM3RD_IndexControl 0x4038
252 #define PM3RD_IndexControl_AUTOINCREMENT_ENABLE (1<<0) 245 #define PM3RD_IndexControl_AUTOINCREMENT_ENABLE (1<<0)
253 #define PM3RD_IndexControl_AUTOINCREMENT_DISABLE (0<<0)
254 246
255/* Indirect Registers */ 247/* Indirect Registers */
256#define PM3RD_MiscControl 0x000 248#define PM3RD_MiscControl 0x000
257 #define PM3RD_MiscControl_HIGHCOLOR_RES_DISABLE (0<<0)
258 #define PM3RD_MiscControl_HIGHCOLOR_RES_ENABLE (1<<0) 249 #define PM3RD_MiscControl_HIGHCOLOR_RES_ENABLE (1<<0)
259 #define PM3RD_MiscControl_PIXELDOUBLE_DISABLE (0<<1)
260 #define PM3RD_MiscControl_PIXELDOUBLE_ENABLE (1<<1) 250 #define PM3RD_MiscControl_PIXELDOUBLE_ENABLE (1<<1)
261 #define PM3RD_MiscControl_LASTREAD_ADDR_DISABLE (0<<2)
262 #define PM3RD_MiscControl_LASTREAD_ADDR_ENABLE (1<<2) 251 #define PM3RD_MiscControl_LASTREAD_ADDR_ENABLE (1<<2)
263 #define PM3RD_MiscControl_DIRECTCOLOR_DISABLE (0<<3)
264 #define PM3RD_MiscControl_DIRECTCOLOR_ENABLE (1<<3) 252 #define PM3RD_MiscControl_DIRECTCOLOR_ENABLE (1<<3)
265 #define PM3RD_MiscControl_OVERLAY_DISABLE (0<<4)
266 #define PM3RD_MiscControl_OVERLAY_ENABLE (1<<4) 253 #define PM3RD_MiscControl_OVERLAY_ENABLE (1<<4)
267 #define PM3RD_MiscControl_PIXELDOUBLE_BUFFER_DISABLE (0<<5)
268 #define PM3RD_MiscControl_PIXELDOUBLE_BUFFER_ENABLE (1<<5) 254 #define PM3RD_MiscControl_PIXELDOUBLE_BUFFER_ENABLE (1<<5)
269 #define PM3RD_MiscControl_VSB_OUTPUT_DISABLE (0<<6)
270 #define PM3RD_MiscControl_VSB_OUTPUT_ENABLE (1<<6) 255 #define PM3RD_MiscControl_VSB_OUTPUT_ENABLE (1<<6)
271 #define PM3RD_MiscControl_STEREODOUBLE_BUFFER_DISABLE (0<<7)
272 #define PM3RD_MiscControl_STEREODOUBLE_BUFFER_ENABLE (1<<7) 256 #define PM3RD_MiscControl_STEREODOUBLE_BUFFER_ENABLE (1<<7)
273#define PM3RD_SyncControl 0x001 257#define PM3RD_SyncControl 0x001
274 #define PM3RD_SyncControl_HSYNC_ACTIVE_LOW (0<<0) 258 #define PM3RD_SyncControl_HSYNC_ACTIVE_LOW (0<<0)
@@ -288,15 +272,10 @@
288#define PM3RD_DACControl 0x002 272#define PM3RD_DACControl 0x002
289 #define PM3RD_DACControl_DAC_POWER_ON (0<<0) 273 #define PM3RD_DACControl_DAC_POWER_ON (0<<0)
290 #define PM3RD_DACControl_DAC_POWER_OFF (1<<0) 274 #define PM3RD_DACControl_DAC_POWER_OFF (1<<0)
291 #define PM3RD_DACControl_SYNC_ON_GREEN_DISABLE (0<<3)
292 #define PM3RD_DACControl_SYNC_ON_GREEN_ENABLE (1<<3) 275 #define PM3RD_DACControl_SYNC_ON_GREEN_ENABLE (1<<3)
293 #define PM3RD_DACControl_BLANK_RED_DAC_DISABLE (0<<4)
294 #define PM3RD_DACControl_BLANK_RED_DAC_ENABLE (1<<4) 276 #define PM3RD_DACControl_BLANK_RED_DAC_ENABLE (1<<4)
295 #define PM3RD_DACControl_BLANK_GREEN_DAC_DISABLE (0<<5)
296 #define PM3RD_DACControl_BLANK_GREEN_DAC_ENABLE (1<<5) 277 #define PM3RD_DACControl_BLANK_GREEN_DAC_ENABLE (1<<5)
297 #define PM3RD_DACControl_BLANK_BLUE_DAC_DISABLE (0<<6)
298 #define PM3RD_DACControl_BLANK_BLUE_DAC_ENABLE (1<<6) 278 #define PM3RD_DACControl_BLANK_BLUE_DAC_ENABLE (1<<6)
299 #define PM3RD_DACControl_BLANK_PEDESTAL_DISABLE (0<<7)
300 #define PM3RD_DACControl_BLANK_PEDESTAL_ENABLE (1<<7) 279 #define PM3RD_DACControl_BLANK_PEDESTAL_ENABLE (1<<7)
301#define PM3RD_PixelSize 0x003 280#define PM3RD_PixelSize 0x003
302 #define PM3RD_PixelSize_24_BIT_PIXELS (4<<0) 281 #define PM3RD_PixelSize_24_BIT_PIXELS (4<<0)
@@ -305,7 +284,6 @@
305 #define PM3RD_PixelSize_8_BIT_PIXELS (0<<0) 284 #define PM3RD_PixelSize_8_BIT_PIXELS (0<<0)
306#define PM3RD_ColorFormat 0x004 285#define PM3RD_ColorFormat 0x004
307 #define PM3RD_ColorFormat_LINEAR_COLOR_EXT_ENABLE (1<<6) 286 #define PM3RD_ColorFormat_LINEAR_COLOR_EXT_ENABLE (1<<6)
308 #define PM3RD_ColorFormat_LINEAR_COLOR_EXT_DISABLE (0<<6)
309 #define PM3RD_ColorFormat_COLOR_ORDER_BLUE_LOW (1<<5) 287 #define PM3RD_ColorFormat_COLOR_ORDER_BLUE_LOW (1<<5)
310 #define PM3RD_ColorFormat_COLOR_ORDER_RED_LOW (0<<5) 288 #define PM3RD_ColorFormat_COLOR_ORDER_RED_LOW (0<<5)
311 #define PM3RD_ColorFormat_COLOR_FORMAT_MASK (0x1f<<0) 289 #define PM3RD_ColorFormat_COLOR_FORMAT_MASK (0x1f<<0)
@@ -323,7 +301,6 @@
323 #define PM3RD_ColorFormat_565_FRONT_COLOR (16<<0) 301 #define PM3RD_ColorFormat_565_FRONT_COLOR (16<<0)
324 #define PM3RD_ColorFormat_565_BACK_COLOR (17<<0) 302 #define PM3RD_ColorFormat_565_BACK_COLOR (17<<0)
325#define PM3RD_CursorMode 0x005 303#define PM3RD_CursorMode 0x005
326 #define PM3RD_CursorMode_CURSOR_DISABLE (0<<0)
327 #define PM3RD_CursorMode_CURSOR_ENABLE (1<<0) 304 #define PM3RD_CursorMode_CURSOR_ENABLE (1<<0)
328 #define PM3RD_CursorMode_FORMAT_64x64_2BPE_P0123 (0<<2) 305 #define PM3RD_CursorMode_FORMAT_64x64_2BPE_P0123 (0<<2)
329 #define PM3RD_CursorMode_FORMAT_32x32_2BPE_P0 (1<<2) 306 #define PM3RD_CursorMode_FORMAT_32x32_2BPE_P0 (1<<2)
@@ -334,16 +311,12 @@
334 #define PM3RD_CursorMode_FORMAT_32x32_4BPE_P23 (6<<2) 311 #define PM3RD_CursorMode_FORMAT_32x32_4BPE_P23 (6<<2)
335 #define PM3RD_CursorMode_TYPE_MS (0<<4) 312 #define PM3RD_CursorMode_TYPE_MS (0<<4)
336 #define PM3RD_CursorMode_TYPE_X (1<<4) 313 #define PM3RD_CursorMode_TYPE_X (1<<4)
337 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_DISABLE (0<<6)
338 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_ENABLE (1<<6) 314 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_ENABLE (1<<6)
339 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_3_COLOR (2<<6) 315 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_3_COLOR (2<<6)
340 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_15_COLOR (3<<6) 316 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_15_COLOR (3<<6)
341#define PM3RD_CursorControl 0x006 317#define PM3RD_CursorControl 0x006
342 #define PM3RD_CursorControl_DOUBLE_X_DISABLED (0<<0)
343 #define PM3RD_CursorControl_DOUBLE_X_ENABLED (1<<0) 318 #define PM3RD_CursorControl_DOUBLE_X_ENABLED (1<<0)
344 #define PM3RD_CursorControl_DOUBLE_Y_DISABLED (0<<1)
345 #define PM3RD_CursorControl_DOUBLE_Y_ENABLED (1<<1) 319 #define PM3RD_CursorControl_DOUBLE_Y_ENABLED (1<<1)
346 #define PM3RD_CursorControl_READBACK_POS_DISABLED (0<<2)
347 #define PM3RD_CursorControl_READBACK_POS_ENABLED (1<<2) 320 #define PM3RD_CursorControl_READBACK_POS_ENABLED (1<<2)
348 321
349#define PM3RD_CursorXLow 0x007 322#define PM3RD_CursorXLow 0x007
@@ -354,16 +327,12 @@
354#define PM3RD_CursorHotSpotY 0x00c 327#define PM3RD_CursorHotSpotY 0x00c
355#define PM3RD_OverlayKey 0x00d 328#define PM3RD_OverlayKey 0x00d
356#define PM3RD_Pan 0x00e 329#define PM3RD_Pan 0x00e
357 #define PM3RD_Pan_DISABLE (0<<0)
358 #define PM3RD_Pan_ENABLE (1<<0) 330 #define PM3RD_Pan_ENABLE (1<<0)
359 #define PM3RD_Pan_GATE_DISABLE (0<<1)
360 #define PM3RD_Pan_GATE_ENABLE (1<<1) 331 #define PM3RD_Pan_GATE_ENABLE (1<<1)
361#define PM3RD_Sense 0x00f 332#define PM3RD_Sense 0x00f
362 333
363#define PM3RD_CheckControl 0x018 334#define PM3RD_CheckControl 0x018
364 #define PM3RD_CheckControl_PIXEL_DISABLED (0<<0)
365 #define PM3RD_CheckControl_PIXEL_ENABLED (1<<0) 335 #define PM3RD_CheckControl_PIXEL_ENABLED (1<<0)
366 #define PM3RD_CheckControl_LUT_DISABLED (0<<1)
367 #define PM3RD_CheckControl_LUT_ENABLED (1<<1) 336 #define PM3RD_CheckControl_LUT_ENABLED (1<<1)
368#define PM3RD_CheckPixelRed 0x019 337#define PM3RD_CheckPixelRed 0x019
369#define PM3RD_CheckPixelGreen 0x01a 338#define PM3RD_CheckPixelGreen 0x01a
@@ -374,14 +343,12 @@
374#define PM3RD_Scratch 0x01f 343#define PM3RD_Scratch 0x01f
375 344
376#define PM3RD_VideoOverlayControl 0x020 345#define PM3RD_VideoOverlayControl 0x020
377 #define PM3RD_VideoOverlayControl_DISABLE (0<<0)
378 #define PM3RD_VideoOverlayControl_ENABLE (1<<0) 346 #define PM3RD_VideoOverlayControl_ENABLE (1<<0)
379 #define PM3RD_VideoOverlayControl_MODE_MASK (3<<1) 347 #define PM3RD_VideoOverlayControl_MODE_MASK (3<<1)
380 #define PM3RD_VideoOverlayControl_MODE_MAINKEY (0<<1) 348 #define PM3RD_VideoOverlayControl_MODE_MAINKEY (0<<1)
381 #define PM3RD_VideoOverlayControl_MODE_OVERLAYKEY (1<<1) 349 #define PM3RD_VideoOverlayControl_MODE_OVERLAYKEY (1<<1)
382 #define PM3RD_VideoOverlayControl_MODE_ALWAYS (2<<1) 350 #define PM3RD_VideoOverlayControl_MODE_ALWAYS (2<<1)
383 #define PM3RD_VideoOverlayControl_MODE_BLEND (3<<1) 351 #define PM3RD_VideoOverlayControl_MODE_BLEND (3<<1)
384 #define PM3RD_VideoOverlayControl_DIRECTCOLOR_DISABLED (0<<3)
385 #define PM3RD_VideoOverlayControl_DIRECTCOLOR_ENABLED (1<<3) 352 #define PM3RD_VideoOverlayControl_DIRECTCOLOR_ENABLED (1<<3)
386 #define PM3RD_VideoOverlayControl_BLENDSRC_MAIN (0<<4) 353 #define PM3RD_VideoOverlayControl_BLENDSRC_MAIN (0<<4)
387 #define PM3RD_VideoOverlayControl_BLENDSRC_REGISTER (1<<4) 354 #define PM3RD_VideoOverlayControl_BLENDSRC_REGISTER (1<<4)
@@ -420,7 +387,6 @@
420 #define PM3RD_DClkControl_LOCKED (1<<1) 387 #define PM3RD_DClkControl_LOCKED (1<<1)
421 #define PM3RD_DClkControl_NOT_LOCKED (0<<1) 388 #define PM3RD_DClkControl_NOT_LOCKED (0<<1)
422 #define PM3RD_DClkControl_ENABLE (1<<0) 389 #define PM3RD_DClkControl_ENABLE (1<<0)
423 #define PM3RD_DClkControl_DISABLE (0<<0)
424#define PM3RD_DClk0PreScale 0x201 390#define PM3RD_DClk0PreScale 0x201
425#define PM3RD_DClk0FeedbackScale 0x202 391#define PM3RD_DClk0FeedbackScale 0x202
426#define PM3RD_DClk0PostScale 0x203 392#define PM3RD_DClk0PostScale 0x203
@@ -435,7 +401,6 @@
435#define PM3RD_DClk3FeedbackScale 0x20b 401#define PM3RD_DClk3FeedbackScale 0x20b
436#define PM3RD_DClk3PostScale 0x20c 402#define PM3RD_DClk3PostScale 0x20c
437#define PM3RD_KClkControl 0x20d 403#define PM3RD_KClkControl 0x20d
438 #define PM3RD_KClkControl_DISABLE (0<<0)
439 #define PM3RD_KClkControl_ENABLE (1<<0) 404 #define PM3RD_KClkControl_ENABLE (1<<0)
440 #define PM3RD_KClkControl_NOT_LOCKED (0<<1) 405 #define PM3RD_KClkControl_NOT_LOCKED (0<<1)
441 #define PM3RD_KClkControl_LOCKED (1<<1) 406 #define PM3RD_KClkControl_LOCKED (1<<1)
@@ -450,7 +415,6 @@
450#define PM3RD_KClkFeedbackScale 0x20f 415#define PM3RD_KClkFeedbackScale 0x20f
451#define PM3RD_KClkPostScale 0x210 416#define PM3RD_KClkPostScale 0x210
452#define PM3RD_MClkControl 0x211 417#define PM3RD_MClkControl 0x211
453 #define PM3RD_MClkControl_DISABLE (0<<0)
454 #define PM3RD_MClkControl_ENABLE (1<<0) 418 #define PM3RD_MClkControl_ENABLE (1<<0)
455 #define PM3RD_MClkControl_NOT_LOCKED (0<<1) 419 #define PM3RD_MClkControl_NOT_LOCKED (0<<1)
456 #define PM3RD_MClkControl_LOCKED (1<<1) 420 #define PM3RD_MClkControl_LOCKED (1<<1)
@@ -468,7 +432,6 @@
468#define PM3RD_MClkFeedbackScale 0x213 432#define PM3RD_MClkFeedbackScale 0x213
469#define PM3RD_MClkPostScale 0x214 433#define PM3RD_MClkPostScale 0x214
470#define PM3RD_SClkControl 0x215 434#define PM3RD_SClkControl 0x215
471 #define PM3RD_SClkControl_DISABLE (0<<0)
472 #define PM3RD_SClkControl_ENABLE (1<<0) 435 #define PM3RD_SClkControl_ENABLE (1<<0)
473 #define PM3RD_SClkControl_NOT_LOCKED (0<<1) 436 #define PM3RD_SClkControl_NOT_LOCKED (0<<1)
474 #define PM3RD_SClkControl_LOCKED (1<<1) 437 #define PM3RD_SClkControl_LOCKED (1<<1)