• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/

Lines Matching refs:hotplug_slot

82 static int set_attention_status	(struct hotplug_slot *slot, u8 value);
83 static int process_SI (struct hotplug_slot *slot);
84 static int process_SS (struct hotplug_slot *slot);
85 static int hardware_test (struct hotplug_slot *slot, u32 value);
86 static int get_power_status (struct hotplug_slot *slot, u8 *value);
87 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
88 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
89 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
90 static int get_max_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
91 static int get_cur_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
314 static void release_slot(struct hotplug_slot *hotplug_slot)
316 struct slot *slot = hotplug_slot->private;
318 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
320 kfree(slot->hotplug_slot->info);
321 kfree(slot->hotplug_slot->name);
322 kfree(slot->hotplug_slot);
331 struct hotplug_slot *hotplug_slot;
354 slot->hotplug_slot = kzalloc(sizeof(*(slot->hotplug_slot)),
356 if (!slot->hotplug_slot)
358 hotplug_slot = slot->hotplug_slot;
360 hotplug_slot->info =
361 kzalloc(sizeof(*(hotplug_slot->info)),
363 if (!hotplug_slot->info)
365 hotplug_slot_info = hotplug_slot->info;
366 hotplug_slot->name = kmalloc(SLOT_NAME_SIZE, GFP_KERNEL);
368 if (!hotplug_slot->name)
418 hotplug_slot->release = &release_slot;
419 hotplug_slot->private = slot;
420 make_slot_name(hotplug_slot->name, SLOT_NAME_SIZE, slot);
421 hotplug_slot->ops = &cpqphp_hotplug_slot_ops;
436 result = pci_hp_register(hotplug_slot);
452 kfree(hotplug_slot->name);
456 kfree(hotplug_slot);
473 pci_hp_deregister (old_slot->hotplug_slot);
625 static int set_attention_status (struct hotplug_slot *hotplug_slot, u8 status)
628 struct slot *slot = hotplug_slot->private;
635 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
652 static int process_SI(struct hotplug_slot *hotplug_slot)
655 struct slot *slot = hotplug_slot->private;
662 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
684 static int process_SS(struct hotplug_slot *hotplug_slot)
687 struct slot *slot = hotplug_slot->private;
694 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
712 static int hardware_test(struct hotplug_slot *hotplug_slot, u32 value)
714 struct slot *slot = hotplug_slot->private;
717 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
723 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
725 struct slot *slot = hotplug_slot->private;
728 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
734 static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
736 struct slot *slot = hotplug_slot->private;
739 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
745 static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
747 struct slot *slot = hotplug_slot->private;
750 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
757 static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
759 struct slot *slot = hotplug_slot->private;
762 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
769 static int get_max_bus_speed (struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value)
771 struct slot *slot = hotplug_slot->private;
774 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
781 static int get_cur_bus_speed (struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value)
783 struct slot *slot = hotplug_slot->private;
786 dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);