modules/usb/iop/common-R1_01/iop-usb-map.c

Go to the documentation of this file.
00001 /* $Id: iop-usb-map.c,v 1.1.1.1 2008/11/27 20:04:03 elphel Exp $
00002  *
00003  * ETRAX FS IOP USB 1.1 Host Controller
00004  *
00005  * Mapping to specific instances of hardware blocks
00006  *
00007  * Copyright (C) 2004  Axis Communications AB
00008  */
00009 
00010 #include "compat.h"
00011 #include <asm/arch/hwregs/iop/iop_reg_space.h>
00012 #include "iop-usb-int.h"
00013 
00014 struct iop_usb_cfg iop_usb_cfg = { -1, -1, -1 };
00015 
00016 #define IOP_USB_INST                                            \
00017         {                                                       \
00018                 .spu =                  SPU,                    \
00019                 .dma_in =               DMA_IN,                 \
00020                 .dma_out =              DMA_OUT,                \
00021                 .dmc_in =               DMC_IN,                 \
00022                 .dmc_out =              DMC_OUT,                \
00023                 .scrc_out =             SCRC_OUT,               \
00024                 .crc_par =              CRC_PAR,                \
00025                 .fifo_in =              FIFO_IN,                \
00026                 .fifo_out =             FIFO_OUT,               \
00027                 .fifo_out_extra =       FIFO_OUT_EXTRA,         \
00028                 .sw_spu =               SW_SPU,                 \
00029                 .frame_timer_grp =      FRAME_TIMER_GRP,        \
00030                 .rx_cnt_timer_grp =     RX_CNT_TIMER_GRP,       \
00031         },
00032 
00033 const struct iop_usb_inst iop_usb_inst[] = {
00034 /* DMA mapping 0 */
00035 #undef IOP_USB_DMAMAPPING
00036 #define IOP_USB_DMAMAPPING      1
00037 #include "iop-usb-map.h"
00038 IOP_USB_INST
00039 /* DMA mapping 1 */
00040 #undef IOP_USB_DMAMAPPING
00041 #define IOP_USB_DMAMAPPING      0
00042 #include "iop-usb-map.h"
00043 IOP_USB_INST
00044 };

Generated on Fri Nov 28 00:06:23 2008 for elphel by  doxygen 1.5.1