Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/qcom/qdsp6/
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 …]
Dq6dsp-common.h22 int q6dsp_map_channels(u8 ch_map[PCM_MAX_NUM_CHANNEL], int ch);
Daudioreach.c270 void audioreach_set_default_channel_mapping(u8 *ch_map, int num_channels) in audioreach_set_default_channel_mapping() argument
273 ch_map[0] = PCM_CHANNEL_FL; in audioreach_set_default_channel_mapping()
275 ch_map[0] = PCM_CHANNEL_FL; in audioreach_set_default_channel_mapping()
276 ch_map[1] = PCM_CHANNEL_FR; in audioreach_set_default_channel_mapping()
278 ch_map[0] = PCM_CHANNEL_FL; in audioreach_set_default_channel_mapping()
279 ch_map[1] = PCM_CHANNEL_FR; in audioreach_set_default_channel_mapping()
280 ch_map[2] = PCM_CHANNEL_LS; in audioreach_set_default_channel_mapping()
281 ch_map[3] = PCM_CHANNEL_RS; in audioreach_set_default_channel_mapping()
Daudioreach.h769 void audioreach_set_default_channel_mapping(u8 *ch_map, int num_channels);
/linux-6.12.1/drivers/input/touchscreen/
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-6.12.1/include/sound/sof/
Dchannel_map.h58 struct sof_ipc_channel_map ch_map[]; member
/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_priv.c134 u32 ch_map; in cpsw_tx_mq_poll() local
138 ch_map = cpdma_ctrl_txchs_state(cpsw->dma); in cpsw_tx_mq_poll()
139 for (ch = 0, num_tx = 0; ch_map & 0xff; ch_map <<= 1, ch++) { in cpsw_tx_mq_poll()
140 if (!(ch_map & 0x80)) in cpsw_tx_mq_poll()
184 u32 ch_map; in cpsw_rx_mq_poll() local
188 ch_map = cpdma_ctrl_rxchs_state(cpsw->dma); in cpsw_rx_mq_poll()
189 for (ch = 0, num_rx = 0; ch_map; ch_map >>= 1, ch++) { in cpsw_rx_mq_poll()
190 if (!(ch_map & 0x01)) in cpsw_rx_mq_poll()
/linux-6.12.1/sound/soc/samsung/
Dtm2_wm5110.c310 unsigned int ch_map[] = { 0, 1 }; in tm2_late_probe() local
341 ret = snd_soc_dai_set_channel_map(amp_pdm_dai, ARRAY_SIZE(ch_map), in tm2_late_probe()
342 ch_map, 0, NULL); in tm2_late_probe()
/linux-6.12.1/drivers/hwmon/
Dmr75203.c145 u32 ch_map; member
323 ch_idx = pvt->vd[channel].ch_map; in pvt_read_in()
678 pvt->vd[k].ch_map = j; in pvt_get_active_channel()
/linux-6.12.1/sound/soc/sof/
Dipc4-topology.c67 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_map)},
87 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_map)},
201 fmt->ch_map, fmt->ch_cfg, fmt->interleaving_style, fmt->fmt_cfg, in sof_ipc4_dbg_audio_format()
1948 u32 ch_map; in sof_ipc4_prepare_copier_module() local
1957 ch_map = copier_data->base_config.audio_fmt.ch_map; in sof_ipc4_prepare_copier_module()
1958 for (i = 0; ch_map; i++) { in sof_ipc4_prepare_copier_module()
1959 if ((ch_map & 0xf) != 0xf) { in sof_ipc4_prepare_copier_module()
1963 ch_map >>= 4; in sof_ipc4_prepare_copier_module()
/linux-6.12.1/drivers/edac/
Di7core_edac.c206 u32 ch_map; member
505 pci_read_config_dword(pdev, MC_CHANNEL_MAPPER, &pvt->info.ch_map); in get_dimm_config()
509 pvt->info.mc_status, pvt->info.max_dod, pvt->info.ch_map); in get_dimm_config()
574 RDLCH(pvt->info.ch_map, i), WRLCH(pvt->info.ch_map, i), in get_dimm_config()
/linux-6.12.1/include/sound/sof/ipc4/
Dheader.h277 uint32_t ch_map; member
/linux-6.12.1/include/sound/
Dsoc.h879 #define for_each_link_ch_maps(link, i, ch_map) \ argument
882 ((ch_map) = link->ch_maps + i)); \
/linux-6.12.1/drivers/net/ethernet/microchip/
Dlan743x_ptp.c28 static int lan743x_get_channel(u32 ch_map) in lan743x_get_channel() argument
33 if (ch_map & (0x1 << idx)) in lan743x_get_channel()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c4506 u32 param, val, ch_map = 0; in t4_sge_alloc_rxq() local
4520 ch_map |= 1 << (i << cng_ch_bits_log); in t4_sge_alloc_rxq()
4522 val |= CONMCTXT_CNGCHMAP_V(ch_map); in t4_sge_alloc_rxq()