Home
last modified time | relevance | path

Searched refs:token (Results 1 – 18 of 18) sorted by relevance

/sound/soc/intel/avs/
Dtopology.c35 u32 block_size, u32 token, u32 *offset) in avs_tplg_vendor_array_lookup() argument
47 if (le32_to_cpu(tuple->token) == token) { in avs_tplg_vendor_array_lookup()
71 u32 block_size, u32 token, u32 *offset) in avs_tplg_vendor_array_lookup_next() argument
82 ret = avs_tplg_vendor_array_lookup(tuples, block_size, token, offset); in avs_tplg_vendor_array_lookup_next()
122 enum avs_tplg_token token; member
208 parsers[j].token != le32_to_cpu(tuple->token)) in avs_parse_uuid_tokens()
234 parsers[j].token != le32_to_cpu(tuple->token)) in avs_parse_string_tokens()
265 if (parsers[j].token != le32_to_cpu(tuple->token)) in avs_parse_word_tokens()
403 if (le32_to_cpu(tuple->token) != num_entries_token) { in parse_dictionary_header()
475 .token = AVS_TKN_LIBRARY_NAME_STRING,
[all …]
/sound/soc/qcom/qdsp6/
Dq6afe.c546 int token; member
568 int token; member
852 static struct q6afe_port *q6afe_find_port(struct q6afe *afe, int token) in q6afe_find_port() argument
860 if (p->token == token) { in q6afe_find_port()
892 port = q6afe_find_port(afe, hdr->token); in q6afe_callback()
897 } else if (hdr->token == AFE_CLK_TOKEN) { in q6afe_callback()
982 int token) in q6afe_set_param() argument
1007 pkt->hdr.token = token; in q6afe_set_param()
1030 psize, port->token); in q6afe_port_set_param()
1061 pkt->hdr.token = port->token; in q6afe_port_set_param_v2()
[all …]
Dtopology.c219 switch (le32_to_cpu(sg_elem->token)) { in audioreach_get_sg_array()
252 switch (le32_to_cpu(cont_elem->token)) { in audioreach_get_cont_array()
285 switch (le32_to_cpu(mod_elem->token)) { in audioreach_get_module_array()
317 switch (le32_to_cpu(sg_elem->token)) { in audioreach_parse_sg_tokens()
345 dev_err(apm->dev, "Not a valid token %d for graph\n", sg_elem->token); in audioreach_parse_sg_tokens()
374 switch (le32_to_cpu(cont_elem->token)) { in audioreach_parse_cont_tokens()
394 dev_err(apm->dev, "Not a valid token %d for graph\n", cont_elem->token); in audioreach_parse_cont_tokens()
423 switch (le32_to_cpu(mod_elem->token)) { in audioreach_parse_common_tokens()
537 switch (le32_to_cpu(mod_elem->token)) { in audioreach_widget_load_enc_dec_cnv()
566 switch (le32_to_cpu(mod_elem->token)) { in audioreach_widget_log_module_load()
[all …]
Dq6adm.c136 copp_idx = (hdr->token) & 0XFF; in q6adm_callback()
137 port_idx = ((hdr->token) >> 16) & 0xFF; in q6adm_callback()
140 port_idx, hdr->token); in q6adm_callback()
145 copp_idx, hdr->token); in q6adm_callback()
290 close.hdr.token = port_id << 16 | copp_idx; in q6adm_device_close()
344 pkt->hdr.token = port_id << 16 | copp->copp_idx; in q6adm_device_open()
488 pkt->hdr.token = 0; in q6adm_matrix_map()
Dq6apm.c512 int token; in graph_callback() local
522 token = hdr->token & APM_WRITE_TOKEN_MASK; in graph_callback()
525 phys = graph->rx_data.buf[token].phys; in graph_callback()
533 graph->cb(client_event, hdr->token, data->payload, graph->priv); in graph_callback()
545 if (hdr->token == SNDRV_PCM_STREAM_PLAYBACK) in graph_callback()
558 phys = graph->tx_data.buf[hdr->token].phys; in graph_callback()
566 graph->cb(client_event, hdr->token, data->payload, graph->priv); in graph_callback()
579 if (hdr->token == SNDRV_PCM_STREAM_PLAYBACK) in graph_callback()
Dq6asm.c288 hdr->token = ac->session; in q6asm_add_hdr()
354 pkt->hdr.token = ((ac->session << 8) | dir); in __q6asm_memory_unmap()
462 pkt->hdr.token = ((ac->session << 8) | dir); in __q6asm_memory_map_regions()
666 ac->cb(client_event, hdr->token, in q6asm_stream_callback()
677 int token = hdr->token & ASM_WRITE_TOKEN_MASK; in q6asm_stream_callback() local
689 phys = port->buf[token].phys; in q6asm_stream_callback()
694 &port->buf[token].phys); in q6asm_stream_callback()
717 phys = port->buf[hdr->token].phys; in q6asm_stream_callback()
722 &port->buf[hdr->token].phys, in q6asm_stream_callback()
739 ac->cb(client_event, hdr->token, data->payload, ac->priv); in q6asm_stream_callback()
[all …]
Daudioreach.c197 static void *__audioreach_alloc_pkt(int payload_size, uint32_t opcode, uint32_t token, in __audioreach_alloc_pkt() argument
220 pkt->hdr.token = token; in __audioreach_alloc_pkt()
234 void *audioreach_alloc_pkt(int payload_size, uint32_t opcode, uint32_t token, in audioreach_alloc_pkt() argument
237 return __audioreach_alloc_pkt(payload_size, opcode, token, src_port, dest_port, false); in audioreach_alloc_pkt()
241 void *audioreach_alloc_apm_pkt(int pkt_size, uint32_t opcode, uint32_t token, uint32_t src_port) in audioreach_alloc_apm_pkt() argument
243 return __audioreach_alloc_pkt(pkt_size, opcode, token, src_port, APM_MODULE_INSTANCE_ID, in audioreach_alloc_apm_pkt()
248 void *audioreach_alloc_cmd_pkt(int payload_size, uint32_t opcode, uint32_t token, in audioreach_alloc_cmd_pkt() argument
251 return __audioreach_alloc_pkt(payload_size, opcode, token, src_port, dest_port, true); in audioreach_alloc_cmd_pkt()
255 void *audioreach_alloc_apm_cmd_pkt(int pkt_size, uint32_t opcode, uint32_t token) in audioreach_alloc_apm_cmd_pkt() argument
257 return __audioreach_alloc_pkt(pkt_size, opcode, token, GPR_APM_MODULE_IID, in audioreach_alloc_apm_cmd_pkt()
Daudioreach.h688 token);
690 uint32_t token, uint32_t src_port,
692 void *audioreach_alloc_apm_pkt(int pkt_size, uint32_t opcode, uint32_t token,
695 uint32_t token, uint32_t src_port,
Dq6apm.h91 typedef void (*q6apm_cb) (uint32_t opcode, uint32_t token,
Dq6asm.h92 typedef void (*q6asm_cb) (uint32_t opcode, uint32_t token,
Dq6asm-dai.c181 static void event_handler(uint32_t opcode, uint32_t token, in event_handler() argument
500 static void compress_event_handler(uint32_t opcode, uint32_t token, in compress_event_handler() argument
557 bytes_written = token >> ASM_WRITE_TOKEN_LEN_SHIFT; in compress_event_handler()
Dq6apm-dai.c102 static void event_handler(uint32_t opcode, uint32_t token, uint32_t *payload, void *priv) in event_handler() argument
/sound/soc/sof/
Dtopology.c82 if (tokens[i].token == tuples[j].token) { in sof_update_ipc_object()
106 tokens[i].token, token_list[token_id].name); in sof_update_ipc_object()
426 if (tokens[j].token != le32_to_cpu(elem->token)) in sof_parse_uuid_tokens()
523 if (tokens[j].token != le32_to_cpu(elem->token)) in sof_copy_tuples()
526 tuples[*num_copied_tuples].token = tokens[j].token; in sof_copy_tuples()
534 if (tokens[j].token != le32_to_cpu(elem->token)) in sof_copy_tuples()
537 tuples[*num_copied_tuples].token = tokens[j].token; in sof_copy_tuples()
592 if (tokens[j].token != le32_to_cpu(elem->token)) in sof_parse_string_tokens()
639 if (tokens[j].token != le32_to_cpu(elem->token)) in sof_parse_word_tokens()
1152 if (tuples[i].token == token_id) in sof_get_token_value()
Dipc3-loader.c83 i, elem->token, elem->value); in ipc3_fw_ext_man_get_config_data()
84 switch (elem->token) { in ipc3_fw_ext_man_get_config_data()
98 elem->token, elem->value); in ipc3_fw_ext_man_get_config_data()
104 __func__, elem->token, elem->value, ret); in ipc3_fw_ext_man_get_config_data()
Dsof-audio.h198 u32 token; member
253 u32 token; member
/sound/soc/intel/skylake/
Dskl-topology.c2111 if (uuid_tkn->token == SKL_TKN_UUID) { in skl_tplg_get_uuid()
2116 dev_err(dev, "Not an UUID token %d\n", uuid_tkn->token); in skl_tplg_get_uuid()
2128 switch (tkn_elem->token) { in skl_tplg_fill_pin()
2146 dev_err(dev, "%d Not a pin token\n", tkn_elem->token); in skl_tplg_fill_pin()
2297 switch (tkn_elem->token) { in skl_tplg_manifest_pin_res_tkn()
2307 dev_err(dev, "Invalid token: %d\n", tkn_elem->token); in skl_tplg_manifest_pin_res_tkn()
2328 switch (tkn_elem->token) { in skl_tplg_fill_res_tkn()
2363 dev_err(dev, "Not a res type token: %d", tkn_elem->token); in skl_tplg_fill_res_tkn()
2398 if (tkn_elem->token > SKL_TKN_MAX) in skl_tplg_get_token()
2401 switch (tkn_elem->token) { in skl_tplg_get_token()
[all …]
/sound/soc/samsung/
Didma.c46 void *token; member
71 prtd->token = (void *) substream; in idma_enqueue()
278 prtd->cb(prtd->token, prtd->period); in iis_irq()
/sound/soc/sof/intel/
Dhda-loader.c570 switch (config_data->elems[i].token) { in hda_dsp_ext_man_get_cavs_config_data()
585 config_data->elems[i].token); in hda_dsp_ext_man_get_cavs_config_data()