]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firewire: core: add common inline functions to serialize/deserialize self ID packet
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 5 Jun 2024 23:51:51 +0000 (08:51 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 16 Jun 2024 23:37:03 +0000 (08:37 +0900)
commitbaf9d20b99ab2f79a501d8d1838cc5cf1ae731c3
treecdcc01205bc62906abe0e11ab36c3c6f0fd348bf
parenta16931ac6d8e0eb3152f361fb1e24f3fb15e0cf0
firewire: core: add common inline functions to serialize/deserialize self ID packet

Within FireWire subsystem, the serializations and deserializations of phy
packet are implemented in several parts. They includes some redundancies.

This commit adds a series of helper functions for the serializations and
deserializations of self ID packet with a Kunit test suite.

Link: https://lore.kernel.org/r/20240605235155.116468-8-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/packet-serdes-test.c
drivers/firewire/phy-packet-definitions.h