Lines Matching +full:queue +full:- +full:rx

1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2014, 2018-2021, 2024 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
12 #include "iwl-dbg-tlv.h"
23 * DOC: Operational mode - what is it ?
39 * 1) The driver layer (iwl-drv.c) chooses the op_mode based on the
41 * 2) The driver layer starts the op_mode (ops->start)
48 * struct iwl_op_mode_ops - op_mode specific operations
55 * out *iff* the opmode will never run on hardware with multi-queue capability.
61 * @rx: Rx notification to the op_mode. rxb is the Rx buffer itself. Cmd is the
62 * HCMD this Rx responds to. Can't sleep.
63 * @rx_rss: data queue RX notification to the op_mode, for (data) notifications
64 * received on the RSS queue(s). The queue parameter indicates which of the
65 * RSS queues received this frame; it will always be non-zero.
67 * @queue_full: notifies that a HW queue is full.
69 * @queue_not_full: notifies that a HW queue is not full any more.
82 * @cmd_queue_full: Called when the command queue gets full. Must be atomic and
99 void (*rx)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
102 struct iwl_rx_cmd_buffer *rxb, unsigned int queue);
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);
121 * struct iwl_op_mode - operational mode
135 op_mode->ops->stop(op_mode);
142 return op_mode->ops->rx(op_mode, napi, rxb);
148 unsigned int queue)
150 op_mode->ops->rx_rss(op_mode, napi, rxb, queue);
154 int queue)
156 op_mode->ops->queue_full(op_mode, queue);
160 int queue)
162 op_mode->ops->queue_not_full(op_mode, queue);
169 return op_mode->ops->hw_rf_kill(op_mode, state);
177 op_mode->ops->free_skb(op_mode, skb);
182 op_mode->ops->nic_error(op_mode, sync);
187 op_mode->ops->cmd_queue_full(op_mode);
193 if (op_mode->ops->nic_config)
194 op_mode->ops->nic_config(op_mode);
200 op_mode->ops->wimax_active(op_mode);
207 if (!op_mode || !op_mode->ops || !op_mode->ops->time_point)
209 op_mode->ops->time_point(op_mode, tp_id, tp_data);
214 if (!op_mode || !op_mode->ops || !op_mode->ops->device_powered_off)
216 op_mode->ops->device_powered_off(op_mode);