Searched refs:SPI_REG (Results 1 – 4 of 4) sorted by relevance
| /rk3399_rockchip-uboot/board/keymile/km_arm/ |
| H A D | fpga_config.c | 80 #define SPI_REG 0x06 macro 95 ret = i2c_read(BOCO_ADDR, SPI_REG, 1, ®val, 1); in fpga_done() 98 __func__, SPI_REG); in fpga_done() 124 ret = boco_clear_bits(SPI_REG, CFG_EEPROM); in trigger_fpga_config() 129 ret = boco_clear_bits(SPI_REG, FPGA_PROG | FPGA_INIT_B); in trigger_fpga_config() 137 ret = boco_set_bits(SPI_REG, FPGA_PROG); in trigger_fpga_config() 142 ret = boco_set_bits(SPI_REG, FPGA_INIT_B); in trigger_fpga_config() 174 ret = i2c_read(BOCO_ADDR, SPI_REG, 1, &spictrl, 1); in wait_for_fpga_config() 260 ret = boco_set_bits(SPI_REG, CFG_EEPROM); in toggle_eeprom_spi_bus()
|
| /rk3399_rockchip-uboot/arch/x86/cpu/broadwell/ |
| H A D | lpc.c | 24 writel(0x1000, SPI_REG(SPIBAR_FDOC)); in set_spi_speed() 27 fdod = readl(SPI_REG(SPIBAR_FDOD)); in set_spi_speed() 32 ssfc = readb(SPI_REG(SPIBAR_SSFC + 2)); in set_spi_speed() 35 writeb(ssfc, SPI_REG(SPIBAR_SSFC + 2)); in set_spi_speed()
|
| H A D | pch.c | 296 clrbits_le32(SPI_REG(SPIBAR_FDOC), 0x00007ffc); in pch_read_soft_strap() 297 setbits_le32(SPI_REG(SPIBAR_FDOC), 0x00004000 | id * 4); in pch_read_soft_strap() 299 return readl(SPI_REG(SPIBAR_FDOD)); in pch_read_soft_strap()
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/arch-broadwell/ |
| H A D | spi.h | 18 #define SPI_REG(x) (RCB_REG(SPIBAR_OFFSET + (x))) macro
|