XINU
|
AM335X SoCのEthernetデバイスに関する定義。 More...
Go to the source code of this file.
Data Structures | |
struct | eth_a_ale |
Address Lookup Engine(ALE)レジスタ用の構造体 More... | |
struct | eth_a_cpdma |
Cryptographic Processor RAM DMA(CPDMA、暗号化DMA)レジスタ用の構造体 More... | |
struct | eth_a_csreg |
Ethernet subsystemレジスタ構造体 More... | |
struct | eth_a_mdio |
Management Data Input/Output(MDIO)レジスタ用の構造体 More... | |
struct | eth_a_rx_desc |
DMA RX(受信)ディスクリプタ More... | |
struct | eth_a_sl |
CPSW_SLレジスタ用の構造体 More... | |
struct | eth_a_ss |
CPSW_SSレジスタ用の構造体 More... | |
struct | eth_a_stateram |
CPDMA_STATERAMレジスタ用の構造体 More... | |
struct | eth_a_tx_desc |
DMA TX(送信)ディスクリプタ More... | |
struct | eth_a_wr |
CPSW_WRレジスタ用の構造体 More... | |
Macros | |
#define | ETH_AM335X_ALE_ADDR 0x4A100D00 |
Address Lookup Engine(ALE)の開始アドレス More... | |
#define | ETH_AM335X_ALECTL_BY 0x00000010 |
Address Lookup Engine(ALE)制御をBypassモードとする More... | |
#define | ETH_AM335X_ALECTL_EN 0x80000000 |
Address Lookup Engine(ALE)を有効化する More... | |
#define | ETH_AM335X_ALEPCTL_FWD 0x00000003 |
Address Lookup Engine(ALE)制御をポートフォワード状態とする More... | |
#define | ETH_AM335X_CPDMA_ADDR 0x4A100800 |
Cryptographic Processor RAM DMA(CPDMA、暗号化DMA)の開始アドレス More... | |
#define | ETH_AM335X_INIT_DELAY 1000000 |
初期化時のディレイ More... | |
#define | ETH_AM335X_MDIO_ADDR 0x4A101000 |
Management Data Input/Output(MDIO)の開始アドレス More... | |
#define | ETH_AM335X_MDIOCTL_EN 0x40000000 |
Management Data Input/Output(MDIO)制御を有効化 More... | |
#define | ETH_AM335X_MDIOUA_ACK 0x20000000 |
Management Data Input/Output(MDIO) 読み込み確認応答(Ack) More... | |
#define | ETH_AM335X_MDIOUA_DM 0x0000ffff |
Management Data Input/Output(MDIO)データマスク More... | |
#define | ETH_AM335X_MDIOUA_GO 0x80000000 |
実行するManagement Data Input/Output(MDIO)のアクセス More... | |
#define | ETH_AM335X_MDIOUA_WR 0x40000000 |
Management Data Input/Output(MDIO) 書き込みアクセス More... | |
#define | ETH_AM335X_RDS_EOP 0x4000 |
RX(受信)パケットの終了 More... | |
#define | ETH_AM335X_RDS_EOQ 0x1000 |
不明 More... | |
#define | ETH_AM335X_RDS_OWN 0x2000 |
DMAが所持するディスクリプタ More... | |
#define | ETH_AM335X_RDS_SOP 0x8000 |
RX(受信)パケットの開始 More... | |
#define | ETH_AM335X_RX_RING_SIZE 32 |
RX(受信)リングバッファサイズ More... | |
#define | ETH_AM335X_RXINT 41 |
RX(受信)の割り込みベクタ More... | |
#define | ETH_AM335X_SL1_ADDR 0x4A100D80 |
SL1の開始アドレス More... | |
#define | ETH_AM335X_SLCTL_EN 0x00000020 |
受信/送信の有効化 More... | |
#define | ETH_AM335X_SLCTL_FD 0x00000001 |
全二重通信 More... | |
#define | ETH_AM335X_SLCTL_GIG 0x00000080 |
ギガビットモード More... | |
#define | ETH_AM335X_SLCTL_LB 0x00000002 |
ループバック More... | |
#define | ETH_AM335X_SS_ADDR 0x4A100000 |
SSの開始アドレス More... | |
#define | ETH_AM335X_STATERAM_ADDR 0x4A100A00 |
STATERAMの開始アドレス More... | |
#define | ETH_AM335X_TDS_DIR 0x0010 |
不明 More... | |
#define | ETH_AM335X_TDS_EOP 0x4000 |
TX(送信)パケットの終了 More... | |
#define | ETH_AM335X_TDS_EOQ 0x1000 |
不明 More... | |
#define | ETH_AM335X_TDS_OWN 0x2000 |
DMAが所持するディスクリプタ More... | |
#define | ETH_AM335X_TDS_P1 0x0001 |
不明 More... | |
#define | ETH_AM335X_TDS_SOP 0x8000 |
TX(送信)パケットの開始 More... | |
#define | ETH_AM335X_TX_RING_SIZE 16 |
TX(送信)リングバッファサイズ More... | |
#define | ETH_AM335X_TXINT 42 |
TX(送信)の割り込みベクタ More... | |
#define | ETH_AM335X_WR_ADDR 0x4A101200 |
WRの開始アドレス More... | |
AM335X SoCのEthernetデバイスに関する定義。
Definition in file am335x_eth.h.
#define ETH_AM335X_ALE_ADDR 0x4A100D00 |
Address Lookup Engine(ALE)の開始アドレス
Definition at line 382 of file am335x_eth.h.
Referenced by ethinit().
#define ETH_AM335X_ALECTL_BY 0x00000010 |
Address Lookup Engine(ALE)制御をBypassモードとする
Definition at line 45 of file am335x_eth.h.
Referenced by ethinit().
#define ETH_AM335X_ALECTL_EN 0x80000000 |
Address Lookup Engine(ALE)を有効化する
Definition at line 43 of file am335x_eth.h.
Referenced by ethinit().
#define ETH_AM335X_ALEPCTL_FWD 0x00000003 |
Address Lookup Engine(ALE)制御をポートフォワード状態とする
Definition at line 47 of file am335x_eth.h.
Referenced by ethinit().
#define ETH_AM335X_CPDMA_ADDR 0x4A100800 |
Cryptographic Processor RAM DMA(CPDMA、暗号化DMA)の開始アドレス
Definition at line 384 of file am335x_eth.h.
Referenced by ethinit().
#define ETH_AM335X_INIT_DELAY 1000000 |
#define ETH_AM335X_MDIO_ADDR 0x4A101000 |
Management Data Input/Output(MDIO)の開始アドレス
Definition at line 390 of file am335x_eth.h.
Referenced by ethinit().
#define ETH_AM335X_MDIOCTL_EN 0x40000000 |
Management Data Input/Output(MDIO)制御を有効化
Definition at line 283 of file am335x_eth.h.
Referenced by ethinit().
#define ETH_AM335X_MDIOUA_ACK 0x20000000 |
Management Data Input/Output(MDIO) 読み込み確認応答(Ack)
Definition at line 289 of file am335x_eth.h.
Referenced by eth_phy_read().
#define ETH_AM335X_MDIOUA_DM 0x0000ffff |
Management Data Input/Output(MDIO)データマスク
Definition at line 291 of file am335x_eth.h.
Referenced by eth_phy_read().
#define ETH_AM335X_MDIOUA_GO 0x80000000 |
実行するManagement Data Input/Output(MDIO)のアクセス
Definition at line 285 of file am335x_eth.h.
Referenced by eth_phy_read(), and eth_phy_write().
#define ETH_AM335X_MDIOUA_WR 0x40000000 |
Management Data Input/Output(MDIO) 書き込みアクセス
Definition at line 287 of file am335x_eth.h.
Referenced by eth_phy_write().
#define ETH_AM335X_RDS_EOP 0x4000 |
RX(受信)パケットの終了
Definition at line 338 of file am335x_eth.h.
#define ETH_AM335X_RDS_EOQ 0x1000 |
不明
Definition at line 342 of file am335x_eth.h.
#define ETH_AM335X_RDS_OWN 0x2000 |
DMAが所持するディスクリプタ
Definition at line 340 of file am335x_eth.h.
Referenced by ethhandler(), ethinit(), and ethread().
#define ETH_AM335X_RDS_SOP 0x8000 |
RX(受信)パケットの開始
Definition at line 336 of file am335x_eth.h.
#define ETH_AM335X_RX_RING_SIZE 32 |
#define ETH_AM335X_RXINT 41 |
RX(受信)の割り込みベクタ
Definition at line 396 of file am335x_eth.h.
Referenced by ethhandler(), and ethinit().
#define ETH_AM335X_SL1_ADDR 0x4A100D80 |
#define ETH_AM335X_SLCTL_EN 0x00000020 |
#define ETH_AM335X_SLCTL_FD 0x00000001 |
#define ETH_AM335X_SLCTL_GIG 0x00000080 |
ギガビットモード
Definition at line 172 of file am335x_eth.h.
#define ETH_AM335X_SLCTL_LB 0x00000002 |
ループバック
Definition at line 168 of file am335x_eth.h.
#define ETH_AM335X_SS_ADDR 0x4A100000 |
#define ETH_AM335X_STATERAM_ADDR 0x4A100A00 |
#define ETH_AM335X_TDS_DIR 0x0010 |
#define ETH_AM335X_TDS_EOP 0x4000 |
#define ETH_AM335X_TDS_EOQ 0x1000 |
不明
Definition at line 373 of file am335x_eth.h.
#define ETH_AM335X_TDS_OWN 0x2000 |
DMAが所持するディスクリプタ
Definition at line 371 of file am335x_eth.h.
Referenced by ethhandler(), and ethwrite().
#define ETH_AM335X_TDS_P1 0x0001 |
#define ETH_AM335X_TDS_SOP 0x8000 |
#define ETH_AM335X_TX_RING_SIZE 16 |
#define ETH_AM335X_TXINT 42 |
TX(送信)の割り込みベクタ
Definition at line 398 of file am335x_eth.h.
Referenced by ethhandler(), and ethinit().
#define ETH_AM335X_WR_ADDR 0x4A101200 |