Lines Matching refs:hw_data
67 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_init() local
70 if (!hw_data) { in adf_dev_init()
87 if (hw_data->init_device && hw_data->init_device(accel_dev)) { in adf_dev_init()
92 if (hw_data->init_admin_comms && hw_data->init_admin_comms(accel_dev)) { in adf_dev_init()
97 if (hw_data->init_arb && hw_data->init_arb(accel_dev)) { in adf_dev_init()
102 if (hw_data->get_ring_to_svc_map) in adf_dev_init()
103 hw_data->ring_to_svc_map = hw_data->get_ring_to_svc_map(accel_dev); in adf_dev_init()
119 if (hw_data->alloc_irq(accel_dev)) { in adf_dev_init()
125 if (hw_data->ras_ops.enable_ras_errors) in adf_dev_init()
126 hw_data->ras_ops.enable_ras_errors(accel_dev); in adf_dev_init()
128 hw_data->enable_ints(accel_dev); in adf_dev_init()
129 hw_data->enable_error_correction(accel_dev); in adf_dev_init()
131 ret = hw_data->pfvf_ops.enable_comms(accel_dev); in adf_dev_init()
180 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_start() local
192 if (hw_data->send_admin_init(accel_dev)) { in adf_dev_start()
197 if (hw_data->measure_clock) { in adf_dev_start()
198 ret = hw_data->measure_clock(accel_dev); in adf_dev_start()
206 if (hw_data->set_ssm_wdtimer) in adf_dev_start()
207 hw_data->set_ssm_wdtimer(accel_dev); in adf_dev_start()
210 if (hw_data->enable_pm && hw_data->enable_pm(accel_dev)) { in adf_dev_start()
215 if (hw_data->start_timer) { in adf_dev_start()
216 ret = hw_data->start_timer(accel_dev); in adf_dev_start()
282 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_stop() local
323 if (hw_data->stop_timer) in adf_dev_stop()
324 hw_data->stop_timer(accel_dev); in adf_dev_stop()
326 hw_data->disable_iov(accel_dev); in adf_dev_stop()
348 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_shutdown() local
351 if (!hw_data) { in adf_dev_shutdown()
384 if (hw_data->ras_ops.disable_ras_errors) in adf_dev_shutdown()
385 hw_data->ras_ops.disable_ras_errors(accel_dev); in adf_dev_shutdown()
392 hw_data->free_irq(accel_dev); in adf_dev_shutdown()
400 if (hw_data->exit_arb) in adf_dev_shutdown()
401 hw_data->exit_arb(accel_dev); in adf_dev_shutdown()
403 if (hw_data->exit_admin_comms) in adf_dev_shutdown()
404 hw_data->exit_admin_comms(accel_dev); in adf_dev_shutdown()