Lines Matching refs:device_state
53 struct device_state *device_state; /* Link to our device_state */ member
62 struct device_state { struct
79 struct device_state *dev_state; argument
95 static void free_pasid_states(struct device_state *dev_state);
107 static struct device_state *__get_device_state(u16 devid) in __get_device_state()
109 struct device_state *dev_state; in __get_device_state()
119 static struct device_state *get_device_state(u16 devid) in get_device_state()
121 struct device_state *dev_state; in get_device_state()
133 static void free_device_state(struct device_state *dev_state) in free_device_state()
148 static void put_device_state(struct device_state *dev_state) in put_device_state()
155 static struct pasid_state **__get_pasid_state_ptr(struct device_state *dev_state, in __get_pasid_state_ptr()
188 static int set_pasid_state(struct device_state *dev_state, in set_pasid_state()
217 static void clear_pasid_state(struct device_state *dev_state, int pasid) in clear_pasid_state()
234 static struct pasid_state *get_pasid_state(struct device_state *dev_state, in get_pasid_state()
278 domain = pasid_state->device_state->domain; in unbind_pasid()
322 static void free_pasid_states(struct device_state *dev_state) in free_pasid_states()
366 struct device_state *dev_state; in __mn_flush_page()
369 dev_state = pasid_state->device_state; in __mn_flush_page()
397 struct device_state *dev_state; in mn_invalidate_range()
400 dev_state = pasid_state->device_state; in mn_invalidate_range()
412 struct device_state *dev_state; in mn_release()
418 dev_state = pasid_state->device_state; in mn_release()
444 static void finish_pri_tag(struct device_state *dev_state, in finish_pri_tag()
540 struct device_state *dev_state; in ppr_notifier()
609 struct device_state *dev_state; in amd_iommu_bind_pasid()
641 pasid_state->device_state = dev_state; in amd_iommu_bind_pasid()
693 struct device_state *dev_state; in amd_iommu_unbind_pasid()
740 struct device_state *dev_state; in amd_iommu_init_device()
819 struct device_state *dev_state; in amd_iommu_free_device()
856 struct device_state *dev_state; in amd_iommu_set_invalid_ppr_cb()
887 struct device_state *dev_state; in amd_iommu_set_invalidate_ctx_cb()
947 struct device_state *dev_state; in amd_iommu_v2_exit()