Searched refs:pfdev (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_mmu.c | 72 static int wait_ready(struct panfrost_device *pfdev, u32 as_nr) in wait_ready() argument 79 ret = readl_relaxed_poll_timeout_atomic(pfdev->iomem + AS_STATUS(as_nr), in wait_ready() 84 panfrost_device_schedule_reset(pfdev); in wait_ready() 85 dev_err(pfdev->base.dev, "AS_ACTIVE bit stuck\n"); in wait_ready() 91 static int write_cmd(struct panfrost_device *pfdev, u32 as_nr, u32 cmd) in write_cmd() argument 96 status = wait_ready(pfdev, as_nr); in write_cmd() 98 mmu_write(pfdev, AS_COMMAND(as_nr), cmd); in write_cmd() 103 static void lock_region(struct panfrost_device *pfdev, u32 as_nr, in lock_region() argument 133 mmu_write(pfdev, AS_LOCKADDR_LO(as_nr), lower_32_bits(region)); in lock_region() 134 mmu_write(pfdev, AS_LOCKADDR_HI(as_nr), upper_32_bits(region)); in lock_region() [all …]
|
| H A D | panfrost_perfcnt.h | 8 void panfrost_perfcnt_sample_done(struct panfrost_device *pfdev); 9 void panfrost_perfcnt_clean_cache_done(struct panfrost_device *pfdev); 10 int panfrost_perfcnt_init(struct panfrost_device *pfdev); 11 void panfrost_perfcnt_fini(struct panfrost_device *pfdev);
|
| H A D | panfrost_devfreq.h | 36 int panfrost_devfreq_init(struct panfrost_device *pfdev); 37 void panfrost_devfreq_fini(struct panfrost_device *pfdev); 39 void panfrost_devfreq_resume(struct panfrost_device *pfdev); 40 void panfrost_devfreq_suspend(struct panfrost_device *pfdev);
|
| H A D | panfrost_issues.h | 268 static inline bool panfrost_has_hw_issue(const struct panfrost_device *pfdev, in panfrost_has_hw_issue() argument 271 return test_bit(issue, pfdev->features.hw_issues); in panfrost_has_hw_issue()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | soc.c | 1193 struct platform_device *pfdev = to_platform_device(pdev); in mt798x_wmac_init() local 1208 dev->dcm = devm_platform_ioremap_resource(pfdev, 1); in mt798x_wmac_init() 1212 dev->sku = devm_platform_ioremap_resource(pfdev, 2); in mt798x_wmac_init()
|