Lines Matching refs:op_mode

149 	void (*stop)(struct iwl_op_mode *op_mode);
150 void (*rx)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
152 void (*rx_rss)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
154 void (*async_cb)(struct iwl_op_mode *op_mode,
156 void (*queue_full)(struct iwl_op_mode *op_mode, int queue);
157 void (*queue_not_full)(struct iwl_op_mode *op_mode, int queue);
158 bool (*hw_rf_kill)(struct iwl_op_mode *op_mode, bool state);
159 void (*free_skb)(struct iwl_op_mode *op_mode, struct sk_buff *skb);
160 void (*nic_error)(struct iwl_op_mode *op_mode);
161 void (*cmd_queue_full)(struct iwl_op_mode *op_mode);
162 void (*nic_config)(struct iwl_op_mode *op_mode);
163 void (*wimax_active)(struct iwl_op_mode *op_mode);
181 static inline void iwl_op_mode_stop(struct iwl_op_mode *op_mode) in iwl_op_mode_stop() argument
184 op_mode->ops->stop(op_mode); in iwl_op_mode_stop()
187 static inline void iwl_op_mode_rx(struct iwl_op_mode *op_mode, in iwl_op_mode_rx() argument
191 return op_mode->ops->rx(op_mode, napi, rxb); in iwl_op_mode_rx()
194 static inline void iwl_op_mode_rx_rss(struct iwl_op_mode *op_mode, in iwl_op_mode_rx_rss() argument
199 op_mode->ops->rx_rss(op_mode, napi, rxb, queue); in iwl_op_mode_rx_rss()
202 static inline void iwl_op_mode_async_cb(struct iwl_op_mode *op_mode, in iwl_op_mode_async_cb() argument
205 if (op_mode->ops->async_cb) in iwl_op_mode_async_cb()
206 op_mode->ops->async_cb(op_mode, cmd); in iwl_op_mode_async_cb()
209 static inline void iwl_op_mode_queue_full(struct iwl_op_mode *op_mode, in iwl_op_mode_queue_full() argument
212 op_mode->ops->queue_full(op_mode, queue); in iwl_op_mode_queue_full()
215 static inline void iwl_op_mode_queue_not_full(struct iwl_op_mode *op_mode, in iwl_op_mode_queue_not_full() argument
218 op_mode->ops->queue_not_full(op_mode, queue); in iwl_op_mode_queue_not_full()
222 iwl_op_mode_hw_rf_kill(struct iwl_op_mode *op_mode, bool state) in iwl_op_mode_hw_rf_kill() argument
225 return op_mode->ops->hw_rf_kill(op_mode, state); in iwl_op_mode_hw_rf_kill()
228 static inline void iwl_op_mode_free_skb(struct iwl_op_mode *op_mode, in iwl_op_mode_free_skb() argument
231 op_mode->ops->free_skb(op_mode, skb); in iwl_op_mode_free_skb()
234 static inline void iwl_op_mode_nic_error(struct iwl_op_mode *op_mode) in iwl_op_mode_nic_error() argument
236 op_mode->ops->nic_error(op_mode); in iwl_op_mode_nic_error()
239 static inline void iwl_op_mode_cmd_queue_full(struct iwl_op_mode *op_mode) in iwl_op_mode_cmd_queue_full() argument
241 op_mode->ops->cmd_queue_full(op_mode); in iwl_op_mode_cmd_queue_full()
244 static inline void iwl_op_mode_nic_config(struct iwl_op_mode *op_mode) in iwl_op_mode_nic_config() argument
247 op_mode->ops->nic_config(op_mode); in iwl_op_mode_nic_config()
250 static inline void iwl_op_mode_wimax_active(struct iwl_op_mode *op_mode) in iwl_op_mode_wimax_active() argument
253 op_mode->ops->wimax_active(op_mode); in iwl_op_mode_wimax_active()