Lines Matching full:topology
63 u8 topology[MAX_MOX_MODULES]; in board_fix_fdt() local
86 topology[i] = readl(ARMADA_37XX_SPI_DIN) & 0xff; in board_fix_fdt()
87 if (topology[i] == 0xff) in board_fix_fdt()
90 topology[i] &= 0xf; in board_fix_fdt()
97 if (size > 1 && (topology[1] == MOX_MODULE_PCI || in board_fix_fdt()
98 topology[1] == MOX_MODULE_USB3 || in board_fix_fdt()
99 topology[1] == MOX_MODULE_PASSPCI)) in board_fix_fdt()
188 static u8 topology[MAX_MOX_MODULES - 1]; in mox_get_topology() local
195 *ptopology = topology; in mox_get_topology()
218 topology[i - 1] = din[i] & 0xf; in mox_get_topology()
222 *ptopology = topology; in mox_get_topology()
234 const u8 *topology; in comphy_update_map() local
236 ret = mox_get_topology(&topology, &size, NULL); in comphy_update_map()
241 if (topology[i] == MOX_MODULE_SFP && sfpindex == -1) in comphy_update_map()
243 else if ((topology[i] == MOX_MODULE_TOPAZ || in comphy_update_map()
244 topology[i] == MOX_MODULE_PERIDOT) && in comphy_update_map()
434 const u8 *topology; in last_stage_init() local
441 ret = mox_get_topology(&topology, &module_count, &is_sd); in last_stage_init()
443 printf("Cannot read module topology!\n"); in last_stage_init()
450 printf("Module Topology:\n"); in last_stage_init()
453 switch (topology[i]) { in last_stage_init()
473 printf("% 4i: unknown (ID %i)\n", i + 1, topology[i]); in last_stage_init()
480 switch (topology[i]) { in last_stage_init()