Lines Matching defs:tulip_softc

328 struct tulip_softc {  struct
329 device_t sc_dev; /* generic device information */
330 bus_space_tag_t sc_st; /* bus space tag */
331 bus_space_handle_t sc_sh; /* bus space handle */
332 bus_dma_tag_t sc_dmat; /* bus DMA tag */
333 struct ethercom sc_ethercom; /* ethernet common data */
335 struct tulip_stats sc_stats; /* debugging stats */
340 uint8_t *sc_srom;
341 int sc_srom_addrbits;
346 const struct tulip_mediasw *sc_mediasw;
347 mii_bitbang_ops_t sc_bitbang_ops;
376 void (*sc_reset)(struct tulip_softc *); argument
379 void (*sc_preinit)(struct tulip_softc *); argument
382 void (*sc_filter_setup)(struct tulip_softc *); argument
392 int (*sc_enable)(struct tulip_softc *); argument
393 void (*sc_disable)(struct tulip_softc *); argument
394 void (*sc_power)(struct tulip_softc *, int); argument
400 int sc_regshift;
402 uint32_t sc_busmode; /* copy of CSR_BUSMODE */
403 uint32_t sc_opmode; /* copy of CSR_OPMODE */
404 uint32_t sc_inten; /* copy of CSR_INTEN */
406 uint32_t sc_rxint_mask; /* mask of Rx interrupts we want */
407 uint32_t sc_txint_mask; /* mask of Tx interrupts we want */
409 uint32_t sc_filtmode; /* filter mode we're using */
411 bus_dma_segment_t sc_cdseg; /* control data memory */
412 int sc_cdnseg; /* number of segments */
413 bus_dmamap_t sc_cddmamap; /* control data DMA map */
419 struct tulip_txsoft sc_txsoft[TULIP_TXQUEUELEN];
420 struct tulip_rxsoft sc_rxsoft[TULIP_NRXDESC];
425 struct tulip_control_data *sc_control_data;
430 int sc_txfree; /* number of free Tx descriptors */
431 int sc_txnext; /* next ready Tx descriptor */
432 int sc_ntxsegs; /* number of transmit segs per pkt */
434 uint32_t sc_tdctl_ch; /* conditional desc chaining */
435 uint32_t sc_tdctl_er; /* conditional desc end-of-ring */
437 uint32_t sc_setup_fsls; /* FS|LS on setup descriptor */
439 struct tulip_txsq sc_txfreeq; /* free Tx descsofts */
440 struct tulip_txsq sc_txdirtyq; /* dirty Tx descsofts */
442 u_short sc_if_flags;
444 int sc_rxptr; /* next ready RX descriptor/descsoft */
446 krndsource_t sc_rnd_source; /* random source */