Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
# include files
src/include/sof/dmic.h @singalsu
src/include/host/* @ranj063
src/include/uapi/** @thesofproject/steering-committee
src/include/ipc/** @thesofproject/steering-committee
src/include/kernel/** @thesofproject/steering-committee
src/include/user/** @thesofproject/steering-committee

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: what does the "**" do here? Is this better or different than a single "*"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* matches only one level of files. If you want to match whole subdir tree you have to use **

src/include/gdb/* @mrajwa
src/include/audio/kpb.h @mrajwa
src/include/audio/mux.h @akloniex
Expand Down
5 changes: 3 additions & 2 deletions doc/sof.doxygen.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ GENERATE_MAN = NO
GENERATE_XML = YES

CASE_SENSE_NAMES = NO
INPUT = @top_srcdir@/src/include/uapi \
@top_srcdir@/src/include/uapi/ipc \
INPUT = @top_srcdir@/src/include/ipc \
@top_srcdir@/src/include/kernel \
@top_srcdir@/src/include/user \
@top_srcdir@/src/include/sof
EXCLUDE =
RECURSIVE = YES
Expand Down
4 changes: 2 additions & 2 deletions rimage/file_format.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
#ifndef __INCLUDE_FILE_FORMAT_H__
#define __INCLUDE_FILE_FORMAT_H__

#include <uapi/ipc/info.h>
#include <uapi/user/fw.h>
#include <ipc/info.h>
#include <kernel/fw.h>

#define SND_SOF_LOGS_SIG_SIZE 4
#define SND_SOF_LOGS_SIG "Logs"
Expand Down
2 changes: 1 addition & 1 deletion rimage/manifest.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <time.h>
#include <sys/time.h>

#include <uapi/user/manifest.h>
#include <user/manifest.h>

#include "rimage.h"
#include "file_format.h"
Expand Down
2 changes: 1 addition & 1 deletion rimage/manifest.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define __MANIFEST_H__

#include <stdint.h>
#include <uapi/user/manifest.h>
#include <user/manifest.h>
#include "css.h"
#include "cse.h"
#include "plat_auth.h"
Expand Down
2 changes: 1 addition & 1 deletion rimage/rimage.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <openssl/conf.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include <uapi/user/fw.h>
#include <kernel/fw.h>

#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
#define MAX_MODULES 32
Expand Down
2 changes: 1 addition & 1 deletion scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3049,7 +3049,7 @@ sub process {
}

# UAPI ABI version
if ($realfile =~ m@^(src/include/uapi/|uapi/)@ &&
if ($realfile =~ m@^(src/include/ipc/|src/include/kernel/|src/include/user/)@ &&
$rawline =~ /^\+/ &&
!$reported_abi_update) {
WARN("ABI update ??",
Expand Down
2 changes: 1 addition & 1 deletion src/arch/xtensa/boot_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <arch/wait.h>
#include <sof/trace.h>
#include <sof/io.h>
#include <uapi/user/manifest.h>
#include <user/manifest.h>
#include <platform/platform.h>
#include <platform/memory.h>

Expand Down
2 changes: 1 addition & 1 deletion src/arch/xtensa/include/arch/sof.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <stdint.h>
#include <stddef.h>
#include <sof/mailbox.h>
#include <uapi/ipc/xtensa.h>
#include <ipc/xtensa.h>
#include <arch/offset-defs.h>

/* architecture specific stack frames to dump */
Expand Down
2 changes: 1 addition & 1 deletion src/arch/xtensa/include/arch/wait.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <arch/interrupt.h>
#include <sof/panic.h>

#include <uapi/ipc/trace.h>
#include <ipc/trace.h>

#if defined(PLATFORM_WAITI_DELAY)

Expand Down
2 changes: 1 addition & 1 deletion src/audio/component.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <sof/alloc.h>
#include <sof/audio/component.h>
#include <sof/audio/pipeline.h>
#include <uapi/ipc/topology.h>
#include <ipc/topology.h>

