Lines Matching defs:adapter
654 struct adapter *adapter; member
1104 struct adapter { struct
1122 struct adapter_params params; argument
1123 struct cxgb4_virt_res vres;
1124 unsigned int swintr;
1127 struct msix_info *msix_info;
1128 struct msix_bmap msix_bmap;
1130 struct doorbell_stats db_stats;
1131 struct sge sge;
1133 struct net_device *port[MAX_NPORTS];
1134 u8 chan_map[NCHAN]; /* channel -> port map */
1136 struct vf_info *vfinfo;
1137 u8 num_vfs;
1139 u32 filter_mode;
1140 unsigned int l2t_start;
1141 unsigned int l2t_end;
1142 struct l2t_data *l2t;
1143 unsigned int clipt_start;
1144 unsigned int clipt_end;
1145 struct clip_tbl *clipt;
1146 unsigned int rawf_start;
1147 unsigned int rawf_cnt;
1148 struct smt_data *smt;
1149 struct cxgb4_uld_info *uld;
1150 void *uld_handle[CXGB4_ULD_MAX];
1151 unsigned int num_uld;
1152 unsigned int num_ofld_uld;
1153 struct list_head list_node;
1154 struct list_head rcu_node;
1155 struct list_head mac_hlist; /* list of MAC addresses in MPS Hash */
1156 struct list_head mps_ref;
1157 spinlock_t mps_ref_lock; /* lock for syncing mps ref/def activities */
1159 void *iscsi_ppm;
1161 struct tid_info tids;
1162 void **tid_release_head;
1163 spinlock_t tid_release_lock;
1164 struct workqueue_struct *workq;
1165 struct work_struct tid_release_task;
1166 struct work_struct db_full_task;
1167 struct work_struct db_drop_task;
1168 struct work_struct fatal_err_notify_task;
1169 bool tid_release_task_busy;
1172 spinlock_t mbox_lock;
1173 struct mbox_list mlist;
1177 struct mbox_cmd_log *mbox_log;
1179 struct mutex uld_mutex;
1181 struct dentry *debugfs_root;
1182 bool use_bd; /* Use SGE Back Door intfc for reading SGE Contexts */
1183 bool trace_rss; /* 1 implies that different RSS flit per filter is
1188 struct ptp_clock *ptp_clock;
1189 struct ptp_clock_info ptp_clock_info;
1190 struct sk_buff *ptp_tx_skb;
1192 spinlock_t ptp_lock;
1193 spinlock_t stats_lock;
1194 spinlock_t win0_lock ____cacheline_aligned_in_smp;
1197 struct cxgb4_tc_u32_table *tc_u32;
1198 struct chcr_ktls chcr_ktls;
1199 struct chcr_stats_debug chcr_stats;
1201 struct ch_ktls_stats_debug ch_ktls_stats;
1204 struct ch_ipsec_stats_debug ch_ipsec_stats;
1208 bool tc_flower_initialized;
1209 struct rhashtable flower_tbl;
1210 struct rhashtable_params flower_ht_params;
1211 struct timer_list flower_stats_timer;
1212 struct work_struct flower_stats_work;
1215 struct ethtool_dump eth_dump;
1218 struct hma_data hma;
1220 struct srq_data *srq;
1223 struct vmcoredd_data vmcoredd;
1225 struct ch_thermal ch_thermal;
1229 struct cxgb4_tc_mqprio *tc_mqprio;
1232 struct cxgb4_tc_matchall *tc_matchall;
1235 struct cxgb4_ethtool_filter *ethtool_filters;
1543 static inline void t4_set_hw_addr(struct adapter *adapter, int port_idx, in t4_set_hw_addr()
1648 #define for_each_port(adapter, iter) \ argument
1692 static inline unsigned int core_ticks_to_us(const struct adapter *adapter, in core_ticks_to_us()
1801 static inline int t4_link_l1cfg(struct adapter *adapter, unsigned int mbox, in t4_link_l1cfg()
1808 static inline int t4_link_l1cfg_ns(struct adapter *adapter, unsigned int mbox, in t4_link_l1cfg_ns()