Searched refs:SPI_REG (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/board/keymile/km_arm/ |
D | fpga_config.c | 79 #define SPI_REG 0x06 macro 94 ret = i2c_read(BOCO_ADDR, SPI_REG, 1, ®val, 1); in fpga_done() 97 __func__, SPI_REG); in fpga_done() 123 ret = boco_clear_bits(SPI_REG, CFG_EEPROM); in trigger_fpga_config() 128 ret = boco_clear_bits(SPI_REG, FPGA_PROG | FPGA_INIT_B); in trigger_fpga_config() 136 ret = boco_set_bits(SPI_REG, FPGA_PROG); in trigger_fpga_config() 141 ret = boco_set_bits(SPI_REG, FPGA_INIT_B); in trigger_fpga_config() 173 ret = i2c_read(BOCO_ADDR, SPI_REG, 1, &spictrl, 1); in wait_for_fpga_config() 259 ret = boco_set_bits(SPI_REG, CFG_EEPROM); in toggle_eeprom_spi_bus()
|
/external/u-boot/arch/x86/cpu/broadwell/ |
D | lpc.c | 23 writel(0x1000, SPI_REG(SPIBAR_FDOC)); in set_spi_speed() 26 fdod = readl(SPI_REG(SPIBAR_FDOD)); in set_spi_speed() 31 ssfc = readb(SPI_REG(SPIBAR_SSFC + 2)); in set_spi_speed() 34 writeb(ssfc, SPI_REG(SPIBAR_SSFC + 2)); in set_spi_speed()
|
D | pch.c | 295 clrbits_le32(SPI_REG(SPIBAR_FDOC), 0x00007ffc); in pch_read_soft_strap() 296 setbits_le32(SPI_REG(SPIBAR_FDOC), 0x00004000 | id * 4); in pch_read_soft_strap() 298 return readl(SPI_REG(SPIBAR_FDOD)); in pch_read_soft_strap()
|
/external/u-boot/arch/x86/include/asm/arch-broadwell/ |
D | spi.h | 17 #define SPI_REG(x) (RCB_REG(SPIBAR_OFFSET + (x))) macro
|