Lines Matching defs:dwc_softc
60 struct dwc_softc { struct
61 struct resource *res[2];
62 device_t dev;
63 phandle_t node;
64 int mii_clk;
65 device_t miibus;
66 struct mii_data * mii_softc;
67 if_t ifp;
68 int if_flags;
69 struct mtx mtx;
70 void * intr_cookie;
71 struct callout dwc_callout;
72 bool link_is_up;
73 bool is_attached;
74 bool is_detaching;
75 int tx_watchdog_count;
76 int stats_harvest_count;
77 int phy_mode;
80 clk_t clk_stmmaceth;
81 clk_t clk_pclk;
82 hwreset_t rst_stmmaceth;
83 hwreset_t rst_ahb;
86 uint32_t txpbl; /* TX Burst lenght */
87 uint32_t rxpbl; /* RX Burst lenght */
88 bool nopblx8;
89 bool fixed_burst;
90 bool mixed_burst;
91 bool aal;
92 bool dma_ext_desc;
95 bus_dma_tag_t rxdesc_tag;
96 bus_dmamap_t rxdesc_map;
97 struct dwc_hwdesc *rxdesc_ring;
98 bus_addr_t rxdesc_ring_paddr;
99 bus_dma_tag_t rxbuf_tag;
100 struct dwc_bufmap rxbuf_map[RX_DESC_COUNT];
101 uint32_t rx_idx;
104 bus_dma_tag_t txdesc_tag;
105 bus_dmamap_t txdesc_map;
106 struct dwc_hwdesc *txdesc_ring;
107 bus_addr_t txdesc_ring_paddr;
108 bus_dma_tag_t txbuf_tag;
109 struct dwc_bufmap txbuf_map[TX_DESC_COUNT];
110 uint32_t tx_desc_head;
111 uint32_t tx_desc_tail;
112 uint32_t tx_map_head;
113 uint32_t tx_map_tail;
114 int tx_desccount;
115 int tx_mapcount;