linux/drivers/firewire
Takashi Sakamoto 95a042a0c8 firewire: ohci: reduce the size of common context structure by extracting members into AT structure
In commit 386a4153a2 ("firewire: ohci: cache the context run bit"), a
running member was added to the context structure to cache the running
state of a given DMA context. Although this member is accessible from IR,
IT, and AT contexts, it is currently used only by the AT context.

Additionally, the context structure includes a work item, which is also
used by the AT context. Both members are unnecessary for IR and IT
contexts.

This commit refactors the code by moving these two members into a new
structure specific to AT context.

Link: https://lore.kernel.org/r/20250710131916.31289-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2025-07-12 21:52:16 +09:00
..
.kunitconfig firewire: ohci: add static inline functions to deserialize for Self-ID DMA operation 2024-07-04 08:12:48 +09:00
core-card.c firewire: core: minor code refactoring to localize table of gap count 2025-06-17 09:56:42 +09:00
core-cdev.c firewire: core: use from_work() macro to expand parent structure of work_struct 2025-06-09 08:45:48 +09:00
core-device.c firewire: core: use from_work() macro to expand parent structure of work_struct 2025-06-09 08:45:48 +09:00
core-iso.c firewire: core: update documentation of kernel APIs for flushing completions 2024-09-12 22:30:37 +09:00
core-topology.c firewire updates for v6.13 2024-11-25 17:12:54 -08:00
core-trace.c firewire: core: move copy_port_status() helper function to TP_fast_assign() block 2024-07-12 14:34:12 +09:00
core-transaction.c firewire: ohci: use workqueue to handle events of AR request/response contexts 2025-06-15 22:40:29 +09:00
core.h firewire: Correct some typos 2024-10-01 19:02:57 +09:00
device-attribute-test.c firewire: test: Fix potential null dereference in firewire kunit test 2025-01-13 10:31:27 +09:00
init_ohci1394_dma.c firewire: init_ohci1394_dma: use correct function names in comments 2023-04-24 09:19:35 +09:00
Kconfig PCI: Add CONFIG_MMU dependency 2025-04-23 15:40:30 -05:00
Makefile firewire: ohci: add static inline functions to deserialize for Self-ID DMA operation 2024-07-04 08:12:48 +09:00
net.c firewire: ohci: use workqueue to handle events of AT request/response contexts 2025-06-15 22:40:29 +09:00
nosy-user.h
nosy.c firewire: nosy: ensure user_length is taken into account when fetching packet contents 2024-04-29 18:35:55 +09:00
nosy.h
ohci-serdes-test.c firewire: ohci: add static inline functions to serialize/deserialize data of IT DMA 2024-08-02 09:36:05 +09:00
ohci.c firewire: ohci: reduce the size of common context structure by extracting members into AT structure 2025-07-12 21:52:16 +09:00
ohci.h firewire: ohci: add static inline functions to serialize/deserialize data of IT DMA 2024-08-02 09:36:05 +09:00
packet-header-definitions.h firewire: core: arrangement header inclusion for tracepoints events 2024-06-17 08:37:03 +09:00
packet-serdes-test.c firewire: core: add tests for serialization/deserialization of phy config packet 2024-06-17 08:37:03 +09:00
phy-packet-definitions.h firewire: core: add tests for serialization/deserialization of phy config packet 2024-06-17 08:37:03 +09:00
sbp2.c scsi: Rename .device_configure() into .sdev_configure() 2024-12-04 15:34:28 -05:00
self-id-sequence-helper-test.c firewire: core: add helper function to handle port status from self ID sequence and its KUnit test 2024-06-17 08:37:02 +09:00
uapi-test.c firewire: add missing MODULE_DESCRIPTION() to test modules 2024-05-27 07:34:58 +09:00