aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h')
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h b/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h
index 211820c09c31..15f48aefa536 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h
+++ b/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h
@@ -113,21 +113,9 @@ struct msg_set_power_state {
int bcm2835_mbox_set_power_state(uint32_t, boolean_t);
#define BCM2835_MBOX_CLOCK_ID_EMMC 0x00000001
-#define BCM2835_MBOX_CLOCK_ID_UART 0x00000002
-#define BCM2835_MBOX_CLOCK_ID_ARM 0x00000003
-#define BCM2835_MBOX_CLOCK_ID_CORE 0x00000004
-#define BCM2835_MBOX_CLOCK_ID_V3D 0x00000005
-#define BCM2835_MBOX_CLOCK_ID_H264 0x00000006
-#define BCM2835_MBOX_CLOCK_ID_ISP 0x00000007
-#define BCM2835_MBOX_CLOCK_ID_SDRAM 0x00000008
-#define BCM2835_MBOX_CLOCK_ID_PIXEL 0x00000009
-#define BCM2835_MBOX_CLOCK_ID_PWM 0x0000000a
#define BCM2838_MBOX_CLOCK_ID_EMMC2 0x0000000c
#define BCM2835_MBOX_TAG_GET_CLOCK_RATE 0x00030002
-#define BCM2835_MBOX_TAG_SET_CLOCK_RATE 0x00038002
-#define BCM2835_MBOX_TAG_GET_MAX_CLOCK_RATE 0x00030004
-#define BCM2835_MBOX_TAG_GET_MIN_CLOCK_RATE 0x00030007
struct msg_get_clock_rate {
struct bcm2835_mbox_hdr hdr;
@@ -144,52 +132,6 @@ struct msg_get_clock_rate {
uint32_t end_tag;
};
-struct msg_set_clock_rate {
- struct bcm2835_mbox_hdr hdr;
- struct bcm2835_mbox_tag_hdr tag_hdr;
- union {
- struct {
- uint32_t clock_id;
- uint32_t rate_hz;
- } req;
- struct {
- uint32_t clock_id;
- uint32_t rate_hz;
- } resp;
- } body;
- uint32_t end_tag;
-};
-
-struct msg_get_max_clock_rate {
- struct bcm2835_mbox_hdr hdr;
- struct bcm2835_mbox_tag_hdr tag_hdr;
- union {
- struct {
- uint32_t clock_id;
- } req;
- struct {
- uint32_t clock_id;
- uint32_t rate_hz;
- } resp;
- } body;
- uint32_t end_tag;
-};
-
-struct msg_get_min_clock_rate {
- struct bcm2835_mbox_hdr hdr;
- struct bcm2835_mbox_tag_hdr tag_hdr;
- union {
- struct {
- uint32_t clock_id;
- } req;
- struct {
- uint32_t clock_id;
- uint32_t rate_hz;
- } resp;
- } body;
- uint32_t end_tag;
-};
-
int bcm2835_mbox_get_clock_rate(uint32_t, uint32_t *);
#define BCM2835_MBOX_TURBO_ON 1