Lines Matching refs:ASPEED_HW_STRAP2
54 #ifdef ASPEED_HW_STRAP2 in aspeed_get_mac_phy_interface()
55 u32 strap2 = readl(ASPEED_HW_STRAP2); in aspeed_get_mac_phy_interface()
72 #ifdef ASPEED_HW_STRAP2 in aspeed_get_mac_phy_interface()
282 if (readl(ASPEED_HW_STRAP2) & BIT(11)) { in aspeed_print_2nd_wdt_mode()
291 if (readl(ASPEED_HW_STRAP2) & BIT(12)) in aspeed_print_2nd_wdt_mode()
299 if (readl(ASPEED_HW_STRAP2) & GENMASK(15, 13)) in aspeed_print_2nd_wdt_mode()
301 BIT((readl(ASPEED_HW_STRAP2) >> 13) & 0x7)); in aspeed_print_2nd_wdt_mode()
311 if (readl(ASPEED_HW_STRAP2) & BIT(22)) { in aspeed_print_fmc_aux_ctrl()
322 (readl(ASPEED_HW_STRAP2) & GENMASK(24, 23)) != 0) { in aspeed_print_fmc_aux_ctrl()
324 BIT((readl(ASPEED_HW_STRAP2) >> 23) & 0x3) * 128); in aspeed_print_fmc_aux_ctrl()
333 if (readl(ASPEED_HW_STRAP2) & BIT(16)) { in aspeed_print_spi1_abr_mode()
350 if (readl(ASPEED_HW_STRAP2) & BIT(17)) { in aspeed_print_spi1_abr_mode()
362 if (readl(ASPEED_HW_STRAP2) & BIT(27)) { in aspeed_print_spi1_aux_ctrl()
373 (readl(ASPEED_HW_STRAP2) & GENMASK(26, 25)) != 0) { in aspeed_print_spi1_aux_ctrl()
375 BIT((readl(ASPEED_HW_STRAP2) >> 25) & 0x3) * 128); in aspeed_print_spi1_aux_ctrl()
384 if(readl(ASPEED_HW_STRAP2) & BIT(10)) in aspeed_print_spi_strap_mode()
394 if (readl(ASPEED_HW_STRAP2) & BIT(6)) in aspeed_print_espi_mode()
399 if (readl(ASPEED_HW_STRAP2) & BIT(2)) in aspeed_print_espi_mode()
402 if (readl(ASPEED_HW_STRAP2) & BIT(3)) in aspeed_print_espi_mode()