Lines Matching refs:op_mode

150 	void (*stop)(struct iwl_op_mode *op_mode);
151 int (*rx)(struct iwl_op_mode *op_mode, struct iwl_rx_cmd_buffer *rxb,
153 void (*napi_add)(struct iwl_op_mode *op_mode,
158 void (*queue_full)(struct iwl_op_mode *op_mode, int queue);
159 void (*queue_not_full)(struct iwl_op_mode *op_mode, int queue);
160 bool (*hw_rf_kill)(struct iwl_op_mode *op_mode, bool state);
161 void (*free_skb)(struct iwl_op_mode *op_mode, struct sk_buff *skb);
162 void (*nic_error)(struct iwl_op_mode *op_mode);
163 void (*cmd_queue_full)(struct iwl_op_mode *op_mode);
164 void (*nic_config)(struct iwl_op_mode *op_mode);
165 void (*wimax_active)(struct iwl_op_mode *op_mode);
166 int (*enter_d0i3)(struct iwl_op_mode *op_mode);
167 int (*exit_d0i3)(struct iwl_op_mode *op_mode);
185 static inline void iwl_op_mode_stop(struct iwl_op_mode *op_mode) in iwl_op_mode_stop() argument
188 op_mode->ops->stop(op_mode); in iwl_op_mode_stop()
191 static inline int iwl_op_mode_rx(struct iwl_op_mode *op_mode, in iwl_op_mode_rx() argument
195 return op_mode->ops->rx(op_mode, rxb, cmd); in iwl_op_mode_rx()
198 static inline void iwl_op_mode_queue_full(struct iwl_op_mode *op_mode, in iwl_op_mode_queue_full() argument
201 op_mode->ops->queue_full(op_mode, queue); in iwl_op_mode_queue_full()
204 static inline void iwl_op_mode_queue_not_full(struct iwl_op_mode *op_mode, in iwl_op_mode_queue_not_full() argument
207 op_mode->ops->queue_not_full(op_mode, queue); in iwl_op_mode_queue_not_full()
211 iwl_op_mode_hw_rf_kill(struct iwl_op_mode *op_mode, bool state) in iwl_op_mode_hw_rf_kill() argument
214 return op_mode->ops->hw_rf_kill(op_mode, state); in iwl_op_mode_hw_rf_kill()
217 static inline void iwl_op_mode_free_skb(struct iwl_op_mode *op_mode, in iwl_op_mode_free_skb() argument
220 op_mode->ops->free_skb(op_mode, skb); in iwl_op_mode_free_skb()
223 static inline void iwl_op_mode_nic_error(struct iwl_op_mode *op_mode) in iwl_op_mode_nic_error() argument
225 op_mode->ops->nic_error(op_mode); in iwl_op_mode_nic_error()
228 static inline void iwl_op_mode_cmd_queue_full(struct iwl_op_mode *op_mode) in iwl_op_mode_cmd_queue_full() argument
230 op_mode->ops->cmd_queue_full(op_mode); in iwl_op_mode_cmd_queue_full()
233 static inline void iwl_op_mode_nic_config(struct iwl_op_mode *op_mode) in iwl_op_mode_nic_config() argument
236 op_mode->ops->nic_config(op_mode); in iwl_op_mode_nic_config()
239 static inline void iwl_op_mode_wimax_active(struct iwl_op_mode *op_mode) in iwl_op_mode_wimax_active() argument
242 op_mode->ops->wimax_active(op_mode); in iwl_op_mode_wimax_active()
245 static inline int iwl_op_mode_enter_d0i3(struct iwl_op_mode *op_mode) in iwl_op_mode_enter_d0i3() argument
249 if (!op_mode->ops->enter_d0i3) in iwl_op_mode_enter_d0i3()
251 return op_mode->ops->enter_d0i3(op_mode); in iwl_op_mode_enter_d0i3()
254 static inline int iwl_op_mode_exit_d0i3(struct iwl_op_mode *op_mode) in iwl_op_mode_exit_d0i3() argument
258 if (!op_mode->ops->exit_d0i3) in iwl_op_mode_exit_d0i3()
260 return op_mode->ops->exit_d0i3(op_mode); in iwl_op_mode_exit_d0i3()
263 static inline void iwl_op_mode_napi_add(struct iwl_op_mode *op_mode, in iwl_op_mode_napi_add() argument
269 if (!op_mode->ops->napi_add) in iwl_op_mode_napi_add()
271 op_mode->ops->napi_add(op_mode, napi, napi_dev, poll, weight); in iwl_op_mode_napi_add()