Lines Matching refs:pfdev
77 void (*vendor_quirk)(struct panfrost_device *pfdev);
127 struct panfrost_device *pfdev;
139 struct panfrost_device *pfdev;
151 static inline int panfrost_model_cmp(struct panfrost_device *pfdev, s32 id)
153 s32 match_id = pfdev->features.id;
160 static inline bool panfrost_model_is_bifrost(struct panfrost_device *pfdev)
162 return panfrost_model_cmp(pfdev, 0x1000) >= 0;
165 static inline bool panfrost_model_eq(struct panfrost_device *pfdev, s32 id)
167 return !panfrost_model_cmp(pfdev, id);
172 int panfrost_device_init(struct panfrost_device *pfdev);
173 void panfrost_device_fini(struct panfrost_device *pfdev);
174 void panfrost_device_reset(struct panfrost_device *pfdev);
255 bool panfrost_exception_needs_reset(const struct panfrost_device *pfdev,
259 panfrost_device_schedule_reset(struct panfrost_device *pfdev)
261 atomic_set(&pfdev->reset.pending, 1);
262 queue_work(pfdev->reset.wq, &pfdev->reset.work);