Lines Matching refs:hclk_masks
303 const u8 hclk_masks[] = { in aspeed_g6_spi_hclk_divisor() local
312 for (i = 0; i < ARRAY_SIZE(hclk_masks); i++) { in aspeed_g6_spi_hclk_divisor()
327 hclk_rate, max_hz, j, i + 1, hclk_masks[i], hclk_rate / (i + 1 + j * 16)); in aspeed_g6_spi_hclk_divisor()
329 hclk_div = ((j << 4) | hclk_masks[i]); in aspeed_g6_spi_hclk_divisor()
338 const u8 hclk_masks[] = { in aspeed_spi_hclk_divisor() local
344 for (i = 0; i < ARRAY_SIZE(hclk_masks); i++) { in aspeed_spi_hclk_divisor()
349 hclk_rate, max_hz, i + 1, hclk_masks[i], hclk_rate / (i + 1)); in aspeed_spi_hclk_divisor()
351 hclk_div_setting = hclk_masks[i]; in aspeed_spi_hclk_divisor()
506 const u8 hclk_masks[] = {13, 6, 14, 7, 15}; in aspeed_spi_timing_calibration() local
556 for (i = 0; i < ARRAY_SIZE(hclk_masks) - 1; i++) { in aspeed_spi_timing_calibration()
570 hclk_masks[3 - i], in aspeed_spi_timing_calibration()
624 for (i = 0; i < ARRAY_SIZE(hclk_masks); i++) { in aspeed_spi_timing_calibration()
639 checksum = aspeed_spi_read_checksum(priv, flash, hclk_masks[i], in aspeed_spi_timing_calibration()
651 checksum = aspeed_spi_read_checksum(priv, flash, hclk_masks[i], in aspeed_spi_timing_calibration()