Lines Matching defs:fec_enet_private
469 struct fec_enet_private { struct
471 void __iomem *hwp;
473 struct net_device *netdev;
475 struct clk *clk_ipg;
476 struct clk *clk_ahb;
477 struct clk *clk_ref;
478 struct clk *clk_enet_out;
479 struct clk *clk_ptp;
481 bool ptp_clk_on;
482 struct mutex ptp_clk_mutex;
483 unsigned int num_tx_queues;
484 unsigned int num_rx_queues;
487 struct fec_enet_priv_tx_q *tx_queue[FEC_ENET_MAX_TX_QS];
488 struct fec_enet_priv_rx_q *rx_queue[FEC_ENET_MAX_RX_QS];
490 unsigned int total_tx_ring_size;
491 unsigned int total_rx_ring_size;
493 unsigned long work_tx;
494 unsigned long work_rx;
495 unsigned long work_ts;
496 unsigned long work_mdio;
498 unsigned short bufdesc_size;
500 struct platform_device *pdev;
502 int dev_id;
505 struct mii_bus *mii_bus;
506 struct phy_device *phy_dev;
507 int mii_timeout;
508 uint phy_speed;
509 phy_interface_t phy_interface;
510 struct device_node *phy_node;
511 int link;
512 int full_duplex;
513 int speed;
514 struct completion mdio_done;
515 int irq[FEC_IRQ_NUM];
516 bool bufdesc_ex;
517 int pause_flag;
518 int wol_flag;
519 u32 quirks;
521 struct napi_struct napi;
522 int csum_flags;
524 struct work_struct tx_timeout_work;
526 struct ptp_clock *ptp_clock;
527 struct ptp_clock_info ptp_caps;
528 unsigned long last_overflow_check;
529 spinlock_t tmreg_lock;
530 struct cyclecounter cc;
531 struct timecounter tc;
532 int rx_hwtstamp_filter;
533 u32 base_incval;
534 u32 cycle_speed;
535 int hwts_rx_en;
536 int hwts_tx_en;
537 struct delayed_work time_keep;
538 struct regulator *reg_phy;
540 unsigned int tx_align;
541 unsigned int rx_align;
566 uint fec_ptp_check_pps_event(struct fec_enet_private *fep); argument