root/include/linux/spi/s3c24xx.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * Copyright (c) 2006 Simtec Electronics
   4  *      Ben Dooks <ben@simtec.co.uk>
   5  *
   6  * S3C2410 - SPI Controller platform_device info
   7 */
   8 
   9 #ifndef __LINUX_SPI_S3C24XX_H
  10 #define __LINUX_SPI_S3C24XX_H __FILE__
  11 
  12 struct s3c2410_spi_info {
  13         int                      pin_cs;        /* simple gpio cs */
  14         unsigned int             num_cs;        /* total chipselects */
  15         int                      bus_num;       /* bus number to use. */
  16 
  17         unsigned int             use_fiq:1;     /* use fiq */
  18 
  19         void (*gpio_setup)(struct s3c2410_spi_info *spi, int enable);
  20         void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol);
  21 };
  22 
  23 extern int s3c24xx_set_fiq(unsigned int irq, bool on);
  24 
  25 #endif /* __LINUX_SPI_S3C24XX_H */

/* [<][>][^][v][top][bottom][index][help] */