Home
last modified time | relevance | path

Searched refs:hclk_mask (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-aspeed-smc.c79 u32 hclk_mask; member
992 ctl_val = chip->ctl_val[ASPEED_SPI_READ] & data->hclk_mask; in aspeed_spi_do_calibration()
1037 chip->ctl_val[i] = (chip->ctl_val[i] & data->hclk_mask) | in aspeed_spi_do_calibration()
1115 .hclk_mask = 0xfffff0ff,
1129 .hclk_mask = 0xfffff0ff,
1141 .hclk_mask = 0xffffd0ff,
1155 .hclk_mask = 0xffffd0ff,
1170 .hclk_mask = 0xf0fff0ff,
1185 .hclk_mask = 0xf0fff0ff,
/openbmc/qemu/hw/ssi/
H A Daspeed_smc.c846 static uint8_t aspeed_smc_hclk_divisor(uint8_t hclk_mask) in aspeed_smc_hclk_divisor() argument
855 if (hclk_mask == hclk_divisors[i]) { in aspeed_smc_hclk_divisor()
872 uint8_t hclk_mask = in aspeed_smc_dma_calibration() local
874 uint8_t hclk_div = aspeed_smc_hclk_divisor(hclk_mask); in aspeed_smc_dma_calibration()
909 uint8_t hclk_mask = in aspeed_smc_inject_read_failure() local
915 switch (aspeed_smc_hclk_divisor(hclk_mask)) { in aspeed_smc_inject_read_failure()