Lines Matching defs:ravb_hw_info
1014 struct ravb_hw_info { struct
1015 void (*rx_ring_free)(struct net_device *ndev, int q);
1016 void (*rx_ring_format)(struct net_device *ndev, int q);
1017 void *(*alloc_rx_desc)(struct net_device *ndev, int q);
1018 bool (*receive)(struct net_device *ndev, int *quota, int q);
1019 void (*set_rate)(struct net_device *ndev);
1020 int (*set_feature)(struct net_device *ndev, netdev_features_t features);
1021 int (*dmac_init)(struct net_device *ndev);
1022 void (*emac_init)(struct net_device *ndev);
1023 const char (*gstrings_stats)[ETH_GSTRING_LEN];
1024 size_t gstrings_size;
1025 netdev_features_t net_hw_features;
1026 netdev_features_t net_features;
1027 int stats_len;
1028 size_t max_rx_len;
1029 u32 tccr_mask;
1030 u32 rx_max_buf_size;
1031 unsigned aligned_tx: 1;
1034 unsigned internal_delay:1; /* AVB-DMAC has internal delays */
1035 unsigned tx_counters:1; /* E-MAC has TX counters */
1036 unsigned carrier_counters:1; /* E-MAC has carrier counters */
1037 unsigned multi_irqs:1; /* AVB-DMAC and E-MAC has multiple irqs */
1038 unsigned irq_en_dis:1; /* Has separate irq enable and disable regs */
1039 unsigned err_mgmt_irqs:1; /* Line1 (Err) and Line2 (Mgmt) irqs are separate */
1040 unsigned gptp:1; /* AVB-DMAC has gPTP support */
1041 unsigned ccc_gac:1; /* AVB-DMAC has gPTP support active in config mode */
1042 unsigned gptp_ref_clk:1; /* gPTP has separate reference clock */
1043 unsigned nc_queues:1; /* AVB-DMAC has RX and TX NC queues */
1044 unsigned magic_pkt:1; /* E-MAC supports magic packet detection */
1045 unsigned half_duplex:1; /* E-MAC supports half duplex mode */