Lines Matching defs:altera_tse_private
396 struct altera_tse_private { struct
397 struct net_device *dev;
398 struct device *device;
399 struct napi_struct napi;
402 struct altera_tse_mac __iomem *mac_dev;
405 u32 revision;
408 void __iomem *rx_dma_csr;
409 void __iomem *rx_dma_desc;
410 void __iomem *rx_dma_resp;
413 void __iomem *tx_dma_csr;
414 void __iomem *tx_dma_desc;
417 void __iomem *pcs_base;
420 struct tse_buffer *rx_ring;
421 u32 rx_cons;
422 u32 rx_prod;
423 u32 rx_ring_size;
424 u32 rx_dma_buf_sz;
427 struct tse_buffer *tx_ring;
428 u32 tx_prod;
429 u32 tx_cons;
430 u32 tx_ring_size;
433 u32 tx_irq;
434 u32 rx_irq;
437 u32 tx_fifo_depth;
438 u32 rx_fifo_depth;
441 u32 hash_filter;
442 u32 added_unicast;
445 u32 txdescmem;
446 u32 rxdescmem;
447 dma_addr_t rxdescmem_busaddr;
448 dma_addr_t txdescmem_busaddr;
449 u32 txctrlreg;
450 u32 rxctrlreg;
451 dma_addr_t rxdescphys;
452 dma_addr_t txdescphys;
454 struct list_head txlisthd;
455 struct list_head rxlisthd;
458 spinlock_t mac_cfg_lock;
460 spinlock_t tx_lock;
462 spinlock_t rxdma_irq_lock;
465 int phy_addr; /* PHY's MDIO address, -1 for autodetection */
466 phy_interface_t phy_iface;
467 struct mii_bus *mdio;
468 int oldspeed;
469 int oldduplex;
470 int oldlink;
473 u32 msg_enable;
475 struct altera_dmaops *dmaops;
477 struct phylink *phylink;
478 struct phylink_config phylink_config;
479 struct phylink_pcs *pcs;