Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 155) sorted by relevance

1234567

/sof-2.7.6/src/platform/intel/cavs/lib/
Dpm_runtime.c135 static inline void cavs_pm_runtime_dis_ssp_clk_gating(uint32_t index) in cavs_pm_runtime_dis_ssp_clk_gating() argument
141 (index < DAI_NUM_SSP_BASE ? in cavs_pm_runtime_dis_ssp_clk_gating()
142 SHIM_CLKCTL_I2SFDCGB(index) : in cavs_pm_runtime_dis_ssp_clk_gating()
143 SHIM_CLKCTL_I2SEFDCGB(index - DAI_NUM_SSP_BASE)); in cavs_pm_runtime_dis_ssp_clk_gating()
148 index, shim_reg); in cavs_pm_runtime_dis_ssp_clk_gating()
152 static inline void cavs_pm_runtime_en_ssp_clk_gating(uint32_t index) in cavs_pm_runtime_en_ssp_clk_gating() argument
158 ~(index < DAI_NUM_SSP_BASE ? in cavs_pm_runtime_en_ssp_clk_gating()
159 SHIM_CLKCTL_I2SFDCGB(index) : in cavs_pm_runtime_en_ssp_clk_gating()
160 SHIM_CLKCTL_I2SEFDCGB(index - DAI_NUM_SSP_BASE)); in cavs_pm_runtime_en_ssp_clk_gating()
165 index, shim_reg); in cavs_pm_runtime_en_ssp_clk_gating()
[all …]
/sof-2.7.6/src/lib/
Dpm_runtime.c53 void pm_runtime_get(enum pm_runtime_context context, uint32_t index) in pm_runtime_get() argument
55 tr_dbg(&pm_tr, "pm_runtime_get() context %d index %d", context, index); in pm_runtime_get()
59 platform_pm_runtime_get(context, index, RPM_ASYNC); in pm_runtime_get()
64 void pm_runtime_get_sync(enum pm_runtime_context context, uint32_t index) in pm_runtime_get_sync() argument
67 index); in pm_runtime_get_sync()
71 platform_pm_runtime_get(context, index, 0); in pm_runtime_get_sync()
78 void pm_runtime_put(enum pm_runtime_context context, uint32_t index) in pm_runtime_put() argument
80 tr_dbg(&pm_tr, "pm_runtime_put() context %d index %d", context, index); in pm_runtime_put()
84 platform_pm_runtime_put(context, index, RPM_ASYNC); in pm_runtime_put()
89 void pm_runtime_put_sync(enum pm_runtime_context context, uint32_t index) in pm_runtime_put_sync() argument
[all …]
/sof-2.7.6/tools/topology/topology2/
Dcavs-windows-simple-pipeline.conf35 index 0
41 index 1
53 index 2
168 index 1
172 index 2
176 index 3
180 index 4
184 index 5
188 index 6
192 index 7
[all …]
Dcavs-gain-hda.conf27 index 0
33 index 1
45 index 2
61 index 0
67 index 3
80 index 4
96 index 0
101 index 5
116 index 0
121 index 6
[all …]
/sof-2.7.6/src/drivers/intel/cavs/
Dtimestamp.c169 static uint32_t ssp_ts_local_tsctrl_addr(int index) in ssp_ts_local_tsctrl_addr() argument
176 if (index < DAI_NUM_SSP_BASE) in ssp_ts_local_tsctrl_addr()
177 return TIMESTAMP_BASE + TS_I2S_LOCAL_TSCTRL(index); in ssp_ts_local_tsctrl_addr()
179 return TIMESTAMP_BASE + TS_I2SE_LOCAL_TSCTRL(index); in ssp_ts_local_tsctrl_addr()
181 return TIMESTAMP_BASE + TS_I2S_LOCAL_TSCTRL(index); in ssp_ts_local_tsctrl_addr()
185 static uint32_t ssp_ts_local_sample_addr(int index) in ssp_ts_local_sample_addr() argument
188 if (index < DAI_NUM_SSP_BASE) in ssp_ts_local_sample_addr()
189 return TIMESTAMP_BASE + TS_I2S_LOCAL_SAMPLE(index); in ssp_ts_local_sample_addr()
191 return TIMESTAMP_BASE + TS_I2SE_LOCAL_SAMPLE(index); in ssp_ts_local_sample_addr()
193 return TIMESTAMP_BASE + TS_I2S_LOCAL_SAMPLE(index); in ssp_ts_local_sample_addr()
[all …]
/sof-2.7.6/src/arch/xtensa/xtos/
Dinterrupt-pri.h119 .macro indexmask_int index, mask, intptr, tmp
122 msindex_int \index, \mask // \index = index of msbit set in \mask (\tmp is tmp, \mask clobbered)
126 ssr \index
130 ssl \index
136 neg \index, \mask // find lsbit in \mask ...
137 and \mask, \index, \mask // ...
138 …msindex_int_nc \index, \mask, \tmp // \index = index of msbit set in \mask (\tmp is tmp, \mask not…
162 .macro index_int index, mask, intptr, tmp
164 msindex_int_nc \index, \mask, \tmp // \index = index of msbit set in \mask (\mask not clobbered)
168 msindex_int \index, \tmp // \index = index of msbit set in \tmp (\tmp is clobbered)
/sof-2.7.6/src/include/sof/lib/
Dpm_runtime.h89 void pm_runtime_get(enum pm_runtime_context context, uint32_t index);
97 void pm_runtime_get_sync(enum pm_runtime_context context, uint32_t index);
105 void pm_runtime_put(enum pm_runtime_context context, uint32_t index);
113 void pm_runtime_put_sync(enum pm_runtime_context context, uint32_t index);
121 void pm_runtime_enable(enum pm_runtime_context context, uint32_t index);
129 void pm_runtime_disable(enum pm_runtime_context context, uint32_t index);
139 bool pm_runtime_is_active(enum pm_runtime_context context, uint32_t index);
/sof-2.7.6/src/platform/suecreek/include/platform/lib/
Dpm_runtime.h35 void platform_pm_runtime_get(uint32_t context, uint32_t index, uint32_t flags);
44 void platform_pm_runtime_put(uint32_t context, uint32_t index, uint32_t flags);
46 void platform_pm_runtime_enable(uint32_t context, uint32_t index);
48 void platform_pm_runtime_disable(uint32_t context, uint32_t index);
50 bool platform_pm_runtime_is_active(uint32_t context, uint32_t index);
/sof-2.7.6/src/platform/tigerlake/include/platform/lib/
Dpm_runtime.h35 void platform_pm_runtime_get(uint32_t context, uint32_t index, uint32_t flags);
44 void platform_pm_runtime_put(uint32_t context, uint32_t index, uint32_t flags);
46 void platform_pm_runtime_enable(uint32_t context, uint32_t index);
48 void platform_pm_runtime_disable(uint32_t context, uint32_t index);
50 bool platform_pm_runtime_is_active(uint32_t context, uint32_t index);
/sof-2.7.6/src/platform/library/include/platform/lib/
Dpm_runtime.h37 static inline void platform_pm_runtime_get(uint32_t context, uint32_t index, in platform_pm_runtime_get() argument
47 static inline void platform_pm_runtime_put(uint32_t context, uint32_t index, in platform_pm_runtime_put() argument
51 uint32_t index) {} in platform_pm_runtime_enable() argument
54 uint32_t index) {} in platform_pm_runtime_disable() argument
57 uint32_t index) in platform_pm_runtime_is_active() argument
/sof-2.7.6/src/platform/imx8m/include/platform/lib/
Dpm_runtime.h30 static inline void platform_pm_runtime_get(uint32_t context, uint32_t index, in platform_pm_runtime_get() argument
40 static inline void platform_pm_runtime_put(uint32_t context, uint32_t index, in platform_pm_runtime_put() argument
44 uint32_t index) {} in platform_pm_runtime_enable() argument
47 uint32_t index) {} in platform_pm_runtime_disable() argument
50 uint32_t index) in platform_pm_runtime_is_active() argument
/sof-2.7.6/src/platform/imx8ulp/include/platform/lib/
Dpm_runtime.h31 static inline void platform_pm_runtime_get(uint32_t context, uint32_t index, in platform_pm_runtime_get() argument
41 static inline void platform_pm_runtime_put(uint32_t context, uint32_t index, in platform_pm_runtime_put() argument
45 uint32_t index) {} in platform_pm_runtime_enable() argument
48 uint32_t index) {} in platform_pm_runtime_disable() argument
51 uint32_t index) in platform_pm_runtime_is_active() argument
/sof-2.7.6/src/platform/cannonlake/include/platform/lib/
Dpm_runtime.h35 void platform_pm_runtime_get(uint32_t context, uint32_t index, uint32_t flags);
44 void platform_pm_runtime_put(uint32_t context, uint32_t index, uint32_t flags);
46 void platform_pm_runtime_enable(uint32_t context, uint32_t index);
48 void platform_pm_runtime_disable(uint32_t context, uint32_t index);
50 bool platform_pm_runtime_is_active(uint32_t context, uint32_t index);
/sof-2.7.6/src/platform/imx8/include/platform/lib/
Dpm_runtime.h30 static inline void platform_pm_runtime_get(uint32_t context, uint32_t index, in platform_pm_runtime_get() argument
40 static inline void platform_pm_runtime_put(uint32_t context, uint32_t index, in platform_pm_runtime_put() argument
44 uint32_t index) {} in platform_pm_runtime_enable() argument
47 uint32_t index) {} in platform_pm_runtime_disable() argument
50 uint32_t index) in platform_pm_runtime_is_active() argument
/sof-2.7.6/src/platform/icelake/include/platform/lib/
Dpm_runtime.h35 void platform_pm_runtime_get(uint32_t context, uint32_t index, uint32_t flags);
44 void platform_pm_runtime_put(uint32_t context, uint32_t index, uint32_t flags);
46 void platform_pm_runtime_enable(uint32_t context, uint32_t index);
48 void platform_pm_runtime_disable(uint32_t context, uint32_t index);
50 bool platform_pm_runtime_is_active(uint32_t context, uint32_t index);
/sof-2.7.6/src/platform/apollolake/include/platform/lib/
Dpm_runtime.h36 void platform_pm_runtime_get(uint32_t context, uint32_t index, uint32_t flags);
45 void platform_pm_runtime_put(uint32_t context, uint32_t index, uint32_t flags);
47 void platform_pm_runtime_enable(uint32_t context, uint32_t index);
49 void platform_pm_runtime_disable(uint32_t context, uint32_t index);
51 bool platform_pm_runtime_is_active(uint32_t context, uint32_t index);
/sof-2.7.6/src/platform/baytrail/include/platform/lib/
Dpm_runtime.h36 static inline void platform_pm_runtime_get(uint32_t context, uint32_t index, in platform_pm_runtime_get() argument
46 static inline void platform_pm_runtime_put(uint32_t context, uint32_t index, in platform_pm_runtime_put() argument
50 uint32_t index) {} in platform_pm_runtime_enable() argument
53 uint32_t index) {} in platform_pm_runtime_disable() argument
56 uint32_t index) in platform_pm_runtime_is_active() argument
/sof-2.7.6/src/platform/haswell/include/platform/lib/
Dpm_runtime.h37 static inline void platform_pm_runtime_get(uint32_t context, uint32_t index, in platform_pm_runtime_get() argument
47 static inline void platform_pm_runtime_put(uint32_t context, uint32_t index, in platform_pm_runtime_put() argument
51 uint32_t index) {} in platform_pm_runtime_enable() argument
54 uint32_t index) {} in platform_pm_runtime_disable() argument
57 uint32_t index) in platform_pm_runtime_is_active() argument
/sof-2.7.6/src/platform/amd/renoir/include/platform/lib/
Dpm_runtime.h31 static inline void platform_pm_runtime_get(uint32_t context, uint32_t index, in platform_pm_runtime_get() argument
41 static inline void platform_pm_runtime_put(uint32_t context, uint32_t index, in platform_pm_runtime_put() argument
45 uint32_t index) {} in platform_pm_runtime_enable() argument
48 uint32_t index) {} in platform_pm_runtime_disable() argument
51 uint32_t index) in platform_pm_runtime_is_active() argument
/sof-2.7.6/src/drivers/dw/
Ddma.c87 dma_reg_write(channel->dma, DW_MASK_TFR, DW_CHAN_MASK(channel->index)); in dw_dma_interrupt_mask()
89 DW_CHAN_MASK(channel->index)); in dw_dma_interrupt_mask()
90 dma_reg_write(channel->dma, DW_MASK_ERR, DW_CHAN_MASK(channel->index)); in dw_dma_interrupt_mask()
98 DW_CHAN_UNMASK(channel->index)); in dw_dma_interrupt_unmask()
101 DW_CHAN_UNMASK(channel->index)); in dw_dma_interrupt_unmask()
104 DW_CHAN_UNMASK(channel->index)); in dw_dma_interrupt_unmask()
110 dma_reg_write(channel->dma, DW_CLEAR_TFR, DW_CHAN(channel->index)); in dw_dma_interrupt_clear()
111 dma_reg_write(channel->dma, DW_CLEAR_BLOCK, DW_CHAN(channel->index)); in dw_dma_interrupt_clear()
112 dma_reg_write(channel->dma, DW_CLEAR_SRC_TRAN, DW_CHAN(channel->index)); in dw_dma_interrupt_clear()
113 dma_reg_write(channel->dma, DW_CLEAR_DST_TRAN, DW_CHAN(channel->index)); in dw_dma_interrupt_clear()
[all …]
/sof-2.7.6/src/audio/
Dchannel_map.c24 int index) in chmap_get() argument
30 if (index >= smap->num_ch_map) { in chmap_get()
32 index, smap->num_ch_map); in chmap_get()
41 } while (index-- > 0); in chmap_get()
/sof-2.7.6/tools/topology/topology1/m4/
Dbytecontrol.m451 dnl C_CONTROLBYTES(name, index, ops, base, num_regs, mask, max, tlv, priv)
55 ` # control belongs to this index group'
56 ` index STR($2)'
79 dnl C_CONTROLBYTES_VOLATILE_READONLY(name, index, ops, base, num_regs, mask, max, tlv, priv)
83 ` # control belongs to this index group'
84 ` index STR($2)'
107 dnl C_CONTROLBYTES_WRITEONLY(name, index, ops, base, num_regs, mask, max, tlv, priv)
111 ` # control belongs to this index group'
112 ` index STR($2)'
134 dnl C_CONTROLBYTES_VOLATILE_RW(name, index, ops, base, num_regs, mask, max, tlv, priv)
[all …]
Denumcontrol.m426 dnl C_CONTROLENUM(name, index, ops, ops, enums)
30 ` # control belongs to this index group'
31 ` index STR($2)'
43 dnl C_CONTROLENUM(name, index, ops, ops, enums)
47 ` # control belongs to this index group'
48 ` index STR($2)'
/sof-2.7.6/tools/tune/eq/
Dgui.m120 % dropdown maps straight to filter index
151 biquad = EQ(udata.index, udata.channel);
235 biquad = EQ(udata.index, udata.channel);
251 editbox = getfield(EQ(udata.index, udata.channel), udata.prefix).edit;
263 slider = getfield(EQ(udata.index, udata.channel), udata.prefix).slider;
272 function EQ = initialize_biquad(index, channel, position, main_panes, Fs, EQ)
295 EQ(index, channel).pane = uipanel ("parent", main_panes(channel).pane, "position", position);
296 p = EQ(index, channel).pane;
298 EQ(index, channel).gain.label = uicontrol( ...
304 EQ(index, channel).gain.edit = uicontrol( ...
[all …]
/sof-2.7.6/tools/testbench/
Dtestbench.c70 int index; in parse_output_files() local
72 for (index = 0; index < MAX_OUTPUT_FILE_NUM && token; index++) { in parse_output_files()
74 tp->output_file[index] = strdup(token); in parse_output_files()
80 if (index == MAX_OUTPUT_FILE_NUM && token) { in parse_output_files()
83 for (index = 0; index < MAX_OUTPUT_FILE_NUM; index++) in parse_output_files()
84 free(tp->output_file[index]); in parse_output_files()
89 tp->output_file_num = index; in parse_output_files()
107 int index; in parse_libraries() local
115 index = get_index_by_name(token1, lib_table); in parse_libraries()
116 if (index < 0) { in parse_libraries()
[all …]

1234567