Searched refs:hotplug_slot (Results 1 - 25 of 28) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/hotplug/
H A Dpcihp_skeleton.c42 struct hotplug_slot *hotplug_slot; member in struct:slot
75 static int enable_slot (struct hotplug_slot *slot);
76 static int disable_slot (struct hotplug_slot *slot);
77 static int set_attention_status (struct hotplug_slot *slot, u8 value);
78 static int hardware_test (struct hotplug_slot *slot, u32 value);
79 static int get_power_status (struct hotplug_slot *slot, u8 *value);
80 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
81 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
82 static int get_adapter_status (struct hotplug_slot *slo
95 enable_slot(struct hotplug_slot *hotplug_slot) argument
109 disable_slot(struct hotplug_slot *hotplug_slot) argument
123 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
148 hardware_test(struct hotplug_slot *hotplug_slot, u32 value) argument
167 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
182 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
197 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
212 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
227 release_slot(struct hotplug_slot *hotplug_slot) argument
253 struct hotplug_slot *hotplug_slot; local
[all...]
H A Dacpiphp_core.c71 static int enable_slot (struct hotplug_slot *slot);
72 static int disable_slot (struct hotplug_slot *slot);
73 static int set_attention_status (struct hotplug_slot *slot, u8 value);
74 static int get_power_status (struct hotplug_slot *slot, u8 *value);
75 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
76 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
77 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
132 * @hotplug_slot: slot to enable
136 static int enable_slot(struct hotplug_slot *hotplug_slot) argument
153 disable_slot(struct hotplug_slot *hotplug_slot) argument
177 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
200 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
222 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
245 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
265 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
299 release_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Dshpchp_core.c62 static int set_attention_status (struct hotplug_slot *slot, u8 value);
63 static int enable_slot (struct hotplug_slot *slot);
64 static int disable_slot (struct hotplug_slot *slot);
65 static int get_power_status (struct hotplug_slot *slot, u8 *value);
66 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
67 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
68 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
82 * @hotplug_slot: slot to free
84 static void release_slot(struct hotplug_slot *hotplug_slot) argument
99 struct hotplug_slot *hotplug_slot; local
186 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
199 enable_slot(struct hotplug_slot *hotplug_slot) argument
209 disable_slot(struct hotplug_slot *hotplug_slot) argument
219 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
234 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
249 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
264 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
[all...]
H A Drpaphp_slot.c37 static void rpaphp_release_slot(struct hotplug_slot *hotplug_slot) argument
39 struct slot *slot = (struct slot *) hotplug_slot->private;
45 kfree(slot->hotplug_slot->info);
47 kfree(slot->hotplug_slot);
59 slot->hotplug_slot = kzalloc(sizeof(struct hotplug_slot), GFP_KERNEL);
60 if (!slot->hotplug_slot)
62 slot->hotplug_slot->info = kzalloc(sizeof(struct hotplug_slot_info),
64 if (!slot->hotplug_slot
[all...]
H A Dpciehp_core.c66 static int set_attention_status (struct hotplug_slot *slot, u8 value);
67 static int enable_slot (struct hotplug_slot *slot);
68 static int disable_slot (struct hotplug_slot *slot);
69 static int get_power_status (struct hotplug_slot *slot, u8 *value);
70 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
71 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
72 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
76 * @hotplug_slot: slot to free
78 static void release_slot(struct hotplug_slot *hotplug_slot) argument
155 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
166 enable_slot(struct hotplug_slot *hotplug_slot) argument
177 disable_slot(struct hotplug_slot *hotplug_slot) argument
187 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
197 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
207 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
217 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
[all...]
H A Dcpci_hotplug_core.c65 static int enable_slot(struct hotplug_slot *slot);
66 static int disable_slot(struct hotplug_slot *slot);
67 static int set_attention_status(struct hotplug_slot *slot, u8 value);
68 static int get_power_status(struct hotplug_slot *slot, u8 * value);
69 static int get_attention_status(struct hotplug_slot *slot, u8 * value);
70 static int get_adapter_status(struct hotplug_slot *slot, u8 * value);
71 static int get_latch_status(struct hotplug_slot *slot, u8 * value);
84 update_latch_status(struct hotplug_slot *hotplug_slot, u8 value) argument
88 memcpy(&info, hotplug_slot
94 update_adapter_status(struct hotplug_slot *hotplug_slot, u8 value) argument
104 enable_slot(struct hotplug_slot *hotplug_slot) argument
117 disable_slot(struct hotplug_slot *hotplug_slot) argument
171 get_power_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
180 get_attention_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
189 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
195 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
202 get_latch_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
208 release_slot(struct hotplug_slot *hotplug_slot) argument
225 struct hotplug_slot *hotplug_slot; local
[all...]
H A Drpaphp_core.c57 * @hotplug_slot: target &hotplug_slot
64 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value) argument
67 struct slot *slot = (struct slot *)hotplug_slot->private;
81 hotplug_slot->info->attention_status = value;
88 * @hotplug_slot: slot to get status
91 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
94 struct slot *slot = (struct slot *)hotplug_slot
107 get_attention_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
114 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
386 enable_slot(struct hotplug_slot *hotplug_slot) argument
414 disable_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Dcpqphp_core.c283 static void release_slot(struct hotplug_slot *hotplug_slot) argument
285 struct slot *slot = hotplug_slot->private;
289 kfree(slot->hotplug_slot->info);
290 kfree(slot->hotplug_slot);
304 pci_hp_deregister (old_slot->hotplug_slot);
439 * @hotplug_slot: slot to change LED on
442 static int set_attention_status (struct hotplug_slot *hotplug_slot, u8 status) argument
445 struct slot *slot = hotplug_slot
469 process_SI(struct hotplug_slot *hotplug_slot) argument
501 process_SS(struct hotplug_slot *hotplug_slot) argument
529 hardware_test(struct hotplug_slot *hotplug_slot, u32 value) argument
540 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
551 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
562 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
574 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
604 struct hotplug_slot *hotplug_slot; local
[all...]
H A Dacpiphp.h60 struct hotplug_slot *hotplug_slot; member in struct:slot
67 return hotplug_slot_name(slot->hotplug_slot);
144 int (*set_attn)(struct hotplug_slot *slot, u8 status);
145 int (*get_attn)(struct hotplug_slot *slot, u8 *status);
H A Dcpci_hotplug.h50 struct hotplug_slot *hotplug_slot; member in struct:slot
75 return hotplug_slot_name(slot->hotplug_slot);
H A Dpci_hotplug_core.c76 static int get_##name (struct hotplug_slot *slot, type *value) \
111 struct hotplug_slot *slot = pci_slot->hotplug;
240 struct hotplug_slot *slot = pci_slot->hotplug;
270 struct hotplug_slot *slot = pci_slot->hotplug;
282 struct hotplug_slot *slot = pci_slot->hotplug;
293 struct hotplug_slot *slot = pci_slot->hotplug;
303 struct hotplug_slot *slot = pci_slot->hotplug;
313 struct hotplug_slot *slot = pci_slot->hotplug;
407 static struct hotplug_slot *get_slot_from_name (const char *name)
409 struct hotplug_slot *slo
[all...]
H A Dibmphp_core.c67 static int get_max_adapter_speed_1 (struct hotplug_slot *, u8 *, u8);
69 static inline int get_max_adapter_speed (struct hotplug_slot *hs, u8 *value)
239 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value) argument
245 debug("set_attention_status - Entry hotplug_slot[%lx] value[%x]\n",
246 (ulong) hotplug_slot, value);
250 if (hotplug_slot) {
268 pslot = hotplug_slot->private;
283 static int get_attention_status(struct hotplug_slot *hotplug_slot, u argument
314 get_latch_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
341 get_power_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
367 get_adapter_present(struct hotplug_slot *hotplug_slot, u8 * value) argument
1179 ibmphp_disable_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Drpaphp.h80 struct hotplug_slot *hotplug_slot; member in struct:slot
H A Dsgi_hotplug.c57 /* hotplug_slot struct's private pointer */
62 struct hotplug_slot *hotplug_slot; member in struct:slot
82 static int enable_slot(struct hotplug_slot *slot);
83 static int disable_slot(struct hotplug_slot *slot);
84 static inline int get_power_status(struct hotplug_slot *slot, u8 *value);
162 static int sn_hp_slot_private_alloc(struct hotplug_slot *bss_hotplug_slot,
185 slot->hotplug_slot = bss_hotplug_slot;
191 static struct hotplug_slot * sn_hp_destroy(void)
195 struct hotplug_slot *bss_hotplug_slo
[all...]
H A Dshpchp.h88 struct hotplug_slot *hotplug_slot; member in struct:slot
186 return hotplug_slot_name(slot->hotplug_slot);
233 static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot) argument
235 return hotplug_slot->private;
H A Dibmphp_ebda.c670 static int fillslotinfo(struct hotplug_slot *hotplug_slot) argument
675 if (!hotplug_slot || !hotplug_slot->private)
678 slot = hotplug_slot->private;
684 hotplug_slot->info->power_status = SLOT_POWER(slot->status);
687 hotplug_slot->info->attention_status = SLOT_ATTN(slot->status, slot->ext_status);
690 hotplug_slot->info->latch_status = SLOT_LATCH(slot->status);
694 hotplug_slot->info->adapter_status = 1;
696 hotplug_slot
708 release_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Drpaphp_pci.c71 * Initialize values in the slot, and the hotplug_slot info
80 struct hotplug_slot_info *info = slot->hotplug_slot->info;
H A Dpciehp.h77 struct hotplug_slot *hotplug_slot; member in struct:slot
164 return hotplug_slot_name(slot->hotplug_slot);
H A Dacpiphp_ibm.c107 static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status);
108 static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status);
167 * @slot: the hotplug_slot to work with
173 static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status)
207 * @slot: the hotplug_slot to work with
217 static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status)
H A Dcpci_hotplug_pci.c212 hotplug_slot_name(slot->hotplug_slot));
241 hotplug_slot_name(slot->hotplug_slot));
H A Dibmphp.h715 struct hotplug_slot *hotplug_slot; member in struct:slot
H A Dcpqphp.h277 struct hotplug_slot *hotplug_slot; member in struct:slot
468 return hotplug_slot_name(slot->hotplug_slot);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dpci_hotplug.h75 int (*enable_slot) (struct hotplug_slot *slot);
76 int (*disable_slot) (struct hotplug_slot *slot);
77 int (*set_attention_status) (struct hotplug_slot *slot, u8 value);
78 int (*hardware_test) (struct hotplug_slot *slot, u32 value);
79 int (*get_power_status) (struct hotplug_slot *slot, u8 *value);
80 int (*get_attention_status) (struct hotplug_slot *slot, u8 *value);
81 int (*get_latch_status) (struct hotplug_slot *slot, u8 *value);
82 int (*get_adapter_status) (struct hotplug_slot *slot, u8 *value);
102 * struct hotplug_slot - used to register a physical slot with the hotplug pci core
107 * hotplug_slot structur
111 struct hotplug_slot { struct
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/platform/x86/
H A Deeepc-laptop.c178 struct hotplug_slot *hotplug_slot; member in struct:eeepc_laptop
589 if (eeepc->hotplug_slot) {
687 static int eeepc_get_adapter_status(struct hotplug_slot *hotplug_slot, argument
690 struct eeepc_laptop *eeepc = hotplug_slot->private;
701 static void eeepc_cleanup_pci_hotplug(struct hotplug_slot *hotplug_slot) argument
703 kfree(hotplug_slot->info);
704 kfree(hotplug_slot);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/
H A Dslot.c210 struct hotplug_slot *hotplug)
339 struct hotplug_slot *slot = pci_slot->hotplug;

Completed in 205 milliseconds

12