/* * Definitions for TX4937/TX4938 SPI * * Copyright (C) 2000-2001 Toshiba Corporation * * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the * terms of the GNU General Public License version 2. This program is * licensed "as is" without any warranty of any kind, whether express * or implied. * * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com) */ #ifndef __ASM_TXX9_SPI_H #define __ASM_TXX9_SPI_H #include <linux/errno.h> #ifdef CONFIG_SPI int spi_eeprom_register(int busid, int chipid, int size); int spi_eeprom_read(int busid, int chipid, int address, unsigned char *buf, int len); #else static inline int spi_eeprom_register(int busid, int chipid, int size) { return -ENODEV; } static inline int spi_eeprom_read(int busid, int chipid, int address, unsigned char *buf, int len) { return -ENODEV; } #endif #endif /* __ASM_TXX9_SPI_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
boards.h | File | 309 B | 0644 |
|
dmac.h | File | 1.29 KB | 0644 |
|
generic.h | File | 2.76 KB | 0644 |
|
jmr3927.h | File | 6.84 KB | 0644 |
|
ndfmc.h | File | 961 B | 0644 |
|
pci.h | File | 1.12 KB | 0644 |
|
rbtx4927.h | File | 3.82 KB | 0644 |
|
rbtx4938.h | File | 6.78 KB | 0644 |
|
rbtx4939.h | File | 6.22 KB | 0644 |
|
smsc_fdc37m81x.h | File | 2.09 KB | 0644 |
|
spi.h | File | 907 B | 0644 |
|
tx3927.h | File | 10.8 KB | 0644 |
|
tx4927.h | File | 9.04 KB | 0644 |
|
tx4927pcic.h | File | 6.38 KB | 0644 |
|
tx4938.h | File | 10.73 KB | 0644 |
|
tx4939.h | File | 18.5 KB | 0644 |
|