Lines Matching defs:sh_eth_private
529 struct sh_eth_private { struct
530 struct platform_device *pdev;
531 struct sh_eth_cpu_data *cd;
532 const u16 *reg_offset;
533 void __iomem *addr;
534 void __iomem *tsu_addr;
535 struct clk *clk;
536 u32 num_rx_ring;
537 u32 num_tx_ring;
538 dma_addr_t rx_desc_dma;
539 dma_addr_t tx_desc_dma;
540 struct sh_eth_rxdesc *rx_ring;
541 struct sh_eth_txdesc *tx_ring;
542 struct sk_buff **rx_skbuff;
543 struct sk_buff **tx_skbuff;
544 spinlock_t lock; /* Register access lock */
545 u32 cur_rx, dirty_rx; /* Producer/consumer ring indices */
546 u32 cur_tx, dirty_tx;
547 u32 rx_buf_sz; /* Based on MTU+slack. */
548 struct napi_struct napi;
549 bool irq_enabled;
551 u32 phy_id; /* PHY ID */
552 struct mii_bus *mii_bus; /* MDIO bus control */
553 int link;
554 phy_interface_t phy_interface;
555 int msg_enable;
556 int speed;
557 int duplex;
558 int port; /* for TSU */
559 int vlan_num_ids; /* for VLAN tag filter */
561 unsigned no_ether_link:1;
562 unsigned ether_link_active_low:1;
563 unsigned is_opened:1;
564 unsigned wol_enabled:1;