Lines Matching defs:sh_eth_private
513 struct sh_eth_private { struct
514 struct platform_device *pdev;
515 struct sh_eth_cpu_data *cd;
516 const u16 *reg_offset;
517 void __iomem *addr;
518 void __iomem *tsu_addr;
519 struct clk *clk;
520 u32 num_rx_ring;
521 u32 num_tx_ring;
522 dma_addr_t rx_desc_dma;
523 dma_addr_t tx_desc_dma;
524 struct sh_eth_rxdesc *rx_ring;
525 struct sh_eth_txdesc *tx_ring;
526 struct sk_buff **rx_skbuff;
527 struct sk_buff **tx_skbuff;
528 spinlock_t lock; /* Register access lock */
529 u32 cur_rx, dirty_rx; /* Producer/consumer ring indices */
530 u32 cur_tx, dirty_tx;
531 u32 rx_buf_sz; /* Based on MTU+slack. */
532 struct napi_struct napi;
533 bool irq_enabled;
535 u32 phy_id; /* PHY ID */
536 struct mii_bus *mii_bus; /* MDIO bus control */
537 int link;
538 phy_interface_t phy_interface;
539 int msg_enable;
540 int speed;
541 int duplex;
542 int port; /* for TSU */
543 int vlan_num_ids; /* for VLAN tag filter */
545 unsigned no_ether_link:1;
546 unsigned ether_link_active_low:1;
547 unsigned is_opened:1;
548 unsigned wol_enabled:1;