Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | union { | ||||
} resp; | } resp; | ||||
} body; | } body; | ||||
uint32_t end_tag; | uint32_t end_tag; | ||||
}; | }; | ||||
/* Sets the power state for a given device */ | /* Sets the power state for a given device */ | ||||
int bcm2835_mbox_set_power_state(uint32_t, boolean_t); | int bcm2835_mbox_set_power_state(uint32_t, boolean_t); | ||||
#define BCM2835_MBOX_TAG_NOTIFY_XHCI_RESET 0x00030058 | |||||
struct msg_notify_xhci_reset { | |||||
struct bcm2835_mbox_hdr hdr; | |||||
struct bcm2835_mbox_tag_hdr tag_hdr; | |||||
union { | |||||
struct { | |||||
uint32_t pci_device_addr; | |||||
} req; | |||||
struct { | |||||
} resp; | |||||
} body; | |||||
uint32_t end_tag; | |||||
}; | |||||
/* Prompts the VideoCore processor to reload the xhci firmware. */ | |||||
int bcm2835_mbox_notify_xhci_reset(uint32_t); | |||||
#define BCM2835_MBOX_CLOCK_ID_EMMC 0x00000001 | #define BCM2835_MBOX_CLOCK_ID_EMMC 0x00000001 | ||||
#define BCM2838_MBOX_CLOCK_ID_EMMC2 0x0000000c | #define BCM2838_MBOX_CLOCK_ID_EMMC2 0x0000000c | ||||
#define BCM2835_MBOX_TAG_GET_CLOCK_RATE 0x00030002 | #define BCM2835_MBOX_TAG_GET_CLOCK_RATE 0x00030002 | ||||
struct msg_get_clock_rate { | struct msg_get_clock_rate { | ||||
struct bcm2835_mbox_hdr hdr; | struct bcm2835_mbox_hdr hdr; | ||||
struct bcm2835_mbox_tag_hdr tag_hdr; | struct bcm2835_mbox_tag_hdr tag_hdr; | ||||
▲ Show 20 Lines • Show All 326 Lines • Show Last 20 Lines |