Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (c) 2006 Simtec Electronics
0004  *  Ben Dooks <ben@simtec.co.uk>
0005  *
0006  * S3C2410 - SPI Controller platform_device info
0007 */
0008 
0009 #ifndef __LINUX_SPI_S3C24XX_H
0010 #define __LINUX_SPI_S3C24XX_H __FILE__
0011 
0012 struct s3c2410_spi_info {
0013     unsigned int         num_cs;    /* total chipselects */
0014     int          bus_num;       /* bus number to use. */
0015     unsigned int         use_fiq:1; /* use fiq */
0016 };
0017 
0018 extern int s3c24xx_set_fiq(unsigned int irq, u32 *ack_ptr, bool on);
0019 
0020 #endif /* __LINUX_SPI_S3C24XX_H */