hfi_version
.hfi_version = HFI_VERSION_6XX,
.hfi_version = HFI_VERSION_4XX,
if (core->res->hfi_version != HFI_VERSION_1XX)
core->pm_ops = venus_pm_get(core->res->hfi_version);
.hfi_version = HFI_VERSION_1XX,
.hfi_version = HFI_VERSION_3XX,
.hfi_version = HFI_VERSION_3XX,
.hfi_version = HFI_VERSION_3XX,
.hfi_version = HFI_VERSION_4XX,
.hfi_version = HFI_VERSION_4XX,
.hfi_version = HFI_VERSION_4XX,
.hfi_version = HFI_VERSION_6XX,
#define IS_V1(core) ((core)->res->hfi_version == HFI_VERSION_1XX)
#define IS_V3(core) ((core)->res->hfi_version == HFI_VERSION_3XX)
#define IS_V4(core) ((core)->res->hfi_version == HFI_VERSION_4XX)
#define IS_V6(core) ((core)->res->hfi_version == HFI_VERSION_6XX)
enum hfi_version hfi_version;
enum hfi_version ver = core->res->hfi_version;
enum hfi_version version = inst->core->res->hfi_version;
enum hfi_version ver = inst->core->res->hfi_version;
enum hfi_version version = inst->core->res->hfi_version;
enum hfi_version ver = inst->core->res->hfi_version;
if (core->res->hfi_version == HFI_VERSION_1XX)
pkt_set_version(core->res->hfi_version);
static enum hfi_version hfi_ver;
void pkt_set_version(enum hfi_version version)
void pkt_set_version(enum hfi_version version);
enum hfi_version ver = core->res->hfi_version;
plat = hfi_platform_get(core->res->hfi_version);
if (core->res->hfi_version > HFI_VERSION_1XX) {
enum hfi_version version;
enum hfi_version version = params->version;
enum hfi_version version = params->version;
enum hfi_version version, u32 codec,
enum hfi_version version, u32 codec,
enum hfi_version version, u32 codec,
plat = hfi_platform_get(core->res->hfi_version);
const struct hfi_platform *hfi_platform_get(enum hfi_version version)
const struct hfi_platform *hfi_platform_get(enum hfi_version version);
enum hfi_version version,
enum hfi_version version,
enum hfi_version version,
const struct venus_pm_ops *venus_pm_get(enum hfi_version version)
const struct venus_pm_ops *venus_pm_get(enum hfi_version version);
enum hfi_version ver = inst->core->res->hfi_version;
if (core->res->hfi_version == HFI_VERSION_1XX) {
enum hfi_version ver = inst->core->res->hfi_version;
enum hfi_version ver = inst->core->res->hfi_version;
enum hfi_version ver = inst->core->res->hfi_version;
if (inst->core->res->hfi_version == HFI_VERSION_1XX)
if (inst->core->res->hfi_version == HFI_VERSION_4XX ||
inst->core->res->hfi_version == HFI_VERSION_6XX) {
enum hfi_version ver = inst->core->res->hfi_version;