linux/drivers/firewire
Takashi Sakamoto 6503df3612 firewire: core: add common macro to serialize/deserialize isochronous packet header
The packet for Asynchronous Streaming Packet includes the same header
fields as the isochronous packet has. It is helpful to have some helper
functions to serialize/deserialize them.

This commit adds such helper functions with their test.

Link: https://lore.kernel.org/r/20240428071347.409202-8-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2024-05-06 11:06:05 +09:00
..
.kunitconfig firewire: core: add common inline functions to serialize/deserialize asynchronous packet header 2024-05-06 11:06:04 +09:00
core-card.c firewire: core: option to log bus reset initiation 2024-05-06 11:06:03 +09:00
core-cdev.c firewire: cdev: implement new event relevant to phy packet with time stamp 2023-05-30 08:12:40 +09:00
core-device.c firewire: core: add memo about the caller of show functions for device attributes 2024-03-21 21:20:18 +09:00
core-iso.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
core-topology.c Revert "firewire: core: obsolete usage of GFP_ATOMIC at building node tree" 2023-09-15 18:37:52 +09:00
core-transaction.c firewire: core: obsolete tcode check macros with inline functions 2024-05-06 11:06:05 +09:00
core.h firewire: core: obsolete tcode check macros with inline functions 2024-05-06 11:06:05 +09:00
device-attribute-test.c firewire: core: fill model field in modalias of unit device for legacy layout of configuration ROM 2024-01-10 18:37:13 +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 firewire: core: add common inline functions to serialize/deserialize asynchronous packet header 2024-05-06 11:06:04 +09:00
Makefile firewire: core: add common inline functions to serialize/deserialize asynchronous packet header 2024-05-06 11:06:04 +09:00
net.c firewire: net: fix use after free in fwnet_finish_incoming_packet() 2023-06-24 14:03:46 +09:00
nosy-user.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ohci.c firewire: core: obsolete tcode check macros with inline functions 2024-05-06 11:06:05 +09:00
ohci.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
packet-header-definitions.h firewire: core: add common macro to serialize/deserialize isochronous packet header 2024-05-06 11:06:05 +09:00
packet-serdes-test.c firewire: core: add common macro to serialize/deserialize isochronous packet header 2024-05-06 11:06:05 +09:00
sbp2.c scsi: Change SCSI device boolean fields to single bit flags 2023-11-24 20:44:21 -05:00
uapi-test.c firewire: fix build failure due to missing module license 2023-05-30 19:37:29 +09:00