Lines Matching refs:s3c24xx_spi
58 struct s3c24xx_spi { struct
92 static inline struct s3c24xx_spi *to_hw(struct spi_device *sdev) in to_hw() argument
105 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_chipsel()
127 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_update_state()
182 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_setupxfer()
195 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_setup()
231 static inline unsigned int hw_txbyte(struct s3c24xx_spi *hw, int count) in hw_txbyte()
283 void s3c24xx_spi_tryfiq(struct s3c24xx_spi *hw) in s3c24xx_spi_tryfiq()
358 struct s3c24xx_spi *hw = pw; in s3c24xx_spi_fiqop()
383 static inline void s3c24xx_spi_initfiq(struct s3c24xx_spi *hw) in s3c24xx_spi_initfiq()
397 static inline bool s3c24xx_spi_usefiq(struct s3c24xx_spi *hw) in s3c24xx_spi_usefiq()
409 static inline bool s3c24xx_spi_usingfiq(struct s3c24xx_spi *spi) in s3c24xx_spi_usingfiq()
415 static inline void s3c24xx_spi_initfiq(struct s3c24xx_spi *s) { } in s3c24xx_spi_initfiq()
416 static inline void s3c24xx_spi_tryfiq(struct s3c24xx_spi *s) { } in s3c24xx_spi_tryfiq()
417 static inline bool s3c24xx_spi_usefiq(struct s3c24xx_spi *s) { return false; } in s3c24xx_spi_usefiq()
418 static inline bool s3c24xx_spi_usingfiq(struct s3c24xx_spi *s) { return false; } in s3c24xx_spi_usingfiq()
424 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_txrx()
446 struct s3c24xx_spi *hw = dev; in s3c24xx_spi_irq()
488 static void s3c24xx_spi_initialsetup(struct s3c24xx_spi *hw) in s3c24xx_spi_initialsetup()
512 struct s3c24xx_spi *hw; in s3c24xx_spi_probe()
517 master = spi_alloc_master(&pdev->dev, sizeof(struct s3c24xx_spi)); in s3c24xx_spi_probe()
525 memset(hw, 0, sizeof(struct s3c24xx_spi)); in s3c24xx_spi_probe()
667 struct s3c24xx_spi *hw = platform_get_drvdata(dev); in s3c24xx_spi_remove()
694 struct s3c24xx_spi *hw = platform_get_drvdata(to_platform_device(dev)); in s3c24xx_spi_suspend()
705 struct s3c24xx_spi *hw = platform_get_drvdata(to_platform_device(dev)); in s3c24xx_spi_resume()