drivers/gpu/drm/tidss/tidss_scale_coefs.c

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/tidss/tidss_scale_coefs.c

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/tidss/tidss_scale_coefs.c
Extension
.c
Size
7709 bytes
Lines
203
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

if (inc >= coefs[i].mmin && inc <= coefs[i].mmax) {
			if (five_taps)
				return coefs[i].coef5;
			else
				return coefs[i].coef3;
		}
	}

	dev_err(dev, "%s: Coefficients not found for firinc 0x%08x, inc %d\n",
		__func__, firinc, inc);

	return NULL;
}

Annotation

Implementation Notes