Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | pasdma_status |
struct | pasemi_dmachan |
Macros | |
#define | PAS_DMA_CAP_TXCH_TCHN_M 0x00ff0000 /* # of TX channels */ |
#define | PAS_DMA_CAP_TXCH_TCHN_S 16 |
#define | PAS_DMA_CAP_RXCH_RCHN_M 0x00ff0000 /* # of RX channels */ |
#define | PAS_DMA_CAP_RXCH_RCHN_S 16 |
#define | PAS_DMA_CAP_IFI_IOFF_M 0xff000000 /* Cfg reg for intf pointers */ |
#define | PAS_DMA_CAP_IFI_IOFF_S 24 |
#define | PAS_DMA_CAP_IFI_NIN_M 0x00ff0000 /* # of interfaces */ |
#define | PAS_DMA_CAP_IFI_NIN_S 16 |
#define | PAS_DMA_COM_TXCMD_EN 0x00000001 /* enable */ |
#define | PAS_DMA_COM_TXSTA_ACT 0x00000001 /* active */ |
#define | PAS_DMA_COM_RXCMD_EN 0x00000001 /* enable */ |
#define | PAS_DMA_COM_RXSTA_ACT 0x00000001 /* active */ |
#define | _PAS_DMA_RXINT_STRIDE 0x20 |
#define | PAS_DMA_RXINT_RCMDSTA(i) (0x200+(i)*_PAS_DMA_RXINT_STRIDE) |
#define | PAS_DMA_RXINT_RCMDSTA_EN 0x00000001 |
#define | PAS_DMA_RXINT_RCMDSTA_ST 0x00000002 |
#define | PAS_DMA_RXINT_RCMDSTA_MBT 0x00000008 |
#define | PAS_DMA_RXINT_RCMDSTA_MDR 0x00000010 |
#define | PAS_DMA_RXINT_RCMDSTA_MOO 0x00000020 |
#define | PAS_DMA_RXINT_RCMDSTA_MBP 0x00000040 |
#define | PAS_DMA_RXINT_RCMDSTA_BT 0x00000800 |
#define | PAS_DMA_RXINT_RCMDSTA_DR 0x00001000 |
#define | PAS_DMA_RXINT_RCMDSTA_OO 0x00002000 |
#define | PAS_DMA_RXINT_RCMDSTA_BP 0x00004000 |
#define | PAS_DMA_RXINT_RCMDSTA_TB 0x00008000 |
#define | PAS_DMA_RXINT_RCMDSTA_ACT 0x00010000 |
#define | PAS_DMA_RXINT_RCMDSTA_DROPS_M 0xfffe0000 |
#define | PAS_DMA_RXINT_RCMDSTA_DROPS_S 17 |
#define | PAS_DMA_RXINT_CFG(i) (0x204+(i)*_PAS_DMA_RXINT_STRIDE) |
#define | PAS_DMA_RXINT_CFG_RBP 0x80000000 |
#define | PAS_DMA_RXINT_CFG_ITRR 0x40000000 |
#define | PAS_DMA_RXINT_CFG_DHL_M 0x07000000 |
#define | PAS_DMA_RXINT_CFG_DHL_S 24 |
#define | PAS_DMA_RXINT_CFG_DHL(x) |
#define | PAS_DMA_RXINT_CFG_ITR 0x00400000 |
#define | PAS_DMA_RXINT_CFG_LW 0x00200000 |
#define | PAS_DMA_RXINT_CFG_L2 0x00100000 |
#define | PAS_DMA_RXINT_CFG_HEN 0x00080000 |
#define | PAS_DMA_RXINT_CFG_WIF 0x00000002 |
#define | PAS_DMA_RXINT_CFG_WIL 0x00000001 |
#define | PAS_DMA_RXINT_INCR(i) (0x210+(i)*_PAS_DMA_RXINT_STRIDE) |
#define | PAS_DMA_RXINT_INCR_INCR_M 0x0000ffff |
#define | PAS_DMA_RXINT_INCR_INCR_S 0 |
#define | PAS_DMA_RXINT_INCR_INCR(x) ((x) & 0x0000ffff) |
#define | PAS_DMA_RXINT_BASEL(i) (0x218+(i)*_PAS_DMA_RXINT_STRIDE) |
#define | PAS_DMA_RXINT_BASEL_BRBL(x) ((x) & ~0x3f) |
#define | PAS_DMA_RXINT_BASEU(i) (0x21c+(i)*_PAS_DMA_RXINT_STRIDE) |
#define | PAS_DMA_RXINT_BASEU_BRBH(x) ((x) & 0xfff) |
#define | PAS_DMA_RXINT_BASEU_SIZ_M 0x3fff0000 /* # of cache lines worth of buffer ring */ |
#define | PAS_DMA_RXINT_BASEU_SIZ_S 16 /* 0 = 16K */ |
#define | PAS_DMA_RXINT_BASEU_SIZ(x) |
#define | _PAS_DMA_TXCHAN_STRIDE 0x20 /* Size per channel */ |
#define | _PAS_DMA_TXCHAN_TCMDSTA 0x300 /* Command / Status */ |
#define | _PAS_DMA_TXCHAN_CFG 0x304 /* Configuration */ |
#define | _PAS_DMA_TXCHAN_DSCRBU 0x308 /* Descriptor BU Allocation */ |
#define | _PAS_DMA_TXCHAN_INCR 0x310 /* Descriptor increment */ |
#define | _PAS_DMA_TXCHAN_CNT 0x314 /* Descriptor count/offset */ |
#define | _PAS_DMA_TXCHAN_BASEL 0x318 /* Descriptor ring base (low) */ |
#define | _PAS_DMA_TXCHAN_BASEU 0x31c /* (high) */ |
#define | PAS_DMA_TXCHAN_TCMDSTA(c) (0x300+(c)*_PAS_DMA_TXCHAN_STRIDE) |
#define | PAS_DMA_TXCHAN_TCMDSTA_EN 0x00000001 /* Enabled */ |
#define | PAS_DMA_TXCHAN_TCMDSTA_ST 0x00000002 /* Stop interface */ |
#define | PAS_DMA_TXCHAN_TCMDSTA_ACT 0x00010000 /* Active */ |
#define | PAS_DMA_TXCHAN_TCMDSTA_SZ 0x00000800 |
#define | PAS_DMA_TXCHAN_TCMDSTA_DB 0x00000400 |
#define | PAS_DMA_TXCHAN_TCMDSTA_DE 0x00000200 |
#define | PAS_DMA_TXCHAN_TCMDSTA_DA 0x00000100 |
#define | PAS_DMA_TXCHAN_CFG(c) (0x304+(c)*_PAS_DMA_TXCHAN_STRIDE) |
#define | PAS_DMA_TXCHAN_CFG_TY_IFACE 0x00000000 /* Type = interface */ |
#define | PAS_DMA_TXCHAN_CFG_TY_COPY 0x00000001 /* Type = copy only */ |
#define | PAS_DMA_TXCHAN_CFG_TY_FUNC 0x00000002 /* Type = function */ |
#define | PAS_DMA_TXCHAN_CFG_TY_XOR 0x00000003 /* Type = xor only */ |
#define | PAS_DMA_TXCHAN_CFG_TATTR_M 0x0000003c |
#define | PAS_DMA_TXCHAN_CFG_TATTR_S 2 |
#define | PAS_DMA_TXCHAN_CFG_TATTR(x) |
#define | PAS_DMA_TXCHAN_CFG_LPDQ 0x00000800 |
#define | PAS_DMA_TXCHAN_CFG_LPSQ 0x00000400 |
#define | PAS_DMA_TXCHAN_CFG_WT_M 0x000003c0 |
#define | PAS_DMA_TXCHAN_CFG_WT_S 6 |
#define | PAS_DMA_TXCHAN_CFG_WT(x) |
#define | PAS_DMA_TXCHAN_CFG_TRD 0x00010000 /* translate data */ |
#define | PAS_DMA_TXCHAN_CFG_TRR 0x00008000 /* translate rings */ |
#define | PAS_DMA_TXCHAN_CFG_UP 0x00004000 /* update tx descr when sent */ |
#define | PAS_DMA_TXCHAN_CFG_CL 0x00002000 /* Clean last line */ |
#define | PAS_DMA_TXCHAN_CFG_CF 0x00001000 /* Clean first line */ |
#define | PAS_DMA_TXCHAN_INCR(c) (0x310+(c)*_PAS_DMA_TXCHAN_STRIDE) |
#define | PAS_DMA_TXCHAN_BASEL(c) (0x318+(c)*_PAS_DMA_TXCHAN_STRIDE) |
#define | PAS_DMA_TXCHAN_BASEL_BRBL_M 0xffffffc0 |
#define | PAS_DMA_TXCHAN_BASEL_BRBL_S 0 |
#define | PAS_DMA_TXCHAN_BASEL_BRBL(x) |
#define | PAS_DMA_TXCHAN_BASEU(c) (0x31c+(c)*_PAS_DMA_TXCHAN_STRIDE) |
#define | PAS_DMA_TXCHAN_BASEU_BRBH_M 0x00000fff |
#define | PAS_DMA_TXCHAN_BASEU_BRBH_S 0 |
#define | PAS_DMA_TXCHAN_BASEU_BRBH(x) |
#define | PAS_DMA_TXCHAN_BASEU_SIZ_M 0x3fff0000 |
#define | PAS_DMA_TXCHAN_BASEU_SIZ_S 16 /* 0 = 16K */ |
#define | PAS_DMA_TXCHAN_BASEU_SIZ(x) |
#define | _PAS_DMA_RXCHAN_STRIDE 0x20 /* Size per channel */ |
#define | _PAS_DMA_RXCHAN_CCMDSTA 0x800 /* Command / Status */ |
#define | _PAS_DMA_RXCHAN_CFG 0x804 /* Configuration */ |
#define | _PAS_DMA_RXCHAN_INCR 0x810 /* Descriptor increment */ |
#define | _PAS_DMA_RXCHAN_CNT 0x814 /* Descriptor count/offset */ |
#define | _PAS_DMA_RXCHAN_BASEL 0x818 /* Descriptor ring base (low) */ |
#define | _PAS_DMA_RXCHAN_BASEU 0x81c /* (high) */ |
#define | PAS_DMA_RXCHAN_CCMDSTA(c) (0x800+(c)*_PAS_DMA_RXCHAN_STRIDE) |
#define | PAS_DMA_RXCHAN_CCMDSTA_EN 0x00000001 /* Enabled */ |
#define | PAS_DMA_RXCHAN_CCMDSTA_ST 0x00000002 /* Stop interface */ |
#define | PAS_DMA_RXCHAN_CCMDSTA_ACT 0x00010000 /* Active */ |
#define | PAS_DMA_RXCHAN_CCMDSTA_DU 0x00020000 |
#define | PAS_DMA_RXCHAN_CCMDSTA_OD 0x00002000 |
#define | PAS_DMA_RXCHAN_CCMDSTA_FD 0x00001000 |
#define | PAS_DMA_RXCHAN_CCMDSTA_DT 0x00000800 |
#define | PAS_DMA_RXCHAN_CFG(c) (0x804+(c)*_PAS_DMA_RXCHAN_STRIDE) |
#define | PAS_DMA_RXCHAN_CFG_CTR 0x00000400 |
#define | PAS_DMA_RXCHAN_CFG_HBU_M 0x00000380 |
#define | PAS_DMA_RXCHAN_CFG_HBU_S 7 |
#define | PAS_DMA_RXCHAN_CFG_HBU(x) |
#define | PAS_DMA_RXCHAN_INCR(c) (0x810+(c)*_PAS_DMA_RXCHAN_STRIDE) |
#define | PAS_DMA_RXCHAN_BASEL(c) (0x818+(c)*_PAS_DMA_RXCHAN_STRIDE) |
#define | PAS_DMA_RXCHAN_BASEL_BRBL_M 0xffffffc0 |
#define | PAS_DMA_RXCHAN_BASEL_BRBL_S 0 |
#define | PAS_DMA_RXCHAN_BASEL_BRBL(x) |
#define | PAS_DMA_RXCHAN_BASEU(c) (0x81c+(c)*_PAS_DMA_RXCHAN_STRIDE) |
#define | PAS_DMA_RXCHAN_BASEU_BRBH_M 0x00000fff |
#define | PAS_DMA_RXCHAN_BASEU_BRBH_S 0 |
#define | PAS_DMA_RXCHAN_BASEU_BRBH(x) |
#define | PAS_DMA_RXCHAN_BASEU_SIZ_M 0x3fff0000 |
#define | PAS_DMA_RXCHAN_BASEU_SIZ_S 16 /* 0 = 16K */ |
#define | PAS_DMA_RXCHAN_BASEU_SIZ(x) |
#define | PAS_STATUS_PCNT_M 0x000000000000ffffull |
#define | PAS_STATUS_PCNT_S 0 |
#define | PAS_STATUS_DCNT_M 0x00000000ffff0000ull |
#define | PAS_STATUS_DCNT_S 16 |
#define | PAS_STATUS_BPCNT_M 0x0000ffff00000000ull |
#define | PAS_STATUS_BPCNT_S 32 |
#define | PAS_STATUS_CAUSE_M 0xf000000000000000ull |
#define | PAS_STATUS_TIMER 0x1000000000000000ull |
#define | PAS_STATUS_ERROR 0x2000000000000000ull |
#define | PAS_STATUS_SOFT 0x4000000000000000ull |
#define | PAS_STATUS_INT 0x8000000000000000ull |
#define | PAS_IOB_COM_PKTHDRCNT 0x120 |
#define | PAS_IOB_COM_PKTHDRCNT_PKTHDR1_M 0x0fff0000 |
#define | PAS_IOB_COM_PKTHDRCNT_PKTHDR1_S 16 |
#define | PAS_IOB_COM_PKTHDRCNT_PKTHDR0_M 0x00000fff |
#define | PAS_IOB_COM_PKTHDRCNT_PKTHDR0_S 0 |
#define | PAS_IOB_DMA_RXCH_CFG(i) (0x1100 + (i)*4) |
#define | PAS_IOB_DMA_RXCH_CFG_CNTTH_M 0x00000fff |
#define | PAS_IOB_DMA_RXCH_CFG_CNTTH_S 0 |
#define | PAS_IOB_DMA_RXCH_CFG_CNTTH(x) |
#define | PAS_IOB_DMA_TXCH_CFG(i) (0x1200 + (i)*4) |
#define | PAS_IOB_DMA_TXCH_CFG_CNTTH_M 0x00000fff |
#define | PAS_IOB_DMA_TXCH_CFG_CNTTH_S 0 |
#define | PAS_IOB_DMA_TXCH_CFG_CNTTH(x) |
#define | PAS_IOB_DMA_RXCH_STAT(i) (0x1300 + (i)*4) |
#define | PAS_IOB_DMA_RXCH_STAT_INTGEN 0x00001000 |
#define | PAS_IOB_DMA_RXCH_STAT_CNTDEL_M 0x00000fff |
#define | PAS_IOB_DMA_RXCH_STAT_CNTDEL_S 0 |
#define | PAS_IOB_DMA_RXCH_STAT_CNTDEL(x) |
#define | PAS_IOB_DMA_TXCH_STAT(i) (0x1400 + (i)*4) |
#define | PAS_IOB_DMA_TXCH_STAT_INTGEN 0x00001000 |
#define | PAS_IOB_DMA_TXCH_STAT_CNTDEL_M 0x00000fff |
#define | PAS_IOB_DMA_TXCH_STAT_CNTDEL_S 0 |
#define | PAS_IOB_DMA_TXCH_STAT_CNTDEL(x) |
#define | PAS_IOB_DMA_RXCH_RESET(i) (0x1500 + (i)*4) |
#define | PAS_IOB_DMA_RXCH_RESET_PCNT_M 0xffff0000 |
#define | PAS_IOB_DMA_RXCH_RESET_PCNT_S 16 |
#define | PAS_IOB_DMA_RXCH_RESET_PCNT(x) |
#define | PAS_IOB_DMA_RXCH_RESET_PCNTRST 0x00000020 |
#define | PAS_IOB_DMA_RXCH_RESET_DCNTRST 0x00000010 |
#define | PAS_IOB_DMA_RXCH_RESET_TINTC 0x00000008 |
#define | PAS_IOB_DMA_RXCH_RESET_DINTC 0x00000004 |
#define | PAS_IOB_DMA_RXCH_RESET_SINTC 0x00000002 |
#define | PAS_IOB_DMA_RXCH_RESET_PINTC 0x00000001 |
#define | PAS_IOB_DMA_TXCH_RESET(i) (0x1600 + (i)*4) |
#define | PAS_IOB_DMA_TXCH_RESET_PCNT_M 0xffff0000 |
#define | PAS_IOB_DMA_TXCH_RESET_PCNT_S 16 |
#define | PAS_IOB_DMA_TXCH_RESET_PCNT(x) |
#define | PAS_IOB_DMA_TXCH_RESET_PCNTRST 0x00000020 |
#define | PAS_IOB_DMA_TXCH_RESET_DCNTRST 0x00000010 |
#define | PAS_IOB_DMA_TXCH_RESET_TINTC 0x00000008 |
#define | PAS_IOB_DMA_TXCH_RESET_DINTC 0x00000004 |
#define | PAS_IOB_DMA_TXCH_RESET_SINTC 0x00000002 |
#define | PAS_IOB_DMA_TXCH_RESET_PINTC 0x00000001 |
#define | PAS_IOB_DMA_COM_TIMEOUTCFG 0x1700 |
#define | PAS_IOB_DMA_COM_TIMEOUTCFG_TCNT_M 0x00ffffff |
#define | PAS_IOB_DMA_COM_TIMEOUTCFG_TCNT_S 0 |
#define | PAS_IOB_DMA_COM_TIMEOUTCFG_TCNT(x) |
#define | XCT_MACTX_T 0x8000000000000000ull |
#define | XCT_MACTX_ST 0x4000000000000000ull |
#define | XCT_MACTX_NORES 0x0000000000000000ull |
#define | XCT_MACTX_8BRES 0x1000000000000000ull |
#define | XCT_MACTX_24BRES 0x2000000000000000ull |
#define | XCT_MACTX_40BRES 0x3000000000000000ull |
#define | XCT_MACTX_I 0x0800000000000000ull |
#define | XCT_MACTX_O 0x0400000000000000ull |
#define | XCT_MACTX_E 0x0200000000000000ull |
#define | XCT_MACTX_VLAN_M 0x0180000000000000ull |
#define | XCT_MACTX_VLAN_NOP 0x0000000000000000ull |
#define | XCT_MACTX_VLAN_REMOVE 0x0080000000000000ull |
#define | XCT_MACTX_VLAN_INSERT 0x0100000000000000ull |
#define | XCT_MACTX_VLAN_REPLACE 0x0180000000000000ull |
#define | XCT_MACTX_CRC_M 0x0060000000000000ull |
#define | XCT_MACTX_CRC_NOP 0x0000000000000000ull |
#define | XCT_MACTX_CRC_INSERT 0x0020000000000000ull |
#define | XCT_MACTX_CRC_PAD 0x0040000000000000ull |
#define | XCT_MACTX_CRC_REPLACE 0x0060000000000000ull |
#define | XCT_MACTX_SS 0x0010000000000000ull |
#define | XCT_MACTX_LLEN_M 0x00007fff00000000ull |
#define | XCT_MACTX_LLEN_S 32ull |
#define | XCT_MACTX_LLEN(x) |
#define | XCT_MACTX_IPH_M 0x00000000f8000000ull |
#define | XCT_MACTX_IPH_S 27ull |
#define | XCT_MACTX_IPH(x) |
#define | XCT_MACTX_IPO_M 0x0000000007c00000ull |
#define | XCT_MACTX_IPO_S 22ull |
#define | XCT_MACTX_IPO(x) |
#define | XCT_MACTX_CSUM_M 0x0000000000000060ull |
#define | XCT_MACTX_CSUM_NOP 0x0000000000000000ull |
#define | XCT_MACTX_CSUM_TCP 0x0000000000000040ull |
#define | XCT_MACTX_CSUM_UDP 0x0000000000000060ull |
#define | XCT_MACTX_V6 0x0000000000000010ull |
#define | XCT_MACTX_C 0x0000000000000004ull |
#define | XCT_MACTX_AL2 0x0000000000000002ull |
#define | XCT_MACRX_T 0x8000000000000000ull |
#define | XCT_MACRX_ST 0x4000000000000000ull |
#define | XCT_MACRX_RR_M 0x3000000000000000ull |
#define | XCT_MACRX_RR_NORES 0x0000000000000000ull |
#define | XCT_MACRX_RR_8BRES 0x1000000000000000ull |
#define | XCT_MACRX_O 0x0400000000000000ull |
#define | XCT_MACRX_E 0x0200000000000000ull |
#define | XCT_MACRX_FF 0x0100000000000000ull |
#define | XCT_MACRX_PF 0x0080000000000000ull |
#define | XCT_MACRX_OB 0x0040000000000000ull |
#define | XCT_MACRX_OD 0x0020000000000000ull |
#define | XCT_MACRX_FS 0x0010000000000000ull |
#define | XCT_MACRX_NB_M 0x000fc00000000000ull |
#define | XCT_MACRX_NB_S 46ULL |
#define | XCT_MACRX_NB(x) |
#define | XCT_MACRX_LLEN_M 0x00003fff00000000ull |
#define | XCT_MACRX_LLEN_S 32ULL |
#define | XCT_MACRX_LLEN(x) |
#define | XCT_MACRX_CRC 0x0000000080000000ull |
#define | XCT_MACRX_LEN_M 0x0000000060000000ull |
#define | XCT_MACRX_LEN_TOOSHORT 0x0000000020000000ull |
#define | XCT_MACRX_LEN_BELOWMIN 0x0000000040000000ull |
#define | XCT_MACRX_LEN_TRUNC 0x0000000060000000ull |
#define | XCT_MACRX_CAST_M 0x0000000018000000ull |
#define | XCT_MACRX_CAST_UNI 0x0000000000000000ull |
#define | XCT_MACRX_CAST_MULTI 0x0000000008000000ull |
#define | XCT_MACRX_CAST_BROAD 0x0000000010000000ull |
#define | XCT_MACRX_CAST_PAUSE 0x0000000018000000ull |
#define | XCT_MACRX_VLC_M 0x0000000006000000ull |
#define | XCT_MACRX_FM 0x0000000001000000ull |
#define | XCT_MACRX_HTY_M 0x0000000000c00000ull |
#define | XCT_MACRX_HTY_IPV4_OK 0x0000000000000000ull |
#define | XCT_MACRX_HTY_IPV6 0x0000000000400000ull |
#define | XCT_MACRX_HTY_IPV4_BAD 0x0000000000800000ull |
#define | XCT_MACRX_HTY_NONIP 0x0000000000c00000ull |
#define | XCT_MACRX_IPP_M 0x00000000003f0000ull |
#define | XCT_MACRX_IPP_S 16 |
#define | XCT_MACRX_CSUM_M 0x000000000000ffffull |
#define | XCT_MACRX_CSUM_S 0 |
#define | XCT_PTR_T 0x8000000000000000ull |
#define | XCT_PTR_LEN_M 0x7ffff00000000000ull |
#define | XCT_PTR_LEN_S 44 |
#define | XCT_PTR_LEN(x) |
#define | XCT_PTR_ADDR_M 0x00000fffffffffffull |
#define | XCT_PTR_ADDR_S 0 |
#define | XCT_PTR_ADDR(x) |
#define | XCT_RXRES_8B_L4O_M 0xff00000000000000ull |
#define | XCT_RXRES_8B_L4O_S 56 |
#define | XCT_RXRES_8B_RULE_M 0x00ffff0000000000ull |
#define | XCT_RXRES_8B_RULE_S 40 |
#define | XCT_RXRES_8B_EVAL_M 0x000000ffff000000ull |
#define | XCT_RXRES_8B_EVAL_S 24 |
#define | XCT_RXRES_8B_HTYPE_M 0x0000000000f00000ull |
#define | XCT_RXRES_8B_HASH_M 0x00000000000fffffull |
#define | XCT_RXRES_8B_HASH_S 0 |
#define | XCT_RXB_LEN_M 0x0ffff00000000000ull |
#define | XCT_RXB_LEN_S 44 |
#define | XCT_RXB_LEN(x) |
#define | XCT_RXB_ADDR_M 0x00000fffffffffffull |
#define | XCT_RXB_ADDR_S 0 |
#define | XCT_RXB_ADDR(x) |
#define | XCT_COPY_T 0x8000000000000000ull |
#define | XCT_COPY_ST 0x4000000000000000ull |
#define | XCT_COPY_RR_M 0x3000000000000000ull |
#define | XCT_COPY_RR_NORES 0x0000000000000000ull |
#define | XCT_COPY_RR_8BRES 0x1000000000000000ull |
#define | XCT_COPY_RR_24BRES 0x2000000000000000ull |
#define | XCT_COPY_RR_40BRES 0x3000000000000000ull |
#define | XCT_COPY_I 0x0800000000000000ull |
#define | XCT_COPY_O 0x0400000000000000ull |
#define | XCT_COPY_E 0x0200000000000000ull |
#define | XCT_COPY_STY_ZERO 0x01c0000000000000ull |
#define | XCT_COPY_DTY_PREF 0x0038000000000000ull |
#define | XCT_COPY_LLEN_M 0x0007ffff00000000ull |
#define | XCT_COPY_LLEN_S 32 |
#define | XCT_COPY_LLEN(x) |
#define | XCT_COPY_SE 0x0000000000000001ull |
#define | XCT_FUN_T 0x8000000000000000ull |
#define | XCT_FUN_ST 0x4000000000000000ull |
#define | XCT_FUN_RR_M 0x3000000000000000ull |
#define | XCT_FUN_RR_NORES 0x0000000000000000ull |
#define | XCT_FUN_RR_8BRES 0x1000000000000000ull |
#define | XCT_FUN_RR_24BRES 0x2000000000000000ull |
#define | XCT_FUN_RR_40BRES 0x3000000000000000ull |
#define | XCT_FUN_I 0x0800000000000000ull |
#define | XCT_FUN_O 0x0400000000000000ull |
#define | XCT_FUN_E 0x0200000000000000ull |
#define | XCT_FUN_FUN_M 0x01c0000000000000ull |
#define | XCT_FUN_FUN_S 54 |
#define | XCT_FUN_FUN(x) ((((long)(x)) << XCT_FUN_FUN_S) & XCT_FUN_FUN_M) |
#define | XCT_FUN_CRM_M 0x0038000000000000ull |
#define | XCT_FUN_CRM_NOP 0x0000000000000000ull |
#define | XCT_FUN_CRM_SIG 0x0008000000000000ull |
#define | XCT_FUN_LLEN_M 0x0007ffff00000000ull |
#define | XCT_FUN_LLEN_S 32 |
#define | XCT_FUN_LLEN(x) ((((long)(x)) << XCT_FUN_LLEN_S) & XCT_FUN_LLEN_M) |
#define | XCT_FUN_SHL_M 0x00000000f8000000ull |
#define | XCT_FUN_SHL_S 27 |
#define | XCT_FUN_SHL(x) ((((long)(x)) << XCT_FUN_SHL_S) & XCT_FUN_SHL_M) |
#define | XCT_FUN_CHL_M 0x0000000007c00000ull |
#define | XCT_FUN_HSZ_M 0x00000000003c0000ull |
#define | XCT_FUN_ALG_M 0x0000000000038000ull |
#define | XCT_FUN_HP 0x0000000000004000ull |
#define | XCT_FUN_BCM_M 0x0000000000003800ull |
#define | XCT_FUN_BCP_M 0x0000000000000600ull |
#define | XCT_FUN_SIG_M 0x00000000000001f0ull |
#define | XCT_FUN_SIG_TCP4 0x0000000000000140ull |
#define | XCT_FUN_SIG_TCP6 0x0000000000000150ull |
#define | XCT_FUN_SIG_UDP4 0x0000000000000160ull |
#define | XCT_FUN_SIG_UDP6 0x0000000000000170ull |
#define | XCT_FUN_A 0x0000000000000008ull |
#define | XCT_FUN_C 0x0000000000000004ull |
#define | XCT_FUN_AL2 0x0000000000000002ull |
#define | XCT_FUN_SE 0x0000000000000001ull |
#define | XCT_FUNRES_8B_CS_M 0x0000ffff00000000ull |
#define | XCT_FUNRES_8B_CS_S 32 |
#define | XCT_FUNRES_8B_CRC_M 0x00000000ffffffffull |
#define | XCT_FUNRES_8B_CRC_S 0 |
#define | CTRL_CMD_T 0x8000000000000000ull |
#define | CTRL_CMD_META_EVT 0x2000000000000000ull |
#define | CTRL_CMD_O 0x0400000000000000ull |
#define | CTRL_CMD_ETYPE_M 0x0038000000000000ull |
#define | CTRL_CMD_ETYPE_EXT 0x0000000000000000ull |
#define | CTRL_CMD_ETYPE_WSET 0x0020000000000000ull |
#define | CTRL_CMD_ETYPE_WCLR 0x0028000000000000ull |
#define | CTRL_CMD_ETYPE_SET 0x0030000000000000ull |
#define | CTRL_CMD_ETYPE_CLR 0x0038000000000000ull |
#define | CTRL_CMD_REG_M 0x000000000000007full |
#define | CTRL_CMD_REG_S 0 |
#define | CTRL_CMD_REG(x) |
Enumerations | |
enum | { PAS_DMA_CAP_TXCH = 0x44, PAS_DMA_CAP_RXCH = 0x48, PAS_DMA_CAP_IFI = 0x4c, PAS_DMA_COM_TXCMD = 0x100, PAS_DMA_COM_TXSTA = 0x104, PAS_DMA_COM_RXCMD = 0x108, PAS_DMA_COM_RXSTA = 0x10c, PAS_DMA_COM_CFG = 0x114, PAS_DMA_TXF_SFLG0 = 0x140, PAS_DMA_TXF_SFLG1 = 0x144, PAS_DMA_TXF_CFLG0 = 0x148, PAS_DMA_TXF_CFLG1 = 0x14c } |
enum | pasemi_dmachan_type { RXCHAN = 0, TXCHAN = 1, TXCHAN_EVT0 = 0x1001, TXCHAN_EVT1 = 0x2001 } |
#define _PAS_DMA_RXCHAN_BASEL 0x818 /* Descriptor ring base (low) */ |
Definition at line 171 of file pasemi_dma.h.
#define _PAS_DMA_RXCHAN_BASEU 0x81c /* (high) */ |
Definition at line 172 of file pasemi_dma.h.
#define _PAS_DMA_RXCHAN_CCMDSTA 0x800 /* Command / Status */ |
Definition at line 167 of file pasemi_dma.h.
#define _PAS_DMA_RXCHAN_CFG 0x804 /* Configuration */ |
Definition at line 168 of file pasemi_dma.h.
#define _PAS_DMA_RXCHAN_CNT 0x814 /* Descriptor count/offset */ |
Definition at line 170 of file pasemi_dma.h.
#define _PAS_DMA_RXCHAN_INCR 0x810 /* Descriptor increment */ |
Definition at line 169 of file pasemi_dma.h.
#define _PAS_DMA_RXCHAN_STRIDE 0x20 /* Size per channel */ |
Definition at line 166 of file pasemi_dma.h.
#define _PAS_DMA_RXINT_STRIDE 0x20 |
Definition at line 69 of file pasemi_dma.h.
#define _PAS_DMA_TXCHAN_BASEL 0x318 /* Descriptor ring base (low) */ |
Definition at line 119 of file pasemi_dma.h.
#define _PAS_DMA_TXCHAN_BASEU 0x31c /* (high) */ |
Definition at line 120 of file pasemi_dma.h.
#define _PAS_DMA_TXCHAN_CFG 0x304 /* Configuration */ |
Definition at line 115 of file pasemi_dma.h.
#define _PAS_DMA_TXCHAN_CNT 0x314 /* Descriptor count/offset */ |
Definition at line 118 of file pasemi_dma.h.
#define _PAS_DMA_TXCHAN_DSCRBU 0x308 /* Descriptor BU Allocation */ |
Definition at line 116 of file pasemi_dma.h.
#define _PAS_DMA_TXCHAN_INCR 0x310 /* Descriptor increment */ |
Definition at line 117 of file pasemi_dma.h.
#define _PAS_DMA_TXCHAN_STRIDE 0x20 /* Size per channel */ |
Definition at line 113 of file pasemi_dma.h.
#define _PAS_DMA_TXCHAN_TCMDSTA 0x300 /* Command / Status */ |
Definition at line 114 of file pasemi_dma.h.
#define CTRL_CMD_ETYPE_CLR 0x0038000000000000ull |
Definition at line 461 of file pasemi_dma.h.
#define CTRL_CMD_ETYPE_EXT 0x0000000000000000ull |
Definition at line 457 of file pasemi_dma.h.
#define CTRL_CMD_ETYPE_M 0x0038000000000000ull |
Definition at line 456 of file pasemi_dma.h.
#define CTRL_CMD_ETYPE_SET 0x0030000000000000ull |
Definition at line 460 of file pasemi_dma.h.
#define CTRL_CMD_ETYPE_WCLR 0x0028000000000000ull |
Definition at line 459 of file pasemi_dma.h.
#define CTRL_CMD_ETYPE_WSET 0x0020000000000000ull |
Definition at line 458 of file pasemi_dma.h.
#define CTRL_CMD_META_EVT 0x2000000000000000ull |
Definition at line 454 of file pasemi_dma.h.
#define CTRL_CMD_O 0x0400000000000000ull |
Definition at line 455 of file pasemi_dma.h.
#define CTRL_CMD_REG | ( | x | ) |
Definition at line 464 of file pasemi_dma.h.
#define CTRL_CMD_REG_M 0x000000000000007full |
Definition at line 462 of file pasemi_dma.h.
#define CTRL_CMD_REG_S 0 |
Definition at line 463 of file pasemi_dma.h.
#define CTRL_CMD_T 0x8000000000000000ull |
Definition at line 453 of file pasemi_dma.h.
#define PAS_DMA_CAP_IFI_IOFF_M 0xff000000 /* Cfg reg for intf pointers */ |
Definition at line 57 of file pasemi_dma.h.
#define PAS_DMA_CAP_IFI_IOFF_S 24 |
Definition at line 58 of file pasemi_dma.h.
#define PAS_DMA_CAP_IFI_NIN_M 0x00ff0000 /* # of interfaces */ |
Definition at line 59 of file pasemi_dma.h.
#define PAS_DMA_CAP_IFI_NIN_S 16 |
Definition at line 60 of file pasemi_dma.h.
#define PAS_DMA_CAP_RXCH_RCHN_M 0x00ff0000 /* # of RX channels */ |
Definition at line 54 of file pasemi_dma.h.
#define PAS_DMA_CAP_RXCH_RCHN_S 16 |
Definition at line 55 of file pasemi_dma.h.
#define PAS_DMA_CAP_TXCH_TCHN_M 0x00ff0000 /* # of TX channels */ |
Definition at line 51 of file pasemi_dma.h.
#define PAS_DMA_CAP_TXCH_TCHN_S 16 |
Definition at line 52 of file pasemi_dma.h.
#define PAS_DMA_COM_RXCMD_EN 0x00000001 /* enable */ |
Definition at line 64 of file pasemi_dma.h.
#define PAS_DMA_COM_RXSTA_ACT 0x00000001 /* active */ |
Definition at line 65 of file pasemi_dma.h.
#define PAS_DMA_COM_TXCMD_EN 0x00000001 /* enable */ |
Definition at line 62 of file pasemi_dma.h.
#define PAS_DMA_COM_TXSTA_ACT 0x00000001 /* active */ |
Definition at line 63 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEL | ( | c | ) | (0x818+(c)*_PAS_DMA_RXCHAN_STRIDE) |
Definition at line 188 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEL_BRBL | ( | x | ) |
Definition at line 191 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEL_BRBL_M 0xffffffc0 |
Definition at line 189 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEL_BRBL_S 0 |
Definition at line 190 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEU | ( | c | ) | (0x81c+(c)*_PAS_DMA_RXCHAN_STRIDE) |
Definition at line 193 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEU_BRBH | ( | x | ) |
Definition at line 196 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEU_BRBH_M 0x00000fff |
Definition at line 194 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEU_BRBH_S 0 |
Definition at line 195 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEU_SIZ | ( | x | ) |
Definition at line 201 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEU_SIZ_M 0x3fff0000 |
Definition at line 199 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_BASEU_SIZ_S 16 /* 0 = 16K */ |
Definition at line 200 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CCMDSTA | ( | c | ) | (0x800+(c)*_PAS_DMA_RXCHAN_STRIDE) |
Definition at line 173 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CCMDSTA_ACT 0x00010000 /* Active */ |
Definition at line 176 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CCMDSTA_DT 0x00000800 |
Definition at line 180 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CCMDSTA_DU 0x00020000 |
Definition at line 177 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CCMDSTA_EN 0x00000001 /* Enabled */ |
Definition at line 174 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CCMDSTA_FD 0x00001000 |
Definition at line 179 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CCMDSTA_OD 0x00002000 |
Definition at line 178 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CCMDSTA_ST 0x00000002 /* Stop interface */ |
Definition at line 175 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CFG | ( | c | ) | (0x804+(c)*_PAS_DMA_RXCHAN_STRIDE) |
Definition at line 181 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CFG_CTR 0x00000400 |
Definition at line 182 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CFG_HBU | ( | x | ) |
Definition at line 185 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CFG_HBU_M 0x00000380 |
Definition at line 183 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_CFG_HBU_S 7 |
Definition at line 184 of file pasemi_dma.h.
#define PAS_DMA_RXCHAN_INCR | ( | c | ) | (0x810+(c)*_PAS_DMA_RXCHAN_STRIDE) |
Definition at line 187 of file pasemi_dma.h.
#define PAS_DMA_RXINT_BASEL | ( | i | ) | (0x218+(i)*_PAS_DMA_RXINT_STRIDE) |
Definition at line 103 of file pasemi_dma.h.
Definition at line 104 of file pasemi_dma.h.
#define PAS_DMA_RXINT_BASEU | ( | i | ) | (0x21c+(i)*_PAS_DMA_RXINT_STRIDE) |
Definition at line 105 of file pasemi_dma.h.
Definition at line 106 of file pasemi_dma.h.
#define PAS_DMA_RXINT_BASEU_SIZ | ( | x | ) |
Definition at line 109 of file pasemi_dma.h.
#define PAS_DMA_RXINT_BASEU_SIZ_M 0x3fff0000 /* # of cache lines worth of buffer ring */ |
Definition at line 107 of file pasemi_dma.h.
#define PAS_DMA_RXINT_BASEU_SIZ_S 16 /* 0 = 16K */ |
Definition at line 108 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG | ( | i | ) | (0x204+(i)*_PAS_DMA_RXINT_STRIDE) |
Definition at line 85 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_DHL | ( | x | ) |
Definition at line 90 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_DHL_M 0x07000000 |
Definition at line 88 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_DHL_S 24 |
Definition at line 89 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_HEN 0x00080000 |
Definition at line 95 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_ITR 0x00400000 |
Definition at line 92 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_ITRR 0x40000000 |
Definition at line 87 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_L2 0x00100000 |
Definition at line 94 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_LW 0x00200000 |
Definition at line 93 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_RBP 0x80000000 |
Definition at line 86 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_WIF 0x00000002 |
Definition at line 96 of file pasemi_dma.h.
#define PAS_DMA_RXINT_CFG_WIL 0x00000001 |
Definition at line 97 of file pasemi_dma.h.
#define PAS_DMA_RXINT_INCR | ( | i | ) | (0x210+(i)*_PAS_DMA_RXINT_STRIDE) |
Definition at line 99 of file pasemi_dma.h.
Definition at line 102 of file pasemi_dma.h.
#define PAS_DMA_RXINT_INCR_INCR_M 0x0000ffff |
Definition at line 100 of file pasemi_dma.h.
#define PAS_DMA_RXINT_INCR_INCR_S 0 |
Definition at line 101 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA | ( | i | ) | (0x200+(i)*_PAS_DMA_RXINT_STRIDE) |
Definition at line 70 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_ACT 0x00010000 |
Definition at line 82 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_BP 0x00004000 |
Definition at line 80 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_BT 0x00000800 |
Definition at line 77 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_DR 0x00001000 |
Definition at line 78 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_DROPS_M 0xfffe0000 |
Definition at line 83 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_DROPS_S 17 |
Definition at line 84 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_EN 0x00000001 |
Definition at line 71 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_MBP 0x00000040 |
Definition at line 76 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_MBT 0x00000008 |
Definition at line 73 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_MDR 0x00000010 |
Definition at line 74 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_MOO 0x00000020 |
Definition at line 75 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_OO 0x00002000 |
Definition at line 79 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_ST 0x00000002 |
Definition at line 72 of file pasemi_dma.h.
#define PAS_DMA_RXINT_RCMDSTA_TB 0x00008000 |
Definition at line 81 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEL | ( | c | ) | (0x318+(c)*_PAS_DMA_TXCHAN_STRIDE) |
Definition at line 150 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEL_BRBL | ( | x | ) |
Definition at line 153 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEL_BRBL_M 0xffffffc0 |
Definition at line 151 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEL_BRBL_S 0 |
Definition at line 152 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEU | ( | c | ) | (0x31c+(c)*_PAS_DMA_TXCHAN_STRIDE) |
Definition at line 155 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEU_BRBH | ( | x | ) |
Definition at line 158 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEU_BRBH_M 0x00000fff |
Definition at line 156 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEU_BRBH_S 0 |
Definition at line 157 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEU_SIZ | ( | x | ) |
Definition at line 163 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEU_SIZ_M 0x3fff0000 |
Definition at line 161 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_BASEU_SIZ_S 16 /* 0 = 16K */ |
Definition at line 162 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG | ( | c | ) | (0x304+(c)*_PAS_DMA_TXCHAN_STRIDE) |
Definition at line 129 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_CF 0x00001000 /* Clean first line */ |
Definition at line 148 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_CL 0x00002000 /* Clean last line */ |
Definition at line 147 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_LPDQ 0x00000800 |
Definition at line 138 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_LPSQ 0x00000400 |
Definition at line 139 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_TATTR | ( | x | ) |
Definition at line 136 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_TATTR_M 0x0000003c |
Definition at line 134 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_TATTR_S 2 |
Definition at line 135 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_TRD 0x00010000 /* translate data */ |
Definition at line 144 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_TRR 0x00008000 /* translate rings */ |
Definition at line 145 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_TY_COPY 0x00000001 /* Type = copy only */ |
Definition at line 131 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_TY_FUNC 0x00000002 /* Type = function */ |
Definition at line 132 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_TY_IFACE 0x00000000 /* Type = interface */ |
Definition at line 130 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_TY_XOR 0x00000003 /* Type = xor only */ |
Definition at line 133 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_UP 0x00004000 /* update tx descr when sent */ |
Definition at line 146 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_WT | ( | x | ) |
Definition at line 142 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_WT_M 0x000003c0 |
Definition at line 140 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_CFG_WT_S 6 |
Definition at line 141 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_INCR | ( | c | ) | (0x310+(c)*_PAS_DMA_TXCHAN_STRIDE) |
Definition at line 149 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_TCMDSTA | ( | c | ) | (0x300+(c)*_PAS_DMA_TXCHAN_STRIDE) |
Definition at line 121 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_TCMDSTA_ACT 0x00010000 /* Active */ |
Definition at line 124 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_TCMDSTA_DA 0x00000100 |
Definition at line 128 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_TCMDSTA_DB 0x00000400 |
Definition at line 126 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_TCMDSTA_DE 0x00000200 |
Definition at line 127 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_TCMDSTA_EN 0x00000001 /* Enabled */ |
Definition at line 122 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_TCMDSTA_ST 0x00000002 /* Stop interface */ |
Definition at line 123 of file pasemi_dma.h.
#define PAS_DMA_TXCHAN_TCMDSTA_SZ 0x00000800 |
Definition at line 125 of file pasemi_dma.h.
#define PAS_IOB_COM_PKTHDRCNT 0x120 |
Definition at line 216 of file pasemi_dma.h.
#define PAS_IOB_COM_PKTHDRCNT_PKTHDR0_M 0x00000fff |
Definition at line 219 of file pasemi_dma.h.
#define PAS_IOB_COM_PKTHDRCNT_PKTHDR0_S 0 |
Definition at line 220 of file pasemi_dma.h.
#define PAS_IOB_COM_PKTHDRCNT_PKTHDR1_M 0x0fff0000 |
Definition at line 217 of file pasemi_dma.h.
#define PAS_IOB_COM_PKTHDRCNT_PKTHDR1_S 16 |
Definition at line 218 of file pasemi_dma.h.
#define PAS_IOB_DMA_COM_TIMEOUTCFG 0x1700 |
Definition at line 267 of file pasemi_dma.h.
#define PAS_IOB_DMA_COM_TIMEOUTCFG_TCNT | ( | x | ) |
Definition at line 270 of file pasemi_dma.h.
#define PAS_IOB_DMA_COM_TIMEOUTCFG_TCNT_M 0x00ffffff |
Definition at line 268 of file pasemi_dma.h.
#define PAS_IOB_DMA_COM_TIMEOUTCFG_TCNT_S 0 |
Definition at line 269 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_CFG | ( | i | ) | (0x1100 + (i)*4) |
Definition at line 222 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_CFG_CNTTH | ( | x | ) |
Definition at line 225 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_CFG_CNTTH_M 0x00000fff |
Definition at line 223 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_CFG_CNTTH_S 0 |
Definition at line 224 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET | ( | i | ) | (0x1500 + (i)*4) |
Definition at line 244 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET_DCNTRST 0x00000010 |
Definition at line 250 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET_DINTC 0x00000004 |
Definition at line 252 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET_PCNT | ( | x | ) |
Definition at line 247 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET_PCNT_M 0xffff0000 |
Definition at line 245 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET_PCNT_S 16 |
Definition at line 246 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET_PCNTRST 0x00000020 |
Definition at line 249 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET_PINTC 0x00000001 |
Definition at line 254 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET_SINTC 0x00000002 |
Definition at line 253 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_RESET_TINTC 0x00000008 |
Definition at line 251 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_STAT | ( | i | ) | (0x1300 + (i)*4) |
Definition at line 232 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_STAT_CNTDEL | ( | x | ) |
Definition at line 236 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_STAT_CNTDEL_M 0x00000fff |
Definition at line 234 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_STAT_CNTDEL_S 0 |
Definition at line 235 of file pasemi_dma.h.
#define PAS_IOB_DMA_RXCH_STAT_INTGEN 0x00001000 |
Definition at line 233 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_CFG | ( | i | ) | (0x1200 + (i)*4) |
Definition at line 227 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_CFG_CNTTH | ( | x | ) |
Definition at line 230 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_CFG_CNTTH_M 0x00000fff |
Definition at line 228 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_CFG_CNTTH_S 0 |
Definition at line 229 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET | ( | i | ) | (0x1600 + (i)*4) |
Definition at line 255 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET_DCNTRST 0x00000010 |
Definition at line 261 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET_DINTC 0x00000004 |
Definition at line 263 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET_PCNT | ( | x | ) |
Definition at line 258 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET_PCNT_M 0xffff0000 |
Definition at line 256 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET_PCNT_S 16 |
Definition at line 257 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET_PCNTRST 0x00000020 |
Definition at line 260 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET_PINTC 0x00000001 |
Definition at line 265 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET_SINTC 0x00000002 |
Definition at line 264 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_RESET_TINTC 0x00000008 |
Definition at line 262 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_STAT | ( | i | ) | (0x1400 + (i)*4) |
Definition at line 238 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_STAT_CNTDEL | ( | x | ) |
Definition at line 242 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_STAT_CNTDEL_M 0x00000fff |
Definition at line 240 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_STAT_CNTDEL_S 0 |
Definition at line 241 of file pasemi_dma.h.
#define PAS_IOB_DMA_TXCH_STAT_INTGEN 0x00001000 |
Definition at line 239 of file pasemi_dma.h.
#define PAS_STATUS_BPCNT_M 0x0000ffff00000000ull |
Definition at line 208 of file pasemi_dma.h.
#define PAS_STATUS_BPCNT_S 32 |
Definition at line 209 of file pasemi_dma.h.
#define PAS_STATUS_CAUSE_M 0xf000000000000000ull |
Definition at line 210 of file pasemi_dma.h.
#define PAS_STATUS_DCNT_M 0x00000000ffff0000ull |
Definition at line 206 of file pasemi_dma.h.
#define PAS_STATUS_DCNT_S 16 |
Definition at line 207 of file pasemi_dma.h.
#define PAS_STATUS_ERROR 0x2000000000000000ull |
Definition at line 212 of file pasemi_dma.h.
#define PAS_STATUS_INT 0x8000000000000000ull |
Definition at line 214 of file pasemi_dma.h.
#define PAS_STATUS_PCNT_M 0x000000000000ffffull |
Definition at line 204 of file pasemi_dma.h.
#define PAS_STATUS_PCNT_S 0 |
Definition at line 205 of file pasemi_dma.h.
#define PAS_STATUS_SOFT 0x4000000000000000ull |
Definition at line 213 of file pasemi_dma.h.
#define PAS_STATUS_TIMER 0x1000000000000000ull |
Definition at line 211 of file pasemi_dma.h.
#define XCT_COPY_DTY_PREF 0x0038000000000000ull |
Definition at line 400 of file pasemi_dma.h.
#define XCT_COPY_E 0x0200000000000000ull |
Definition at line 398 of file pasemi_dma.h.
#define XCT_COPY_I 0x0800000000000000ull |
Definition at line 396 of file pasemi_dma.h.
#define XCT_COPY_LLEN | ( | x | ) |
Definition at line 403 of file pasemi_dma.h.
#define XCT_COPY_LLEN_M 0x0007ffff00000000ull |
Definition at line 401 of file pasemi_dma.h.
#define XCT_COPY_LLEN_S 32 |
Definition at line 402 of file pasemi_dma.h.
#define XCT_COPY_O 0x0400000000000000ull |
Definition at line 397 of file pasemi_dma.h.
#define XCT_COPY_RR_24BRES 0x2000000000000000ull |
Definition at line 394 of file pasemi_dma.h.
#define XCT_COPY_RR_40BRES 0x3000000000000000ull |
Definition at line 395 of file pasemi_dma.h.
#define XCT_COPY_RR_8BRES 0x1000000000000000ull |
Definition at line 393 of file pasemi_dma.h.
#define XCT_COPY_RR_M 0x3000000000000000ull |
Definition at line 391 of file pasemi_dma.h.
#define XCT_COPY_RR_NORES 0x0000000000000000ull |
Definition at line 392 of file pasemi_dma.h.
#define XCT_COPY_SE 0x0000000000000001ull |
Definition at line 405 of file pasemi_dma.h.
#define XCT_COPY_ST 0x4000000000000000ull |
Definition at line 390 of file pasemi_dma.h.
#define XCT_COPY_STY_ZERO 0x01c0000000000000ull |
Definition at line 399 of file pasemi_dma.h.
#define XCT_COPY_T 0x8000000000000000ull |
Definition at line 389 of file pasemi_dma.h.
#define XCT_FUN_A 0x0000000000000008ull |
Definition at line 441 of file pasemi_dma.h.
#define XCT_FUN_AL2 0x0000000000000002ull |
Definition at line 443 of file pasemi_dma.h.
#define XCT_FUN_ALG_M 0x0000000000038000ull |
Definition at line 432 of file pasemi_dma.h.
#define XCT_FUN_BCM_M 0x0000000000003800ull |
Definition at line 434 of file pasemi_dma.h.
#define XCT_FUN_BCP_M 0x0000000000000600ull |
Definition at line 435 of file pasemi_dma.h.
#define XCT_FUN_C 0x0000000000000004ull |
Definition at line 442 of file pasemi_dma.h.
#define XCT_FUN_CHL_M 0x0000000007c00000ull |
Definition at line 430 of file pasemi_dma.h.
#define XCT_FUN_CRM_M 0x0038000000000000ull |
Definition at line 421 of file pasemi_dma.h.
#define XCT_FUN_CRM_NOP 0x0000000000000000ull |
Definition at line 422 of file pasemi_dma.h.
#define XCT_FUN_CRM_SIG 0x0008000000000000ull |
Definition at line 423 of file pasemi_dma.h.
#define XCT_FUN_E 0x0200000000000000ull |
Definition at line 417 of file pasemi_dma.h.
#define XCT_FUN_FUN | ( | x | ) | ((((long)(x)) << XCT_FUN_FUN_S) & XCT_FUN_FUN_M) |
Definition at line 420 of file pasemi_dma.h.
#define XCT_FUN_FUN_M 0x01c0000000000000ull |
Definition at line 418 of file pasemi_dma.h.
#define XCT_FUN_FUN_S 54 |
Definition at line 419 of file pasemi_dma.h.
#define XCT_FUN_HP 0x0000000000004000ull |
Definition at line 433 of file pasemi_dma.h.
#define XCT_FUN_HSZ_M 0x00000000003c0000ull |
Definition at line 431 of file pasemi_dma.h.
#define XCT_FUN_I 0x0800000000000000ull |
Definition at line 415 of file pasemi_dma.h.
#define XCT_FUN_LLEN | ( | x | ) | ((((long)(x)) << XCT_FUN_LLEN_S) & XCT_FUN_LLEN_M) |
Definition at line 426 of file pasemi_dma.h.
#define XCT_FUN_LLEN_M 0x0007ffff00000000ull |
Definition at line 424 of file pasemi_dma.h.
#define XCT_FUN_LLEN_S 32 |
Definition at line 425 of file pasemi_dma.h.
#define XCT_FUN_O 0x0400000000000000ull |
Definition at line 416 of file pasemi_dma.h.
#define XCT_FUN_RR_24BRES 0x2000000000000000ull |
Definition at line 413 of file pasemi_dma.h.
#define XCT_FUN_RR_40BRES 0x3000000000000000ull |
Definition at line 414 of file pasemi_dma.h.
#define XCT_FUN_RR_8BRES 0x1000000000000000ull |
Definition at line 412 of file pasemi_dma.h.
#define XCT_FUN_RR_M 0x3000000000000000ull |
Definition at line 410 of file pasemi_dma.h.
#define XCT_FUN_RR_NORES 0x0000000000000000ull |
Definition at line 411 of file pasemi_dma.h.
#define XCT_FUN_SE 0x0000000000000001ull |
Definition at line 444 of file pasemi_dma.h.
#define XCT_FUN_SHL | ( | x | ) | ((((long)(x)) << XCT_FUN_SHL_S) & XCT_FUN_SHL_M) |
Definition at line 429 of file pasemi_dma.h.
#define XCT_FUN_SHL_M 0x00000000f8000000ull |
Definition at line 427 of file pasemi_dma.h.
#define XCT_FUN_SHL_S 27 |
Definition at line 428 of file pasemi_dma.h.
#define XCT_FUN_SIG_M 0x00000000000001f0ull |
Definition at line 436 of file pasemi_dma.h.
#define XCT_FUN_SIG_TCP4 0x0000000000000140ull |
Definition at line 437 of file pasemi_dma.h.
#define XCT_FUN_SIG_TCP6 0x0000000000000150ull |
Definition at line 438 of file pasemi_dma.h.
#define XCT_FUN_SIG_UDP4 0x0000000000000160ull |
Definition at line 439 of file pasemi_dma.h.
#define XCT_FUN_SIG_UDP6 0x0000000000000170ull |
Definition at line 440 of file pasemi_dma.h.
#define XCT_FUN_ST 0x4000000000000000ull |
Definition at line 409 of file pasemi_dma.h.
#define XCT_FUN_T 0x8000000000000000ull |
Definition at line 408 of file pasemi_dma.h.
#define XCT_FUNRES_8B_CRC_M 0x00000000ffffffffull |
Definition at line 449 of file pasemi_dma.h.
#define XCT_FUNRES_8B_CRC_S 0 |
Definition at line 450 of file pasemi_dma.h.
#define XCT_FUNRES_8B_CS_M 0x0000ffff00000000ull |
Definition at line 447 of file pasemi_dma.h.
#define XCT_FUNRES_8B_CS_S 32 |
Definition at line 448 of file pasemi_dma.h.
#define XCT_MACRX_CAST_BROAD 0x0000000010000000ull |
Definition at line 343 of file pasemi_dma.h.
#define XCT_MACRX_CAST_M 0x0000000018000000ull |
Definition at line 340 of file pasemi_dma.h.
#define XCT_MACRX_CAST_MULTI 0x0000000008000000ull |
Definition at line 342 of file pasemi_dma.h.
#define XCT_MACRX_CAST_PAUSE 0x0000000018000000ull |
Definition at line 344 of file pasemi_dma.h.
#define XCT_MACRX_CAST_UNI 0x0000000000000000ull |
Definition at line 341 of file pasemi_dma.h.
#define XCT_MACRX_CRC 0x0000000080000000ull |
Definition at line 335 of file pasemi_dma.h.
#define XCT_MACRX_CSUM_M 0x000000000000ffffull |
Definition at line 354 of file pasemi_dma.h.
#define XCT_MACRX_CSUM_S 0 |
Definition at line 355 of file pasemi_dma.h.
#define XCT_MACRX_E 0x0200000000000000ull |
Definition at line 321 of file pasemi_dma.h.
#define XCT_MACRX_FF 0x0100000000000000ull |
Definition at line 322 of file pasemi_dma.h.
#define XCT_MACRX_FM 0x0000000001000000ull |
Definition at line 346 of file pasemi_dma.h.
#define XCT_MACRX_FS 0x0010000000000000ull |
Definition at line 326 of file pasemi_dma.h.
#define XCT_MACRX_HTY_IPV4_BAD 0x0000000000800000ull |
Definition at line 350 of file pasemi_dma.h.
#define XCT_MACRX_HTY_IPV4_OK 0x0000000000000000ull |
Definition at line 348 of file pasemi_dma.h.
#define XCT_MACRX_HTY_IPV6 0x0000000000400000ull |
Definition at line 349 of file pasemi_dma.h.
#define XCT_MACRX_HTY_M 0x0000000000c00000ull |
Definition at line 347 of file pasemi_dma.h.
#define XCT_MACRX_HTY_NONIP 0x0000000000c00000ull |
Definition at line 351 of file pasemi_dma.h.
#define XCT_MACRX_IPP_M 0x00000000003f0000ull |
Definition at line 352 of file pasemi_dma.h.
#define XCT_MACRX_IPP_S 16 |
Definition at line 353 of file pasemi_dma.h.
#define XCT_MACRX_LEN_BELOWMIN 0x0000000040000000ull |
Definition at line 338 of file pasemi_dma.h.
#define XCT_MACRX_LEN_M 0x0000000060000000ull |
Definition at line 336 of file pasemi_dma.h.
#define XCT_MACRX_LEN_TOOSHORT 0x0000000020000000ull |
Definition at line 337 of file pasemi_dma.h.
#define XCT_MACRX_LEN_TRUNC 0x0000000060000000ull |
Definition at line 339 of file pasemi_dma.h.
#define XCT_MACRX_LLEN | ( | x | ) |
Definition at line 333 of file pasemi_dma.h.
#define XCT_MACRX_LLEN_M 0x00003fff00000000ull |
Definition at line 331 of file pasemi_dma.h.
#define XCT_MACRX_LLEN_S 32ULL |
Definition at line 332 of file pasemi_dma.h.
#define XCT_MACRX_NB | ( | x | ) |
Definition at line 329 of file pasemi_dma.h.
#define XCT_MACRX_NB_M 0x000fc00000000000ull |
Definition at line 327 of file pasemi_dma.h.
#define XCT_MACRX_NB_S 46ULL |
Definition at line 328 of file pasemi_dma.h.
#define XCT_MACRX_O 0x0400000000000000ull |
Definition at line 320 of file pasemi_dma.h.
#define XCT_MACRX_OB 0x0040000000000000ull |
Definition at line 324 of file pasemi_dma.h.
#define XCT_MACRX_OD 0x0020000000000000ull |
Definition at line 325 of file pasemi_dma.h.
#define XCT_MACRX_PF 0x0080000000000000ull |
Definition at line 323 of file pasemi_dma.h.
#define XCT_MACRX_RR_8BRES 0x1000000000000000ull |
Definition at line 319 of file pasemi_dma.h.
#define XCT_MACRX_RR_M 0x3000000000000000ull |
Definition at line 317 of file pasemi_dma.h.
#define XCT_MACRX_RR_NORES 0x0000000000000000ull |
Definition at line 318 of file pasemi_dma.h.
#define XCT_MACRX_ST 0x4000000000000000ull |
Definition at line 316 of file pasemi_dma.h.
#define XCT_MACRX_T 0x8000000000000000ull |
Definition at line 315 of file pasemi_dma.h.
#define XCT_MACRX_VLC_M 0x0000000006000000ull |
Definition at line 345 of file pasemi_dma.h.
#define XCT_MACTX_24BRES 0x2000000000000000ull |
Definition at line 278 of file pasemi_dma.h.
#define XCT_MACTX_40BRES 0x3000000000000000ull |
Definition at line 279 of file pasemi_dma.h.
#define XCT_MACTX_8BRES 0x1000000000000000ull |
Definition at line 277 of file pasemi_dma.h.
#define XCT_MACTX_AL2 0x0000000000000002ull |
Definition at line 312 of file pasemi_dma.h.
#define XCT_MACTX_C 0x0000000000000004ull |
Definition at line 311 of file pasemi_dma.h.
#define XCT_MACTX_CRC_INSERT 0x0020000000000000ull |
Definition at line 290 of file pasemi_dma.h.
#define XCT_MACTX_CRC_M 0x0060000000000000ull |
Definition at line 288 of file pasemi_dma.h.
#define XCT_MACTX_CRC_NOP 0x0000000000000000ull |
Definition at line 289 of file pasemi_dma.h.
#define XCT_MACTX_CRC_PAD 0x0040000000000000ull |
Definition at line 291 of file pasemi_dma.h.
#define XCT_MACTX_CRC_REPLACE 0x0060000000000000ull |
Definition at line 292 of file pasemi_dma.h.
#define XCT_MACTX_CSUM_M 0x0000000000000060ull |
Definition at line 306 of file pasemi_dma.h.
#define XCT_MACTX_CSUM_NOP 0x0000000000000000ull |
Definition at line 307 of file pasemi_dma.h.
#define XCT_MACTX_CSUM_TCP 0x0000000000000040ull |
Definition at line 308 of file pasemi_dma.h.
#define XCT_MACTX_CSUM_UDP 0x0000000000000060ull |
Definition at line 309 of file pasemi_dma.h.
#define XCT_MACTX_E 0x0200000000000000ull |
Definition at line 282 of file pasemi_dma.h.
#define XCT_MACTX_I 0x0800000000000000ull |
Definition at line 280 of file pasemi_dma.h.
#define XCT_MACTX_IPH | ( | x | ) |
Definition at line 300 of file pasemi_dma.h.
#define XCT_MACTX_IPH_M 0x00000000f8000000ull |
Definition at line 298 of file pasemi_dma.h.
#define XCT_MACTX_IPH_S 27ull |
Definition at line 299 of file pasemi_dma.h.
#define XCT_MACTX_IPO | ( | x | ) |
Definition at line 304 of file pasemi_dma.h.
#define XCT_MACTX_IPO_M 0x0000000007c00000ull |
Definition at line 302 of file pasemi_dma.h.
#define XCT_MACTX_IPO_S 22ull |
Definition at line 303 of file pasemi_dma.h.
#define XCT_MACTX_LLEN | ( | x | ) |
Definition at line 296 of file pasemi_dma.h.
#define XCT_MACTX_LLEN_M 0x00007fff00000000ull |
Definition at line 294 of file pasemi_dma.h.
#define XCT_MACTX_LLEN_S 32ull |
Definition at line 295 of file pasemi_dma.h.
#define XCT_MACTX_NORES 0x0000000000000000ull |
Definition at line 276 of file pasemi_dma.h.
#define XCT_MACTX_O 0x0400000000000000ull |
Definition at line 281 of file pasemi_dma.h.
#define XCT_MACTX_SS 0x0010000000000000ull |
Definition at line 293 of file pasemi_dma.h.
#define XCT_MACTX_ST 0x4000000000000000ull |
Definition at line 275 of file pasemi_dma.h.
#define XCT_MACTX_T 0x8000000000000000ull |
Definition at line 274 of file pasemi_dma.h.
#define XCT_MACTX_V6 0x0000000000000010ull |
Definition at line 310 of file pasemi_dma.h.
#define XCT_MACTX_VLAN_INSERT 0x0100000000000000ull |
Definition at line 286 of file pasemi_dma.h.
#define XCT_MACTX_VLAN_M 0x0180000000000000ull |
Definition at line 283 of file pasemi_dma.h.
#define XCT_MACTX_VLAN_NOP 0x0000000000000000ull |
Definition at line 284 of file pasemi_dma.h.
#define XCT_MACTX_VLAN_REMOVE 0x0080000000000000ull |
Definition at line 285 of file pasemi_dma.h.
#define XCT_MACTX_VLAN_REPLACE 0x0180000000000000ull |
Definition at line 287 of file pasemi_dma.h.
#define XCT_PTR_ADDR | ( | x | ) |
Definition at line 364 of file pasemi_dma.h.
#define XCT_PTR_ADDR_M 0x00000fffffffffffull |
Definition at line 362 of file pasemi_dma.h.
#define XCT_PTR_ADDR_S 0 |
Definition at line 363 of file pasemi_dma.h.
#define XCT_PTR_LEN | ( | x | ) |
Definition at line 360 of file pasemi_dma.h.
#define XCT_PTR_LEN_M 0x7ffff00000000000ull |
Definition at line 358 of file pasemi_dma.h.
#define XCT_PTR_LEN_S 44 |
Definition at line 359 of file pasemi_dma.h.
#define XCT_PTR_T 0x8000000000000000ull |
Definition at line 357 of file pasemi_dma.h.
#define XCT_RXB_ADDR | ( | x | ) |
Definition at line 385 of file pasemi_dma.h.
#define XCT_RXB_ADDR_M 0x00000fffffffffffull |
Definition at line 383 of file pasemi_dma.h.
#define XCT_RXB_ADDR_S 0 |
Definition at line 384 of file pasemi_dma.h.
#define XCT_RXB_LEN | ( | x | ) |
Definition at line 381 of file pasemi_dma.h.
#define XCT_RXB_LEN_M 0x0ffff00000000000ull |
Definition at line 379 of file pasemi_dma.h.
#define XCT_RXB_LEN_S 44 |
Definition at line 380 of file pasemi_dma.h.
#define XCT_RXRES_8B_EVAL_M 0x000000ffff000000ull |
Definition at line 372 of file pasemi_dma.h.
#define XCT_RXRES_8B_EVAL_S 24 |
Definition at line 373 of file pasemi_dma.h.
#define XCT_RXRES_8B_HASH_M 0x00000000000fffffull |
Definition at line 375 of file pasemi_dma.h.
#define XCT_RXRES_8B_HASH_S 0 |
Definition at line 376 of file pasemi_dma.h.
#define XCT_RXRES_8B_HTYPE_M 0x0000000000f00000ull |
Definition at line 374 of file pasemi_dma.h.
#define XCT_RXRES_8B_L4O_M 0xff00000000000000ull |
Definition at line 368 of file pasemi_dma.h.
#define XCT_RXRES_8B_L4O_S 56 |
Definition at line 369 of file pasemi_dma.h.
#define XCT_RXRES_8B_RULE_M 0x00ffff0000000000ull |
Definition at line 370 of file pasemi_dma.h.
#define XCT_RXRES_8B_RULE_S 40 |
Definition at line 371 of file pasemi_dma.h.
anonymous enum |
Definition at line 35 of file pasemi_dma.h.
enum pasemi_dmachan_type |
Definition at line 475 of file pasemi_dma.h.
void* pasemi_dma_alloc_buf | ( | struct pasemi_dmachan * | chan, |
int | size, | ||
dma_addr_t * | handle | ||
) |
void* pasemi_dma_alloc_chan | ( | enum pasemi_dmachan_type | type, |
int | total_size, | ||
int | offset | ||
) |
int pasemi_dma_alloc_ring | ( | struct pasemi_dmachan * | chan, |
int | ring_size | ||
) |
void pasemi_dma_free_buf | ( | struct pasemi_dmachan * | chan, |
int | size, | ||
dma_addr_t * | handle | ||
) |
void pasemi_dma_free_chan | ( | struct pasemi_dmachan * | chan | ) |
void pasemi_dma_free_ring | ( | struct pasemi_dmachan * | chan | ) |
int pasemi_dma_stop_chan | ( | const struct pasemi_dmachan * | chan | ) |