63 #ifndef __iwl_op_mode_h__
64 #define __iwl_op_mode_h__
138 struct dentry *dbgfs_dir);
166 char op_mode_specific[0]
__aligned(
sizeof(
void *));
172 op_mode->
ops->stop(op_mode);
175 static inline int iwl_op_mode_rx(
struct iwl_op_mode *op_mode,
179 return op_mode->
ops->rx(op_mode, rxb, cmd);
182 static inline void iwl_op_mode_queue_full(
struct iwl_op_mode *op_mode,
185 op_mode->
ops->queue_full(op_mode, queue);
188 static inline void iwl_op_mode_queue_not_full(
struct iwl_op_mode *op_mode,
191 op_mode->
ops->queue_not_full(op_mode, queue);
194 static inline void iwl_op_mode_hw_rf_kill(
struct iwl_op_mode *op_mode,
197 op_mode->
ops->hw_rf_kill(op_mode, state);
200 static inline void iwl_op_mode_free_skb(
struct iwl_op_mode *op_mode,
203 op_mode->
ops->free_skb(op_mode, skb);
206 static inline void iwl_op_mode_nic_error(
struct iwl_op_mode *op_mode)
208 op_mode->
ops->nic_error(op_mode);
211 static inline void iwl_op_mode_cmd_queue_full(
struct iwl_op_mode *op_mode)
213 op_mode->
ops->cmd_queue_full(op_mode);
216 static inline void iwl_op_mode_nic_config(
struct iwl_op_mode *op_mode)
219 op_mode->
ops->nic_config(op_mode);
222 static inline void iwl_op_mode_wimax_active(
struct iwl_op_mode *op_mode)
224 op_mode->
ops->wimax_active(op_mode);