struct comp_data {
struct list_item list; /* list of components */
Expand Down
2 changes: 1 addition & 1 deletion src/audio/detect_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <sof/notifier.h>
#include <sof/audio/component.h>
#include <sof/audio/kpb.h>
#include <uapi/user/detect_test.h>
#include <user/detect_test.h>

/* tracing */
#define trace_keyword(__e, ...) \
Expand Down
2 changes: 1 addition & 1 deletion src/audio/eq_fir/eq_fir.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <sof/audio/component.h>
#include <sof/audio/eq_fir/fir_config.h>
#include <sof/ipc.h>
#include <uapi/user/eq.h>
#include <user/eq.h>

#if FIR_GENERIC
#include <sof/audio/eq_fir/fir.h>
Expand Down
2 changes: 1 addition & 1 deletion src/audio/eq_fir/fir.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <sof/audio/component.h>
#include <sof/audio/eq_fir/fir_config.h>
#include <sof/audio/format.h>
#include <uapi/user/eq.h>
#include <user/eq.h>

#if FIR_GENERIC

Expand Down
2 changes: 1 addition & 1 deletion src/audio/eq_fir/fir_hifi2ep.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <sof/audio/component.h>
#include <sof/audio/eq_fir/fir_config.h>
#include <sof/audio/format.h>
#include <uapi/user/eq.h>
#include <user/eq.h>

#if FIR_HIFIEP

Expand Down
2 changes: 1 addition & 1 deletion src/audio/eq_fir/fir_hifi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <sof/audio/component.h>
#include <sof/audio/eq_fir/fir_config.h>
#include <sof/audio/format.h>
#include <uapi/user/eq.h>
#include <user/eq.h>

#if FIR_HIFI3

Expand Down
2 changes: 1 addition & 1 deletion src/audio/eq_iir/eq_iir.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include <sof/audio/eq_iir/eq_iir.h>
#include <sof/audio/format.h>
#include <sof/audio/eq_iir/iir.h>
#include <uapi/user/eq.h>
#include <user/eq.h>

#define trace_eq(__e, ...) trace_event(TRACE_CLASS_EQ_IIR, __e, ##__VA_ARGS__)
#define tracev_eq(__e, ...) tracev_event(TRACE_CLASS_EQ_IIR, __e, ##__VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion src/audio/eq_iir/iir.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <errno.h>
#include <sof/audio/format.h>
#include <sof/audio/eq_iir/iir.h>
#include <uapi/user/eq.h>
#include <user/eq.h>

/*
* Direct form II transposed second order filter block (biquad)
Expand Down
2 changes: 1 addition & 1 deletion src/audio/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#include <sof/audio/pipeline.h>
#include <platform/dma.h>
#include <arch/cache.h>
#include <uapi/ipc/dai.h>
#include <ipc/dai.h>

#define trace_host(__e, ...) \
trace_event(TRACE_CLASS_HOST, __e, ##__VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion src/audio/kpb.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/

#include <stdint.h>
#include <uapi/ipc/topology.h>
#include <ipc/topology.h>
#include <sof/ipc.h>
#include <sof/audio/component.h>
#include <sof/audio/kpb.h>
Expand Down
2 changes: 1 addition & 1 deletion src/audio/src/src.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#include <sof/audio/src/src_config.h>
#include <sof/audio/src/src.h>
#include <sof/math/numbers.h>
#include <uapi/ipc/topology.h>
#include <ipc/topology.h>

#if SRC_SHORT
#include <sof/audio/coefficients/src/src_tiny_int16_define.h>
Expand Down
4 changes: 2 additions & 2 deletions src/audio/tone.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
#include <sof/audio/format.h>
#include <sof/audio/pipeline.h>
#include <sof/math/trig.h>
#include <uapi/ipc/topology.h>
#include <uapi/user/tone.h>
#include <ipc/topology.h>
#include <user/tone.h>

#define trace_tone(__e, ...) \
trace_event(TRACE_CLASS_TONE, __e, ##__VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/imx/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <platform/mu.h>
#include <sof/audio/component.h>
#include <sof/audio/pipeline.h>
#include <uapi/ipc/header.h>
#include <ipc/header.h>

extern struct ipc *_ipc;

Expand Down
2 changes: 1 addition & 1 deletion src/drivers/intel/baytrail/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include <platform/platform.h>
#include <sof/audio/component.h>
#include <sof/audio/pipeline.h>
#include <uapi/ipc/header.h>
#include <ipc/header.h>

extern struct ipc *_ipc;

Expand Down
2 changes: 1 addition & 1 deletion src/drivers/intel/cavs/hda-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include <platform/platform.h>
#include <arch/cache.h>
#include <arch/wait.h>
#include <uapi/ipc/topology.h>
#include <ipc/topology.h>
#include <sof/schedule.h>

#define trace_hddma(__e, ...) \
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/intel/cavs/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#include <platform/platform.h>
#include <sof/audio/component.h>
#include <sof/audio/pipeline.h>
#include <uapi/ipc/header.h>
#include <ipc/header.h>
#include <platform/pm_runtime.h>
#include <cavs/version.h>

Expand Down
2 changes: 1 addition & 1 deletion src/drivers/intel/cavs/sue-ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#include <platform/platform.h>
#include <sof/audio/component.h>
#include <sof/audio/pipeline.h>
#include <uapi/ipc/header.h>
#include <ipc/header.h>

extern struct ipc *_ipc;

Expand Down
2 changes: 1 addition & 1 deletion src/drivers/intel/haswell/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include <sof/audio/component.h>
#include <sof/audio/pipeline.h>
#include <sof/panic.h>
#include <uapi/ipc/header.h>
#include <ipc/header.h>

extern struct ipc *_ipc;

Expand Down
6 changes: 3 additions & 3 deletions src/include/uapi/ipc/control.h → src/include/ipc/control.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/

/**
* \file include/uapi/ipc/control.h
* \file include/ipc/control.h
* \brief IPC control commands
* \author Liam Girdwood <liam.r.girdwood@linux.intel.com>
* \author Keyon Jie <yang.jie@linux.intel.com>
Expand All @@ -39,8 +39,8 @@
#ifndef __INCLUDE_UAPI_IPC_CONTROL_H__
#define __INCLUDE_UAPI_IPC_CONTROL_H__

#include <uapi/user/header.h>
#include <uapi/ipc/header.h>
#include <kernel/header.h>
#include <ipc/header.h>

/** \addtogroup sof_uapi_control uAPI Control
* SOF uAPI specification - component controls.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/

/**
* \file include/uapi/ipc/dai-intel.h
* \file include/ipc/dai-intel.h
* \brief IPC definitions
* \author Liam Girdwood <liam.r.girdwood@linux.intel.com>
* \author Keyon Jie <yang.jie@linux.intel.com>
Expand All @@ -39,7 +39,7 @@
#ifndef __INCLUDE_UAPI_IPC_DAI_INTEL_H__
#define __INCLUDE_UAPI_IPC_DAI_INTEL_H__

#include <uapi/ipc/header.h>
#include <ipc/header.h>

/* ssc1: TINTE */
#define SOF_DAI_INTEL_SSP_QUIRK_TINTE (1 << 0)
Expand Down
6 changes: 3 additions & 3 deletions src/include/uapi/ipc/dai.h → src/include/ipc/dai.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/

/**
* \file include/uapi/ipc/dai.h
* \file include/ipc/dai.h
* \brief IPC DAI definitions
* \author Liam Girdwood <liam.r.girdwood@linux.intel.com>
* \author Keyon Jie <yang.jie@linux.intel.com>
Expand All @@ -39,8 +39,8 @@
#ifndef __INCLUDE_UAPI_IPC_DAI_H__
#define __INCLUDE_UAPI_IPC_DAI_H__

#include <uapi/ipc/header.h>
#include <uapi/ipc/dai-intel.h>
#include <ipc/header.h>
#include <ipc/dai-intel.h>

/*
* DAI Configuration.
Expand Down
4 changes: 2 additions & 2 deletions src/include/uapi/ipc/header.h → src/include/ipc/header.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/

/**
* \file include/uapi/ipc/header.h
* \file include/ipc/header.h
* \brief IPC command header
* \author Liam Girdwood <liam.r.girdwood@linux.intel.com>
* \author Keyon Jie <yang.jie@linux.intel.com>
Expand All @@ -39,7 +39,7 @@
#ifndef __INCLUDE_UAPI_IPC_HEADER_H__
#define __INCLUDE_UAPI_IPC_HEADER_H__

#include <uapi/abi.h>
#include <kernel/abi.h>

/** \addtogroup sof_uapi uAPI
* SOF uAPI specification.
Expand Down
6 changes: 3 additions & 3 deletions src/include/uapi/ipc/info.h → src/include/ipc/info.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/

/**
* \file include/uapi/ipc/info.h
* \file include/ipc/info.h
* \brief IPC definitions
* \author Liam Girdwood <liam.r.girdwood@linux.intel.com>
* \author Keyon Jie <yang.jie@linux.intel.com>
Expand All @@ -39,8 +39,8 @@
#ifndef __INCLUDE_UAPI_IPC_INFO_H__
#define __INCLUDE_UAPI_IPC_INFO_H__

#include <uapi/ipc/header.h>
#include <uapi/ipc/stream.h>
#include <ipc/header.h>
#include <ipc/stream.h>

/*
* Firmware boot and version
Expand Down
4 changes: 2 additions & 2 deletions src/include/uapi/ipc/pm.h → src/include/ipc/pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/

/**
* \file include/uapi/ipc/pm.h
* \file include/ipc/pm.h
* \brief IPC definitions
* \author Liam Girdwood <liam.r.girdwood@linux.intel.com>
* \author Keyon Jie <yang.jie@linux.intel.com>
Expand All @@ -39,7 +39,7 @@
#ifndef __INCLUDE_UAPI_IPC_PM_H__
#define __INCLUDE_UAPI_IPC_PM_H__

#include <uapi/ipc/header.h>
#include <ipc/header.h>

/*
* PM
Expand Down
4 changes: 2 additions & 2 deletions src/include/uapi/ipc/stream.h → src/include/ipc/stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/

/**
* \file include/uapi/ipc/stream.h
* \file include/ipc/stream.h
* \brief IPC definitions for streams.
* \author Liam Girdwood <liam.r.girdwood@linux.intel.com>
* \author Keyon Jie <yang.jie@linux.intel.com>
Expand All @@ -39,7 +39,7 @@
#ifndef __INCLUDE_UAPI_IPC_STREAM_H__
#define __INCLUDE_UAPI_IPC_STREAM_H__

#include <uapi/ipc/header.h>
#include <ipc/header.h>

/*
* Stream configuration.
Expand Down
Loading