Lines Matching refs:tlv

393 	struct avs_tlv *tlv;
409 tlv = (struct avs_tlv *)(payload + offset);
411 switch (tlv->type) {
413 memcpy(&cfg->fw_version, tlv->value, sizeof(cfg->fw_version));
417 cfg->memory_reclaimed = *tlv->value;
421 cfg->slow_clock_freq_hz = *tlv->value;
425 cfg->fast_clock_freq_hz = *tlv->value;
429 cfg->alh_support = *tlv->value;
433 cfg->ipc_dl_mailbox_bytes = *tlv->value;
437 cfg->ipc_ul_mailbox_bytes = *tlv->value;
441 cfg->trace_log_bytes = *tlv->value;
445 cfg->max_ppl_count = *tlv->value;
449 cfg->max_astate_count = *tlv->value;
453 cfg->max_module_pin_count = *tlv->value;
457 cfg->modules_count = *tlv->value;
461 cfg->max_mod_inst_count = *tlv->value;
465 cfg->max_ll_tasks_per_pri_count = *tlv->value;
469 cfg->ll_pri_count = *tlv->value;
473 cfg->max_dp_tasks_count = *tlv->value;
477 cfg->max_libs_count = *tlv->value;
481 cfg->xtal_freq_hz = *tlv->value;
485 cfg->power_gating_policy = *tlv->value;
496 dev_info(adev->dev, "Unrecognized fw param: %d\n", tlv->type);
500 offset += sizeof(*tlv) + tlv->length;
510 struct avs_tlv *tlv;
526 tlv = (struct avs_tlv *)(payload + offset);
528 switch (tlv->type) {
530 cfg->avs_version = *tlv->value;
534 cfg->dsp_cores = *tlv->value;
538 cfg->mem_page_bytes = *tlv->value;
542 cfg->total_phys_mem_pages = *tlv->value;
546 cfg->i2s_caps.i2s_version = tlv->value[0];
547 size = tlv->value[1];
555 &tlv->value[2],
564 cfg->gateway_count = *tlv->value;
568 cfg->hp_ebb_count = *tlv->value;
572 cfg->lp_ebb_count = *tlv->value;
576 cfg->ebb_size_bytes = *tlv->value;
583 dev_info(adev->dev, "Unrecognized hw config: %d\n", tlv->type);
587 offset += sizeof(*tlv) + tlv->length;