Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/spi/
H A Dmt7621_spi.c28 #define MT7621_SPI_MASTER 0x28 macro
50 setbits_le32(rs->base + MT7621_SPI_MASTER, in mt7621_spi_reset()
70 reg = ioread32(rs->base + MT7621_SPI_MASTER); in mt7621_spi_set_mode()
90 iowrite32(reg, rs->base + MT7621_SPI_MASTER); in mt7621_spi_set_mode()
111 reg = ioread32(rs->base + MT7621_SPI_MASTER); in mt7621_spi_set_speed()
114 iowrite32(reg, rs->base + MT7621_SPI_MASTER); in mt7621_spi_set_speed()
/openbmc/linux/drivers/spi/
H A Dspi-mt7621.c40 #define MT7621_SPI_MASTER 0x28 macro
90 master = mt7621_spi_read(rs, MT7621_SPI_MASTER); in mt7621_spi_set_cs()
93 mt7621_spi_write(rs, MT7621_SPI_MASTER, master); in mt7621_spi_set_cs()
119 reg = mt7621_spi_read(rs, MT7621_SPI_MASTER); in mt7621_spi_prepare()
135 mt7621_spi_write(rs, MT7621_SPI_MASTER, reg); in mt7621_spi_prepare()