Lines Matching refs:device_state
43 struct device_state *device_state; /* Link to our device_state */ member
52 struct device_state { struct
69 struct device_state *dev_state; argument
84 static void free_pasid_states(struct device_state *dev_state);
86 static struct device_state *__get_device_state(u32 sbdf) in __get_device_state()
88 struct device_state *dev_state; in __get_device_state()
98 static struct device_state *get_device_state(u32 sbdf) in get_device_state()
100 struct device_state *dev_state; in get_device_state()
112 static void free_device_state(struct device_state *dev_state) in free_device_state()
144 static void put_device_state(struct device_state *dev_state) in put_device_state()
151 static struct pasid_state **__get_pasid_state_ptr(struct device_state *dev_state, in __get_pasid_state_ptr()
184 static int set_pasid_state(struct device_state *dev_state, in set_pasid_state()
213 static void clear_pasid_state(struct device_state *dev_state, u32 pasid) in clear_pasid_state()
230 static struct pasid_state *get_pasid_state(struct device_state *dev_state, in get_pasid_state()
274 domain = pasid_state->device_state->domain; in unbind_pasid()
318 static void free_pasid_states(struct device_state *dev_state) in free_pasid_states()
366 struct device_state *dev_state; in mn_arch_invalidate_secondary_tlbs()
369 dev_state = pasid_state->device_state; in mn_arch_invalidate_secondary_tlbs()
381 struct device_state *dev_state; in mn_release()
387 dev_state = pasid_state->device_state; in mn_release()
411 static void finish_pri_tag(struct device_state *dev_state, in finish_pri_tag()
519 struct device_state *dev_state; in ppr_notifier()
605 struct device_state *dev_state; in amd_iommu_bind_pasid()
637 pasid_state->device_state = dev_state; in amd_iommu_bind_pasid()
691 struct device_state *dev_state; in amd_iommu_unbind_pasid()
738 struct device_state *dev_state; in amd_iommu_init_device()
838 struct device_state *dev_state; in amd_iommu_free_device()
867 struct device_state *dev_state; in amd_iommu_set_invalid_ppr_cb()
898 struct device_state *dev_state; in amd_iommu_set_invalidate_ctx_cb()
956 struct device_state *dev_state, *next; in amd_iommu_v2_exit()