Searched refs:policy_sz (Results 1 – 3 of 3) sorted by relevance
219 memset(dev->shbuf, 0, dev->policy_sz); in amd_pmf_invoke_cmd_enact()260 dev_dbg(dev->dev, "Policy Binary size: %u bytes\n", dev->policy_sz); in amd_pmf_invoke_cmd_init()261 memset(dev->shbuf, 0, dev->policy_sz); in amd_pmf_invoke_cmd_init()272 in->policies_table.table_size = dev->policy_sz; in amd_pmf_invoke_cmd_init()274 memcpy(in->policies_table.table, dev->policy_buf, dev->policy_sz); in amd_pmf_invoke_cmd_init()299 if (dev->policy_sz < POLICY_COOKIE_OFFSET + sizeof(*header)) in amd_pmf_start_policy_engine()309 if (dev->policy_sz < header->length + 512) in amd_pmf_start_policy_engine()313 dev->policy_sz = header->length + 512; in amd_pmf_start_policy_engine()336 dev->policy_sz, false); in amd_pmf_hex_dump_pb()357 dev->policy_sz = length; in amd_pmf_get_pb_data()[all …]
443 dev->policy_sz = res->data.address64.address.address_length; in apmf_walk_resources()447 dev->policy_sz = res->data.fixed_memory32.address_length; in apmf_walk_resources()451 if (!dev->policy_addr || dev->policy_sz > POLICY_BUF_MAX_SZ || dev->policy_sz == 0) { in apmf_walk_resources()
358 u32 policy_sz; member