Home
last modified time | relevance | path

Searched refs:mpc8xxx_spi (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-fsl-spi.c91 struct mpc8xxx_spi *mspi = spi_controller_get_devdata(spi->controller); in fsl_spi_change_mode()
150 struct mpc8xxx_spi *mpc8xxx_spi, in mspi_apply_cpu_mode_quirks()
166 if (mpc8xxx_spi->set_shifts) in mspi_apply_cpu_mode_quirks()
167 mpc8xxx_spi->set_shifts(&cs->rx_shift, &cs->tx_shift, in mspi_apply_cpu_mode_quirks()
171 mpc8xxx_spi->rx_shift = cs->rx_shift; in mspi_apply_cpu_mode_quirks()
172 mpc8xxx_spi->tx_shift = cs->tx_shift; in mspi_apply_cpu_mode_quirks()
173 mpc8xxx_spi->get_rx = cs->get_rx; in mspi_apply_cpu_mode_quirks()
174 mpc8xxx_spi->get_tx = cs->get_tx; in mspi_apply_cpu_mode_quirks()
180 struct mpc8xxx_spi *mpc8xxx_sp in fsl_spi_setup_transfer() local
148 mspi_apply_cpu_mode_quirks(struct spi_mpc8xxx_cs *cs, struct spi_device *spi, struct mpc8xxx_spi *mpc8xxx_spi, int bits_per_word) mspi_apply_cpu_mode_quirks() argument
255 struct mpc8xxx_spi *mpc8xxx_spi = spi_controller_get_devdata(spi->controller); fsl_spi_bufs() local
297 struct mpc8xxx_spi *mpc8xxx_spi = spi_controller_get_devdata(ctlr); fsl_spi_prepare_message() local
371 struct mpc8xxx_spi *mpc8xxx_spi; fsl_spi_setup() local
482 struct mpc8xxx_spi *mpc8xxx_spi = spi_controller_get_devdata(spi->controller); fsl_spi_grlib_cs_control() local
497 struct mpc8xxx_spi *mpc8xxx_spi = spi_controller_get_devdata(host); fsl_spi_grlib_probe() local
534 struct mpc8xxx_spi *mpc8xxx_spi; fsl_spi_probe() local
707 struct mpc8xxx_spi *mpc8xxx_spi = spi_controller_get_devdata(host); of_fsl_spi_remove() local
753 struct mpc8xxx_spi *mpc8xxx_spi = spi_controller_get_devdata(host); plat_mpc8xxx_spi_remove() local
[all...]
H A Dspi-fsl-lib.h20 struct mpc8xxx_spi { struct
47 void (*get_rx) (u32 rx_data, struct mpc8xxx_spi *);
48 u32(*get_tx) (struct mpc8xxx_spi *);
75 void (*get_rx) (u32 rx_data, struct mpc8xxx_spi *);
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_sp
[all...]
H A Dspi-fsl-cpm.h21 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()
34 static inline void fsl_spi_cpm_irq(struct mpc8xxx_spi *msp in fsl_spi_cpm_bufs_complete()
[all...]
H A Dspi-fsl-lib.c31 void mpc8xxx_spi_rx_buf_##type(u32 data, struct mpc8xxx_spi *mpc8xxx_spi) \
33 type *rx = mpc8xxx_spi->rx; \
34 *rx++ = (type)(data >> mpc8xxx_spi->rx_shift); \
35 mpc8xxx_spi->rx = rx; \
40 u32 mpc8xxx_spi_tx_buf_##type(struct mpc8xxx_spi *mpc8xxx_spi) \
43 const type *tx = mpc8xxx_spi->tx; \
46 data = *tx++ << mpc8xxx_spi->tx_shift; \
47 mpc8xxx_spi
86 struct mpc8xxx_spi *mpc8xxx_spi; mpc8xxx_spi_probe() local
[all...]
H A Dspi-fsl-cpm.c52 void fsl_spi_cpm_reinit_txrx(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_reinit_txrx()
72 static void fsl_spi_cpm_bufs_start(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_bufs_start()
101 int fsl_spi_cpm_bufs(struct mpc8xxx_spi *mspi, in fsl_spi_cpm_bufs()
182 void fsl_spi_cpm_bufs_complete(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_bufs_complete()
202 void fsl_spi_cpm_irq(struct mpc8xxx_spi *mspi, u32 events) in fsl_spi_cpm_irq()
261 static unsigned long fsl_spi_cpm_get_pram(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_get_pram()
298 int fsl_spi_cpm_init(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_init()
408 void fsl_spi_cpm_free(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_free()
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-fsl-spi.c91 struct mpc8xxx_spi *mspi = spi_master_get_devdata(spi->master); in fsl_spi_change_mode()
116 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(spi->master); in fsl_spi_chipselect() local
128 mpc8xxx_spi->rx_shift = cs->rx_shift; in fsl_spi_chipselect()
129 mpc8xxx_spi->tx_shift = cs->tx_shift; in fsl_spi_chipselect()
130 mpc8xxx_spi->get_rx = cs->get_rx; in fsl_spi_chipselect()
131 mpc8xxx_spi->get_tx = cs->get_tx; in fsl_spi_chipselect()
176 struct mpc8xxx_spi *mpc8xxx_spi, in mspi_apply_cpu_mode_quirks()
193 if (mpc8xxx_spi in mspi_apply_cpu_mode_quirks()
174 mspi_apply_cpu_mode_quirks(struct spi_mpc8xxx_cs *cs, struct spi_device *spi, struct mpc8xxx_spi *mpc8xxx_spi, int bits_per_word) mspi_apply_cpu_mode_quirks() argument
209 struct mpc8xxx_spi *mpc8xxx_spi; fsl_spi_setup_transfer() local
289 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(spi->master); fsl_spi_bufs() local
339 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(master); fsl_spi_do_one_msg() local
436 struct mpc8xxx_spi *mpc8xxx_spi; fsl_spi_setup() local
550 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(spi->master); fsl_spi_grlib_cs_control() local
568 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(master); fsl_spi_grlib_probe() local
594 struct mpc8xxx_spi *mpc8xxx_spi; fsl_spi_probe() local
781 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(master); of_fsl_spi_remove() local
828 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(master); plat_mpc8xxx_spi_remove() local
[all...]
H A Dspi-fsl-lib.h20 struct mpc8xxx_spi { struct
47 void (*get_rx) (u32 rx_data, struct mpc8xxx_spi *);
48 u32(*get_tx) (struct mpc8xxx_spi *);
75 void (*get_rx) (u32 rx_data, struct mpc8xxx_spi *);
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_sp
[all...]
H A Dspi-fsl-cpm.h21 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()
34 static inline void fsl_spi_cpm_irq(struct mpc8xxx_spi *msp in fsl_spi_cpm_bufs_complete()
[all...]
H A Dspi-fsl-lib.c30 void mpc8xxx_spi_rx_buf_##type(u32 data, struct mpc8xxx_spi *mpc8xxx_spi) \
32 type *rx = mpc8xxx_spi->rx; \
33 *rx++ = (type)(data >> mpc8xxx_spi->rx_shift); \
34 mpc8xxx_spi->rx = rx; \
39 u32 mpc8xxx_spi_tx_buf_##type(struct mpc8xxx_spi *mpc8xxx_spi) \
42 const type *tx = mpc8xxx_spi->tx; \
45 data = *tx++ << mpc8xxx_spi->tx_shift; \
46 mpc8xxx_spi
85 struct mpc8xxx_spi *mpc8xxx_spi; mpc8xxx_spi_probe() local
[all...]
H A Dspi-fsl-cpm.c52 void fsl_spi_cpm_reinit_txrx(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_reinit_txrx()
72 static void fsl_spi_cpm_bufs_start(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_bufs_start()
101 int fsl_spi_cpm_bufs(struct mpc8xxx_spi *mspi, in fsl_spi_cpm_bufs()
182 void fsl_spi_cpm_bufs_complete(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_bufs_complete()
202 void fsl_spi_cpm_irq(struct mpc8xxx_spi *mspi, u32 events) in fsl_spi_cpm_irq()
261 static unsigned long fsl_spi_cpm_get_pram(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_get_pram()
298 int fsl_spi_cpm_init(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_init()
408 void fsl_spi_cpm_free(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_free()

Completed in 5 milliseconds