linux/drivers/net/wireless/intel/iwlwifi
Mordechay Goodstein 4f4822b7cd iwlwifi: move txq-specific from trans_pcie to common trans
We don't want to have txq code in the PCIe transport code, so move all
the relevant elements to a new iwl_txq structure and store it in
iwl_trans.

spatch

@ replace_pcie @
struct iwl_trans_pcie *trans_pcie;
@@

(
-trans_pcie->queue_stopped
+trans->txqs.queue_stopped
|
-trans_pcie->queue_used
+trans->txqs.queue_used
|
-trans_pcie->txq
+trans->txqs.txq
|
-trans_pcie->txq
+trans->txqs.txq
|
-trans_pcie->cmd_queue
+trans->txqs.cmd.q_id
|
-trans_pcie->cmd_fifo
+trans->txqs.cmd.fifo
|
-trans_pcie->cmd_q_wdg_timeout
+trans->txqs.cmd.wdg_timeout
)

// clean all new unused variables
@ depends on replace_pcie @
type T;
identifier i;
expression E;
@@
- T i = E;
 ... when != i

Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200529092401.a428d3c9d66f.Ie04ae55f33954636a39c98e7ae1e739c0507435b@changeid
2020-05-29 10:32:30 +03:00
..
cfg iwlwifi: use longer queues for 256-BA 2020-05-08 09:52:56 +03:00
dvm iwlwifi: remove outdated copyright print/module statement 2020-05-08 09:53:06 +03:00
fw iwlwifi: acpi: evaluate dsm to enable 5.2 bands in Indonesia 2020-05-29 10:32:19 +03:00
mvm iwlwifi: acpi: evaluate dsm to enable 5.2 bands in Indonesia 2020-05-29 10:32:19 +03:00
pcie iwlwifi: move txq-specific from trans_pcie to common trans 2020-05-29 10:32:30 +03:00
iwl-agn-hw.h
iwl-config.h iwlwifi: pcie: convert all AX101 devices to the device tables 2020-05-08 09:52:10 +03:00
iwl-context-info-gen3.h iwlwifi: pcie: gen3: indicate 8k/12k RB size to device 2020-05-29 10:32:22 +03:00
iwl-context-info.h iwlwifi: allocate more receive buffers for HE devices 2019-12-23 11:54:31 +02:00
iwl-csr.h wireless-drivers-next patches for v5.6 2020-01-27 11:25:36 +01:00
iwl-dbg-tlv.c iwlwifi: yoyo: don't access TLV before verifying len 2020-05-08 09:50:46 +03:00
iwl-dbg-tlv.h iwlwifi: yoyo: don't allow changing the domain via debugfs 2020-01-04 12:41:55 +02:00
iwl-debug.c
iwl-debug.h
iwl-devtrace-data.h
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c
iwl-devtrace.h
iwl-drv.c iwlwifi: remove outdated copyright print/module statement 2020-05-08 09:53:06 +03:00
iwl-drv.h iwlwifi: remove outdated copyright print/module statement 2020-05-08 09:53:06 +03:00
iwl-eeprom-parse.c
iwl-eeprom-parse.h
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h iwlwifi: use longer queues for 256-BA 2020-05-08 09:52:56 +03:00
iwl-io.c iwlwifi: remove CSR registers abstraction 2019-12-23 11:54:32 +02:00
iwl-io.h
iwl-modparams.h iwlwifi: remove antenna_coupling module parameter 2020-05-08 09:50:42 +03:00
iwl-nvm-parse.c iwlwifi: set NO_HE if the regulatory domain forbids it 2020-05-29 10:31:58 +03:00
iwl-nvm-parse.h iwlwifi: remove lar_disable module parameter 2019-12-24 01:34:52 +02:00
iwl-op-mode.h
iwl-phy-db.c
iwl-phy-db.h
iwl-prph.h iwlwifi: yoyo: add support for parsing SHARED_MEM_ALLOC version 4 2020-05-08 09:50:34 +03:00
iwl-scd.h
iwl-trans.c
iwl-trans.h iwlwifi: move txq-specific from trans_pcie to common trans 2020-05-29 10:32:30 +03:00
Kconfig
Makefile iwlwifi: move API version lookup to common code 2020-04-24 16:37:57 +03:00