Lines Matching refs:hl_device
157 struct hl_device *hdev;
180 int goya_set_fixed_properties(struct hl_device *hdev);
181 int goya_mmu_init(struct hl_device *hdev);
182 void goya_init_dma_qmans(struct hl_device *hdev);
183 void goya_init_mme_qmans(struct hl_device *hdev);
184 void goya_init_tpc_qmans(struct hl_device *hdev);
185 int goya_init_cpu_queues(struct hl_device *hdev);
186 void goya_init_security(struct hl_device *hdev);
187 void goya_ack_protection_bits_errors(struct hl_device *hdev);
188 int goya_late_init(struct hl_device *hdev);
189 void goya_late_fini(struct hl_device *hdev);
191 void goya_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi);
192 void goya_pqe_write(struct hl_device *hdev, __le64 *pqe, struct hl_bd *bd);
193 void goya_update_eq_ci(struct hl_device *hdev, u32 val);
194 void goya_restore_phase_topology(struct hl_device *hdev);
195 int goya_context_switch(struct hl_device *hdev, u32 asid);
197 int goya_debugfs_i2c_read(struct hl_device *hdev, u8 i2c_bus,
199 int goya_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus,
201 void goya_debugfs_led_set(struct hl_device *hdev, u8 led, u8 state);
203 int goya_test_queue(struct hl_device *hdev, u32 hw_queue_id);
204 int goya_test_queues(struct hl_device *hdev);
205 int goya_test_cpu_queue(struct hl_device *hdev);
206 int goya_send_cpu_message(struct hl_device *hdev, u32 *msg, u16 len,
209 long goya_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr);
210 long goya_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr);
211 long goya_get_current(struct hl_device *hdev, int sensor_index, u32 attr);
212 long goya_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr);
213 long goya_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr);
214 void goya_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr,
216 u64 goya_get_max_power(struct hl_device *hdev);
217 void goya_set_max_power(struct hl_device *hdev, u64 value);
219 void goya_set_pll_profile(struct hl_device *hdev, enum hl_pll_frequency freq);
220 void goya_add_device_attr(struct hl_device *hdev, struct attribute_group *dev_clk_attr_grp,
222 int goya_cpucp_info_get(struct hl_device *hdev);
223 int goya_debug_coresight(struct hl_device *hdev, struct hl_ctx *ctx, void *data);
224 void goya_halt_coresight(struct hl_device *hdev, struct hl_ctx *ctx);
226 int goya_suspend(struct hl_device *hdev);
227 int goya_resume(struct hl_device *hdev);
229 void goya_handle_eqe(struct hl_device *hdev, struct hl_eq_entry *eq_entry);
230 void *goya_get_events_stat(struct hl_device *hdev, bool aggregate, u32 *size);
232 void goya_add_end_of_cb_packets(struct hl_device *hdev, void *kernel_address,
235 int goya_cs_parser(struct hl_device *hdev, struct hl_cs_parser *parser);
236 int goya_scrub_device_mem(struct hl_device *hdev);
237 void *goya_get_int_queue_base(struct hl_device *hdev, u32 queue_id,
239 u32 goya_get_dma_desc_list_size(struct hl_device *hdev, struct sg_table *sgt);
240 int goya_send_heartbeat(struct hl_device *hdev);
241 void *goya_cpu_accessible_dma_pool_alloc(struct hl_device *hdev, size_t size,
243 void goya_cpu_accessible_dma_pool_free(struct hl_device *hdev, size_t size,
245 void goya_mmu_remove_device_cpu_mappings(struct hl_device *hdev);
247 u32 goya_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx);
248 u64 goya_get_device_time(struct hl_device *hdev);
249 int goya_set_frequency(struct hl_device *hdev, enum hl_pll_frequency freq);