Lines Matching refs:ptdev
15 int (*soft_reset)(struct panthor_device *ptdev);
18 void (*l2_power_off)(struct panthor_device *ptdev);
21 int (*l2_power_on)(struct panthor_device *ptdev);
34 int panthor_hw_init(struct panthor_device *ptdev);
36 static inline int panthor_hw_soft_reset(struct panthor_device *ptdev) in panthor_hw_soft_reset() argument
38 return ptdev->hw->ops.soft_reset(ptdev); in panthor_hw_soft_reset()
41 static inline int panthor_hw_l2_power_on(struct panthor_device *ptdev) in panthor_hw_l2_power_on() argument
43 return ptdev->hw->ops.l2_power_on(ptdev); in panthor_hw_l2_power_on()
46 static inline void panthor_hw_l2_power_off(struct panthor_device *ptdev) in panthor_hw_l2_power_off() argument
48 ptdev->hw->ops.l2_power_off(ptdev); in panthor_hw_l2_power_off()
51 static inline bool panthor_hw_has_pwr_ctrl(struct panthor_device *ptdev) in panthor_hw_has_pwr_ctrl() argument
53 return GPU_ARCH_MAJOR(ptdev->gpu_info.gpu_id) >= 14; in panthor_hw_has_pwr_ctrl()