cregit-Linux how code gets into the kernel

Release 4.17 arch/arm/mach-imx/cpuidle-imx5.c

/*
 * Copyright (C) 2012 Freescale Semiconductor, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <linux/cpuidle.h>
#include <linux/module.h>
#include <asm/system_misc.h>
#include "cpuidle.h"


static int imx5_cpuidle_enter(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) { arm_pm_idle(); return index; }

Contributors

PersonTokensPropCommitsCommitProp
Daniel Lezcano25100.00%1100.00%
Total25100.00%1100.00%

static struct cpuidle_driver imx5_cpuidle_driver = { .name = "imx5_cpuidle", .owner = THIS_MODULE, .states[0] = { .enter = imx5_cpuidle_enter, .exit_latency = 2, .target_residency = 1, .name = "IMX5 SRPG", .desc = "CPU state retained,powered off", }, .state_count = 1, };
int __init imx5_cpuidle_init(void) { return cpuidle_register(&imx5_cpuidle_driver, NULL); }

Contributors

PersonTokensPropCommitsCommitProp
Daniel Lezcano17100.00%1100.00%
Total17100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Daniel Lezcano10797.27%150.00%
Marco Franchi32.73%150.00%
Total110100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.