Lines Matching +full:0 +full:x00010002
41 #define BCM2835_MBOX_PHYSADDR 0x3f00b880
43 #define BCM2835_MBOX_PHYSADDR 0x2000b880
54 #define BCM2835_MBOX_STATUS_WR_FULL 0x80000000
55 #define BCM2835_MBOX_STATUS_RD_EMPTY 0x40000000
58 #define BCM2835_CHAN_MASK 0xf
74 #define BCM2835_MBOX_REQ_CODE 0
75 #define BCM2835_MBOX_RESP_CODE_SUCCESS 0x80000000
78 memset((_m_), 0, sizeof(*(_m_))); \
80 (_m_)->hdr.code = 0; \
81 (_m_)->end_tag = 0; \
103 (_t_)->tag_hdr.val_len = 0; \
107 #define BCM2835_MBOX_TAG_VAL_LEN_RESPONSE 0x80000000
125 #define BCM2835_MBOX_TAG_GET_BOARD_REV 0x00010002
138 #define BCM2835_MBOX_TAG_GET_MAC_ADDRESS 0x00010003
152 #define BCM2835_MBOX_TAG_GET_BOARD_SERIAL 0x00010004
163 #define BCM2835_MBOX_TAG_GET_ARM_MEMORY 0x00010005
177 #define BCM2835_MBOX_POWER_DEVID_SDHCI 0
187 #define BCM2835_MBOX_POWER_STATE_RESP_ON (1 << 0)
191 #define BCM2835_MBOX_TAG_GET_POWER_STATE 0x00020001
206 #define BCM2835_MBOX_TAG_SET_POWER_STATE 0x00028001
208 #define BCM2835_MBOX_SET_POWER_STATE_REQ_ON (1 << 0)
225 #define BCM2835_MBOX_TAG_GET_CLOCK_RATE 0x00030002
251 #define BCM2835_MBOX_TAG_ALLOCATE_BUFFER 0x00040001
266 #define BCM2835_MBOX_TAG_RELEASE_BUFFER 0x00048001
278 #define BCM2835_MBOX_TAG_BLANK_SCREEN 0x00040002
284 /* bit 0 means on, other bots reserved */
294 #define BCM2835_MBOX_TAG_GET_PHYSICAL_W_H 0x00040003
295 #define BCM2835_MBOX_TAG_TEST_PHYSICAL_W_H 0x00044003
296 #define BCM2835_MBOX_TAG_SET_PHYSICAL_W_H 0x00048003
314 #define BCM2835_MBOX_TAG_GET_VIRTUAL_W_H 0x00040004
315 #define BCM2835_MBOX_TAG_TEST_VIRTUAL_W_H 0x00044004
316 #define BCM2835_MBOX_TAG_SET_VIRTUAL_W_H 0x00048004
333 #define BCM2835_MBOX_TAG_GET_DEPTH 0x00040005
334 #define BCM2835_MBOX_TAG_TEST_DEPTH 0x00044005
335 #define BCM2835_MBOX_TAG_SET_DEPTH 0x00048005
350 #define BCM2835_MBOX_TAG_GET_PIXEL_ORDER 0x00040006
351 #define BCM2835_MBOX_TAG_TEST_PIXEL_ORDER 0x00044005
352 #define BCM2835_MBOX_TAG_SET_PIXEL_ORDER 0x00048006
354 #define BCM2835_MBOX_PIXEL_ORDER_BGR 0
370 #define BCM2835_MBOX_TAG_GET_ALPHA_MODE 0x00040007
371 #define BCM2835_MBOX_TAG_TEST_ALPHA_MODE 0x00044007
372 #define BCM2835_MBOX_TAG_SET_ALPHA_MODE 0x00048007
374 #define BCM2835_MBOX_ALPHA_MODE_0_OPAQUE 0
391 #define BCM2835_MBOX_TAG_GET_PITCH 0x00040008
405 #define BCM2835_MBOX_TAG_GET_VIRTUAL_OFFSET 0x00040009
406 #define BCM2835_MBOX_TAG_TEST_VIRTUAL_OFFSET 0x00044009
407 #define BCM2835_MBOX_TAG_SET_VIRTUAL_OFFSET 0x00048009
424 #define BCM2835_MBOX_TAG_GET_OVERSCAN 0x0004000a
425 #define BCM2835_MBOX_TAG_TEST_OVERSCAN 0x0004400a
426 #define BCM2835_MBOX_TAG_SET_OVERSCAN 0x0004800a
447 #define BCM2835_MBOX_TAG_GET_PALETTE 0x0004000b
460 #define BCM2835_MBOX_TAG_TEST_PALETTE 0x0004400b
476 #define BCM2835_MBOX_TAG_SET_PALETTE 0x0004800b
495 * Returns 0 for success, any other value for error.
511 * Returns 0 for success, any other value for error.