Home
last modified time | relevance | path

Searched refs:hotplug_slot (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/drivers/hotplug/
Dacpiphp_core.c68 static int enable_slot (struct hotplug_slot *slot);
69 static int disable_slot (struct hotplug_slot *slot);
70 static int set_attention_status (struct hotplug_slot *slot, u8 value);
71 static int hardware_test (struct hotplug_slot *slot, u32 value);
72 static int get_power_status (struct hotplug_slot *slot, u8 *value);
73 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
74 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
75 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
76 static int get_address (struct hotplug_slot *slot, u32 *value);
77 static int get_max_bus_speed (struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value);
[all …]
Dshpchp_core.c69 static int set_attention_status (struct hotplug_slot *slot, u8 value);
70 static int enable_slot (struct hotplug_slot *slot);
71 static int disable_slot (struct hotplug_slot *slot);
72 static int hardware_test (struct hotplug_slot *slot, u32 value);
73 static int get_power_status (struct hotplug_slot *slot, u8 *value);
74 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
75 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
76 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
77 static int get_max_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
78 static int get_cur_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
[all …]
Dpciehp_core.c69 static int set_attention_status (struct hotplug_slot *slot, u8 value);
70 static int enable_slot (struct hotplug_slot *slot);
71 static int disable_slot (struct hotplug_slot *slot);
72 static int hardware_test (struct hotplug_slot *slot, u32 value);
73 static int get_power_status (struct hotplug_slot *slot, u8 *value);
74 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
75 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
76 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
77 static int get_max_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
78 static int get_cur_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
[all …]
Dcpqphp_core.c76 static int set_attention_status (struct hotplug_slot *slot, u8 value);
77 static int process_SI (struct hotplug_slot *slot);
78 static int process_SS (struct hotplug_slot *slot);
79 static int hardware_test (struct hotplug_slot *slot, u32 value);
80 static int get_power_status (struct hotplug_slot *slot, u8 *value);
81 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
82 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
83 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
84 static int get_max_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
85 static int get_cur_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
[all …]
Dpci_hotplug.h69 struct hotplug_slot;
110 int (*enable_slot) (struct hotplug_slot *slot);
111 int (*disable_slot) (struct hotplug_slot *slot);
112 int (*set_attention_status) (struct hotplug_slot *slot, u8 value);
113 int (*hardware_test) (struct hotplug_slot *slot, u32 value);
114 int (*get_power_status) (struct hotplug_slot *slot, u8 *value);
115 int (*get_attention_status) (struct hotplug_slot *slot, u8 *value);
116 int (*get_latch_status) (struct hotplug_slot *slot, u8 *value);
117 int (*get_adapter_status) (struct hotplug_slot *slot, u8 *value);
118 int (*get_address) (struct hotplug_slot *slot, u32 *value);
[all …]
Dibmphp_core.c214 static int set_attention_status (struct hotplug_slot *hotplug_slot, u8 value) in set_attention_status() argument
221 debug ("set_attention_status - Entry hotplug_slot[%lx] value[%x]\n", (ulong) hotplug_slot, value); in set_attention_status()
225 if (hotplug_slot) { in set_attention_status()
242 pslot = (struct slot *) hotplug_slot->private; in set_attention_status()
260 static int get_attention_status (struct hotplug_slot *hotplug_slot, u8 * value) in get_attention_status() argument
267 …debug ("get_attention_status - Entry hotplug_slot[%lx] pvalue[%lx]\n", (ulong) hotplug_slot, (ulon… in get_attention_status()
270 if (hotplug_slot && value) { in get_attention_status()
271 pslot = (struct slot *) hotplug_slot->private; in get_attention_status()
293 static int get_latch_status (struct hotplug_slot *hotplug_slot, u8 * value) in get_latch_status() argument
300 …debug ("get_latch_status - Entry hotplug_slot[%lx] pvalue[%lx]\n", (ulong) hotplug_slot, (ulong) v… in get_latch_status()
[all …]
Dpciehp.h93 struct hotplug_slot *hotplug_slot; member
250 if (!slot->hotplug_slot) { in slot_paranoia_check()
257 static inline struct slot *get_slot (struct hotplug_slot *hotplug_slot, const char *function) in get_slot() argument
261 if (!hotplug_slot) { in get_slot()
266 slot = (struct slot *)hotplug_slot->private; in get_slot()
Dpci_hotplug_core.c561 static int get_##name (struct hotplug_slot *slot, type *value) \
586 struct hotplug_slot *slot = file->private_data; in GET_STATUS()
629 struct hotplug_slot *slot = file->private_data; in power_write_file()
697 struct hotplug_slot *slot = file->private_data; in attention_read_file()
740 struct hotplug_slot *slot = file->private_data; in attention_write_file()
790 struct hotplug_slot *slot = file->private_data; in latch_read_file()
834 struct hotplug_slot *slot = file->private_data; in presence_read_file()
878 struct hotplug_slot *slot = file->private_data; in address_read_file()
927 struct hotplug_slot *slot = file->private_data; in max_bus_speed_read_file()
978 struct hotplug_slot *slot = file->private_data; in cur_bus_speed_read_file()
[all …]
Dshpchp.h94 struct hotplug_slot *hotplug_slot; member
331 if (!slot->hotplug_slot) { in slot_paranoia_check()
338 static inline struct slot *get_slot (struct hotplug_slot *hotplug_slot, const char *function) in get_slot() argument
342 if (!hotplug_slot) { in get_slot()
347 slot = (struct slot *)hotplug_slot->private; in get_slot()
Dcpqphp.h277 struct hotplug_slot *hotplug_slot; member
496 if (!slot->hotplug_slot) { in slot_paranoia_check()
503 static inline struct slot *get_slot (struct hotplug_slot *hotplug_slot, const char *function) in get_slot() argument
507 if (!hotplug_slot) { in get_slot()
512 slot = (struct slot *)hotplug_slot->private; in get_slot()
830 if (!slot->hotplug_slot && !slot->hotplug_slot->info) in set_controller_speed()
832 if (slot->hotplug_slot->info->adapter_status == 0) in set_controller_speed()
Dacpiphp.h65 struct hotplug_slot *hotplug_slot; member
Dibmphp.h401 extern int ibmphp_hpc_fillhpslotinfo (struct hotplug_slot *);
723 struct hotplug_slot *hotplug_slot; member
763 extern int ibmphp_disable_slot (struct hotplug_slot *); /* This function is called from HPC, so we …
Dibmphp_ebda.c747 struct hotplug_slot *hp_slot_ptr; in ebda_rsrc_controller()
907 hp_slot_ptr = (struct hotplug_slot *) kmalloc (sizeof (struct hotplug_slot), GFP_KERNEL); in ebda_rsrc_controller()
912 memset (hp_slot_ptr, 0, sizeof (struct hotplug_slot)); in ebda_rsrc_controller()
963 tmp_slot->hotplug_slot = hp_slot_ptr; in ebda_rsrc_controller()
989 snprintf (tmp_slot->hotplug_slot->name, 30, "%s", create_file_name (tmp_slot)); in ebda_rsrc_controller()
990 pci_hp_register (tmp_slot->hotplug_slot); in ebda_rsrc_controller()
Dibmphp_hpc.c930 int ibmphp_hpc_fillhpslotinfo (struct hotplug_slot *phpslot) in ibmphp_hpc_fillhpslotinfo()
1066 rc = ibmphp_disable_slot (pslot->hotplug_slot); in process_changeinstatus()