Linux Kernel
3.7.1
|
#include <linux/stat.h>
#include <linux/rio.h>
#include <linux/rio_drv.h>
#include <linux/rio_ids.h>
#include <linux/delay.h>
#include "../rio.h"
Go to the source code of this file.
Macros | |
#define | LOCAL_RTE_CONF_DESTID_SEL 0x010070 |
#define | LOCAL_RTE_CONF_DESTID_SEL_PSEL 0x0000001f |
#define | IDT_LT_ERR_REPORT_EN 0x03100c |
#define | IDT_PORT_ERR_REPORT_EN(n) (0x031044 + (n)*0x40) |
#define | IDT_PORT_ERR_REPORT_EN_BC 0x03ff04 |
#define | IDT_PORT_ISERR_REPORT_EN(n) (0x03104C + (n)*0x40) |
#define | IDT_PORT_ISERR_REPORT_EN_BC 0x03ff0c |
#define | IDT_PORT_INIT_TX_ACQUIRED 0x00000020 |
#define | IDT_LANE_ERR_REPORT_EN(n) (0x038010 + (n)*0x100) |
#define | IDT_LANE_ERR_REPORT_EN_BC 0x03ff10 |
#define | IDT_DEV_CTRL_1 0xf2000c |
#define | IDT_DEV_CTRL_1_GENPW 0x02000000 |
#define | IDT_DEV_CTRL_1_PRSTBEH 0x00000001 |
#define | IDT_CFGBLK_ERR_CAPTURE_EN 0x020008 |
#define | IDT_CFGBLK_ERR_REPORT 0xf20014 |
#define | IDT_CFGBLK_ERR_REPORT_GENPW 0x00000002 |
#define | IDT_AUX_PORT_ERR_CAP_EN 0x020000 |
#define | IDT_AUX_ERR_REPORT_EN 0xf20018 |
#define | IDT_AUX_PORT_ERR_LOG_I2C 0x00000002 |
#define | IDT_AUX_PORT_ERR_LOG_JTAG 0x00000001 |
#define | IDT_ISLTL_ADDRESS_CAP 0x021014 |
#define | IDT_RIO_DOMAIN 0xf20020 |
#define | IDT_RIO_DOMAIN_MASK 0x000000ff |
#define | IDT_PW_INFO_CSR 0xf20024 |
#define | IDT_SOFT_RESET 0xf20040 |
#define | IDT_SOFT_RESET_REQ 0x00030097 |
#define | IDT_I2C_MCTRL 0xf20050 |
#define | IDT_I2C_MCTRL_GENPW 0x04000000 |
#define | IDT_JTAG_CTRL 0xf2005c |
#define | IDT_JTAG_CTRL_GENPW 0x00000002 |
#define | IDT_LANE_CTRL(n) (0xff8000 + (n)*0x100) |
#define | IDT_LANE_CTRL_BC 0xffff00 |
#define | IDT_LANE_CTRL_GENPW 0x00200000 |
#define | IDT_LANE_DFE_1_BC 0xffff18 |
#define | IDT_LANE_DFE_2_BC 0xffff1c |
#define | IDT_PORT_OPS(n) (0xf40004 + (n)*0x100) |
#define | IDT_PORT_OPS_GENPW 0x08000000 |
#define | IDT_PORT_OPS_PL_ELOG 0x00000040 |
#define | IDT_PORT_OPS_LL_ELOG 0x00000020 |
#define | IDT_PORT_OPS_LT_ELOG 0x00000010 |
#define | IDT_PORT_OPS_BC 0xf4ff04 |
#define | IDT_PORT_ISERR_DET(n) (0xf40008 + (n)*0x100) |
#define | IDT_ERR_CAP 0xfd0000 |
#define | IDT_ERR_CAP_LOG_OVERWR 0x00000004 |
#define | IDT_ERR_RD 0xfd0004 |
#define | IDT_DEFAULT_ROUTE 0xde |
#define | IDT_NO_ROUTE 0xdf |
Functions | |
DECLARE_RIO_SWITCH_INIT (RIO_VID_IDT, RIO_DID_IDTCPS1848, idtg2_switch_init) | |
DECLARE_RIO_SWITCH_INIT (RIO_VID_IDT, RIO_DID_IDTCPS1616, idtg2_switch_init) | |
DECLARE_RIO_SWITCH_INIT (RIO_VID_IDT, RIO_DID_IDTVPS1616, idtg2_switch_init) | |
DECLARE_RIO_SWITCH_INIT (RIO_VID_IDT, RIO_DID_IDTSPS1616, idtg2_switch_init) | |
DECLARE_RIO_SWITCH_INIT (RIO_VID_IDT, RIO_DID_IDTCPS1432, idtg2_switch_init) | |
#define IDT_AUX_ERR_REPORT_EN 0xf20018 |
Definition at line 44 of file idt_gen2.c.
#define IDT_AUX_PORT_ERR_CAP_EN 0x020000 |
Definition at line 43 of file idt_gen2.c.
#define IDT_AUX_PORT_ERR_LOG_I2C 0x00000002 |
Definition at line 45 of file idt_gen2.c.
#define IDT_AUX_PORT_ERR_LOG_JTAG 0x00000001 |
Definition at line 46 of file idt_gen2.c.
#define IDT_CFGBLK_ERR_CAPTURE_EN 0x020008 |
Definition at line 39 of file idt_gen2.c.
#define IDT_CFGBLK_ERR_REPORT 0xf20014 |
Definition at line 40 of file idt_gen2.c.
#define IDT_CFGBLK_ERR_REPORT_GENPW 0x00000002 |
Definition at line 41 of file idt_gen2.c.
#define IDT_DEFAULT_ROUTE 0xde |
Definition at line 84 of file idt_gen2.c.
#define IDT_DEV_CTRL_1 0xf2000c |
Definition at line 35 of file idt_gen2.c.
#define IDT_DEV_CTRL_1_GENPW 0x02000000 |
Definition at line 36 of file idt_gen2.c.
#define IDT_DEV_CTRL_1_PRSTBEH 0x00000001 |
Definition at line 37 of file idt_gen2.c.
#define IDT_ERR_CAP 0xfd0000 |
Definition at line 79 of file idt_gen2.c.
#define IDT_ERR_CAP_LOG_OVERWR 0x00000004 |
Definition at line 80 of file idt_gen2.c.
#define IDT_ERR_RD 0xfd0004 |
Definition at line 82 of file idt_gen2.c.
#define IDT_I2C_MCTRL 0xf20050 |
Definition at line 58 of file idt_gen2.c.
#define IDT_I2C_MCTRL_GENPW 0x04000000 |
Definition at line 59 of file idt_gen2.c.
#define IDT_ISLTL_ADDRESS_CAP 0x021014 |
Definition at line 48 of file idt_gen2.c.
#define IDT_JTAG_CTRL 0xf2005c |
Definition at line 61 of file idt_gen2.c.
#define IDT_JTAG_CTRL_GENPW 0x00000002 |
Definition at line 62 of file idt_gen2.c.
#define IDT_LANE_CTRL | ( | n | ) | (0xff8000 + (n)*0x100) |
Definition at line 64 of file idt_gen2.c.
#define IDT_LANE_CTRL_BC 0xffff00 |
Definition at line 65 of file idt_gen2.c.
#define IDT_LANE_CTRL_GENPW 0x00200000 |
Definition at line 66 of file idt_gen2.c.
#define IDT_LANE_DFE_1_BC 0xffff18 |
Definition at line 67 of file idt_gen2.c.
#define IDT_LANE_DFE_2_BC 0xffff1c |
Definition at line 68 of file idt_gen2.c.
#define IDT_LANE_ERR_REPORT_EN | ( | n | ) | (0x038010 + (n)*0x100) |
Definition at line 32 of file idt_gen2.c.
#define IDT_LANE_ERR_REPORT_EN_BC 0x03ff10 |
Definition at line 33 of file idt_gen2.c.
#define IDT_LT_ERR_REPORT_EN 0x03100c |
Definition at line 23 of file idt_gen2.c.
#define IDT_NO_ROUTE 0xdf |
Definition at line 85 of file idt_gen2.c.
#define IDT_PORT_ERR_REPORT_EN | ( | n | ) | (0x031044 + (n)*0x40) |
Definition at line 25 of file idt_gen2.c.
#define IDT_PORT_ERR_REPORT_EN_BC 0x03ff04 |
Definition at line 26 of file idt_gen2.c.
#define IDT_PORT_INIT_TX_ACQUIRED 0x00000020 |
Definition at line 30 of file idt_gen2.c.
#define IDT_PORT_ISERR_DET | ( | n | ) | (0xf40008 + (n)*0x100) |
Definition at line 77 of file idt_gen2.c.
#define IDT_PORT_ISERR_REPORT_EN | ( | n | ) | (0x03104C + (n)*0x40) |
Definition at line 28 of file idt_gen2.c.
#define IDT_PORT_ISERR_REPORT_EN_BC 0x03ff0c |
Definition at line 29 of file idt_gen2.c.
#define IDT_PORT_OPS | ( | n | ) | (0xf40004 + (n)*0x100) |
Definition at line 70 of file idt_gen2.c.
#define IDT_PORT_OPS_BC 0xf4ff04 |
Definition at line 75 of file idt_gen2.c.
#define IDT_PORT_OPS_GENPW 0x08000000 |
Definition at line 71 of file idt_gen2.c.
#define IDT_PORT_OPS_LL_ELOG 0x00000020 |
Definition at line 73 of file idt_gen2.c.
#define IDT_PORT_OPS_LT_ELOG 0x00000010 |
Definition at line 74 of file idt_gen2.c.
#define IDT_PORT_OPS_PL_ELOG 0x00000040 |
Definition at line 72 of file idt_gen2.c.
#define IDT_PW_INFO_CSR 0xf20024 |
Definition at line 53 of file idt_gen2.c.
#define IDT_RIO_DOMAIN 0xf20020 |
Definition at line 50 of file idt_gen2.c.
#define IDT_RIO_DOMAIN_MASK 0x000000ff |
Definition at line 51 of file idt_gen2.c.
#define IDT_SOFT_RESET 0xf20040 |
Definition at line 55 of file idt_gen2.c.
#define IDT_SOFT_RESET_REQ 0x00030097 |
Definition at line 56 of file idt_gen2.c.
#define LOCAL_RTE_CONF_DESTID_SEL 0x010070 |
Definition at line 20 of file idt_gen2.c.
#define LOCAL_RTE_CONF_DESTID_SEL_PSEL 0x0000001f |
Definition at line 21 of file idt_gen2.c.
DECLARE_RIO_SWITCH_INIT | ( | RIO_VID_IDT | , |
RIO_DID_IDTCPS1848 | , | ||
idtg2_switch_init | |||
) |
DECLARE_RIO_SWITCH_INIT | ( | RIO_VID_IDT | , |
RIO_DID_IDTCPS1616 | , | ||
idtg2_switch_init | |||
) |
DECLARE_RIO_SWITCH_INIT | ( | RIO_VID_IDT | , |
RIO_DID_IDTVPS1616 | , | ||
idtg2_switch_init | |||
) |
DECLARE_RIO_SWITCH_INIT | ( | RIO_VID_IDT | , |
RIO_DID_IDTSPS1616 | , | ||
idtg2_switch_init | |||
) |
DECLARE_RIO_SWITCH_INIT | ( | RIO_VID_IDT | , |
RIO_DID_IDTCPS1432 | , | ||
idtg2_switch_init | |||
) |