Lines Matching refs:hw_device
122 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_dev_pre_reset() local
139 if (hw_device->disable_arb) { in adf_dev_pre_reset()
141 hw_device->disable_arb(accel_dev); in adf_dev_pre_reset()
148 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_dev_post_reset() local
155 hw_device->aerucm_mask, in adf_dev_post_reset()
166 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_dev_restore() local
169 if (hw_device->pre_reset) { in adf_dev_restore()
171 hw_device->pre_reset(accel_dev); in adf_dev_restore()
174 if (hw_device->reset_device) { in adf_dev_restore()
178 hw_device->reset_device(accel_dev); in adf_dev_restore()
183 if (hw_device->post_reset) { in adf_dev_restore()
185 hw_device->post_reset(accel_dev); in adf_dev_restore()
279 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_notify_fatal_error_work() local
282 if (hw_device->pre_reset) { in adf_notify_fatal_error_work()
285 hw_device->pre_reset(accel_dev); in adf_notify_fatal_error_work()