Lines Matching refs:hw_bits
80 static u32 hw_bits = 0xFFFFFFFD; /* assume all hardware present */; variable
362 hw_bits = __raw_readl(flash + CFG_HW_BITS); in gmlr_init()
383 switch (hw_bits & (CFG_HW_HAS_UART0 | CFG_HW_HAS_UART1)) { in gmlr_init()
395 if (hw_bits & (CFG_HW_HAS_UART0 | CFG_HW_HAS_UART1)) in gmlr_init()
398 if (hw_bits & CFG_HW_HAS_ETH0) in gmlr_init()
400 if (hw_bits & CFG_HW_HAS_ETH1) in gmlr_init()
403 if (hw_bits & CFG_HW_HAS_HSS0) in gmlr_init()
405 if (hw_bits & CFG_HW_HAS_HSS1) in gmlr_init()
453 if ((hw_bits & CFG_HW_USB_PORTS) >= 2 && in gmlr_pci_postinit()
454 (hw_bits & CFG_HW_USB_PORTS) < 5) { in gmlr_pci_postinit()
459 value |= (hw_bits & CFG_HW_USB_PORTS); in gmlr_pci_postinit()
487 (hw_bits & (CFG_HW_USB_PORTS | CFG_HW_HAS_PCI_SLOT))) in gmlr_pci_init()