Lines Matching refs:its_msi_chip
163 struct iort_its_msi_chip *its_msi_chip; in iort_register_domain_token() local
165 its_msi_chip = kzalloc(sizeof(*its_msi_chip), GFP_KERNEL); in iort_register_domain_token()
166 if (!its_msi_chip) in iort_register_domain_token()
169 its_msi_chip->fw_node = fw_node; in iort_register_domain_token()
170 its_msi_chip->translation_id = trans_id; in iort_register_domain_token()
171 its_msi_chip->base_addr = base; in iort_register_domain_token()
174 list_add(&its_msi_chip->list, &iort_msi_chip_list); in iort_register_domain_token()
188 struct iort_its_msi_chip *its_msi_chip, *t; in iort_deregister_domain_token() local
191 list_for_each_entry_safe(its_msi_chip, t, &iort_msi_chip_list, list) { in iort_deregister_domain_token()
192 if (its_msi_chip->translation_id == trans_id) { in iort_deregister_domain_token()
193 list_del(&its_msi_chip->list); in iort_deregister_domain_token()
194 kfree(its_msi_chip); in iort_deregister_domain_token()
210 struct iort_its_msi_chip *its_msi_chip; in iort_find_domain_token() local
213 list_for_each_entry(its_msi_chip, &iort_msi_chip_list, list) { in iort_find_domain_token()
214 if (its_msi_chip->translation_id == trans_id) { in iort_find_domain_token()
215 fw_node = its_msi_chip->fw_node; in iort_find_domain_token()
573 struct iort_its_msi_chip *its_msi_chip; in iort_find_its_base() local
577 list_for_each_entry(its_msi_chip, &iort_msi_chip_list, list) { in iort_find_its_base()
578 if (its_msi_chip->translation_id == its_id) { in iort_find_its_base()
579 *base = its_msi_chip->base_addr; in iort_find_its_base()