Home
last modified time | relevance | path

Searched +full:runs +full:- +full:on (Results 1 – 24 of 24) sorted by relevance

/sof-2.7.6/.github/workflows/
Dpull-request.yml1 ---
2 # Tools that can save round-trips to github and a lot of time:
4 # yamllint -f parsable pull_request.yml
6 # yaml merge-expand pull_request.yml exp.yml &&
7 # diff -w -u pull_request.yml exp.yml
14 # this name is the Checks window next to other, non-github checks.
17 # yamllint disable-line rule:truthy
18 on:
21 - 'main'
22 - 'stable-**'
[all …]
Dipc_fuzzer.yml1 ---
3 # For the actual fuzzer see tools/oss-fuzz/README.
5 # https://google.github.io/oss-fuzz/getting-started/continuous-integration/
7 # Build and run fuzzer for 5s just to check that it runs properly. If it
17 # OUT=unused_dir cmake -B oss-fuzz-build/ -S tools/oss-fuzz/
18 # make -j -C oss-fuzz-build sof_ep fuzz_ipc.o
25 # yamllint disable-line rule:truthy
26 on: [pull_request, workflow_dispatch]
29 ipc-fuzzer-build:
30 runs-on: ubuntu-latest
[all …]
Dcodestyle.yml1 ---
2 # SPDX-License-Identifier: BSD-3-Clause
3 # Tools that can save round-trips to github and a lot of time:
5 # yamllint -f parsable this.yml
7 # yaml merge-expand this.yml exp.yml && diff -w -u this.yml exp.yml
14 # yamllint disable-line rule:truthy
15 on: [pull_request]
19 runs-on: ubuntu-20.04
22 # TODO: reduce duplication with scripts/sof-*-commit-hook.sh
24 CHK_CMD_OPTS: --ignore UNKNOWN_COMMIT_ID --codespell --codespellfile
[all …]
Dunit-tests.yml1 ---
10 # yamllint disable-line rule:truthy
11 on: [pull_request, workflow_dispatch]
15 runs-on: ubuntu-latest
17 - uses: actions/checkout@v2
18 with: {fetch-depth: 2}
20 - name: build and run all defconfigs
21 run: ./test/test-all-defconfigs.sh
Dzephyr.yml1 ---
7 # yamllint disable-line rule:truthy
8 on: [push, pull_request, workflow_dispatch]
11 zephyr-build:
12 runs-on: ubuntu-20.04
14 - uses: actions/checkout@v2
16 with: {fetch-depth: 10, submodules: recursive}
18 - name: build
19 run: docker run -v "$(pwd)":/workdir
20 -e ZEPHYR_SDK_INSTALL_DIR='/opt/toolchains/zephyr-sdk-0.13.0'
[all …]
Dtools.yml1 ---
7 # yamllint disable-line rule:truthy
8 on: [pull_request, workflow_dispatch]
11 # This is not the same as building every ./build-tools.sh option.
12 top-level_default_CMake_target_ALL:
13 runs-on: ubuntu-latest
15 - uses: actions/checkout@v2
20 - name: docker
24 - name: build-tools
25 run: CMAKE_BUILD_TYPE=Release ./scripts/docker-run.sh
[all …]
Dinstaller.yml1 ---
2 # Tools that can save round-trips to github and a lot of time:
4 # yamllint -f parsable this.yml
6 # yaml merge-expand this.yml exp.yml && diff -w -u this.yml exp.yml
15 # yamllint disable-line rule:truthy
16 on: [push, pull_request, workflow_dispatch]
20 runs-on: ubuntu-20.04
22 - uses: actions/checkout@v2
24 with: {fetch-depth: 50, submodules: recursive}
26 - name: docker
[all …]
/sof-2.7.6/src/schedule/
Dzephyr_domain.c1 // SPDX-License-Identifier: BSD-3-Clause
3 // Copyright(c) 2019-2021 Intel Corporation. All rights reserved.
28 * SOF on Intel CAVS platforms currently only aligns with Zephyr when both
29 * use the CAVS 19.2 MHz SSP clock. TODO - needs runtime alignment.
62 struct zephyr_domain_thread *dt = zephyr_domain->domain_thread + core; in zephyr_domain_thread_fn()
63 unsigned int runs = 0, overruns = 0, cycles_sum = 0, cycles_max = 0; in zephyr_domain_thread_fn() local
68 k_sem_take(&dt->sem, K_FOREVER); in zephyr_domain_thread_fn()
71 dt->handler(dt->arg); in zephyr_domain_thread_fn()
75 diff = cycles1 - cycles0; in zephyr_domain_thread_fn()
77 diff = UINT32_MAX - cycles0 + cycles1; in zephyr_domain_thread_fn()
[all …]
Dzephyr.c1 // SPDX-License-Identifier: BSD-3-Clause
8 * a static per-core array is queued accordingly. The secondary core is then
11 * because IDC on SOF is always synchronous, the primary core always waits for
15 * - use K_P4WQ_ARRAY_DEFINE() to statically create one queue with one thread
17 * - k_p4wq_submit()
18 * runs on primary CPU
31 * Inter-CPU communication is only used in
32 * - IPC
33 * - Notifier
34 * - Power management (IDC_MSG_POWER_UP, IDC_MSG_POWER_DOWN)
[all …]
Dzephyr_ll.c1 // SPDX-License-Identifier: BSD-3-Clause
18 /* 1547fe68-de0c-11eb-8461-3158a1294853 */
19 DECLARE_SOF_UUID("zll-schedule", zll_sched_uuid, 0x1547fe68, 0xde0c, 0x11eb,
24 /* per-scheduler data */
32 /* per-task scheduler data */
43 list_item_del(&task->list); in zephyr_ll_task_done()
45 if (!sch->n_tasks) { in zephyr_ll_task_done()
50 task->state = SOF_TASK_STATE_FREE; in zephyr_ll_task_done()
52 tr_info(&ll_tr, "task complete %p %pU", task, task->uid); in zephyr_ll_task_done()
54 sch->n_tasks, atomic_read(&sch->ll_domain->total_num_tasks)); in zephyr_ll_task_done()
[all …]
/sof-2.7.6/zephyr/
DCMakeLists.txt1 # This is still WIP - Not fully validated on any platform.
21 # size to be dependent on where project is physically located on the disk.
37 # 1. Application logic - pipeline, audio components, IPC processing, topology
38 # 2. IP drivers - SSP, DMIC, PM, IPC will transition to Zephyr directly over
40 # 3. Platform IP - PM, init, clocks, IRQs will transition directly to Zephyr
42 # 4. RTOS logic - scheduler, allocator, notifier - as with 2 & 3.
76 PREFIX "${PROJECT_BINARY_DIR}/sof-logger_ep"
77 BINARY_DIR "${PROJECT_BINARY_DIR}/sof-logger_ep/build"
78 BUILD_COMMAND cmake --build . --target sof-logger
104 ${SOF_DRIVERS_PATH}/intel/pmc-ipc.c
[all …]
/sof-2.7.6/scripts/
Drun-mocks.sh2 # SPDX-License-Identifier: BSD-3-Clause
6 # Stop on most errors
7 set -e
14 Usage: [ -v ] [ -c platform_defconfig ]
16 Re-compiles unit tests with the host toolchain and runs them one by
18 and better looking to run "make -j test". See
34 v) VALGRIND_CMD="valgrind --tool=memcheck --track-origins=yes \
35 --leak-check=full --show-leak-kinds=all --error-exitcode=1"
42 shift $((OPTIND -1 ))
44 test -z "$1" || usage
[all …]
Dxtensa-build-zephyr.sh2 # SPDX-License-Identifier: BSD-3-Clause
5 # stop on most errors
6 set -e
10 SUPPORTED_PLATFORMS=(apl cnl icl tgl-h)
11 # Default value, can (and sometimes must) be overridden with -p
13 BUILD_JOBS=$(nproc --all)
30 Re-configures and re-builds SOF with Zephyr using a pre-installed Zephyr toolchain and
35 -a Build all platforms.
36 -j n Set number of make build jobs. Jobs=#cores by default.
38 -k Path to a non-default rimage signing key.
[all …]
/sof-2.7.6/src/include/sof/audio/
Dcomponent_ext.h1 /* SPDX-License-Identifier: BSD-3-Clause
38 ((dir) == PPL_DIR_DOWNSTREAM ? &comp->bsink_list : \
39 &comp->bsource_list)
47 assert(dev->drv->ops.free); in comp_free()
50 if (dev->is_shared && dev->task) { in comp_free()
51 schedule_task_free(dev->task); in comp_free()
52 rfree(dev->task); in comp_free()
55 dev->drv->ops.free(dev); in comp_free()
67 * Parameter init for component on other core.
75 struct idc_msg msg = { IDC_MSG_PARAMS, IDC_MSG_PARAMS_EXT(dev->ipc_config.id), in comp_params_remote()
[all …]
Dpipeline.h1 /* SPDX-License-Identifier: BSD-3-Clause
17 #include <sof/audio/pipeline-trace.h>
48 uint32_t core; /**< core we run on */
123 * \return 0 on success.
132 * \return 0 on success.
151 * \return 0 on success.
166 * \return 0 on success.
175 * \return 0 on success.
187 return p->pipeline_id; in pipeline_id()
201 * \return 0 on success.
[all …]
/sof-2.7.6/installer/
DREADME.md2 ``/lib/firmware/intel/sof-tplg/`` directories.
5 ``./scripts/xtensa-build-all.sh`` and ``./scripts/build-tools.sh -T
6 -l``. It automatically runs these scripts when needed for the platforms
16 The default target (re-)generates the staging area:
18 make -C installer/
22 sudo make -C installer/ rsync
26 different directory, copy the ``sample-config.mk`` file to ``config.mk``
30 overridden on the command line.
34 make -C installer/ stage rsync
41 You can use `make -jN stage` to build multiple platforms faster but do
[all …]
/sof-2.7.6/src/idc/
Didc.c1 // SPDX-License-Identifier: BSD-3-Clause
37 /* 379a60ae-cedb-4777-aaf2-5659b0a85735 */
43 /* b90f5a4e-5537-4375-a1df-95485472ff9e */
44 DECLARE_SOF_UUID("comp-task", idc_comp_task_uuid, 0xb90f5a4e, 0x5537, 0x4375,
48 /* a5dacb0e-88dc-415c-a1b5-3e8df77f1976 */
49 DECLARE_SOF_UUID("idc-cmd-task", idc_cmd_task_uuid, 0xa5dacb0e, 0x88dc, 0x415c,
63 *(uint32_t *)payload->data = status; in idc_msg_status_set()
78 status = *(uint32_t *)payload->data; in idc_msg_status_get()
115 return -ETIME; in idc_wait_in_blocking_mode()
125 ipc_cmd(ipc->comp_data); in idc_ipc()
[all …]
/sof-2.7.6/src/trace/
Ddma-trace.c1 // SPDX-License-Identifier: BSD-3-Clause
24 #include <sof/trace/dma-trace.h>
35 /* 58782c63-1326-4185-8459-22272e12d1f1 */
36 DECLARE_SOF_UUID("dma-trace", dma_trace_uuid, 0x58782c63, 0x1326, 0x4185,
41 /* 2b972272-c5b1-4b7e-926f-0fc5cb4c4690 */
42 DECLARE_SOF_UUID("dma-trace-task", dma_trace_task_uuid, 0x2b972272, 0xc5b1,
49 /** Periodically runs and starts the DMA even when the buffer is not
55 struct dma_trace_buf *buffer = &d->dmatb; in trace_work()
56 struct dma_sg_config *config = &d->config; in trace_work()
58 uint32_t avail = buffer->avail; in trace_work()
[all …]
/sof-2.7.6/tools/tune/dmic/
Ddmic_fir.m7 % SPDX-License-Identifier: BSD-3-Clause
18 error('This function runs only in Matlab');
28 j = sqrt(-1);
36 hd = (1 - z_cic_lo.^(-1)).^5;
37 hi = (1 ./ (1 - z_cic_hi.^(-1))).^5;
44 n = min(n, max_length-1);
80 ni, max_length-1, n, passhz/1e3, stophz/1e3, rs);
92 n_fir = n_taps-1;
109 h_fir = h_fir + b(i).*z_fir.^(-i+1);
119 pb_ripple = (max(h_passband_db)-min(h_passband_db))/2;
[all …]
/sof-2.7.6/tools/fuzzer/
Dqemu-bridge.c1 // SPDX-License-Identifier: BSD-3-Clause
12 * The parent is usually the QEMU instance that runs the operating system (like
13 * Linux) on the application processor whilst the child is typically a smaller
29 #include "qemu-bridge.h"
80 mq_getattr(io->parent.mqdes, &io->parent.mqattr); in parent_reader_thread()
82 fprintf(stdout, "bridge-io: %d messages are currently on parent queue.\n", in parent_reader_thread()
83 (int)io->parent.mqattr.mq_curmsgs); in parent_reader_thread()
85 while (mq_receive(io->parent.mqdes, buf, QEMU_IO_MAX_MSG_SIZE, in parent_reader_thread()
86 NULL) != -1) { in parent_reader_thread()
90 fprintf(stdout, "bridge-io: msg recv %d type %d size %d msg %d\n", in parent_reader_thread()
[all …]
/sof-2.7.6/src/platform/intel/cavs/
Dplatform.c1 // SPDX-License-Identifier: BSD-3-Clause
18 #include <sof/drivers/dw-dma.h>
23 #include <sof/fw-ready-metadata.h>
41 #include <sof/trace/dma-trace.h>
63 /* opt-in; reproducible build by default */
65 .build = SOF_BUILD, /* See version-build-counter.cmake */
69 .build = -1,
304 pm_runtime_get(PM_RUNTIME_DSP, PWRD_BY_HPRO | (CONFIG_CORE_COUNT - 1)); in platform_boot_complete()
346 /* Runs on the primary core only */
355 sof->platform_timer = cache_to_uncache(&timer); in platform_init()
[all …]
/sof-2.7.6/scripts/kconfig/
Dkconfiglib.py1 # SPDX-License-Identifier: ISC
2 # Copyright (c) 2011-2018, Ulf Magnusson
9 from Kconfig (https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt)
15 Using Kconfiglib on the Linux kernel with the Makefile targets
22 $ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | git am
23 …$ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | patch -
25 Warning: Not passing -p1 to patch will cause the wrong file to be patched.
32 on how you can use Kconfiglib without it.
38 $ git am Kconfiglib/makefile.patch (or 'patch -p1 < Kconfiglib/makefile.patch')
48 ----------------
[all …]
/sof-2.7.6/src/drivers/intel/dmic/
Ddmic.c1 // SPDX-License-Identifier: BSD-3-Clause
31 #include <ipc/dai-intel.h>
38 /* aafc26fe-3b8d-498d-8bd6-248fc72efa31 */
39 DECLARE_SOF_UUID("dmic-dai", dmic_uuid, 0xaafc26fe, 0x3b8d, 0x498d,
44 /* 59c87728-d8f9-42f6-b89d-5870a87b0e1e */
45 DECLARE_SOF_UUID("dmic-work", dmic_work_task_uuid, 0x59c87728, 0xd8f9, 0x42f6,
71 ret = spin_try_lock(&dai->lock); in dmic_work()
73 dai_dbg(dai, "dmic_work(): spin_try_lock(dai->lock, ret) failed: RESCHEDULE"); in dmic_work()
80 dmic->startcount++; in dmic_work()
81 dmic->gain = q_multsr_sat_32x32(dmic->gain, dmic->gain_coef, Q_SHIFT_GAIN_X_GAIN_COEF); in dmic_work()
[all …]
/sof-2.7.6/tools/logger/
Dconvert.c1 // SPDX-License-Identifier: BSD-3-Clause
25 #define CEIL(a, b) ((a+b-1)/b)
31 #define TRACE_IDS_MASK ((1 << TRACE_ID_LENGTH) - 1)
32 #define INVALID_TRACE_ID (-1 & TRACE_IDS_MASK)
65 #define UUID_LOWER "%s%s%s<%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x>%s%s%s"
66 #define UUID_UPPER "%s%s%s<%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X>%s%s%s"
76 const struct sof_uuid *uid_val = &uid_entry->id; in format_uid_raw()
77 uint32_t a = be ? htobe32(uid_val->a) : uid_val->a; in format_uid_raw()
78 uint16_t b = be ? htobe16(uid_val->b) : uid_val->b; in format_uid_raw()
79 uint16_t c = be ? htobe16(uid_val->c) : uid_val->c; in format_uid_raw()
[all …]