search for: set_power

Displaying 4 results from an estimated 4 matches for "set_power".

Did you mean: best_power
2011 Nov 21
1
Sub sets
I'd appreciate it if you'd keep on list for the archives. That said, I think this function does what you were hoping for. Michael powerset <- function(n, items = NULL){ if(!is.null(items)) { if(n != length(items)) warning("Resetting n in preference to length(items)") n = length(items) } smat <- do.call(expand.grid, rep(list(c(0,1)), n))
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...+104,7 @@ enable_slot(struct hotplug_slot *hotplug_slot) struct slot *slot = hotplug_slot->private; int retval = 0; - dbg("%s - physical_slot = %s", __func__, slot_name(slot)); + dbg("%s: physical_slot = %s\n", __func__, slot_name(slot)); if (controller->ops->set_power) retval = controller->ops->set_power(slot, 1); @@ -119,23 +117,23 @@ disable_slot(struct hotplug_slot *hotplug_slot) struct slot *slot = hotplug_slot->private; int retval = 0; - dbg("%s - physical_slot = %s", __func__, slot_name(slot)); + dbg("%s: physical_slot = %s...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...+104,7 @@ enable_slot(struct hotplug_slot *hotplug_slot) struct slot *slot = hotplug_slot->private; int retval = 0; - dbg("%s - physical_slot = %s", __func__, slot_name(slot)); + dbg("%s: physical_slot = %s\n", __func__, slot_name(slot)); if (controller->ops->set_power) retval = controller->ops->set_power(slot, 1); @@ -119,23 +117,23 @@ disable_slot(struct hotplug_slot *hotplug_slot) struct slot *slot = hotplug_slot->private; int retval = 0; - dbg("%s - physical_slot = %s", __func__, slot_name(slot)); + dbg("%s: physical_slot = %s...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...+104,7 @@ enable_slot(struct hotplug_slot *hotplug_slot) struct slot *slot = hotplug_slot->private; int retval = 0; - dbg("%s - physical_slot = %s", __func__, slot_name(slot)); + dbg("%s: physical_slot = %s\n", __func__, slot_name(slot)); if (controller->ops->set_power) retval = controller->ops->set_power(slot, 1); @@ -119,23 +117,23 @@ disable_slot(struct hotplug_slot *hotplug_slot) struct slot *slot = hotplug_slot->private; int retval = 0; - dbg("%s - physical_slot = %s", __func__, slot_name(slot)); + dbg("%s: physical_slot = %s...