Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-apple.c123 struct apple_spi { struct
129 static inline void reg_write(struct apple_spi *spi, int offset, u32 value) in reg_write() argument
134 static inline u32 reg_read(struct apple_spi *spi, int offset) in reg_read()
139 static inline void reg_mask(struct apple_spi *spi, int offset, u32 clear, u32 set) in reg_mask()
148 static void apple_spi_init(struct apple_spi *spi) in apple_spi_init()
175 struct apple_spi *spi = spi_controller_get_devdata(ctlr); in apple_spi_prepare_message()
191 struct apple_spi *spi = spi_controller_get_devdata(device->controller); in apple_spi_set_cs()
196 static bool apple_spi_prep_transfer(struct apple_spi *spi, struct spi_transfer *t) in apple_spi_prep_transfer()
220 struct apple_spi *spi = dev_id; in apple_spi_irq()
235 static int apple_spi_wait(struct apple_spi *spi, u32 fifo_bit, u32 xfer_bit, int poll) in apple_spi_wait()
[all …]