zephyr/drivers/usb/uhc
Egill Sigurdur 16ac4a5b78 kernel: mem_slab: add K_MEM_SLAB_DEFINE_TYPE for automatic alignment
Introduces K_MEM_SLAB_DEFINE_TYPE() and K_MEM_SLAB_DEFINE_STATIC_TYPE()
helpers to allow the user to declare slabs for types without having to
manually ensure the alignment is correct.

Manual slab alignment was very error-prone and this change fixes several
instances of misalignment that would be trapped by the undefined
behavior sanitizer when running on 64-bit targets.

Signed-off-by: Egill Sigurdur <egill@egill.xyz>
2026-05-07 18:09:41 -05:00
..
CMakeLists.txt drivers: uhc: implement nxp mcux uhc driver 2025-05-30 16:34:41 +02:00
Kconfig usb: host: use USB buffer macros 2026-02-24 16:01:21 -06:00
Kconfig.max3421e kconfig: treewide: use auto-generated Kconfig compatible macro variables 2026-01-13 13:30:54 +01:00
Kconfig.mcux drivers: uhc: udc: use DYNAMIC_INTERRUPTS for KHCI and EHCI 2025-05-30 16:34:41 +02:00
Kconfig.virtual
uhc_common.c kernel: mem_slab: add K_MEM_SLAB_DEFINE_TYPE for automatic alignment 2026-05-07 18:09:41 -05:00
uhc_common.h drivers: uhc: rework transfer buffer handling 2023-10-01 09:26:07 +03:00
uhc_max3421e.c drivers: Convert to use SPI macro without delay parameters 2025-10-01 14:39:36 +03:00
uhc_max3421e.h
uhc_mcux_common.c drivers: fix typo in (serial, spi, tee, timer, usb, usb_c, video) 2026-03-27 20:21:24 -04:00
uhc_mcux_common.h drivers: uhc: add mcux_eps_interval to save ep interval 2025-12-16 10:08:55 +01:00
uhc_mcux_ehci.c kernel: mem_slab: add K_MEM_SLAB_DEFINE_TYPE for automatic alignment 2026-05-07 18:09:41 -05:00
uhc_mcux_ip3516hs.c kernel: mem_slab: add K_MEM_SLAB_DEFINE_TYPE for automatic alignment 2026-05-07 18:09:41 -05:00
uhc_mcux_khci.c kernel: mem_slab: add K_MEM_SLAB_DEFINE_TYPE for automatic alignment 2026-05-07 18:09:41 -05:00
uhc_mcux_ohci.c kernel: mem_slab: add K_MEM_SLAB_DEFINE_TYPE for automatic alignment 2026-05-07 18:09:41 -05:00
uhc_virtual.c kernel: mem_slab: add K_MEM_SLAB_DEFINE_TYPE for automatic alignment 2026-05-07 18:09:41 -05:00