#include <linux/autoconf.h>
#include "lib.h"
Include dependency graph for mtd-compat.h:
Go to the source code of this file.
Data Structures | |
struct | kvec |
struct | list_head |
struct | notifier_block |
Defines | |
#define | CONFIG_MTD_DEBUG_VERBOSE 3 |
#define | CONFIG_MTD_NAND_VERIFY_WRITE |
#define | NAND_BBT_SUPPORT 0 |
#define | NAND_WRITE_SUPPORT 0 |
#define | NAND_ERASE_SUPPORT 0 |
#define | NAND_MULTICHIP_SUPPORT 0 |
#define | NAND_HWECC_SUPPORT 0 |
#define | NAND_KVEC_SUPPORT 0 |
#define | nand_erase NULL |
#define | nand_write NULL |
#define | nand_write_ecc NULL |
#define | nand_write_oob NULL |
#define | nand_block_markbad NULL |
#define | nand_default_block_markbad NULL |
#define | nand_writev NULL |
#define | nand_writev_ecc NULL |
#define | min_t(type, x, y) ({ type __x = (x); type __y = (y); __x < __y ? __x: __y; }) |
#define | max_t(type, x, y) ({ type __x = (x); type __y = (y); __x > __y ? __x: __y; }) |
#define | min(x, y) |
#define | max(x, y) |
#define | cpu_to_le16(x) ((__le16) (__u16)(x)) |
#define | le16_to_cpu(x) ((__u16) (__le16)(x)) |
#define | GFP_KERNEL 0 |
#define | kmalloc(size, mode) malloc(size) |
#define | kfree(ptr) free(ptr) |
#define | HZ 1000 |
#define | TASK_INTERRUPTIBLE 0 |
#define | TASK_UNINTERRUPTIBLE 1 |
#define | set_current_state(x) do { } while (0) |
#define | schedule() do { } while (0) |
#define | cond_resched() do { } while (0) |
#define | wake_up(x) do { } while (0) |
#define | wait_queue_head_t int |
#define | DECLARE_WAITQUEUE(x, y) |
#define | init_waitqueue_head(x) do { } while (0) |
#define | init_waitqueue_head(x) do { } while (0) |
#define | add_wait_queue(x, y) do { } while (0) |
#define | remove_wait_queue(x, y) do { } while (0) |
#define | spinlock_t int |
#define | spin_lock_init(x) do { } while (0) |
#define | spin_lock(x) do { } while (0) |
#define | spin_unlock(x) do { } while (0) |
#define | time_before(x, y) (x | y | 1) |
#define | local_irq_save(x) do { (void)x; } while (0) |
#define | local_irq_restore(x) do { (void)x; } while (0) |
#define | __iomem |
#define | ioremap(addr, pgsize) ((void *) (addr)) |
#define | iounmap(addr) do { } while (0) |
#define | printk(fmt, params...) do { } while (0) |
#define | KERN_INFO "" |
#define | KERN_DEBUG "" |
#define | KERN_NOTICE "" |
#define | KERN_WARNING "" |
#define | KERN_ERR "" |
#define | __init |
#define | __exit |
#define | module_init(x) |
#define | module_exit(x) |
#define | MODULE_LICENSE(x) |
#define | MODULE_AUTHOR(x) |
#define | MODULE_DESCRIPTION(x) |
#define | EXPORT_SYMBOL(x) |
#define | EXPORT_SYMBOL_GPL(x) |
#define | touch_softlockup_watchdog() do { } while (0) |
#define | THIS_MODULE 0 |
#define | BUG() error2("BUG in " __FILE__, __LINE__, __FUNCTION__) |
Variables | |
unsigned long | jiffies |
#define __exit |
Definition at line 162 of file mtd-compat.h.
#define __init |
Definition at line 161 of file mtd-compat.h.
#define __iomem |
#define add_wait_queue | ( | x, | |||
y | ) | do { } while (0) |
#define BUG | ( | ) | error2("BUG in " __FILE__, __LINE__, __FUNCTION__) |
Definition at line 178 of file mtd-compat.h.
Referenced by init_dma(), iop_usb_config(), iop_usb_endpoint_init(), nand_block_checkbad(), nand_scan(), nand_select_chip(), and port_gio_config().
#define cond_resched | ( | ) | do { } while (0) |
#define CONFIG_MTD_DEBUG_VERBOSE 3 |
Definition at line 40 of file mtd-compat.h.
#define CONFIG_MTD_NAND_VERIFY_WRITE |
Definition at line 42 of file mtd-compat.h.
#define DECLARE_WAITQUEUE | ( | x, | |||
y | ) |
#define EXPORT_SYMBOL | ( | x | ) |
Definition at line 168 of file mtd-compat.h.
#define EXPORT_SYMBOL_GPL | ( | x | ) |
Definition at line 169 of file mtd-compat.h.
#define GFP_KERNEL 0 |
Definition at line 103 of file mtd-compat.h.
Referenced by autoexp__ioctl(), circbuf_all_open(), crisv32_init_leds(), crisv32_nand_flash_probe(), gpio_open(), and nand_scan().
#define HZ 1000 |
Definition at line 108 of file mtd-compat.h.
#define init_waitqueue_head | ( | x | ) | do { } while (0) |
Definition at line 121 of file mtd-compat.h.
#define init_waitqueue_head | ( | x | ) | do { } while (0) |
Definition at line 121 of file mtd-compat.h.
Referenced by circbuf_all_init(), cmoscam_init(), and gpio_open().
#define ioremap | ( | addr, | |||
pgsize | ) | ((void *) (addr)) |
Definition at line 143 of file mtd-compat.h.
Referenced by crisv32_nand_flash_probe(), and init_elphel_ioremap().
#define iounmap | ( | addr | ) | do { } while (0) |
#define KERN_DEBUG "" |
Definition at line 155 of file mtd-compat.h.
#define KERN_ERR "" |
Definition at line 158 of file mtd-compat.h.
Referenced by circbuf_all_init(), cmoscam_init(), crisv32_eth_set_config(), exif_init(), ext353__init(), flash_probe(), fpga_clock_init(), fpga_init(), fpga_jtag_init(), gpio_init(), hist__init(), ide_dma_intr(), nand_resume(), nand_scan(), and xi2c_init().
#define KERN_INFO "" |
Definition at line 154 of file mtd-compat.h.
Referenced by __ide_dma_off(), crisv32_eth_close(), crisv32_eth_set_mac_address(), init_axis_flash(), nand_scan(), and probe_cs().
#define KERN_NOTICE "" |
#define KERN_WARNING "" |
Definition at line 157 of file mtd-compat.h.
Referenced by __ide_dma_bad_drive(), crisv32_boot_setup(), crisv32_eth_tx_timeout(), nand_do_read_ecc(), and nand_scan().
#define kfree | ( | ptr | ) | free(ptr) |
Definition at line 105 of file mtd-compat.h.
Referenced by autoexp__release(), circbuf_all_open(), circbuf_all_release(), crisv32_nand_flash_probe(), gpio_release(), nand_release(), nand_scan(), and stream__release().
#define kmalloc | ( | size, | |||
mode | ) | malloc(size) |
Definition at line 104 of file mtd-compat.h.
Referenced by autoexp__ioctl(), circbuf_all_open(), crisv32_init_leds(), crisv32_nand_flash_probe(), gpio_open(), nand_scan(), and stream__open().
Definition at line 139 of file mtd-compat.h.
Referenced by camSeqStartClip(), canon_lens_io(), capture_pins(), ccam_DMA_ioctl(), ccamCRAnd(), ccamCRAndOr(), ccamCROr(), ccamCRXor(), crisv32_hwcontrol(), exif_write(), fpga_io_ioctl(), fpga_table_write(), getCamSeqState(), gpio_ioctl(), gpio_poll(), gpio_write(), i2c_inbyte(), i2c_outbyte(), i2c_restart(), i2c_start(), i2c_stop(), jpeg_set_quality(), JTAG_CAPTURE(), JTAG_configure(), JTAG_EXTEST(), JTAG_readID(), programSensor(), putlong_meta(), putlong_meta_raw(), readSensorReg(), readSensorReg16(), setget_input(), setget_output(), write_meta(), write_meta_raw(), writeSensorReg(), writeSensorReg16(), writeSensorRegFF(), x313_program_focus(), x313_senspars_write(), and x313_tables_write().
Definition at line 137 of file mtd-compat.h.
Referenced by camSeqStartClip(), canon_lens_io(), capture_pins(), ccam_DMA_ioctl(), ccamCRAnd(), ccamCRAndOr(), ccamCROr(), ccamCRXor(), crisv32_hwcontrol(), exif_write(), fpga_io_ioctl(), fpga_table_write(), getCamSeqState(), gpio_ioctl(), gpio_poll(), gpio_write(), i2c_inbyte(), i2c_outbyte(), i2c_restart(), i2c_start(), i2c_stop(), jpeg_set_quality(), JTAG_CAPTURE(), JTAG_configure(), JTAG_EXTEST(), JTAG_readID(), programSensor(), putlong_meta(), putlong_meta_raw(), readSensorReg(), readSensorReg16(), setget_input(), setget_output(), write_meta(), write_meta_raw(), writeSensorReg(), writeSensorReg16(), writeSensorRegFF(), x313_program_focus(), x313_senspars_write(), and x313_tables_write().
#define max | ( | x, | |||
y | ) |
Value:
Definition at line 89 of file mtd-compat.h.
Definition at line 80 of file mtd-compat.h.
#define min | ( | x, | |||
y | ) |
Value:
Definition at line 83 of file mtd-compat.h.
#define MODULE_AUTHOR | ( | x | ) |
Definition at line 166 of file mtd-compat.h.
#define MODULE_DESCRIPTION | ( | x | ) |
Definition at line 167 of file mtd-compat.h.
#define module_exit | ( | x | ) |
Definition at line 164 of file mtd-compat.h.
#define module_init | ( | x | ) |
Definition at line 163 of file mtd-compat.h.
#define MODULE_LICENSE | ( | x | ) |
Definition at line 165 of file mtd-compat.h.
#define NAND_BBT_SUPPORT 0 |
Definition at line 46 of file mtd-compat.h.
#define nand_block_markbad NULL |
Definition at line 63 of file mtd-compat.h.
#define nand_default_block_markbad NULL |
#define nand_erase NULL |
Definition at line 56 of file mtd-compat.h.
#define NAND_ERASE_SUPPORT 0 |
Definition at line 48 of file mtd-compat.h.
#define NAND_HWECC_SUPPORT 0 |
#define NAND_KVEC_SUPPORT 0 |
Definition at line 51 of file mtd-compat.h.
#define NAND_MULTICHIP_SUPPORT 0 |
Definition at line 49 of file mtd-compat.h.
#define nand_write NULL |
Definition at line 60 of file mtd-compat.h.
#define nand_write_ecc NULL |
Definition at line 61 of file mtd-compat.h.
#define nand_write_oob NULL |
Definition at line 62 of file mtd-compat.h.
#define NAND_WRITE_SUPPORT 0 |
Definition at line 47 of file mtd-compat.h.
#define nand_writev NULL |
Definition at line 68 of file mtd-compat.h.
#define nand_writev_ecc NULL |
Definition at line 69 of file mtd-compat.h.
#define printk | ( | fmt, | |||
params... | ) | do { } while (0) |
Definition at line 152 of file mtd-compat.h.
Referenced by _353_configure(), __add_gamma(), __ide_dma_bad_drive(), __ide_dma_off(), adjust_fps_2_compressor(), autoexp__ioctl(), calc_pll_params(), camSeq_dump(), camSeqStart(), camSeqStartClip(), camSeqStop(), ccam_DMA_ioctl(), check_fps(), circbuf_all_init(), circbuf_all_ioctl(), circbuf_all_lseek(), circbuf_all_mmap(), circbuf_all_open(), circbuf_all_poll(), circbuf_all_read(), circbuf_all_release(), circbuf_all_write(), circbuf_lseek(), circbuf_mmap(), circbuf_open(), circbuf_poll(), circbuf_read(), circbuf_write(), circbufValidPointer(), cmoscam_init(), cmoscam_open(), cmoscam_release(), cris_atapi_input_bytes(), cris_atapi_output_bytes(), cris_ide_build_dmatable(), cris_ide_init(), cris_ide_inw(), cris_ide_outw(), crisv32_boot_setup(), crisv32_device_ready(), crisv32_eth_close(), crisv32_eth_receive_packet(), crisv32_eth_reset_rings(), crisv32_eth_send_packet(), crisv32_eth_set_config(), crisv32_eth_set_mac_address(), crisv32_eth_setup_controller(), crisv32_eth_tx_timeout(), crisv32_ethernet_bug(), crisv32_ethernet_init(), crisv32_hwcontrol(), crisv32_io_get(), crisv32_io_get_name(), crisv32_nand_flash_probe(), crisv32rx_eth_interrupt(), crisv32tx_eth_interrupt(), dumpFrameParams(), encode_time(), etrax_gpio_wake_up_check(), exif_init(), exif_open(), exif_read(), exif_rebuild(), exif_release(), exif_write(), ext353__init(), fi2c_ioctl(), fi2c_readData(), fi2c_writeData(), flash_probe(), fpga_clock_init(), fpga_clock_ioctl(), fpga_clock_open(), fpga_clock_release(), fpga_init(), fpga_initSDRAM(), fpga_io_ioctl(), fpga_io_lseek(), fpga_io_read(), fpga_io_write(), fpga_ioctl(), fpga_jtag_init(), fpga_jtag_lseek(), fpga_jtag_open(), fpga_jtag_read(), fpga_jtag_release(), fpga_jtag_write(), fpga_lseek(), fpga_open(), fpga_release(), fpga_write(), fsdram_lseek(), fsdram_open(), fsdram_read(), fsdram_release(), fsdram_write(), gpio_init(), gpio_poll(), gpio_write(), hist__exit(), hist__init(), hist__open(), hist__release(), hist_irq__(), i2c_inbyte(), i2c_ioctl(), i2c_outbyte(), i2c_readData(), i2c_restart(), i2c_start(), i2c_stop(), i2c_writeData(), ide_dma_intr(), ide_dma_verbose(), init_axis_flash(), init_e100_ide(), init_elphel_ioremap(), init_FPGA(), init_mt9x001(), init_sensor(), initCamIRQs(), jpeg_set_quality(), jpeghead_read(), jpeghead_write(), JTAG_CAPTURE(), JTAG_configure(), JTAG_EXTEST(), JTAG_openChannel(), JTAG_readID(), JTAG_resetChannel(), jtag_send(), jtag_write_bits(), nand_block_checkbad(), nand_do_read_ecc(), nand_resume(), nand_scan(), nand_select_chip(), nand_wait(), probe_cs(), prof_msg(), program_exposure_mt9x001(), program_i2c(), program_KAI11000(), program_woi_mt9x001(), programSensor(), read_page_to_buffer(), readSensorReg(), readSensorReg16(), set_gamma(), set_pgm(), set_pgm_mode(), setCamSeqState(), setClockFreq(), setJPEGHeader(), setup_arch(), stream__ioctl(), write_gamma_fpga(), writeSensorDefaults(), writeSensorReg(), writeSensorReg16(), writeSensorRegFF(), x313_dma_init(), x313_dma_lseek(), x313_dma_read(), x313_dma_start(), x313_dma_stop(), X313_dma_update(), x313_dma_update_jpeg_header(), x313_dma_write(), x313_fpn_lseek(), x313_fpn_open(), x313_fpn_read(), x313_fpn_readline(), x313_fpn_release(), x313_fpn_writeline(), x313_frame_read(), x313_frame_readline(), x313_frame_release(), x313_gamma_read(), x313_gamma_write(), x313_histogram_read(), x313_JPEG_cmd(), x313_JPEG_cmd_wrapper(), x313_JPEG_dump(), x313_senspars_mmap(), x313_senspars_read(), x313_senspars_write(), x313_setDMABuffer(), x313_tables_read(), x313_tables_write(), xi2c_diagnose(), xi2c_disable(), xi2c_getbit(), xi2c_getscl(), xi2c_inbyte(), xi2c_init(), xi2c_nostop(), xi2c_open(), xi2c_outbyte(), xi2c_read(), xi2c_release(), xi2c_scl(), xi2c_sda(), xi2c_sendack(), xi2c_start(), xi2c_stop(), and xi2c_write().
#define remove_wait_queue | ( | x, | |||
y | ) | do { } while (0) |
#define schedule | ( | ) | do { } while (0) |
#define set_current_state | ( | x | ) | do { } while (0) |
#define spin_lock | ( | x | ) | do { } while (0) |
Definition at line 128 of file mtd-compat.h.
Referenced by crisv32_eth_check_speed(), crisv32_eth_ioctl(), crisv32_eth_open(), crisv32_eth_set_config(), crisv32_eth_set_duplex(), crisv32_eth_set_speed(), gpio_pa_interrupt(), nand_get_device(), and nand_release_device().
#define spin_lock_init | ( | x | ) | do { } while (0) |
Definition at line 127 of file mtd-compat.h.
Referenced by crisv32_ethernet_device_init(), crisv32_init_leds(), and crisv32_io_init().
#define spin_unlock | ( | x | ) | do { } while (0) |
Definition at line 129 of file mtd-compat.h.
Referenced by crisv32_eth_check_speed(), crisv32_eth_ioctl(), crisv32_eth_open(), crisv32_eth_set_config(), crisv32_eth_set_duplex(), crisv32_eth_set_speed(), gpio_pa_interrupt(), nand_get_device(), and nand_release_device().
#define spinlock_t int |
#define TASK_INTERRUPTIBLE 0 |
Definition at line 109 of file mtd-compat.h.
#define TASK_UNINTERRUPTIBLE 1 |
#define THIS_MODULE 0 |
#define touch_softlockup_watchdog | ( | ) | do { } while (0) |
#define wait_queue_head_t int |
#define wake_up | ( | x | ) | do { } while (0) |
unsigned long jiffies |
Definition at line 132 of file mtd-compat.h.
Referenced by crisv32_clear_network_leds(), crisv32_eth_check_duplex(), crisv32_eth_check_speed(), crisv32_eth_receive_packet(), crisv32_eth_send_packet(), crisv32_ethernet_device_init(), crisv32_init_leds(), nand_do_read_ecc(), nand_wait(), and nand_wait_ready().