arch/arm/mach-omap1/timer32k.c

Source file repositories/reference/linux-study-clean/arch/arm/mach-omap1/timer32k.c

File Facts

System
Linux kernel
Corpus path
arch/arm/mach-omap1/timer32k.c
Extension
.c
Size
8438 bytes
Lines
283
Domain
Architecture Layer
Bucket
arch/arm
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

if (!base) {
			pr_err("32k_counter: failed to map base addr\n");
			return -ENODEV;
		}

		sync32k_ick = clk_get(NULL, "omap_32ksync_ick");
		if (!IS_ERR(sync32k_ick))
			clk_prepare_enable(sync32k_ick);

		ret = omap_init_clocksource_32k(base);
	}

	if (!ret)
		omap_init_32k_timer();

	return ret;
}

Annotation

Implementation Notes