Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
stmmac.h File Reference
#include <linux/platform_device.h>

Go to the source code of this file.

Data Structures

struct  stmmac_mdio_bus_data
 
struct  stmmac_dma_cfg
 
struct  plat_stmmacenet_data
 

Macros

#define STMMAC_RX_COE_NONE   0
 
#define STMMAC_RX_COE_TYPE1   1
 
#define STMMAC_RX_COE_TYPE2   2
 
#define STMMAC_CSR_60_100M   0x0 /* MDC = clk_scr_i/42 */
 
#define STMMAC_CSR_100_150M   0x1 /* MDC = clk_scr_i/62 */
 
#define STMMAC_CSR_20_35M   0x2 /* MDC = clk_scr_i/16 */
 
#define STMMAC_CSR_35_60M   0x3 /* MDC = clk_scr_i/26 */
 
#define STMMAC_CSR_150_250M   0x4 /* MDC = clk_scr_i/102 */
 
#define STMMAC_CSR_250_300M   0x5 /* MDC = clk_scr_i/122 */
 
#define STMMAC_CSR_I_4   0x8 /* clk_csr_i/4 */
 
#define STMMAC_CSR_I_6   0x9 /* clk_csr_i/6 */
 
#define STMMAC_CSR_I_8   0xA /* clk_csr_i/8 */
 
#define STMMAC_CSR_I_10   0xB /* clk_csr_i/10 */
 
#define STMMAC_CSR_I_12   0xC /* clk_csr_i/12 */
 
#define STMMAC_CSR_I_14   0xD /* clk_csr_i/14 */
 
#define STMMAC_CSR_I_16   0xE /* clk_csr_i/16 */
 
#define STMMAC_CSR_I_18   0xF /* clk_csr_i/18 */
 
#define DMA_AXI_BLEN_4   (1 << 1)
 
#define DMA_AXI_BLEN_8   (1 << 2)
 
#define DMA_AXI_BLEN_16   (1 << 3)
 
#define DMA_AXI_BLEN_32   (1 << 4)
 
#define DMA_AXI_BLEN_64   (1 << 5)
 
#define DMA_AXI_BLEN_128   (1 << 6)
 
#define DMA_AXI_BLEN_256   (1 << 7)
 
#define DMA_AXI_BLEN_ALL
 

Macro Definition Documentation

#define DMA_AXI_BLEN_128   (1 << 6)

Definition at line 70 of file stmmac.h.

#define DMA_AXI_BLEN_16   (1 << 3)

Definition at line 67 of file stmmac.h.

#define DMA_AXI_BLEN_256   (1 << 7)

Definition at line 71 of file stmmac.h.

#define DMA_AXI_BLEN_32   (1 << 4)

Definition at line 68 of file stmmac.h.

#define DMA_AXI_BLEN_4   (1 << 1)

Definition at line 65 of file stmmac.h.

#define DMA_AXI_BLEN_64   (1 << 5)

Definition at line 69 of file stmmac.h.

#define DMA_AXI_BLEN_8   (1 << 2)

Definition at line 66 of file stmmac.h.

#define DMA_AXI_BLEN_ALL
#define STMMAC_CSR_100_150M   0x1 /* MDC = clk_scr_i/62 */

Definition at line 41 of file stmmac.h.

#define STMMAC_CSR_150_250M   0x4 /* MDC = clk_scr_i/102 */

Definition at line 44 of file stmmac.h.

#define STMMAC_CSR_20_35M   0x2 /* MDC = clk_scr_i/16 */

Definition at line 42 of file stmmac.h.

#define STMMAC_CSR_250_300M   0x5 /* MDC = clk_scr_i/122 */

Definition at line 45 of file stmmac.h.

#define STMMAC_CSR_35_60M   0x3 /* MDC = clk_scr_i/26 */

Definition at line 43 of file stmmac.h.

#define STMMAC_CSR_60_100M   0x0 /* MDC = clk_scr_i/42 */

Definition at line 40 of file stmmac.h.

#define STMMAC_CSR_I_10   0xB /* clk_csr_i/10 */

Definition at line 58 of file stmmac.h.

#define STMMAC_CSR_I_12   0xC /* clk_csr_i/12 */

Definition at line 59 of file stmmac.h.

#define STMMAC_CSR_I_14   0xD /* clk_csr_i/14 */

Definition at line 60 of file stmmac.h.

#define STMMAC_CSR_I_16   0xE /* clk_csr_i/16 */

Definition at line 61 of file stmmac.h.

#define STMMAC_CSR_I_18   0xF /* clk_csr_i/18 */

Definition at line 62 of file stmmac.h.

#define STMMAC_CSR_I_4   0x8 /* clk_csr_i/4 */

Definition at line 55 of file stmmac.h.

#define STMMAC_CSR_I_6   0x9 /* clk_csr_i/6 */

Definition at line 56 of file stmmac.h.

#define STMMAC_CSR_I_8   0xA /* clk_csr_i/8 */

Definition at line 57 of file stmmac.h.

#define STMMAC_RX_COE_NONE   0

Definition at line 31 of file stmmac.h.

#define STMMAC_RX_COE_TYPE1   1

Definition at line 32 of file stmmac.h.

#define STMMAC_RX_COE_TYPE2   2

Definition at line 33 of file stmmac.h.