Home
last modified time | relevance | path

Searched refs:ch_map (Results 1 – 9 of 9) sorted by relevance

/linux/sound/soc/qcom/qdsp6/
H A Dq6dsp-common.c11 int q6dsp_map_channels(u8 ch_map[PCM_MAX_NUM_CHANNEL], int ch) in q6dsp_map_channels()
13 memset(ch_map, 0, PCM_MAX_NUM_CHANNEL); in q6dsp_map_channels()
17 ch_map[0] = PCM_CHANNEL_FC; in q6dsp_map_channels()
20 ch_map[0] = PCM_CHANNEL_FL; in q6dsp_map_channels()
21 ch_map[1] = PCM_CHANNEL_FR; in q6dsp_map_channels()
24 ch_map[0] = PCM_CHANNEL_FL; in q6dsp_map_channels()
25 ch_map[1] = PCM_CHANNEL_FR; in q6dsp_map_channels()
26 ch_map[2] = PCM_CHANNEL_FC; in q6dsp_map_channels()
29 ch_map[0] = PCM_CHANNEL_FL; in q6dsp_map_channels()
30 ch_map[1] = PCM_CHANNEL_FR; in q6dsp_map_channels()
[all …]
H A Dq6dsp-common.h22 int q6dsp_map_channels(u8 ch_map[PCM_MAX_NUM_CHANNEL], int ch);
H A Daudioreach.c295 void audioreach_set_default_channel_mapping(u8 *ch_map, int num_channels) in apm_populate_container_config()
298 ch_map[0] = PCM_CHANNEL_FL; in apm_populate_container_config()
300 ch_map[0] = PCM_CHANNEL_FL; in apm_populate_container_config()
301 ch_map[1] = PCM_CHANNEL_FR; in apm_populate_container_config()
303 ch_map[0] = PCM_CHANNEL_FL; in apm_populate_container_config()
304 ch_map[1] = PCM_CHANNEL_FR; in apm_populate_container_config()
305 ch_map[2] = PCM_CHANNEL_LS; in apm_populate_container_config()
306 ch_map[3] = PCM_CHANNEL_RS; in apm_populate_container_config()
270 audioreach_set_default_channel_mapping(u8 * ch_map,int num_channels) audioreach_set_default_channel_mapping() argument
/linux/drivers/input/touchscreen/
H A Dresistive-adc-touch.c55 u8 ch_map[GRTS_CH_MAX]; member
64 x = touch_info[st->ch_map[GRTS_CH_X]]; in grts_cb()
65 y = touch_info[st->ch_map[GRTS_CH_Y]]; in grts_cb()
67 if (st->ch_map[GRTS_CH_PRESSURE] < GRTS_MAX_CHANNELS) { in grts_cb()
68 press = touch_info[st->ch_map[GRTS_CH_PRESSURE]]; in grts_cb()
69 } else if (st->ch_map[GRTS_CH_Z1] < GRTS_MAX_CHANNELS) { in grts_cb()
70 unsigned int z1 = touch_info[st->ch_map[GRTS_CH_Z1]]; in grts_cb()
71 unsigned int z2 = touch_info[st->ch_map[GRTS_CH_Z2]]; in grts_cb()
149 st->ch_map[type] = idx; in grts_map_channel()
170 if (st->ch_map[GRTS_CH_PRESSURE] < GRTS_MAX_CHANNELS) { in grts_get_properties()
[all …]
/linux/sound/soc/sdw_utils/
H A Dsoc_sdw_cs_amp.c70 const struct snd_soc_dai_link_ch_map *ch_map; in asoc_sdw_cs_spk_feedback_rtd_init()
94 for_each_rtd_ch_maps(rtd, i, ch_map) { in asoc_sdw_cs_spk_feedback_rtd_init()
97 mask = GENMASK(ch_per_amp - 1, 0) << ch_slot[ch_map->cpu]; in asoc_sdw_cs_spk_feedback_rtd_init()
105 ch_slot[ch_map->cpu] += ch_per_amp; in asoc_sdw_cs_spk_feedback_rtd_init()
69 const struct snd_soc_dai_link_ch_map *ch_map; asoc_sdw_cs_spk_feedback_rtd_init() local
/linux/include/sound/sof/
H A Dchannel_map.h58 struct sof_ipc_channel_map ch_map[]; member
/linux/drivers/edac/
H A Di7core_edac.c206 u32 ch_map; member
504 pci_read_config_dword(pdev, MC_CHANNEL_MAPPER, &pvt->info.ch_map); in get_dimm_config()
508 pvt->info.mc_status, pvt->info.max_dod, pvt->info.ch_map); in get_dimm_config()
573 RDLCH(pvt->info.ch_map, i), WRLCH(pvt->info.ch_map, i), in get_dimm_config()
/linux/sound/soc/sof/
H A Dipc4-topology.c101 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_map)},
121 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_map)},
252 fmt->ch_map, fmt->ch_cfg, fmt->interleaving_style, fmt->fmt_cfg, in sof_ipc4_dbg_audio_format()
2304 u32 ch_map; in sof_ipc4_prepare_copier_module() local
2313 ch_map = copier_data->base_config.audio_fmt.ch_map; in sof_ipc4_prepare_copier_module()
2314 for (i = 0; ch_map; i++) { in sof_ipc4_prepare_copier_module()
2315 if ((ch_map & 0xf) != 0xf) { in sof_ipc4_prepare_copier_module()
2319 ch_map >>= 4; in sof_ipc4_prepare_copier_module()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c4507 u32 param, val, ch_map = 0; in t4_sge_alloc_rxq() local
4521 ch_map |= 1 << (i << cng_ch_bits_log); in t4_sge_alloc_rxq()
4523 val |= CONMCTXT_CNGCHMAP_V(ch_map); in t4_sge_alloc_rxq()