Lines Matching defs:fbnic_dev
23 struct fbnic_dev { struct
24 struct device *dev;
25 struct net_device *netdev;
26 struct dentry *dbg_fbd;
27 struct device *hwmon;
29 u32 __iomem *uc_addr0;
30 u32 __iomem *uc_addr4;
31 const struct fbnic_mac *mac;
32 unsigned int fw_msix_vector;
33 unsigned int pcs_msix_vector;
34 unsigned short num_irqs;
36 struct {
39 } napi_irq[FBNIC_MAX_NAPI_VECTORS];
41 struct delayed_work service_task;
43 struct fbnic_fw_mbx mbx[FBNIC_IPC_MBX_INDICES];
44 struct fbnic_fw_cap fw_cap;
45 struct fbnic_fw_completion *cmpl_data;
47 spinlock_t fw_tx_lock;
49 unsigned long last_heartbeat_request;
50 unsigned long last_heartbeat_response;
51 u8 fw_heartbeat_enabled;
53 u64 dsn;
54 u32 mps;
55 u32 readrq;
58 struct fbnic_act_tcam act_tcam[FBNIC_RPC_TCAM_ACT_NUM_ENTRIES];
59 struct fbnic_mac_addr mac_addr[FBNIC_RPC_TCAM_MACDA_NUM_ENTRIES];
60 u8 mac_addr_boundary;
61 u8 tce_tcam_last;
64 u16 max_num_queues;
91 static inline bool fbnic_present(struct fbnic_dev *fbd) in fbnic_present() argument