/* * PS3 System Manager core. * * Copyright (C) 2007 Sony Computer Entertainment Inc. * Copyright 2007 Sony Corp. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h> #include <linux/export.h> #include <asm/lv1call.h> #include <asm/ps3.h> /** * Staticly linked routines that allow late binding of a loaded sys-manager * module. */ static struct ps3_sys_manager_ops ps3_sys_manager_ops; /** * ps3_register_sys_manager_ops - Bind ps3_sys_manager_ops to a module. * @ops: struct ps3_sys_manager_ops. * * To be called from ps3_sys_manager_probe() and ps3_sys_manager_remove() to * register call back ops for power control. Copies data to the static * variable ps3_sys_manager_ops. */
void ps3_sys_manager_register_ops(const struct ps3_sys_manager_ops *ops) { BUG_ON(!ops); BUG_ON(!ops->dev); ps3_sys_manager_ops = ops ? *ops : ps3_sys_manager_ops; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
geoffrey levand | geoffrey levand | 34 | 100.00% | 1 | 100.00% |
Total | 34 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
geoffrey levand | geoffrey levand | 24 | 92.31% | 1 | 33.33% |
geoff levand | geoff levand | 1 | 3.85% | 1 | 33.33% |
geert uytterhoeven | geert uytterhoeven | 1 | 3.85% | 1 | 33.33% |
Total | 26 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
geoffrey levand | geoffrey levand | 21 | 80.77% | 1 | 33.33% |
geert uytterhoeven | geert uytterhoeven | 4 | 15.38% | 1 | 33.33% |
geoff levand | geoff levand | 1 | 3.85% | 1 | 33.33% |
Total | 26 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
geoffrey levand | geoffrey levand | 13 | 52.00% | 1 | 33.33% |
geert uytterhoeven | geert uytterhoeven | 11 | 44.00% | 1 | 33.33% |
geoff levand | geoff levand | 1 | 4.00% | 1 | 33.33% |
Total | 25 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
geoffrey levand | geoffrey levand | 111 | 81.62% | 1 | 25.00% |
geert uytterhoeven | geert uytterhoeven | 19 | 13.97% | 1 | 25.00% |
geoff levand | geoff levand | 3 | 2.21% | 1 | 25.00% |
paul gortmaker | paul gortmaker | 3 | 2.21% | 1 | 25.00% |
Total | 136 | 100.00% | 4 | 100.00% |