Home
last modified time | relevance | path

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

/openbmc/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);
/openbmc/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 …]
/openbmc/linux/include/sound/sof/
H A Dchannel_map.h58 struct sof_ipc_channel_map ch_map[]; member
/openbmc/linux/drivers/net/ethernet/ti/
H A 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()
/openbmc/linux/sound/soc/samsung/
H A 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()
/openbmc/linux/include/uapi/sound/
H A Dskl-tplg-interface.h183 __u32 ch_map; member
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-topology.h155 u32 ch_map; member
220 u32 ch_map; member
H A Dskl-messages.c463 base_cfg->audio_fmt.channel_map = format->ch_map; in skl_set_base_module_format()
482 pin_fmt->channel_map = format->ch_map; in fill_pin_params()
741 out_fmt->channel_map = format->ch_map; in skl_setup_out_format()
784 mixer_mconfig->ch_map = fmt->ch_map; in skl_set_updown_mixer_format()
H A Dskl-debug.c64 fmt->ch_map); in skl_print_fmt()
H A Dskl-topology.c147 fmt->ch_map = slot_map; in skl_tplg_update_chmap()
2191 dst_fmt->ch_map = value; in skl_tplg_fill_fmt()
2763 dst_fmt[i].fmt.ch_map = src_fmt[i].ch_map; in skl_tplg_fill_fmt_v4()
/openbmc/linux/drivers/hwmon/
H A 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()
/openbmc/linux/sound/soc/sof/
H A Dipc4-topology.c65 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_map)},
85 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_map)},
177 pin_fmt[i].pin_index, fmt->sampling_frequency, fmt->bit_depth, fmt->ch_map, in sof_ipc4_dbg_audio_format()
1667 u32 ch_map; in sof_ipc4_prepare_copier_module() local
1677 ch_map = copier_data->base_config.audio_fmt.ch_map; in sof_ipc4_prepare_copier_module()
1678 for (i = 0; ch_map; i++) { in sof_ipc4_prepare_copier_module()
1679 if ((ch_map & 0xf) != 0xf) { in sof_ipc4_prepare_copier_module()
1683 ch_map >>= 4; in sof_ipc4_prepare_copier_module()
/openbmc/linux/drivers/edac/
H A 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()
/openbmc/linux/include/sound/sof/ipc4/
H A Dheader.h270 uint32_t ch_map; member
/openbmc/linux/drivers/net/ethernet/microchip/
H A 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c4520 u32 param, val, ch_map = 0; in t4_sge_alloc_rxq() local
4534 ch_map |= 1 << (i << cng_ch_bits_log); in t4_sge_alloc_rxq()
4536 val |= CONMCTXT_CNGCHMAP_V(ch_map); in t4_sge_alloc_rxq()