Lines Matching defs:fec_enet_private
510 struct fec_enet_private { struct
512 void __iomem *hwp;
514 struct net_device *netdev;
516 struct clk *clk_ipg;
517 struct clk *clk_ahb;
518 struct clk *clk_ref;
519 struct clk *clk_enet_out;
520 struct clk *clk_ptp;
522 bool ptp_clk_on;
523 struct mutex ptp_clk_mutex;
524 unsigned int num_tx_queues;
525 unsigned int num_rx_queues;
528 struct fec_enet_priv_tx_q *tx_queue[FEC_ENET_MAX_TX_QS];
529 struct fec_enet_priv_rx_q *rx_queue[FEC_ENET_MAX_RX_QS];
531 unsigned int total_tx_ring_size;
532 unsigned int total_rx_ring_size;
534 struct platform_device *pdev;
536 int dev_id;
539 struct mii_bus *mii_bus;
540 uint phy_speed;
541 phy_interface_t phy_interface;
542 struct device_node *phy_node;
543 int link;
544 int full_duplex;
545 int speed;
546 int irq[FEC_IRQ_NUM];
547 bool bufdesc_ex;
548 int pause_flag;
549 int wol_flag;
550 u32 quirks;
552 struct napi_struct napi;
553 int csum_flags;
555 struct work_struct tx_timeout_work;
557 struct ptp_clock *ptp_clock;
558 struct ptp_clock_info ptp_caps;
559 unsigned long last_overflow_check;
560 spinlock_t tmreg_lock;
561 struct cyclecounter cc;
562 struct timecounter tc;
563 int rx_hwtstamp_filter;
564 u32 base_incval;
565 u32 cycle_speed;
566 int hwts_rx_en;
567 int hwts_tx_en;
568 struct delayed_work time_keep;
569 struct regulator *reg_phy;
570 struct fec_stop_mode_gpr stop_gpr;
572 unsigned int tx_align;
573 unsigned int rx_align;
576 unsigned int rx_pkts_itr;
577 unsigned int rx_time_itr;
578 unsigned int tx_pkts_itr;
579 unsigned int tx_time_itr;
580 unsigned int itr_clk_rate;
582 u32 rx_copybreak;
585 unsigned int ptp_inc;
588 int pps_channel;
589 unsigned int reload_period;
590 int pps_enable;
591 unsigned int next_counter;
593 u64 ethtool_stats[];