public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] firewire: ohci: add helper functions for data format specific to 1394 OHCI AT/IT DMA
@ 2024-08-02  0:36 Takashi Sakamoto
  2024-08-02  0:36 ` [PATCH 1/4] firewire: ohci: add static inline functions to serialize/deserialize data of AT DMA Takashi Sakamoto
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Takashi Sakamoto @ 2024-08-02  0:36 UTC (permalink / raw)
  To: linux1394-devel; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-03  0:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-02  0:36 [PATCH 0/4] firewire: ohci: add helper functions for data format specific to 1394 OHCI AT/IT DMA Takashi Sakamoto
2024-08-02  0:36 ` [PATCH 1/4] firewire: ohci: add static inline functions to serialize/deserialize data of AT DMA Takashi Sakamoto
2024-08-02  0:36 ` [PATCH 2/4] firewire: ohci: use static inline functions to serialize " Takashi Sakamoto
2024-08-02  0:36 ` [PATCH 3/4] firewire: ohci: add static inline functions to serialize/deserialize data of IT DMA Takashi Sakamoto
2024-08-02  0:36 ` [PATCH 4/4] firewire: ohci: use static inline functions to serialize " Takashi Sakamoto
2024-08-03  0:35 ` [PATCH 0/4] firewire: ohci: add helper functions for data format specific to 1394 OHCI AT/IT DMA Takashi Sakamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox