Home
last modified time | relevance | path

Searched refs:port_id (Results 1 – 14 of 14) sorted by relevance

/sound/soc/qcom/qdsp6/
Dq6adm.c280 int port_id, int copp_idx) in q6adm_device_close() argument
288 close.hdr.src_port = port_id; in q6adm_device_close()
290 close.hdr.token = port_id << 16 | copp_idx; in q6adm_device_close()
297 int port_id, int topology, in q6adm_find_matching_copp() argument
309 if ((port_id == c->afe_port) && (topology == c->topology) && in q6adm_find_matching_copp()
322 int port_id, int path, int topology, in q6adm_device_open() argument
326 int afe_port = q6afe_get_port_id(port_id); in q6adm_device_open()
344 pkt->hdr.token = port_id << 16 | copp->copp_idx; in q6adm_device_open()
383 struct q6copp *q6adm_open(struct device *dev, int port_id, int path, int rate, in q6adm_open() argument
392 if (port_id < 0) { in q6adm_open()
[all …]
Dq6afe.c323 u16 port_id; member
328 u16 port_id; member
348 u16 port_id; member
490 int port_id; member
799 return port_maps[index].port_id; in q6afe_get_port_id()
854 u16 port_id = port->id; in q6afe_port_set_param() local
889 port_id, ret); in q6afe_port_set_param()
902 u16 port_id = port->id; in q6afe_port_set_param_v2() local
926 param->port_id = port_id; in q6afe_port_set_param_v2()
938 port_id, ret); in q6afe_port_set_param_v2()
[all …]
Dq6routing.c275 int port_id; member
323 pdata = &routing_data->port_data[session->port_id]; in q6routing_stream_open()
335 copp = q6adm_open(routing_data->dev, session->port_id, in q6routing_stream_open()
350 payload.port_id[num_copps] = session->port_id; in q6routing_stream_open()
420 if (session->port_id == mc->reg) in msm_routing_get_audio_mixer()
443 if (session->port_id == be_id) in msm_routing_put_audio_mixer()
446 session->port_id = be_id; in msm_routing_put_audio_mixer()
449 if (session->port_id == -1 || session->port_id != be_id) in msm_routing_put_audio_mixer()
452 session->port_id = -1; in msm_routing_put_audio_mixer()
998 routing_data->sessions[i].port_id = -1; in msm_routing_probe()
Dq6adm.h15 int port_id[MAX_COPPS_PER_PORT]; member
19 struct q6copp *q6adm_open(struct device *dev, int port_id, int path, int rate,
/sound/soc/sh/
Dsiu_dai.c154 if (!info->port_id) in siu_dai_spbAselect()
179 if (!info->port_id) in siu_dai_spbBselect()
200 switch (info->port_id) { in siu_dai_open()
230 switch (info->port_id) { in siu_dai_pcmdatapack()
502 info->port_id, port_info); in siu_dai_startup()
522 info->port_id, port_info); in siu_dai_shutdown()
551 __func__, info->port_id, port_info->play_cap, rt->channels); in siu_dai_prepare()
597 __func__, fmt, info->port_id); in siu_dai_set_fmt()
599 if (info->port_id < 0) in siu_dai_set_fmt()
605 ifctl = siu_flags[info->port_id].playback.i2s | in siu_dai_set_fmt()
[all …]
Dsiu_pcm.c291 dev_dbg(dev, "%s: port=%d\n", __func__, info->port_id); in siu_pcm_hw_params()
312 dev_dbg(dev, "%s: port=%d\n", __func__, info->port_id); in siu_pcm_hw_free()
336 u32 port = info->port_id; in siu_pcm_open()
377 dev_dbg(dev, "%s: port=%d\n", __func__, info->port_id); in siu_pcm_close()
412 info->port_id, rt->channels, siu_stream->period_bytes); in siu_pcm_prepare()
430 "format=%d channels=%d xfer_cnt=%d\n", info->port_id, in siu_pcm_prepare()
446 info->port_id, port_info, cmd); in siu_pcm_trigger()
457 __func__, info->port_id); in siu_pcm_trigger()
505 __func__, info->port_id, siu_read32(base + SIU_EVNTC), in siu_pcm_pointer_dma()
529 info->port_id = pdev->id; in siu_pcm_new()
Dsiu.h90 int port_id; member
/sound/soc/ti/
Domap-mcbsp.h30 int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd, int port_id);
Domap-mcbsp-st.c490 int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd, int port_id) in omap_mcbsp_st_add_controls() argument
500 switch (port_id) { in omap_mcbsp_st_add_controls()
510 dev_err(mcbsp->dev, "Port %d not supported\n", port_id); in omap_mcbsp_st_add_controls()
/sound/soc/codecs/
Dwcd9335.c1287 u32 port_id = w->shift; in slim_rx_mux_put() local
1293 list_del_init(&wcd->rx_chs[port_id].list); in slim_rx_mux_put()
1296 list_add_tail(&wcd->rx_chs[port_id].list, in slim_rx_mux_put()
1300 list_add_tail(&wcd->rx_chs[port_id].list, in slim_rx_mux_put()
1304 list_add_tail(&wcd->rx_chs[port_id].list, in slim_rx_mux_put()
1308 list_add_tail(&wcd->rx_chs[port_id].list, in slim_rx_mux_put()
1347 int port_id = mixer->shift; in slim_tx_mixer_put() local
1354 if (enable && !(wcd->tx_port_value & BIT(port_id))) { in slim_tx_mixer_put()
1355 wcd->tx_port_value |= BIT(port_id); in slim_tx_mixer_put()
1356 list_add_tail(&wcd->tx_chs[port_id].list, in slim_tx_mixer_put()
[all …]
Dhdac_hdmi.c1258 int port_id = -1; in hdac_hdmi_present_sense() local
1271 port_id = port->id; in hdac_hdmi_present_sense()
1273 size = snd_hdac_acomp_get_eld(hdev, pin->nid, port_id, in hdac_hdmi_present_sense()
/sound/pci/hda/
Dhda_eld.c250 e->port_id = get_unaligned_le64(buf + 8); in snd_hdmi_parse_eld()
476 snd_iprintf(buffer, "port_id\t\t\t0x%llx\n", (long long)e->port_id); in snd_hdmi_print_eld_info()
515 e->port_id = val; in snd_hdmi_write_eld_info()
Dhda_local.h679 u64 port_id; member
/sound/usb/
Dmixer_scarlett_gen2.c875 int port_id = ports[port_type].id; in scarlett2_usb_set_mux() local
884 req.data[i] = !port_id in scarlett2_usb_set_mux()
887 port_id | in scarlett2_usb_set_mux()