Home
last modified time | relevance | path

Searched defs:amd_spi (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-amd.c92 struct amd_spi { struct
94 enum amd_spi_versions version; argument
98 static inline u8 amd_spi_readreg8(struct amd_spi *amd_spi, int idx) in amd_spi_readreg8()
134 static void amd_spi_select_chip(struct amd_spi *amd_spi, u8 cs) in amd_spi_select_chip()
144 static void amd_spi_clear_fifo_ptr(struct amd_spi *amd_spi) in amd_spi_clear_fifo_ptr()
174 static int amd_spi_busy_wait(struct amd_spi *amd_spi) in amd_spi_busy_wait()
194 static int amd_spi_execute_opcode(struct amd_spi *amd_spi) in amd_spi_execute_opcode()
239 static int amd_set_spi_freq(struct amd_spi *amd_spi, u32 speed_hz) in amd_set_spi_freq()
274 static inline int amd_spi_fifo_xfer(struct amd_spi *amd_spi, in amd_spi_fifo_xfer()
364 struct amd_spi *amd_spi = spi_controller_get_devdata(host); in amd_spi_host_transfer() local
[all …]