Lines Matching refs:op_mode
98 void (*stop)(struct iwl_op_mode *op_mode);
99 void (*rx)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
101 void (*rx_rss)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
103 void (*queue_full)(struct iwl_op_mode *op_mode, int queue);
104 void (*queue_not_full)(struct iwl_op_mode *op_mode, int queue);
105 bool (*hw_rf_kill)(struct iwl_op_mode *op_mode, bool state);
106 void (*free_skb)(struct iwl_op_mode *op_mode, struct sk_buff *skb);
107 void (*nic_error)(struct iwl_op_mode *op_mode, bool sync);
108 void (*cmd_queue_full)(struct iwl_op_mode *op_mode);
109 void (*nic_config)(struct iwl_op_mode *op_mode);
110 void (*wimax_active)(struct iwl_op_mode *op_mode);
111 void (*time_point)(struct iwl_op_mode *op_mode,
114 void (*device_powered_off)(struct iwl_op_mode *op_mode);
132 static inline void iwl_op_mode_stop(struct iwl_op_mode *op_mode) in iwl_op_mode_stop() argument
135 op_mode->ops->stop(op_mode); in iwl_op_mode_stop()
138 static inline void iwl_op_mode_rx(struct iwl_op_mode *op_mode, in iwl_op_mode_rx() argument
142 return op_mode->ops->rx(op_mode, napi, rxb); in iwl_op_mode_rx()
145 static inline void iwl_op_mode_rx_rss(struct iwl_op_mode *op_mode, in iwl_op_mode_rx_rss() argument
150 op_mode->ops->rx_rss(op_mode, napi, rxb, queue); in iwl_op_mode_rx_rss()
153 static inline void iwl_op_mode_queue_full(struct iwl_op_mode *op_mode, in iwl_op_mode_queue_full() argument
156 op_mode->ops->queue_full(op_mode, queue); in iwl_op_mode_queue_full()
159 static inline void iwl_op_mode_queue_not_full(struct iwl_op_mode *op_mode, in iwl_op_mode_queue_not_full() argument
162 op_mode->ops->queue_not_full(op_mode, queue); in iwl_op_mode_queue_not_full()
166 iwl_op_mode_hw_rf_kill(struct iwl_op_mode *op_mode, bool state) in iwl_op_mode_hw_rf_kill() argument
169 return op_mode->ops->hw_rf_kill(op_mode, state); in iwl_op_mode_hw_rf_kill()
172 static inline void iwl_op_mode_free_skb(struct iwl_op_mode *op_mode, in iwl_op_mode_free_skb() argument
175 if (WARN_ON_ONCE(!op_mode)) in iwl_op_mode_free_skb()
177 op_mode->ops->free_skb(op_mode, skb); in iwl_op_mode_free_skb()
180 static inline void iwl_op_mode_nic_error(struct iwl_op_mode *op_mode, bool sync) in iwl_op_mode_nic_error() argument
182 op_mode->ops->nic_error(op_mode, sync); in iwl_op_mode_nic_error()
185 static inline void iwl_op_mode_cmd_queue_full(struct iwl_op_mode *op_mode) in iwl_op_mode_cmd_queue_full() argument
187 op_mode->ops->cmd_queue_full(op_mode); in iwl_op_mode_cmd_queue_full()
190 static inline void iwl_op_mode_nic_config(struct iwl_op_mode *op_mode) in iwl_op_mode_nic_config() argument
193 if (op_mode->ops->nic_config) in iwl_op_mode_nic_config()
194 op_mode->ops->nic_config(op_mode); in iwl_op_mode_nic_config()
197 static inline void iwl_op_mode_wimax_active(struct iwl_op_mode *op_mode) in iwl_op_mode_wimax_active() argument
200 op_mode->ops->wimax_active(op_mode); in iwl_op_mode_wimax_active()
203 static inline void iwl_op_mode_time_point(struct iwl_op_mode *op_mode, in iwl_op_mode_time_point() argument
207 if (!op_mode || !op_mode->ops || !op_mode->ops->time_point) in iwl_op_mode_time_point()
209 op_mode->ops->time_point(op_mode, tp_id, tp_data); in iwl_op_mode_time_point()
212 static inline void iwl_op_mode_device_powered_off(struct iwl_op_mode *op_mode) in iwl_op_mode_device_powered_off() argument
214 if (!op_mode || !op_mode->ops || !op_mode->ops->device_powered_off) in iwl_op_mode_device_powered_off()
216 op_mode->ops->device_powered_off(op_mode); in iwl_op_mode_device_powered_off()