coreboot/src/include
Yu-Ping Wu 1dc3e45f7c mipi: Support passing user data to mipi_cmd_func_t
The mipi_cmd_func_t callback for mipi_panel_parse_init_commands()
currently doesn't support passing additional data for storing context.
Therefore user code would need to store any extra data in global
variables. For example, in the upcoming DSI dual channel support for
MediaTek platforms, the callback needs to know whether the MIPI panel
supports dual channel or not. To support that use case, pass an extra
`user_data` argument to mipi_cmd_func_t.

BUG=b:424782827
TEST=util/abuild/abuild -x -t GOOGLE_SAPPHIRE -a
BRANCH=none

Change-Id: Id5d7b168cdcadfe8d8435c29d7e855a535815057
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90519
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
2025-12-17 06:56:00 +00:00
..
acpi include/acpi/acpi_apei.h: Update APEI structs for better readability 2025-12-16 15:48:17 +00:00
arch-generic soc/amd/common/psp_verstage: Remove arch/io.h 2025-04-02 16:03:34 +00:00
boot lib: Add boot mode information to coreboot tables 2025-09-05 04:22:21 +00:00
console treewide: Fix include guards 2025-11-13 14:58:40 +00:00
cpu cpu/x86/Kconfig: Remove SOC_SETS_MSRS option 2025-12-09 16:28:05 +00:00
device Merge coreboot and libpayload <endian.h> into commonlib 2025-12-11 08:43:16 +00:00
efi efi: Set EFIAPI to 32-bit ABI for FSP1_1 2024-09-20 23:25:30 +00:00
mipi mipi: Support passing user data to mipi_cmd_func_t 2025-12-17 06:56:00 +00:00
pc80 drivers/pc80/pc/keyboard.c: Add function to change a command byte bit 2025-01-22 20:45:37 +00:00
smp include/smp/node: Drop unused is_smp_boot 2025-07-01 15:08:52 +00:00
superio
sys
adainit.h
asan.h
assert.h
b64_decode.h
base3.h
boardid.h
boot_device.h drivers/ipmi to lib: Fix misspellings & capitalization issues 2023-12-13 10:42:30 +00:00
bootblock_common.h
bootmem.h lib/bootmem: Add memory type for Armv9 MTE tag storage 2025-12-13 14:29:29 +00:00
bootmode.h
bootsplash.h lib/vga_gfx: Add API to render text on a bitmap buffer 2025-09-28 18:17:51 +00:00
bootstate.h tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
cbfs.h cbfs: Add a function to wait for all CBFS preload operations to complete 2025-07-21 13:45:12 +00:00
cbfs_glue.h
cbmem.h tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
cper.h include/cper.h: Update CPER structures with __packed attribute 2025-10-27 19:58:54 +00:00
crc_byte.h lib/crc_byte: Parenthesize buffer address in CRC macro 2025-01-23 23:00:53 +00:00
ctype.h
delay.h
dimm_info_util.h
dp_aux.h
edid.h
elog.h
endian.h Remove <swab.h> and swabXX() functions 2025-12-12 07:09:45 +00:00
espi.h
fallback.h
fit.h treewide: Move device_tree to commonlib 2024-06-22 04:02:04 +00:00
fmap.h soc/intel/common/block/rtc/rtc.c: Top Swap: add Slot B selection mechanism 2025-12-04 01:31:25 +00:00
framebuffer_info.h lib/edid_fill_fb: Add dual pipe flag to lb_framebuffer_flags 2025-11-18 07:37:20 +00:00
fw_config.h
gpio.h
halt.h treewide: Move stdlib.h to commonlib 2024-03-15 10:09:43 +00:00
identity.h
imd.h
imd_private.h
input-event-codes.h include/input-event-codes.h: Update to latest HID tree 2024-06-21 16:46:04 +00:00
inttypes.h
kconfig.h
lib.h
limits.h
main_decl.h
memlayout.h memlayout: Introduce PRERAM and POSTRAM DMA coherent regions 2025-11-22 17:23:55 +00:00
memory_info.h include: commonlib: Move memory_info and dimm_info to commonlib 2025-11-22 18:54:55 +00:00
memrange.h
metadata_hash.h
mrc_cache.h drivers/intel/fsp2_0: Introduce MRC cache store after FSP-M/S APIs 2023-09-05 09:36:17 +00:00
mtcl.h drivers/wifi: Add MTCL function to ACPI SSDT 2024-02-06 03:37:19 +00:00
nhlt.h drivers/ipmi to lib: Fix misspellings & capitalization issues 2023-12-13 10:42:30 +00:00
option.h include/option: Add verstage stub for UEFI variable store backend 2025-12-02 15:17:33 +00:00
post.h
program_loading.h
ramdetect.h
random.h
reg_script.h tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
region_file.h
reset.h lib: Introduce early power off support Kconfig option 2025-02-15 18:59:11 +00:00
rmodule.h tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
romstage_common.h
romstage_handoff.h tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
rtc.h
rules.h soc/amd/common/block/cpu/noncar: Move BSS and DATA out of PT_LOAD 2025-07-18 16:50:07 +00:00
sar.h drivers/wifi: Update Drive Strength BRI Rsp Table revision 2024-12-17 17:27:54 +00:00
sdram_mode.h
smbios.h smbios.h: Update smbios_memory_type 2025-09-05 23:57:40 +00:00
smmstore.h drivers/smmstore: Support 64-bit MMIO addresses 2025-05-08 22:28:16 +00:00
spd.h include/spd.h: Add SPD_MEMORY_TYPE_LPDDR3_INTEL into spd_memory_type 2024-05-09 11:24:40 +00:00
spd_bin.h soc/common/smbus: Support reading SPD5 hubs for DDR5 2025-08-02 01:47:44 +00:00
spd_cache.h
spi-generic.h drivers/spi: add Numonyx and Micron names to STMicro case 2024-10-09 18:09:42 +00:00
spi_bitbang.h
spi_flash.h drivers/spi: add RPMC support 2024-12-03 17:40:39 +00:00
spi_sdcard.h
stage_cache.h tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
stdarg.h tree: Remove unused <stdarg.h> 2024-05-28 03:22:34 +00:00
stdbool.h include/stdbool: Don't unconditionally typedef bool 2024-09-25 01:05:32 +00:00
stddef.h stddef.h: Introduce nullptr constant 2024-10-03 02:05:44 +00:00
stdint.h
stdio.h tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
stdlib.h treewide: Move stdlib.h to commonlib 2024-03-15 10:09:43 +00:00
string.h commonlib/bsd: Add strlen() and strnlen() functions 2024-08-14 03:09:03 +00:00
symbols.h arch/arm64: Introduce distinct PRERAM and POSTRAM stack regions 2025-12-15 10:48:34 +00:00
thread.h
timer.h
timestamp.h include: Add 'IWYU pragma: export' comment 2024-04-15 05:30:24 +00:00
types.h src/include: Introduce a new BIT_FLAG_32(x) macro 2024-09-04 18:31:25 +00:00
uuid.h
ux_locales.h lib: Add low battery UX locale message 2025-02-15 18:58:48 +00:00
vbe.h
version.h
watchdog.h
wrdd.h
xxhash.h