Lines Matching full:vdev
28 bool (*btrs_irq_handler)(struct ivpu_device *vdev, int irq);
29 bool (*ip_irq_handler)(struct ivpu_device *vdev, int irq);
58 int ivpu_hw_init(struct ivpu_device *vdev);
59 int ivpu_hw_power_up(struct ivpu_device *vdev);
60 int ivpu_hw_power_down(struct ivpu_device *vdev);
61 int ivpu_hw_reset(struct ivpu_device *vdev);
62 int ivpu_hw_boot_fw(struct ivpu_device *vdev);
63 void ivpu_hw_profiling_freq_drive(struct ivpu_device *vdev, bool enable);
64 void ivpu_irq_handlers_init(struct ivpu_device *vdev);
65 void ivpu_hw_irq_enable(struct ivpu_device *vdev);
66 void ivpu_hw_irq_disable(struct ivpu_device *vdev);
69 static inline u32 ivpu_hw_btrs_irq_handler(struct ivpu_device *vdev, int irq) in ivpu_hw_btrs_irq_handler() argument
71 return vdev->hw->irq.btrs_irq_handler(vdev, irq); in ivpu_hw_btrs_irq_handler()
74 static inline u32 ivpu_hw_ip_irq_handler(struct ivpu_device *vdev, int irq) in ivpu_hw_ip_irq_handler() argument
76 return vdev->hw->irq.ip_irq_handler(vdev, irq); in ivpu_hw_ip_irq_handler()
90 static inline u32 ivpu_hw_ratio_to_freq(struct ivpu_device *vdev, u32 ratio) in ivpu_hw_ratio_to_freq() argument
92 return ivpu_hw_btrs_ratio_to_freq(vdev, ratio); in ivpu_hw_ratio_to_freq()
95 static inline void ivpu_hw_irq_clear(struct ivpu_device *vdev) in ivpu_hw_irq_clear() argument
97 ivpu_hw_ip_irq_clear(vdev); in ivpu_hw_irq_clear()
100 static inline u32 ivpu_hw_pll_freq_get(struct ivpu_device *vdev) in ivpu_hw_pll_freq_get() argument
102 return ivpu_hw_btrs_pll_freq_get(vdev); in ivpu_hw_pll_freq_get()
105 static inline u32 ivpu_hw_profiling_freq_get(struct ivpu_device *vdev) in ivpu_hw_profiling_freq_get() argument
107 return vdev->hw->pll.profiling_freq; in ivpu_hw_profiling_freq_get()
110 static inline void ivpu_hw_diagnose_failure(struct ivpu_device *vdev) in ivpu_hw_diagnose_failure() argument
112 ivpu_hw_ip_diagnose_failure(vdev); in ivpu_hw_diagnose_failure()
113 ivpu_hw_btrs_diagnose_failure(vdev); in ivpu_hw_diagnose_failure()
116 static inline u32 ivpu_hw_telemetry_offset_get(struct ivpu_device *vdev) in ivpu_hw_telemetry_offset_get() argument
118 return ivpu_hw_btrs_telemetry_offset_get(vdev); in ivpu_hw_telemetry_offset_get()
121 static inline u32 ivpu_hw_telemetry_size_get(struct ivpu_device *vdev) in ivpu_hw_telemetry_size_get() argument
123 return ivpu_hw_btrs_telemetry_size_get(vdev); in ivpu_hw_telemetry_size_get()
126 static inline u32 ivpu_hw_telemetry_enable_get(struct ivpu_device *vdev) in ivpu_hw_telemetry_enable_get() argument
128 return ivpu_hw_btrs_telemetry_enable_get(vdev); in ivpu_hw_telemetry_enable_get()
131 static inline bool ivpu_hw_is_idle(struct ivpu_device *vdev) in ivpu_hw_is_idle() argument
133 return ivpu_hw_btrs_is_idle(vdev); in ivpu_hw_is_idle()
136 static inline int ivpu_hw_wait_for_idle(struct ivpu_device *vdev) in ivpu_hw_wait_for_idle() argument
138 return ivpu_hw_btrs_wait_for_idle(vdev); in ivpu_hw_wait_for_idle()
141 static inline void ivpu_hw_ipc_tx_set(struct ivpu_device *vdev, u32 vpu_addr) in ivpu_hw_ipc_tx_set() argument
143 ivpu_hw_ip_ipc_tx_set(vdev, vpu_addr); in ivpu_hw_ipc_tx_set()
146 static inline void ivpu_hw_db_set(struct ivpu_device *vdev, u32 db_id) in ivpu_hw_db_set() argument
148 ivpu_hw_ip_db_set(vdev, db_id); in ivpu_hw_db_set()
151 static inline u32 ivpu_hw_ipc_rx_addr_get(struct ivpu_device *vdev) in ivpu_hw_ipc_rx_addr_get() argument
153 return ivpu_hw_ip_ipc_rx_addr_get(vdev); in ivpu_hw_ipc_rx_addr_get()
156 static inline u32 ivpu_hw_ipc_rx_count_get(struct ivpu_device *vdev) in ivpu_hw_ipc_rx_count_get() argument
158 return ivpu_hw_ip_ipc_rx_count_get(vdev); in ivpu_hw_ipc_rx_count_get()