[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240802003606.109402-1-o-takashi@sakamocchi.jp>
Date: Fri, 2 Aug 2024 09:36:02 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: linux1394-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] firewire: ohci: add helper functions for data format specific to 1394 OHCI AT/IT DMA
Hi,
In 1394 OHCI specification, the data formats of AT/IT DMA are specific
and different from packert format of IEEE 1394 specification. Current
implementation includes some ad-hoc lines to construct the data, while
it is not so easy to read and understand.
This patchset includes some helper functions to serialize and
deserialize the data. These helper functions are tested by KUnit, and
replace the ad-hoc implementations.
Takashi Sakamoto (4):
firewire: ohci: add static inline functions to serialize/deserialize
data of AT DMA
firewire: ohci: use static inline functions to serialize data of AT
DMA
firewire: ohci: add static inline functions to serialize/deserialize
data of IT DMA
firewire: ohci: use static inline functions to serialize data of IT
DMA
drivers/firewire/ohci-serdes-test.c | 66 +++++++++
drivers/firewire/ohci.c | 66 ++++-----
drivers/firewire/ohci.h | 199 ++++++++++++++++++++++++++++
3 files changed, 299 insertions(+), 32 deletions(-)
--
2.43.0
Powered by blists - more mailing lists