Lines Matching defs:efx_nic

710 struct efx_nic {  struct
715 const struct efx_nic_type *type; argument
716 int legacy_irq;
717 bool legacy_irq_enabled;
718 struct workqueue_struct *workqueue;
719 char workqueue_name[16];
720 struct work_struct reset_work;
721 resource_size_t membase_phys;
722 void __iomem *membase;
724 enum efx_int_mode interrupt_mode;
725 bool irq_rx_adaptive;
726 unsigned int irq_rx_moderation;
727 u32 msg_enable;
729 enum nic_state state;
730 unsigned long reset_pending;
732 struct efx_channel *channel[EFX_MAX_CHANNELS];
733 char channel_name[EFX_MAX_CHANNELS][IFNAMSIZ + 6];
735 unsigned rxq_entries;
736 unsigned txq_entries;
737 unsigned next_buffer_table;
738 unsigned n_channels;
739 unsigned n_rx_channels;
740 unsigned tx_channel_offset;
741 unsigned n_tx_channels;
742 unsigned int rx_buffer_len;
743 unsigned int rx_buffer_order;
744 u8 rx_hash_key[40];
745 u32 rx_indir_table[128];
747 unsigned int_error_count;
748 unsigned long int_error_expire;
750 struct efx_buffer irq_status;
751 unsigned irq_zero_count;
752 unsigned fatal_irq_level;
755 struct list_head mtd_list;
758 void *nic_data;
760 struct mutex mac_lock;
761 struct work_struct mac_work;
762 bool port_enabled;
764 bool port_initialized;
765 struct net_device *net_dev;
767 struct efx_buffer stats_buffer;
769 const struct efx_mac_operations *mac_op;
771 unsigned int phy_type;
772 const struct efx_phy_operations *phy_op;
773 void *phy_data;
774 struct mdio_if_info mdio;
775 unsigned int mdio_bus;
776 enum efx_phy_mode phy_mode;
778 u32 link_advertising;
779 struct efx_link_state link_state;
780 unsigned int n_link_state_changes;
804 static inline int efx_dev_registered(struct efx_nic *efx) in efx_dev_registered() argument