Lines Matching refs:hl_device
169 int goya_get_fixed_properties(struct hl_device *hdev);
170 int goya_mmu_init(struct hl_device *hdev);
171 void goya_init_dma_qmans(struct hl_device *hdev);
172 void goya_init_mme_qmans(struct hl_device *hdev);
173 void goya_init_tpc_qmans(struct hl_device *hdev);
174 int goya_init_cpu_queues(struct hl_device *hdev);
175 void goya_init_security(struct hl_device *hdev);
176 int goya_late_init(struct hl_device *hdev);
177 void goya_late_fini(struct hl_device *hdev);
179 void goya_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi);
180 void goya_pqe_write(struct hl_device *hdev, __le64 *pqe, struct hl_bd *bd);
181 void goya_update_eq_ci(struct hl_device *hdev, u32 val);
182 void goya_restore_phase_topology(struct hl_device *hdev);
183 int goya_context_switch(struct hl_device *hdev, u32 asid);
185 int goya_debugfs_i2c_read(struct hl_device *hdev, u8 i2c_bus,
187 int goya_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus,
189 void goya_debugfs_led_set(struct hl_device *hdev, u8 led, u8 state);
191 int goya_test_queue(struct hl_device *hdev, u32 hw_queue_id);
192 int goya_test_queues(struct hl_device *hdev);
193 int goya_test_cpu_queue(struct hl_device *hdev);
194 int goya_send_cpu_message(struct hl_device *hdev, u32 *msg, u16 len,
197 long goya_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr);
198 long goya_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr);
199 long goya_get_current(struct hl_device *hdev, int sensor_index, u32 attr);
200 long goya_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr);
201 long goya_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr);
202 void goya_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr,
204 u64 goya_get_max_power(struct hl_device *hdev);
205 void goya_set_max_power(struct hl_device *hdev, u64 value);
207 void goya_set_pll_profile(struct hl_device *hdev, enum hl_pll_frequency freq);
208 void goya_add_device_attr(struct hl_device *hdev,
210 int goya_cpucp_info_get(struct hl_device *hdev);
211 int goya_debug_coresight(struct hl_device *hdev, void *data);
212 void goya_halt_coresight(struct hl_device *hdev);
214 int goya_suspend(struct hl_device *hdev);
215 int goya_resume(struct hl_device *hdev);
217 void goya_handle_eqe(struct hl_device *hdev, struct hl_eq_entry *eq_entry);
218 void *goya_get_events_stat(struct hl_device *hdev, bool aggregate, u32 *size);
220 void goya_add_end_of_cb_packets(struct hl_device *hdev, void *kernel_address,
223 int goya_cs_parser(struct hl_device *hdev, struct hl_cs_parser *parser);
224 void *goya_get_int_queue_base(struct hl_device *hdev, u32 queue_id,
226 u32 goya_get_dma_desc_list_size(struct hl_device *hdev, struct sg_table *sgt);
227 int goya_send_heartbeat(struct hl_device *hdev);
228 void *goya_cpu_accessible_dma_pool_alloc(struct hl_device *hdev, size_t size,
230 void goya_cpu_accessible_dma_pool_free(struct hl_device *hdev, size_t size,
232 void goya_mmu_remove_device_cpu_mappings(struct hl_device *hdev);
234 int goya_get_clk_rate(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk);
235 u32 goya_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx);
236 u64 goya_get_device_time(struct hl_device *hdev);