Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-gxp.c19 #define OFFSET_SPIMCTRL 0x4 macro
55 value = readb(reg_base + OFFSET_SPIMCTRL); in gxp_spi_set_mode()
64 writeb(value, reg_base + OFFSET_SPIMCTRL); in gxp_spi_set_mode()
87 value = readb(reg_base + OFFSET_SPIMCTRL); in gxp_spi_read_reg()
91 writeb(value, reg_base + OFFSET_SPIMCTRL); in gxp_spi_read_reg()
93 ret = readb_poll_timeout(reg_base + OFFSET_SPIMCTRL, value, in gxp_spi_read_reg()
127 value = readb(reg_base + OFFSET_SPIMCTRL); in gxp_spi_write_reg()
131 writeb(value, reg_base + OFFSET_SPIMCTRL); in gxp_spi_write_reg()
133 ret = readb_poll_timeout(reg_base + OFFSET_SPIMCTRL, value, in gxp_spi_write_reg()
183 value = readb(reg_base + OFFSET_SPIMCTRL); in gxp_spi_write()
[all …]