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

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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
96 enable_slot(struct hotplug_slot *hotplug_slot) argument
110 disable_slot(struct hotplug_slot *hotplug_slot) argument
124 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
149 hardware_test(struct hotplug_slot *hotplug_slot, u32 value) argument
168 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
183 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
198 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
213 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
228 release_slot(struct hotplug_slot *hotplug_slot) argument
254 struct hotplug_slot *hotplug_slot; local
[all...]
H A 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 get_power_status (struct hotplug_slot *slot, u8 *value);
72 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
73 static int get_address (struct hotplug_slot *slot, u32 *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);
133 * @hotplug_slot: slot to enable
138 static int enable_slot(struct hotplug_slot *hotplug_slo argument
156 disable_slot(struct hotplug_slot *hotplug_slot) argument
176 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
246 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
267 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
284 get_address(struct hotplug_slot *hotplug_slot, u32 *value) argument
318 release_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Dshpchp_core.c61 static int set_attention_status (struct hotplug_slot *slot, u8 value);
62 static int enable_slot (struct hotplug_slot *slot);
63 static int disable_slot (struct hotplug_slot *slot);
64 static int get_power_status (struct hotplug_slot *slot, u8 *value);
65 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
66 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
67 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
68 static int get_address (struct hotplug_slot *slot, u32 *value);
69 static int get_max_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
70 static int get_cur_bus_speed (struct hotplug_slot *slo
90 release_slot(struct hotplug_slot *hotplug_slot) argument
110 struct hotplug_slot *hotplug_slot; local
194 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
206 enable_slot(struct hotplug_slot *hotplug_slot) argument
215 disable_slot(struct hotplug_slot *hotplug_slot) argument
224 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
238 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
252 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
266 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
280 get_address(struct hotplug_slot *hotplug_slot, u32 *value) argument
292 get_max_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value) argument
306 get_cur_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value) argument
[all...]
H A Dpciehp_core.c65 static int set_attention_status (struct hotplug_slot *slot, u8 value);
66 static int enable_slot (struct hotplug_slot *slot);
67 static int disable_slot (struct hotplug_slot *slot);
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_latch_status (struct hotplug_slot *slot, u8 *value);
71 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
72 static int get_address (struct hotplug_slot *slot, u32 *value);
73 static int get_max_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
74 static int get_cur_bus_speed (struct hotplug_slot *slo
93 get_lock_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
122 set_lock_status(struct hotplug_slot *hotplug_slot, u8 status) argument
183 release_slot(struct hotplug_slot *hotplug_slot) argument
203 struct hotplug_slot *hotplug_slot; local
300 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
315 enable_slot(struct hotplug_slot *hotplug_slot) argument
325 disable_slot(struct hotplug_slot *hotplug_slot) argument
334 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
348 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
362 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
376 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
390 get_address(struct hotplug_slot *hotplug_slot, u32 *value) argument
402 get_max_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value) argument
416 get_cur_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value) argument
[all...]
H A Drpaphp_slot.c36 static ssize_t location_read_file (struct hotplug_slot *php_slot, char *buf)
56 static void rpaphp_release_slot(struct hotplug_slot *hotplug_slot) argument
58 struct slot *slot = (struct slot *) hotplug_slot->private;
64 kfree(slot->hotplug_slot->info);
65 kfree(slot->hotplug_slot->name);
66 kfree(slot->hotplug_slot);
79 slot->hotplug_slot = kzalloc(sizeof(struct hotplug_slot), GFP_KERNEL);
80 if (!slot->hotplug_slot)
[all...]
H A Dcpci_hotplug_core.c66 static int enable_slot(struct hotplug_slot *slot);
67 static int disable_slot(struct hotplug_slot *slot);
68 static int set_attention_status(struct hotplug_slot *slot, u8 value);
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_adapter_status(struct hotplug_slot *slot, u8 * value);
72 static int get_latch_status(struct hotplug_slot *slot, u8 * value);
86 update_latch_status(struct hotplug_slot *hotplug_slot, u8 value) argument
90 memcpy(&info, hotplug_slot
96 update_adapter_status(struct hotplug_slot *hotplug_slot, u8 value) argument
106 enable_slot(struct hotplug_slot *hotplug_slot) argument
119 disable_slot(struct hotplug_slot *hotplug_slot) argument
175 get_power_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
184 get_attention_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
193 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
199 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
206 get_latch_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
212 release_slot(struct hotplug_slot *hotplug_slot) argument
236 struct hotplug_slot *hotplug_slot; local
[all...]
H A Drpaphp_core.c62 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value) argument
65 struct slot *slot = (struct slot *)hotplug_slot->private;
79 hotplug_slot->info->attention_status = value;
86 * @hotplug_slot: slot to get status
89 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
92 struct slot *slot = (struct slot *)hotplug_slot->private;
103 static int get_attention_status(struct hotplug_slot *hotplug_slot, u argument
110 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
129 get_max_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value) argument
378 enable_slot(struct hotplug_slot *hotplug_slot) argument
404 disable_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Dcpqphp_core.c82 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 *slo
314 release_slot(struct hotplug_slot *hotplug_slot) argument
331 struct hotplug_slot *hotplug_slot; local
625 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
652 process_SI(struct hotplug_slot *hotplug_slot) argument
684 process_SS(struct hotplug_slot *hotplug_slot) argument
712 hardware_test(struct hotplug_slot *hotplug_slot, u32 value) argument
723 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
734 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
745 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
757 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
769 get_max_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value) argument
781 get_cur_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value) argument
[all...]
H A Dpci_hotplug_core.c69 struct hotplug_slot *slot = to_hotplug_slot(kobj);
77 struct hotplug_slot *slot = to_hotplug_slot(kobj);
89 struct hotplug_slot *slot = to_hotplug_slot(kobj);
136 static int get_##name (struct hotplug_slot *slot, type *value) \
158 static ssize_t power_read_file (struct hotplug_slot *slot, char *buf)
171 static ssize_t power_write_file (struct hotplug_slot *slot, const char *buf,
215 static ssize_t attention_read_file (struct hotplug_slot *slot, char *buf)
229 static ssize_t attention_write_file (struct hotplug_slot *slot, const char *buf,
260 static ssize_t latch_read_file (struct hotplug_slot *slot, char *buf)
279 static ssize_t presence_read_file (struct hotplug_slot *slo
[all...]
H A Dfakephp.c64 struct hotplug_slot *slot;
71 static int enable_slot (struct hotplug_slot *slot);
72 static int disable_slot (struct hotplug_slot *slot);
80 static void dummy_release(struct hotplug_slot *slot)
94 struct hotplug_slot *slot;
97 slot = kzalloc(sizeof(struct hotplug_slot), GFP_KERNEL);
271 static int enable_slot(struct hotplug_slot *hotplug_slot) argument
278 /* find the hotplug_slot for the pci_dev */
279 static struct hotplug_slot *get_slot_from_de
[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)
233 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value) argument
239 debug("set_attention_status - Entry hotplug_slot[%lx] value[%x]\n",
240 (ulong) hotplug_slot, value);
244 if (hotplug_slot) {
262 pslot = hotplug_slot->private;
277 static int get_attention_status(struct hotplug_slot *hotplug_slot, u argument
308 get_latch_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
335 get_power_status(struct hotplug_slot *hotplug_slot, u8 * value) argument
361 get_adapter_present(struct hotplug_slot *hotplug_slot, u8 * value) argument
392 get_max_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value) argument
432 get_cur_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_speed *value) argument
1218 ibmphp_disable_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Dcpci_hotplug.h49 struct hotplug_slot *hotplug_slot; member in struct:slot
H A Drpaphp.h81 struct hotplug_slot *hotplug_slot; member in struct:slot
H A Dsgi_hotplug.c56 /* hotplug_slot struct's private pointer */
61 struct hotplug_slot *hotplug_slot; member in struct:slot
81 static int enable_slot(struct hotplug_slot *slot);
82 static int disable_slot(struct hotplug_slot *slot);
83 static inline int get_power_status(struct hotplug_slot *slot, u8 *value);
94 static ssize_t path_show (struct hotplug_slot *bss_hotplug_slot,
163 static int sn_hp_slot_private_alloc(struct hotplug_slot *bss_hotplug_slot,
191 slot->hotplug_slot = bss_hotplug_slot;
197 static struct hotplug_slot * sn_hp_destro
[all...]
H A Dacpiphp.h63 struct hotplug_slot *hotplug_slot; member in struct:slot
148 int (*set_attn)(struct hotplug_slot *slot, u8 status);
149 int (*get_attn)(struct hotplug_slot *slot, u8 *status);
H A Dibmphp_ebda.c691 static int fillslotinfo(struct hotplug_slot *hotplug_slot) argument
696 if (!hotplug_slot || !hotplug_slot->private)
699 slot = hotplug_slot->private;
705 hotplug_slot->info->power_status = SLOT_POWER(slot->status);
708 hotplug_slot->info->attention_status = SLOT_ATTN(slot->status, slot->ext_status);
711 hotplug_slot->info->latch_status = SLOT_LATCH(slot->status);
715 hotplug_slot->info->adapter_status = 1;
717 hotplug_slot
729 release_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Dshpchp.h76 struct hotplug_slot *hotplug_slot; member in struct:slot
223 static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot) argument
225 return hotplug_slot->private;
H A Dacpiphp_ibm.c104 static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status);
105 static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status);
164 * @slot: the hotplug_slot to work with
170 static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status)
204 * @slot: the hotplug_slot to work with
214 static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status)
H A Drpaphp_pci.c83 * Initialize values in the slot, and the hotplug_slot info
92 struct hotplug_slot_info *info = slot->hotplug_slot->info;
H A Dcpci_hotplug_pci.c214 slot->hotplug_slot->name);
243 slot->hotplug_slot->name);
H A Dpciehp.h70 struct hotplug_slot *hotplug_slot; member in struct:slot
H A Dibmphp.h714 struct hotplug_slot *hotplug_slot; member in struct:slot
H A Dcpqphp.h272 struct hotplug_slot *hotplug_slot; member in struct:slot
H A Dcpqphp_ctrl.c1154 if (!slot->hotplug_slot && !slot->hotplug_slot->info)
1156 if (slot->hotplug_slot->info->adapter_status == 0)
1804 result = pci_hp_change_slot_info(slot->hotplug_slot, info);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dpci_hotplug.h69 struct hotplug_slot;
72 ssize_t (*show)(struct hotplug_slot *, char *);
73 ssize_t (*store)(struct hotplug_slot *, const char *, size_t);
115 int (*enable_slot) (struct hotplug_slot *slot);
116 int (*disable_slot) (struct hotplug_slot *slot);
117 int (*set_attention_status) (struct hotplug_slot *slot, u8 value);
118 int (*hardware_test) (struct hotplug_slot *slot, u32 value);
119 int (*get_power_status) (struct hotplug_slot *slot, u8 *value);
120 int (*get_attention_status) (struct hotplug_slot *slot, u8 *value);
121 int (*get_latch_status) (struct hotplug_slot *slo
160 struct hotplug_slot { struct
[all...]

Completed in 97 milliseconds

12