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()
156 static void put_device_state(struct device_state *dev_state) in put_device_state()
163 static struct pasid_state **__get_pasid_state_ptr(struct device_state *dev_state, in __get_pasid_state_ptr()
196 static int set_pasid_state(struct device_state *dev_state, in set_pasid_state()
225 static void clear_pasid_state(struct device_state *dev_state, int pasid) in clear_pasid_state()
242 static struct pasid_state *get_pasid_state(struct device_state *dev_state, in get_pasid_state()
286 domain = pasid_state->device_state->domain; in unbind_pasid()
330 static void free_pasid_states(struct device_state *dev_state) in free_pasid_states()
374 struct device_state *dev_state; in __mn_flush_page()
377 dev_state = pasid_state->device_state; in __mn_flush_page()
405 struct device_state *dev_state; in mn_invalidate_range()
408 dev_state = pasid_state->device_state; in mn_invalidate_range()
420 struct device_state *dev_state; in mn_release()
426 dev_state = pasid_state->device_state; in mn_release()
452 static void finish_pri_tag(struct device_state *dev_state, in finish_pri_tag()
564 struct device_state *dev_state; in ppr_notifier()
633 struct device_state *dev_state; in amd_iommu_bind_pasid()
665 pasid_state->device_state = dev_state; in amd_iommu_bind_pasid()
717 struct device_state *dev_state; in amd_iommu_unbind_pasid()
764 struct device_state *dev_state; in amd_iommu_init_device()
853 struct device_state *dev_state; in amd_iommu_free_device()
890 struct device_state *dev_state; in amd_iommu_set_invalid_ppr_cb()
921 struct device_state *dev_state; in amd_iommu_set_invalidate_ctx_cb()
981 struct device_state *dev_state; in amd_iommu_v2_exit()