/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ctx.c | 146 unsigned reset_counter; amdgpu_ctx_query() local 164 reset_counter = atomic_read(&adev->gpu_reset_counter); amdgpu_ctx_query() 166 if (ctx->reset_counter == reset_counter) amdgpu_ctx_query() 170 ctx->reset_counter = reset_counter; amdgpu_ctx_query()
|
H A D | amdgpu.h | 1036 unsigned reset_counter; member in struct:amdgpu_ctx
|
/linux-4.4.14/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_ci.c | 97 int reset_counter = 3; netup_unidvb_ci_slot_reset() local 113 if (!(ci_stat & (BIT_CAM_READY << shift)) && reset_counter > 0) { netup_unidvb_ci_slot_reset() 117 reset_counter--; netup_unidvb_ci_slot_reset()
|
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/ |
H A D | debugfs.c | 42 WL12XX_DEBUGFS_FWSTATS_FILE(rx, reset_counter, "%u"); 152 DEBUGFS_FWSTATS_ADD(rx, reset_counter); wl12xx_debugfs_add_files()
|
H A D | acx.h | 61 __le32 reset_counter; member in struct:wl12xx_acx_rx_statistics
|
/linux-4.4.14/drivers/net/wireless/ti/wl1251/ |
H A D | debugfs.c | 129 DEBUGFS_FWSTATS_FILE(rx, reset_counter, 20, "%u"); 269 DEBUGFS_FWSTATS_DEL(rx, reset_counter); wl1251_debugfs_delete_files() 370 DEBUGFS_FWSTATS_ADD(rx, reset_counter); wl1251_debugfs_add_files()
|
H A D | acx.h | 880 u32 reset_counter; member in struct:acx_rx_statistics
|
/linux-4.4.14/drivers/watchdog/ |
H A D | pcwd_pci.c | 365 int reset_counter; pcipcwd_clear_status() local 384 reset_counter = 0xff; pcipcwd_clear_status() 385 send_command(CMD_GET_CLEAR_RESET_COUNT, &msb, &reset_counter); pcipcwd_clear_status() 388 pr_debug("reset count was: 0x%02x\n", reset_counter); pcipcwd_clear_status()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_gem.c | 1226 * @reset_counter: reset sequence associated with the given request 1230 * Note: It is of utmost importance that the passed in seqno and reset_counter 1232 * locks are involved, it is sufficient to read the reset_counter before 1234 * reset_counter _must_ be read before, and an appropriate smp_rmb must be 1241 unsigned reset_counter, __i915_wait_request() 1300 if (reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter)) { __i915_wait_request() 1478 atomic_read(&dev_priv->gpu_error.reset_counter), i915_wait_request() 1554 unsigned reset_counter; i915_gem_object_wait_rendering__nonblocking() local 1567 reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter); i915_gem_object_wait_rendering__nonblocking() 1591 ret = __i915_wait_request(requests[i], reset_counter, true, i915_gem_object_wait_rendering__nonblocking() 3060 unsigned reset_counter; i915_gem_wait_ioctl() local 3094 reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter); i915_gem_wait_ioctl() 3107 ret = __i915_wait_request(req[i], reset_counter, true, i915_gem_wait_ioctl() 3139 atomic_read(&i915->gpu_error.reset_counter), __i915_gem_object_sync() 4074 unsigned reset_counter; i915_gem_ring_throttle() local 4099 reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter); i915_gem_ring_throttle() 4107 ret = __i915_wait_request(target, reset_counter, true, NULL, NULL); i915_gem_ring_throttle() 4946 atomic_or(I915_WEDGED, &dev_priv->gpu_error.reset_counter); i915_gem_init() 1240 __i915_wait_request(struct drm_i915_gem_request *req, unsigned reset_counter, bool interruptible, s64 *timeout, struct intel_rps_client *rps) __i915_wait_request() argument
|
H A D | i915_drv.h | 1373 * (reset_counter >> 1):th reset was successfully completed. 1388 atomic_t reset_counter; member in struct:i915_gpu_error 2951 return unlikely(atomic_read(&error->reset_counter) i915_reset_in_progress() 2957 return atomic_read(&error->reset_counter) & I915_WEDGED; i915_terminally_wedged() 2962 return ((atomic_read(&error->reset_counter) & ~I915_WEDGED) + 1) / 2; i915_reset_count() 2995 unsigned reset_counter,
|
H A D | i915_irq.c | 2421 * error->reset_counter twice. We only need to take care of another i915_reset_and_wakeup() 2468 atomic_inc(&dev_priv->gpu_error.reset_counter); i915_reset_and_wakeup() 2473 atomic_or(I915_WEDGED, &error->reset_counter); i915_reset_and_wakeup() 2602 &dev_priv->gpu_error.reset_counter); i915_handle_error()
|
H A D | i915_drv.c | 771 atomic_or(I915_WEDGED, &dev_priv->gpu_error.reset_counter); i915_drm_resume()
|
H A D | intel_drv.h | 561 unsigned int reset_counter; member in struct:intel_crtc
|
H A D | intel_display.c | 3343 intel_crtc->reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter)) intel_crtc_has_pending_flip() 10852 crtc->reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter)) page_flip_finished() 11287 mmio_flip->crtc->reset_counter, intel_mmio_flip_work_func() 11491 intel_crtc->reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter); intel_crtc_page_flip()
|
H A D | intel_ringbuffer.c | 2263 atomic_read(&to_i915(ring->dev)->gpu_error.reset_counter), intel_ring_idle()
|
H A D | i915_debugfs.c | 4568 *val = atomic_read(&dev_priv->gpu_error.reset_counter); i915_wedged_get()
|
/linux-4.4.14/drivers/scsi/ |
H A D | ips.c | 5018 int reset_counter; ips_reset_copperhead() local 5025 reset_counter = 0; ips_reset_copperhead() 5027 while (reset_counter < 2) { ips_reset_copperhead() 5028 reset_counter++; ips_reset_copperhead() 5042 else if (reset_counter >= 2) { ips_reset_copperhead() 5063 int reset_counter; ips_reset_copperhead_memio() local 5070 reset_counter = 0; ips_reset_copperhead_memio() 5072 while (reset_counter < 2) { ips_reset_copperhead_memio() 5073 reset_counter++; ips_reset_copperhead_memio() 5087 else if (reset_counter >= 2) { ips_reset_copperhead_memio() 5108 int reset_counter; ips_reset_morpheus() local 5116 reset_counter = 0; ips_reset_morpheus() 5118 while (reset_counter < 2) { ips_reset_morpheus() 5119 reset_counter++; ips_reset_morpheus() 5131 else if (reset_counter >= 2) { ips_reset_morpheus()
|