Lines Matching defs:fec_enet_private

499 struct fec_enet_private {  struct
501 void __iomem *hwp;
503 struct net_device *netdev;
505 struct clk *clk_ipg;
506 struct clk *clk_ahb;
507 struct clk *clk_ref;
508 struct clk *clk_enet_out;
509 struct clk *clk_ptp;
511 bool ptp_clk_on;
512 struct mutex ptp_clk_mutex;
513 unsigned int num_tx_queues;
514 unsigned int num_rx_queues;
517 struct fec_enet_priv_tx_q *tx_queue[FEC_ENET_MAX_TX_QS];
518 struct fec_enet_priv_rx_q *rx_queue[FEC_ENET_MAX_RX_QS];
520 unsigned int total_tx_ring_size;
521 unsigned int total_rx_ring_size;
523 unsigned long work_tx;
524 unsigned long work_rx;
525 unsigned long work_ts;
526 unsigned long work_mdio;
528 struct platform_device *pdev;
530 int dev_id;
533 struct mii_bus *mii_bus;
534 uint phy_speed;
535 phy_interface_t phy_interface;
536 struct device_node *phy_node;
537 int link;
538 int full_duplex;
539 int speed;
540 struct completion mdio_done;
541 int irq[FEC_IRQ_NUM];
542 bool bufdesc_ex;
543 int pause_flag;
544 int wol_flag;
545 u32 quirks;
547 struct napi_struct napi;
548 int csum_flags;
550 struct work_struct tx_timeout_work;
552 struct ptp_clock *ptp_clock;
553 struct ptp_clock_info ptp_caps;
554 unsigned long last_overflow_check;
555 spinlock_t tmreg_lock;
556 struct cyclecounter cc;
557 struct timecounter tc;
558 int rx_hwtstamp_filter;
559 u32 base_incval;
560 u32 cycle_speed;
561 int hwts_rx_en;
562 int hwts_tx_en;
563 struct delayed_work time_keep;
564 struct regulator *reg_phy;
566 unsigned int tx_align;
567 unsigned int rx_align;
570 unsigned int rx_pkts_itr;
571 unsigned int rx_time_itr;
572 unsigned int tx_pkts_itr;
573 unsigned int tx_time_itr;
574 unsigned int itr_clk_rate;
576 u32 rx_copybreak;
579 unsigned int ptp_inc;
582 int pps_channel;
583 unsigned int reload_period;
584 int pps_enable;
585 unsigned int next_counter;
587 u64 ethtool_stats[0];