WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #27: include/uapi/sound/{sof-eq.h => sof/eq.h} | 46 +- WARNING: line over 80 characters #92: FILE: include/sound/sof/control.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #175: FILE: include/sound/sof/control.h:84: + uint32_t channel; /**< channel map - enum sof_ipc_chmap */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #176: FILE: include/sound/sof/control.h:85: + uint32_t value; CHECK: Prefer kernel type 'u32' over 'uint32_t' #181: FILE: include/sound/sof/control.h:90: + uint32_t index; /**< component source/sink/control index in control */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #183: FILE: include/sound/sof/control.h:92: + uint32_t uvalue; CHECK: Prefer kernel type 's32' over 'int32_t' #184: FILE: include/sound/sof/control.h:93: + int32_t svalue; CHECK: Prefer kernel type 'u32' over 'uint32_t' #191: FILE: include/sound/sof/control.h:100: + uint32_t comp_id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #194: FILE: include/sound/sof/control.h:103: + uint32_t type; /**< enum sof_ipc_ctrl_type */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #195: FILE: include/sound/sof/control.h:104: + uint32_t cmd; /**< enum sof_ipc_ctrl_cmd */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #196: FILE: include/sound/sof/control.h:105: + uint32_t index; /**< control index for comps > 1 control */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #200: FILE: include/sound/sof/control.h:109: + uint32_t num_elems; /**< in array elems or bytes */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #203: FILE: include/sound/sof/control.h:112: + uint32_t reserved[8]; WARNING: line over 80 characters #223: FILE: include/sound/sof/dai-intel.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer using the BIT macro #237: FILE: include/sound/sof/dai-intel.h:15: +#define SOF_DAI_INTEL_SSP_QUIRK_TINTE (1 << 0) CHECK: Prefer using the BIT macro #239: FILE: include/sound/sof/dai-intel.h:17: +#define SOF_DAI_INTEL_SSP_QUIRK_PINTE (1 << 1) CHECK: Prefer using the BIT macro #241: FILE: include/sound/sof/dai-intel.h:19: +#define SOF_DAI_INTEL_SSP_QUIRK_SMTATF (1 << 2) CHECK: Prefer using the BIT macro #243: FILE: include/sound/sof/dai-intel.h:21: +#define SOF_DAI_INTEL_SSP_QUIRK_MMRATF (1 << 3) CHECK: Prefer using the BIT macro #245: FILE: include/sound/sof/dai-intel.h:23: +#define SOF_DAI_INTEL_SSP_QUIRK_PSPSTWFDFD (1 << 4) CHECK: Prefer using the BIT macro #247: FILE: include/sound/sof/dai-intel.h:25: +#define SOF_DAI_INTEL_SSP_QUIRK_PSPSRWFDFD (1 << 5) CHECK: Prefer kernel type 'u16' over 'uint16_t' #273: FILE: include/sound/sof/dai-intel.h:51: + uint16_t reserved1; CHECK: Prefer kernel type 'u16' over 'uint16_t' #274: FILE: include/sound/sof/dai-intel.h:52: + uint16_t mclk_id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #276: FILE: include/sound/sof/dai-intel.h:54: + uint32_t mclk_rate; /* mclk frequency in Hz */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #277: FILE: include/sound/sof/dai-intel.h:55: + uint32_t fsync_rate; /* fsync frequency in Hz */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #278: FILE: include/sound/sof/dai-intel.h:56: + uint32_t bclk_rate; /* bclk frequency in Hz */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #281: FILE: include/sound/sof/dai-intel.h:59: + uint32_t tdm_slots; CHECK: Prefer kernel type 'u32' over 'uint32_t' #282: FILE: include/sound/sof/dai-intel.h:60: + uint32_t rx_slots; CHECK: Prefer kernel type 'u32' over 'uint32_t' #283: FILE: include/sound/sof/dai-intel.h:61: + uint32_t tx_slots; CHECK: Prefer kernel type 'u32' over 'uint32_t' #286: FILE: include/sound/sof/dai-intel.h:64: + uint32_t sample_valid_bits; CHECK: Prefer kernel type 'u16' over 'uint16_t' #287: FILE: include/sound/sof/dai-intel.h:65: + uint16_t tdm_slot_width; CHECK: Prefer kernel type 'u16' over 'uint16_t' #288: FILE: include/sound/sof/dai-intel.h:66: + uint16_t reserved2; /* alignment */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #291: FILE: include/sound/sof/dai-intel.h:69: + uint32_t mclk_direction; CHECK: Prefer kernel type 'u16' over 'uint16_t' #293: FILE: include/sound/sof/dai-intel.h:71: + uint16_t frame_pulse_width; CHECK: Prefer kernel type 'u16' over 'uint16_t' #294: FILE: include/sound/sof/dai-intel.h:72: + uint16_t tdm_per_slot_padding_flag; CHECK: Prefer kernel type 'u32' over 'uint32_t' #295: FILE: include/sound/sof/dai-intel.h:73: + uint32_t clks_control; CHECK: Prefer kernel type 'u32' over 'uint32_t' #296: FILE: include/sound/sof/dai-intel.h:74: + uint32_t quirks; CHECK: Prefer kernel type 'u16' over 'uint16_t' #325: FILE: include/sound/sof/dai-intel.h:103: + uint16_t id; /**< PDM controller ID */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #327: FILE: include/sound/sof/dai-intel.h:105: + uint16_t enable_mic_a; /**< Use A (left) channel mic (0 or 1)*/ CHECK: Prefer kernel type 'u16' over 'uint16_t' #328: FILE: include/sound/sof/dai-intel.h:106: + uint16_t enable_mic_b; /**< Use B (right) channel mic (0 or 1)*/ CHECK: Prefer kernel type 'u16' over 'uint16_t' #330: FILE: include/sound/sof/dai-intel.h:108: + uint16_t polarity_mic_a; /**< Optionally invert mic A signal (0 or 1) */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #331: FILE: include/sound/sof/dai-intel.h:109: + uint16_t polarity_mic_b; /**< Optionally invert mic B signal (0 or 1) */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #333: FILE: include/sound/sof/dai-intel.h:111: + uint16_t clk_edge; /**< Optionally swap data clock edge (0 or 1) */ WARNING: line over 80 characters #334: FILE: include/sound/sof/dai-intel.h:112: + uint16_t skew; /**< Adjust PDM data sampling vs. clock (0..15) */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #334: FILE: include/sound/sof/dai-intel.h:112: + uint16_t skew; /**< Adjust PDM data sampling vs. clock (0..15) */ WARNING: line over 80 characters #336: FILE: include/sound/sof/dai-intel.h:114: + uint16_t reserved[3]; /**< Make sure the total size is 4 bytes aligned */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #336: FILE: include/sound/sof/dai-intel.h:114: + uint16_t reserved[3]; /**< Make sure the total size is 4 bytes aligned */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #361: FILE: include/sound/sof/dai-intel.h:139: + uint32_t driver_ipc_version; /**< Version (1..N) */ WARNING: line over 80 characters #363: FILE: include/sound/sof/dai-intel.h:141: + uint32_t pdmclk_min; /**< Minimum microphone clock in Hz (100000..N) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #363: FILE: include/sound/sof/dai-intel.h:141: + uint32_t pdmclk_min; /**< Minimum microphone clock in Hz (100000..N) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #364: FILE: include/sound/sof/dai-intel.h:142: + uint32_t pdmclk_max; /**< Maximum microphone clock in Hz (min...N) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #366: FILE: include/sound/sof/dai-intel.h:144: + uint32_t fifo_fs_a; /**< FIFO A sample rate in Hz (8000..96000) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #367: FILE: include/sound/sof/dai-intel.h:145: + uint32_t fifo_fs_b; /**< FIFO B sample rate in Hz (8000..96000) */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #368: FILE: include/sound/sof/dai-intel.h:146: + uint16_t fifo_bits_a; /**< FIFO A word length (16 or 32) */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #369: FILE: include/sound/sof/dai-intel.h:147: + uint16_t fifo_bits_b; /**< FIFO B word length (16 or 32) */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #371: FILE: include/sound/sof/dai-intel.h:149: + uint16_t duty_min; /**< Min. mic clock duty cycle in % (20..80) */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #372: FILE: include/sound/sof/dai-intel.h:150: + uint16_t duty_max; /**< Max. mic clock duty cycle in % (min..80) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #374: FILE: include/sound/sof/dai-intel.h:152: + uint32_t num_pdm_active; /**< Number of active pdm controllers */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #377: FILE: include/sound/sof/dai-intel.h:155: + uint32_t reserved[8]; WARNING: line over 80 characters #390: FILE: include/sound/sof/dai.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer using the BIT macro #417: FILE: include/sound/sof/dai.h:28: +#define SOF_DAI_FMT_CONT (1 << 4) /**< continuous clock */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #446: FILE: include/sound/sof/dai.h:57: + uint32_t type; /**< DAI type - enum sof_ipc_dai_type */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #447: FILE: include/sound/sof/dai.h:58: + uint32_t dai_index; /**< index of this type dai */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #450: FILE: include/sound/sof/dai.h:61: + uint16_t format; /**< SOF_DAI_FMT_ */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #451: FILE: include/sound/sof/dai.h:62: + uint16_t reserved16; /**< alignment */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #454: FILE: include/sound/sof/dai.h:65: + uint32_t reserved[8]; WARNING: line over 80 characters #471: FILE: include/sound/sof/header.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer using the BIT macro #601: FILE: include/sound/sof/header.h:131: +#define SOF_MEM_CAPS_RAM (1 << 0) CHECK: Prefer using the BIT macro #602: FILE: include/sound/sof/header.h:132: +#define SOF_MEM_CAPS_ROM (1 << 1) CHECK: Prefer using the BIT macro #603: FILE: include/sound/sof/header.h:133: +#define SOF_MEM_CAPS_EXT (1 << 2) /**< external */ CHECK: Prefer using the BIT macro #604: FILE: include/sound/sof/header.h:134: +#define SOF_MEM_CAPS_LP (1 << 3) /**< low power */ CHECK: Prefer using the BIT macro #605: FILE: include/sound/sof/header.h:135: +#define SOF_MEM_CAPS_HP (1 << 4) /**< high performance */ CHECK: Prefer using the BIT macro #606: FILE: include/sound/sof/header.h:136: +#define SOF_MEM_CAPS_DMA (1 << 5) /**< DMA'able */ CHECK: Prefer using the BIT macro #607: FILE: include/sound/sof/header.h:137: +#define SOF_MEM_CAPS_CACHE (1 << 6) /**< cacheable */ CHECK: Prefer using the BIT macro #608: FILE: include/sound/sof/header.h:138: +#define SOF_MEM_CAPS_EXEC (1 << 7) /**< executable */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #618: FILE: include/sound/sof/header.h:148: + uint32_t cmd; /**< SOF_IPC_GLB_ + cmd */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #619: FILE: include/sound/sof/header.h:149: + uint32_t size; /**< size of structure */ CHECK: Prefer kernel type 's32' over 'int32_t' #628: FILE: include/sound/sof/header.h:158: + int32_t error; /**< negative error numbers */ WARNING: line over 80 characters #642: FILE: include/sound/sof/header.h:172: + uint32_t count; /**< count of 0 means end of compound sequence */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #642: FILE: include/sound/sof/header.h:172: + uint32_t count; /**< count of 0 means end of compound sequence */ WARNING: line over 80 characters #654: FILE: include/sound/sof/info.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer kernel type 'u16' over 'uint16_t' #682: FILE: include/sound/sof/info.h:29: + uint16_t major; CHECK: Prefer kernel type 'u16' over 'uint16_t' #683: FILE: include/sound/sof/info.h:30: + uint16_t minor; CHECK: Prefer kernel type 'u16' over 'uint16_t' #684: FILE: include/sound/sof/info.h:31: + uint16_t micro; CHECK: Prefer kernel type 'u16' over 'uint16_t' #685: FILE: include/sound/sof/info.h:32: + uint16_t build; CHECK: Prefer kernel type 'u8' over 'uint8_t' #686: FILE: include/sound/sof/info.h:33: + uint8_t date[12]; CHECK: Prefer kernel type 'u8' over 'uint8_t' #687: FILE: include/sound/sof/info.h:34: + uint8_t time[10]; CHECK: Prefer kernel type 'u8' over 'uint8_t' #688: FILE: include/sound/sof/info.h:35: + uint8_t tag[6]; CHECK: Prefer kernel type 'u32' over 'uint32_t' #689: FILE: include/sound/sof/info.h:36: + uint32_t abi_version; CHECK: Prefer kernel type 'u32' over 'uint32_t' #692: FILE: include/sound/sof/info.h:39: + uint32_t reserved[4]; CHECK: Prefer kernel type 'u32' over 'uint32_t' #698: FILE: include/sound/sof/info.h:45: + uint32_t dspbox_offset; /* dsp initiated IPC mailbox */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #699: FILE: include/sound/sof/info.h:46: + uint32_t hostbox_offset; /* host initiated IPC mailbox */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #700: FILE: include/sound/sof/info.h:47: + uint32_t dspbox_size; CHECK: Prefer kernel type 'u32' over 'uint32_t' #701: FILE: include/sound/sof/info.h:48: + uint32_t hostbox_size; CHECK: Prefer kernel type 'u64' over 'uint64_t' #706: FILE: include/sound/sof/info.h:53: + uint64_t reserved; CHECK: Prefer kernel type 'u32' over 'uint32_t' #713: FILE: include/sound/sof/info.h:60: + uint32_t reserved[4]; CHECK: Prefer kernel type 'u32' over 'uint32_t' #731: FILE: include/sound/sof/info.h:78: + uint32_t type; /**< SOF_IPC_EXT_ */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #735: FILE: include/sound/sof/info.h:82: + uint32_t type; /**< SOF_IPC_REGION_ */ WARNING: line over 80 characters #736: FILE: include/sound/sof/info.h:83: + uint32_t id; /**< platform specific - used to map to host memory */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #736: FILE: include/sound/sof/info.h:83: + uint32_t id; /**< platform specific - used to map to host memory */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #743: FILE: include/sound/sof/info.h:90: + uint32_t num_buffers; CHECK: Prefer kernel type 'u32' over 'uint32_t' #750: FILE: include/sound/sof/info.h:97: + uint32_t type; /**< SOF_IPC_REGION_ */ WARNING: line over 80 characters #751: FILE: include/sound/sof/info.h:98: + uint32_t id; /**< platform specific - used to map to host memory */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #751: FILE: include/sound/sof/info.h:98: + uint32_t id; /**< platform specific - used to map to host memory */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #752: FILE: include/sound/sof/info.h:99: + uint32_t flags; /**< R, W, RW, etc - to define */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #753: FILE: include/sound/sof/info.h:100: + uint32_t size; /**< size of region in bytes */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #755: FILE: include/sound/sof/info.h:102: + uint32_t offset; CHECK: Prefer kernel type 'u32' over 'uint32_t' #761: FILE: include/sound/sof/info.h:108: + uint32_t num_windows; WARNING: line over 80 characters #772: FILE: include/sound/sof/pm.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #791: FILE: include/sound/sof/pm.h:20: + uint32_t type; CHECK: Prefer kernel type 'u32' over 'uint32_t' #792: FILE: include/sound/sof/pm.h:21: + uint32_t size; CHECK: Prefer kernel type 'u64' over 'uint64_t' #793: FILE: include/sound/sof/pm.h:22: + uint64_t addr; CHECK: Prefer kernel type 'u32' over 'uint32_t' #803: FILE: include/sound/sof/pm.h:32: + uint32_t num_elems; CHECK: Prefer kernel type 'u32' over 'uint32_t' #804: FILE: include/sound/sof/pm.h:33: + uint32_t size; CHECK: Prefer kernel type 'u32' over 'uint32_t' #807: FILE: include/sound/sof/pm.h:36: + uint32_t reserved[8]; CHECK: Prefer kernel type 'u32' over 'uint32_t' #815: FILE: include/sound/sof/pm.h:44: + uint32_t enable_mask; WARNING: line over 80 characters #825: FILE: include/sound/sof/stream.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer using the BIT macro #845: FILE: include/sound/sof/stream.h:21: +#define SOF_RATE_8000 (1 << 0) /**< 8000Hz */ CHECK: Prefer using the BIT macro #846: FILE: include/sound/sof/stream.h:22: +#define SOF_RATE_11025 (1 << 1) /**< 11025Hz */ CHECK: Prefer using the BIT macro #847: FILE: include/sound/sof/stream.h:23: +#define SOF_RATE_12000 (1 << 2) /**< 12000Hz */ CHECK: Prefer using the BIT macro #848: FILE: include/sound/sof/stream.h:24: +#define SOF_RATE_16000 (1 << 3) /**< 16000Hz */ CHECK: Prefer using the BIT macro #849: FILE: include/sound/sof/stream.h:25: +#define SOF_RATE_22050 (1 << 4) /**< 22050Hz */ CHECK: Prefer using the BIT macro #850: FILE: include/sound/sof/stream.h:26: +#define SOF_RATE_24000 (1 << 5) /**< 24000Hz */ CHECK: Prefer using the BIT macro #851: FILE: include/sound/sof/stream.h:27: +#define SOF_RATE_32000 (1 << 6) /**< 32000Hz */ CHECK: Prefer using the BIT macro #852: FILE: include/sound/sof/stream.h:28: +#define SOF_RATE_44100 (1 << 7) /**< 44100Hz */ CHECK: Prefer using the BIT macro #853: FILE: include/sound/sof/stream.h:29: +#define SOF_RATE_48000 (1 << 8) /**< 48000Hz */ CHECK: Prefer using the BIT macro #854: FILE: include/sound/sof/stream.h:30: +#define SOF_RATE_64000 (1 << 9) /**< 64000Hz */ CHECK: Prefer using the BIT macro #855: FILE: include/sound/sof/stream.h:31: +#define SOF_RATE_88200 (1 << 10) /**< 88200Hz */ CHECK: Prefer using the BIT macro #856: FILE: include/sound/sof/stream.h:32: +#define SOF_RATE_96000 (1 << 11) /**< 96000Hz */ CHECK: Prefer using the BIT macro #857: FILE: include/sound/sof/stream.h:33: +#define SOF_RATE_176400 (1 << 12) /**< 176400Hz */ CHECK: Prefer using the BIT macro #858: FILE: include/sound/sof/stream.h:34: +#define SOF_RATE_192000 (1 << 13) /**< 192000Hz */ CHECK: Prefer using the BIT macro #861: FILE: include/sound/sof/stream.h:37: +#define SOF_RATE_CONTINUOUS (1 << 30) /**< range */ CHECK: Prefer using the BIT macro #862: FILE: include/sound/sof/stream.h:38: +#define SOF_RATE_KNOT (1 << 31) /**< non-continuous */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #888: FILE: include/sound/sof/stream.h:64: + uint32_t phy_addr; CHECK: Prefer kernel type 'u32' over 'uint32_t' #889: FILE: include/sound/sof/stream.h:65: + uint32_t pages; CHECK: Prefer kernel type 'u32' over 'uint32_t' #890: FILE: include/sound/sof/stream.h:66: + uint32_t size; CHECK: Prefer kernel type 'u32' over 'uint32_t' #891: FILE: include/sound/sof/stream.h:67: + uint32_t offset; CHECK: Prefer kernel type 'u32' over 'uint32_t' #896: FILE: include/sound/sof/stream.h:72: + uint32_t direction; /**< enum sof_ipc_stream_directio */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #897: FILE: include/sound/sof/stream.h:73: + uint32_t frame_fmt; /**< enum sof_ipc_frame */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #898: FILE: include/sound/sof/stream.h:74: + uint32_t buffer_fmt; /**< enum sof_ipc_buffer_format */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #899: FILE: include/sound/sof/stream.h:75: + uint32_t rate; CHECK: Prefer kernel type 'u16' over 'uint16_t' #900: FILE: include/sound/sof/stream.h:76: + uint16_t stream_tag; CHECK: Prefer kernel type 'u16' over 'uint16_t' #901: FILE: include/sound/sof/stream.h:77: + uint16_t channels; CHECK: Prefer kernel type 'u16' over 'uint16_t' #902: FILE: include/sound/sof/stream.h:78: + uint16_t sample_valid_bytes; CHECK: Prefer kernel type 'u16' over 'uint16_t' #903: FILE: include/sound/sof/stream.h:79: + uint16_t sample_container_bytes; CHECK: Prefer kernel type 'u32' over 'uint32_t' #906: FILE: include/sound/sof/stream.h:82: + uint32_t host_period_bytes; CHECK: Prefer kernel type 'u16' over 'uint16_t' #908: FILE: include/sound/sof/stream.h:84: + uint16_t chmap[SOF_IPC_MAX_CHANNELS]; /**< channel map - SOF_CHMAP_ */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #914: FILE: include/sound/sof/stream.h:90: + uint32_t comp_id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #921: FILE: include/sound/sof/stream.h:97: + uint32_t comp_id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #922: FILE: include/sound/sof/stream.h:98: + uint32_t posn_offset; CHECK: Prefer kernel type 'u32' over 'uint32_t' #928: FILE: include/sound/sof/stream.h:104: + uint32_t comp_id; CHECK: Prefer using the BIT macro #932: FILE: include/sound/sof/stream.h:108: +#define SOF_TIME_HOST_SYNC (1 << 0) CHECK: Prefer using the BIT macro #933: FILE: include/sound/sof/stream.h:109: +#define SOF_TIME_DAI_SYNC (1 << 1) CHECK: Prefer using the BIT macro #934: FILE: include/sound/sof/stream.h:110: +#define SOF_TIME_WALL_SYNC (1 << 2) CHECK: Prefer using the BIT macro #935: FILE: include/sound/sof/stream.h:111: +#define SOF_TIME_STAMP_SYNC (1 << 3) CHECK: Prefer using the BIT macro #938: FILE: include/sound/sof/stream.h:114: +#define SOF_TIME_HOST_VALID (1 << 8) CHECK: Prefer using the BIT macro #939: FILE: include/sound/sof/stream.h:115: +#define SOF_TIME_DAI_VALID (1 << 9) CHECK: Prefer using the BIT macro #940: FILE: include/sound/sof/stream.h:116: +#define SOF_TIME_WALL_VALID (1 << 10) CHECK: Prefer using the BIT macro #941: FILE: include/sound/sof/stream.h:117: +#define SOF_TIME_STAMP_VALID (1 << 11) CHECK: Prefer using the BIT macro #944: FILE: include/sound/sof/stream.h:120: +#define SOF_TIME_HOST_64 (1 << 16) CHECK: Prefer using the BIT macro #945: FILE: include/sound/sof/stream.h:121: +#define SOF_TIME_DAI_64 (1 << 17) CHECK: Prefer using the BIT macro #946: FILE: include/sound/sof/stream.h:122: +#define SOF_TIME_WALL_64 (1 << 18) CHECK: Prefer using the BIT macro #947: FILE: include/sound/sof/stream.h:123: +#define SOF_TIME_STAMP_64 (1 << 19) CHECK: Prefer kernel type 'u32' over 'uint32_t' #951: FILE: include/sound/sof/stream.h:127: + uint32_t comp_id; /**< host component ID */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #952: FILE: include/sound/sof/stream.h:128: + uint32_t flags; /**< SOF_TIME_ */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #953: FILE: include/sound/sof/stream.h:129: + uint32_t wallclock_hz; /**< frequency of wallclock in Hz */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #954: FILE: include/sound/sof/stream.h:130: + uint32_t timestamp_ns; /**< resolution of timestamp in ns */ CHECK: Prefer kernel type 'u64' over 'uint64_t' #955: FILE: include/sound/sof/stream.h:131: + uint64_t host_posn; /**< host DMA position in bytes */ CHECK: Prefer kernel type 'u64' over 'uint64_t' #956: FILE: include/sound/sof/stream.h:132: + uint64_t dai_posn; /**< DAI DMA position in bytes */ CHECK: Prefer kernel type 'u64' over 'uint64_t' #957: FILE: include/sound/sof/stream.h:133: + uint64_t comp_posn; /**< comp position in bytes */ CHECK: Prefer kernel type 'u64' over 'uint64_t' #958: FILE: include/sound/sof/stream.h:134: + uint64_t wallclock; /**< audio wall clock */ CHECK: Prefer kernel type 'u64' over 'uint64_t' #959: FILE: include/sound/sof/stream.h:135: + uint64_t timestamp; /**< system time stamp */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #960: FILE: include/sound/sof/stream.h:136: + uint32_t xrun_comp_id; /**< comp ID of XRUN component */ CHECK: Prefer kernel type 's32' over 'int32_t' #961: FILE: include/sound/sof/stream.h:137: + int32_t xrun_size; /**< XRUN size in bytes */ WARNING: line over 80 characters #971: FILE: include/sound/sof/topology.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1017: FILE: include/sound/sof/topology.h:47: + uint32_t id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1019: FILE: include/sound/sof/topology.h:49: + uint32_t pipeline_id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1022: FILE: include/sound/sof/topology.h:52: + uint32_t reserved[2]; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1032: FILE: include/sound/sof/topology.h:62: + uint32_t size; /**< buffer size in bytes */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1033: FILE: include/sound/sof/topology.h:63: + uint32_t caps; /**< SOF_MEM_CAPS_ */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1038: FILE: include/sound/sof/topology.h:68: + uint32_t periods_sink; /**< 0 means variable */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1039: FILE: include/sound/sof/topology.h:69: + uint32_t periods_source; /**< 0 means variable */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1040: FILE: include/sound/sof/topology.h:70: + uint32_t preload_count; /**< how many periods to preload */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1041: FILE: include/sound/sof/topology.h:71: + uint32_t frame_fmt; /**< SOF_IPC_FRAME_ */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1042: FILE: include/sound/sof/topology.h:72: + uint32_t xrun_action; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1045: FILE: include/sound/sof/topology.h:75: + uint32_t reserved[2]; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1052: FILE: include/sound/sof/topology.h:82: + uint32_t direction; /**< SOF_IPC_STREAM_ */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1053: FILE: include/sound/sof/topology.h:83: + uint32_t no_irq; /**< don't send periodic IRQ to host/DSP */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1054: FILE: include/sound/sof/topology.h:84: + uint32_t dmac_config; /**< DMA engine specific */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1061: FILE: include/sound/sof/topology.h:91: + uint32_t direction; /**< SOF_IPC_STREAM_ */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1062: FILE: include/sound/sof/topology.h:92: + uint32_t dai_index; /**< index of this type dai */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1063: FILE: include/sound/sof/topology.h:93: + uint32_t type; /**< DAI type - SOF_DAI_ */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1064: FILE: include/sound/sof/topology.h:94: + uint32_t dmac_config; /**< DMA engine specific */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1085: FILE: include/sound/sof/topology.h:115: + uint32_t channels; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1086: FILE: include/sound/sof/topology.h:116: + uint32_t min_value; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1087: FILE: include/sound/sof/topology.h:117: + uint32_t max_value; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1088: FILE: include/sound/sof/topology.h:118: + uint32_t ramp; /**< SOF_VOLUME_ */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1089: FILE: include/sound/sof/topology.h:119: + uint32_t initial_ramp; /**< ramp space in ms */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1097: FILE: include/sound/sof/topology.h:127: + uint32_t source_rate; /**< source rate or 0 for variable */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1098: FILE: include/sound/sof/topology.h:128: + uint32_t sink_rate; /**< sink rate or 0 for variable */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1099: FILE: include/sound/sof/topology.h:129: + uint32_t rate_mask; /**< SOF_RATE_ supported rates */ CHECK: Prefer kernel type 's32' over 'int32_t' #1112: FILE: include/sound/sof/topology.h:142: + int32_t sample_rate; CHECK: Prefer kernel type 's32' over 'int32_t' #1113: FILE: include/sound/sof/topology.h:143: + int32_t frequency; CHECK: Prefer kernel type 's32' over 'int32_t' #1114: FILE: include/sound/sof/topology.h:144: + int32_t amplitude; CHECK: Prefer kernel type 's32' over 'int32_t' #1115: FILE: include/sound/sof/topology.h:145: + int32_t freq_mult; CHECK: Prefer kernel type 's32' over 'int32_t' #1116: FILE: include/sound/sof/topology.h:146: + int32_t ampl_mult; CHECK: Prefer kernel type 's32' over 'int32_t' #1117: FILE: include/sound/sof/topology.h:147: + int32_t length; CHECK: Prefer kernel type 's32' over 'int32_t' #1118: FILE: include/sound/sof/topology.h:148: + int32_t period; CHECK: Prefer kernel type 's32' over 'int32_t' #1119: FILE: include/sound/sof/topology.h:149: + int32_t repeats; CHECK: Prefer kernel type 's32' over 'int32_t' #1120: FILE: include/sound/sof/topology.h:150: + int32_t ramp_step; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1132: FILE: include/sound/sof/topology.h:162: + uint32_t type; /** sof_ipc_effect_type */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1139: FILE: include/sound/sof/topology.h:169: + uint32_t size; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1142: FILE: include/sound/sof/topology.h:172: + uint32_t reserved[8]; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1151: FILE: include/sound/sof/topology.h:181: + uint32_t size; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1154: FILE: include/sound/sof/topology.h:184: + uint32_t reserved[8]; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1164: FILE: include/sound/sof/topology.h:194: + uint32_t id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1169: FILE: include/sound/sof/topology.h:199: + uint32_t id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1170: FILE: include/sound/sof/topology.h:200: + uint32_t offset; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1180: FILE: include/sound/sof/topology.h:210: + uint32_t comp_id; /**< component id for pipeline */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1181: FILE: include/sound/sof/topology.h:211: + uint32_t pipeline_id; /**< pipeline id */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1182: FILE: include/sound/sof/topology.h:212: + uint32_t sched_id; /**< sheduling component id */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1183: FILE: include/sound/sof/topology.h:213: + uint32_t core; /**< core we run on */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1184: FILE: include/sound/sof/topology.h:214: + uint32_t deadline; /**< execution completion deadline in us*/ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1185: FILE: include/sound/sof/topology.h:215: + uint32_t priority; /**< priority level 0 (low) to 10 (max) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1186: FILE: include/sound/sof/topology.h:216: + uint32_t period_mips; /**< worst case instruction count per period */ WARNING: line over 80 characters #1187: FILE: include/sound/sof/topology.h:217: + uint32_t frames_per_sched;/**< output frames of pipeline, 0 is variable */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1187: FILE: include/sound/sof/topology.h:217: + uint32_t frames_per_sched;/**< output frames of pipeline, 0 is variable */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1188: FILE: include/sound/sof/topology.h:218: + uint32_t xrun_limit_usecs; /**< report xruns greater than limit */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1191: FILE: include/sound/sof/topology.h:221: + uint32_t timer_delay; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1197: FILE: include/sound/sof/topology.h:227: + uint32_t comp_id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1202: FILE: include/sound/sof/topology.h:232: + uint32_t comp_id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1208: FILE: include/sound/sof/topology.h:238: + uint32_t source_id; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1209: FILE: include/sound/sof/topology.h:239: + uint32_t sink_id; WARNING: line over 80 characters #1219: FILE: include/sound/sof/trace.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1243: FILE: include/sound/sof/trace.h:25: + uint32_t stream_tag; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1249: FILE: include/sound/sof/trace.h:31: + uint32_t host_offset; /* Offset of DMA host buffer */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1250: FILE: include/sound/sof/trace.h:32: + uint32_t overflow; /* overflow bytes if any */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1251: FILE: include/sound/sof/trace.h:33: + uint32_t messages; /* total trace messages */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1261: FILE: include/sound/sof/trace.h:43: + uint32_t linenum; WARNING: line over 80 characters #1271: FILE: include/sound/sof/xtensa.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ CHECK: Prefer kernel type 'u32' over 'uint32_t' #1288: FILE: include/sound/sof/xtensa.h:18: + uint32_t exccause; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1289: FILE: include/sound/sof/xtensa.h:19: + uint32_t excvaddr; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1290: FILE: include/sound/sof/xtensa.h:20: + uint32_t ps; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1291: FILE: include/sound/sof/xtensa.h:21: + uint32_t epc1; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1292: FILE: include/sound/sof/xtensa.h:22: + uint32_t epc2; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1293: FILE: include/sound/sof/xtensa.h:23: + uint32_t epc3; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1294: FILE: include/sound/sof/xtensa.h:24: + uint32_t epc4; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1295: FILE: include/sound/sof/xtensa.h:25: + uint32_t epc5; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1296: FILE: include/sound/sof/xtensa.h:26: + uint32_t epc6; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1297: FILE: include/sound/sof/xtensa.h:27: + uint32_t epc7; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1298: FILE: include/sound/sof/xtensa.h:28: + uint32_t eps2; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1299: FILE: include/sound/sof/xtensa.h:29: + uint32_t eps3; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1300: FILE: include/sound/sof/xtensa.h:30: + uint32_t eps4; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1301: FILE: include/sound/sof/xtensa.h:31: + uint32_t eps5; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1302: FILE: include/sound/sof/xtensa.h:32: + uint32_t eps6; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1303: FILE: include/sound/sof/xtensa.h:33: + uint32_t eps7; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1304: FILE: include/sound/sof/xtensa.h:34: + uint32_t depc; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1305: FILE: include/sound/sof/xtensa.h:35: + uint32_t intenable; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1306: FILE: include/sound/sof/xtensa.h:36: + uint32_t interrupt; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1307: FILE: include/sound/sof/xtensa.h:37: + uint32_t sar; CHECK: Prefer kernel type 'u32' over 'uint32_t' #1308: FILE: include/sound/sof/xtensa.h:38: + uint32_t stack; WARNING: line over 80 characters #2371: FILE: include/uapi/sound/sof/abi.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ WARNING: line over 80 characters #2588: FILE: include/uapi/sound/sof/header.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ WARNING: line over 80 characters #2621: FILE: include/uapi/sound/sof/manifest.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ WARNING: line over 80 characters #2754: FILE: include/uapi/sound/sof/manifest.h:134: + /* target address for binary loading as offset in IMR - must be == base offset */ WARNING: line over 80 characters #2854: FILE: include/uapi/sound/sof/trace.h:1: +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note)) OR BSD-3-Clause) */ WARNING: line over 80 characters #3198: FILE: sound/soc/sof/topology.c:1121: + pipeline->period_mips, pipeline->core, pipeline->frames_per_sched); total: 0 errors, 24 warnings, 242 checks, 1880 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./linux-sof-driver/0001-ASoC-SOF-ABI-Split-ABI-headers-and-update-to-latest-.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.