Searched refs:spi_reg (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/spi/ |
H A D | spi-orion.c | 82 static inline void __iomem *spi_reg(struct orion_spi *orion_spi, u32 reg) spi_reg() function 90 void __iomem *reg_addr = spi_reg(orion_spi, reg); orion_spi_setbits() 101 void __iomem *reg_addr = spi_reg(orion_spi, reg); orion_spi_clrbits() 174 reg = readl(spi_reg(orion_spi, ORION_SPI_IF_CONFIG_REG)); orion_spi_baudrate_set() 176 writel(reg, spi_reg(orion_spi, ORION_SPI_IF_CONFIG_REG)); orion_spi_baudrate_set() 189 reg = readl(spi_reg(orion_spi, ORION_SPI_IF_CONFIG_REG)); orion_spi_mode_set() 195 writel(reg, spi_reg(orion_spi, ORION_SPI_IF_CONFIG_REG)); orion_spi_mode_set() 255 if (readl(spi_reg(orion_spi, ORION_SPI_INT_CAUSE_REG))) orion_spi_wait_till_ready() 272 tx_reg = spi_reg(orion_spi, ORION_SPI_DATA_OUT_REG); orion_spi_write_read_8bit() 273 rx_reg = spi_reg(orion_spi, ORION_SPI_DATA_IN_REG); orion_spi_write_read_8bit() 274 int_reg = spi_reg(orion_spi, ORION_SPI_INT_CAUSE_REG); orion_spi_write_read_8bit() 303 tx_reg = spi_reg(orion_spi, ORION_SPI_DATA_OUT_REG); orion_spi_write_read_16bit() 304 rx_reg = spi_reg(orion_spi, ORION_SPI_DATA_IN_REG); orion_spi_write_read_16bit() 305 int_reg = spi_reg(orion_spi, ORION_SPI_INT_CAUSE_REG); orion_spi_write_read_16bit()
|
/linux-4.1.27/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 3076 static void spi_reg(struct ksz_hw *hw, u8 data, u8 reg) spi_reg() function 3125 spi_reg(hw, AT93C_READ, reg); eeprom_read() 3148 spi_reg(hw, AT93C_CODE, AT93C_WR_ON); eeprom_write() 3154 spi_reg(hw, AT93C_ERASE, reg); eeprom_write() 3170 spi_reg(hw, AT93C_WRITE, reg); eeprom_write() 3187 spi_reg(hw, AT93C_CODE, AT93C_WR_OFF); eeprom_write()
|
Completed in 157 milliseconds