Searched refs:mpc8xxx_spi (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/spi/ |
A D | spi-fsl-spi.c | 116 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(spi->master); in fsl_spi_chipselect() local 176 struct mpc8xxx_spi *mpc8xxx_spi, in mspi_apply_cpu_mode_quirks() argument 227 struct mpc8xxx_spi *mpc8xxx_spi; in fsl_spi_setup_transfer() local 360 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(master); in fsl_spi_do_one_msg() local 441 struct mpc8xxx_spi *mpc8xxx_spi; in fsl_spi_setup() local 573 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(master); in fsl_spi_grlib_probe() local 599 struct mpc8xxx_spi *mpc8xxx_spi; in fsl_spi_probe() local 645 mpc8xxx_spi->set_shifts(&mpc8xxx_spi->rx_shift, in fsl_spi_probe() 679 mpc8xxx_spi->irq, mpc8xxx_spi_strmode(mpc8xxx_spi->flags)); in fsl_spi_probe() 780 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(master); in of_fsl_spi_remove() local [all …]
|
A D | spi-fsl-lib.c | 30 void mpc8xxx_spi_rx_buf_##type(u32 data, struct mpc8xxx_spi *mpc8xxx_spi) \ 32 type *rx = mpc8xxx_spi->rx; \ 34 mpc8xxx_spi->rx = rx; \ 39 u32 mpc8xxx_spi_tx_buf_##type(struct mpc8xxx_spi *mpc8xxx_spi) \ 46 mpc8xxx_spi->tx = tx; \ 85 struct mpc8xxx_spi *mpc8xxx_spi; in mpc8xxx_spi_probe() local 96 mpc8xxx_spi->dev = dev; in mpc8xxx_spi_probe() 99 mpc8xxx_spi->flags = pdata->flags; in mpc8xxx_spi_probe() 101 mpc8xxx_spi->irq = irq; in mpc8xxx_spi_probe() 103 mpc8xxx_spi->rx_shift = 0; in mpc8xxx_spi_probe() [all …]
|
A D | spi-fsl-lib.h | 20 struct mpc8xxx_spi { struct 47 void (*get_rx) (u32 rx_data, struct mpc8xxx_spi *); argument 48 u32(*get_tx) (struct mpc8xxx_spi *); argument 75 void (*get_rx) (u32 rx_data, struct mpc8xxx_spi *); argument 76 u32 (*get_tx) (struct mpc8xxx_spi *); 97 extern u32 mpc8xxx_spi_tx_buf_u8(struct mpc8xxx_spi *mpc8xxx_spi); 98 extern u32 mpc8xxx_spi_tx_buf_u16(struct mpc8xxx_spi *mpc8xxx_spi); 99 extern u32 mpc8xxx_spi_tx_buf_u32(struct mpc8xxx_spi *mpc8xxx_spi); 100 extern void mpc8xxx_spi_rx_buf_u8(u32 data, struct mpc8xxx_spi *mpc8xxx_spi); 101 extern void mpc8xxx_spi_rx_buf_u16(u32 data, struct mpc8xxx_spi *mpc8xxx_spi); [all …]
|
A D | spi-fsl-cpm.h | 21 extern void fsl_spi_cpm_reinit_txrx(struct mpc8xxx_spi *mspi); 22 extern int fsl_spi_cpm_bufs(struct mpc8xxx_spi *mspi, 24 extern void fsl_spi_cpm_bufs_complete(struct mpc8xxx_spi *mspi); 25 extern void fsl_spi_cpm_irq(struct mpc8xxx_spi *mspi, u32 events); 26 extern int fsl_spi_cpm_init(struct mpc8xxx_spi *mspi); 27 extern void fsl_spi_cpm_free(struct mpc8xxx_spi *mspi); 29 static inline void fsl_spi_cpm_reinit_txrx(struct mpc8xxx_spi *mspi) { } in fsl_spi_cpm_reinit_txrx() 30 static inline int fsl_spi_cpm_bufs(struct mpc8xxx_spi *mspi, in fsl_spi_cpm_bufs() 33 static inline void fsl_spi_cpm_bufs_complete(struct mpc8xxx_spi *mspi) { } in fsl_spi_cpm_bufs_complete() 35 static inline int fsl_spi_cpm_init(struct mpc8xxx_spi *mspi) { return 0; } in fsl_spi_cpm_init() [all …]
|
A D | spi-fsl-cpm.c | 51 void fsl_spi_cpm_reinit_txrx(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_reinit_txrx() 71 static void fsl_spi_cpm_bufs_start(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_bufs_start() 100 int fsl_spi_cpm_bufs(struct mpc8xxx_spi *mspi, in fsl_spi_cpm_bufs() 166 void fsl_spi_cpm_bufs_complete(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_bufs_complete() 179 void fsl_spi_cpm_irq(struct mpc8xxx_spi *mspi, u32 events) in fsl_spi_cpm_irq() 238 static unsigned long fsl_spi_cpm_get_pram(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_get_pram() 275 int fsl_spi_cpm_init(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_init() 385 void fsl_spi_cpm_free(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_free()
|
Completed in 8 milliseconds