Searched refs:sec_cap (Results 1 – 1 of 1) sorted by relevance
1083 struct hisi_qm_cap_record *sec_cap; in sec_pre_store_cap_reg() local1088 sec_cap = devm_kzalloc(&pdev->dev, sizeof(*sec_cap) * size, GFP_KERNEL); in sec_pre_store_cap_reg()1089 if (!sec_cap) in sec_pre_store_cap_reg()1093 sec_cap[i].type = sec_pre_store_caps[i]; in sec_pre_store_cap_reg()1094 sec_cap[i].cap_val = hisi_qm_get_hw_info(qm, sec_basic_info, in sec_pre_store_cap_reg()1098 qm->cap_tables.dev_cap_table = sec_cap; in sec_pre_store_cap_reg()