11 #define TOTAL_USB_PORTS 14
16 const u16 currents[] = { 0xf57, 0xf5f, 0x753, 0x75f, 0x14b, 0x74b,
17 0x557, 0x757, 0x55f, 0x54b
32 | (1 << 8) | (4 << 4));
38 if (!portmap[i].enabled)
44 for (i = 0; i < 8; i++) {
45 if (portmap[i].enabled && portmap[i].oc_pin >= 0)
46 reg32 |= (1 << (i + 8 * portmap[i].
oc_pin));
52 if (portmap[i].enabled && portmap[i].oc_pin >= 4)
53 reg32 |= (1 << (i - 8 + 8 * (portmap[i].
oc_pin - 4)));
void early_usb_init(const struct southbridge_usb_port *portmap)
void write_pmbase16(const u8 addr, const u16 val)
u16 read_pmbase16(const u8 addr)
#define RCBA32_AND_OR(x, and, or)