Searched refs:mca_set (Results 1 – 2 of 2) sorted by relevance
156 static void amdgpu_mca_bank_set_init(struct mca_bank_set *mca_set) in amdgpu_mca_bank_set_init() argument158 if (!mca_set) in amdgpu_mca_bank_set_init()161 memset(mca_set, 0, sizeof(*mca_set)); in amdgpu_mca_bank_set_init()162 INIT_LIST_HEAD(&mca_set->list); in amdgpu_mca_bank_set_init()165 static int amdgpu_mca_bank_set_add_entry(struct mca_bank_set *mca_set, struct mca_bank_entry *entry) in amdgpu_mca_bank_set_add_entry() argument179 list_add_tail(&node->node, &mca_set->list); in amdgpu_mca_bank_set_add_entry()181 mca_set->nr_entries++; in amdgpu_mca_bank_set_add_entry()186 static int amdgpu_mca_bank_set_merge(struct mca_bank_set *mca_set, struct mca_bank_set *new) in amdgpu_mca_bank_set_merge() argument191 amdgpu_mca_bank_set_add_entry(mca_set, &node->entry); in amdgpu_mca_bank_set_merge()196 static void amdgpu_mca_bank_set_remove_node(struct mca_bank_set *mca_set, struct mca_bank_node *nod… in amdgpu_mca_bank_set_remove_node() argument[all …]
86 struct mca_bank_set mca_set; member