Lines Matching defs:glc_softc
65 struct glc_softc { struct
66 if_t sc_ifp;
67 device_t sc_self;
68 struct mtx sc_mtx;
69 u_char sc_enaddr[ETHER_ADDR_LEN];
70 int sc_tx_vlan, sc_rx_vlan;
71 int sc_ifpflags;
73 uint64_t sc_dma_base[5];
74 bus_dma_tag_t sc_dmadesc_tag;
76 int sc_irqid;
77 struct resource *sc_irq;
78 void *sc_irqctx;
79 uint64_t *sc_hwirq_status;
80 volatile uint64_t sc_interrupt_status;
82 struct ifmedia sc_media;
86 bus_dma_tag_t sc_txdma_tag;
87 struct glc_txsoft sc_txsoft[GLC_MAX_TX_PACKETS];
88 struct glc_dmadesc *sc_txdmadesc;
89 int next_txdma_slot, first_used_txdma_slot, bsy_txdma_slots;
90 bus_dmamap_t sc_txdmadesc_map;
91 bus_addr_t sc_txdmadesc_phys;
93 struct glc_txsq sc_txfreeq;
94 struct glc_txsq sc_txdirtyq;
98 bus_dma_tag_t sc_rxdma_tag;
99 struct glc_rxsoft sc_rxsoft[GLC_MAX_RX_PACKETS];
100 struct glc_dmadesc *sc_rxdmadesc;
101 int sc_next_rxdma_slot;
102 bus_dmamap_t sc_rxdmadesc_map;
103 bus_addr_t sc_rxdmadesc_phys;
105 int sc_bus, sc_dev;
106 int sc_wdog_timer;
107 struct callout sc_tick_ch;