File Index
Files and directories
Sign in
FILE

i915_mmio_range.c

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/i915/i915_mmio_range.c C
 1// SPDX-License-Identifier: MIT
 2/*
 3 * Copyright © 2025 Intel Corporation
 4 */
 5
 6#include "i915_mmio_range.h"
 7
 8bool i915_mmio_range_table_contains(u32 addr, const struct i915_mmio_range *table)
 9{
10	while (table->start || table->end) {
11		if (addr >= table->start && addr <= table->end)
12			return true;
13
14		table++;
15	}
16
17	return false;
18}
~/ Read-only file preview.