Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h
Show First 20 Lines • Show All 102 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 BCM2835_MBOX_CLOCK_ID_UART 0x00000002 | #define BCM2835_MBOX_CLOCK_ID_UART 0x00000002 | ||||
#define BCM2835_MBOX_CLOCK_ID_ARM 0x00000003 | #define BCM2835_MBOX_CLOCK_ID_ARM 0x00000003 | ||||
#define BCM2835_MBOX_CLOCK_ID_CORE 0x00000004 | #define BCM2835_MBOX_CLOCK_ID_CORE 0x00000004 | ||||
#define BCM2835_MBOX_CLOCK_ID_V3D 0x00000005 | #define BCM2835_MBOX_CLOCK_ID_V3D 0x00000005 | ||||
#define BCM2835_MBOX_CLOCK_ID_H264 0x00000006 | #define BCM2835_MBOX_CLOCK_ID_H264 0x00000006 | ||||
#define BCM2835_MBOX_CLOCK_ID_ISP 0x00000007 | #define BCM2835_MBOX_CLOCK_ID_ISP 0x00000007 | ||||
#define BCM2835_MBOX_CLOCK_ID_SDRAM 0x00000008 | #define BCM2835_MBOX_CLOCK_ID_SDRAM 0x00000008 | ||||
▲ Show 20 Lines • Show All 384 Lines • Show Last 20 Lines |