Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mca.c156 static void amdgpu_mca_bank_set_init(struct mca_bank_set *mca_set) in amdgpu_mca_bank_set_init() argument
158 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() argument
179 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() argument
191 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 …]
Damdgpu_mca.h86 struct mca_bank_set mca_set; member