Home
last modified time | relevance | path

Searched refs:policy_buf (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/platform/x86/amd/pmf/
H A Dtee-if.c274 memcpy(in->policies_table.table, dev->policy_buf, dev->policy_sz); in amd_pmf_invoke_cmd_init()
302 header = (struct cookie_header *)(dev->policy_buf + POLICY_COOKIE_OFFSET); in amd_pmf_start_policy_engine()
335 print_hex_dump_debug("(pb): ", DUMP_PREFIX_OFFSET, 16, 1, dev->policy_buf, in amd_pmf_hex_dump_pb()
355 kfree(dev->policy_buf); in amd_pmf_get_pb_data()
356 dev->policy_buf = new_policy_buf; in amd_pmf_get_pb_data()
521 dev->policy_buf = kzalloc(dev->policy_sz, GFP_KERNEL); in amd_pmf_init_smart_pc()
522 if (!dev->policy_buf) { in amd_pmf_init_smart_pc()
527 memcpy_fromio(dev->policy_buf, dev->policy_base, dev->policy_sz); in amd_pmf_init_smart_pc()
567 kfree(dev->policy_buf); in amd_pmf_deinit_smart_pc()
568 dev->policy_buf = NULL; in amd_pmf_deinit_smart_pc()
H A Dpmf.h357 unsigned char *policy_buf; member