Symbol: hotplug_slot
arch/powerpc/include/asm/pnv-pci.h
31
struct hotplug_slot slot;
arch/powerpc/include/asm/pnv-pci.h
58
extern int pnv_php_set_slot_power_state(struct hotplug_slot *slot,
arch/s390/include/asm/pci.h
128
struct hotplug_slot hotplug_slot;
drivers/pci/hotplug/acpiphp.h
152
int (*set_attn)(struct hotplug_slot *slot, u8 status);
drivers/pci/hotplug/acpiphp.h
153
int (*get_attn)(struct hotplug_slot *slot, u8 *status);
drivers/pci/hotplug/acpiphp.h
36
struct hotplug_slot hotplug_slot;
drivers/pci/hotplug/acpiphp.h
43
return hotplug_slot_name(&slot->hotplug_slot);
drivers/pci/hotplug/acpiphp.h
46
static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/acpiphp.h
48
return container_of(hotplug_slot, struct slot, hotplug_slot);
drivers/pci/hotplug/acpiphp_ampere_altra.c
39
static int set_attention_status(struct hotplug_slot *slot, u8 status)
drivers/pci/hotplug/acpiphp_ampere_altra.c
75
static int get_attention_status(struct hotplug_slot *slot, u8 *status)
drivers/pci/hotplug/acpiphp_core.c
117
static int enable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/acpiphp_core.c
119
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/acpiphp_core.c
134
static int disable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/acpiphp_core.c
136
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/acpiphp_core.c
154
static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status)
drivers/pci/hotplug/acpiphp_core.c
159
hotplug_slot_name(hotplug_slot));
drivers/pci/hotplug/acpiphp_core.c
162
retval = attention_info->set_attn(hotplug_slot, status);
drivers/pci/hotplug/acpiphp_core.c
178
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/acpiphp_core.c
180
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/acpiphp_core.c
200
static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/acpiphp_core.c
205
hotplug_slot_name(hotplug_slot));
drivers/pci/hotplug/acpiphp_core.c
208
retval = attention_info->get_attn(hotplug_slot, value);
drivers/pci/hotplug/acpiphp_core.c
224
static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/acpiphp_core.c
226
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/acpiphp_core.c
244
static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/acpiphp_core.c
246
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/acpiphp_core.c
267
slot->hotplug_slot.ops = &acpi_hotplug_slot_ops;
drivers/pci/hotplug/acpiphp_core.c
275
retval = pci_hp_register(&slot->hotplug_slot, acpiphp_slot->bus,
drivers/pci/hotplug/acpiphp_core.c
300
pci_hp_deregister(&slot->hotplug_slot);
drivers/pci/hotplug/acpiphp_core.c
51
static int enable_slot(struct hotplug_slot *slot);
drivers/pci/hotplug/acpiphp_core.c
52
static int disable_slot(struct hotplug_slot *slot);
drivers/pci/hotplug/acpiphp_core.c
53
static int set_attention_status(struct hotplug_slot *slot, u8 value);
drivers/pci/hotplug/acpiphp_core.c
54
static int get_power_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/acpiphp_core.c
55
static int get_attention_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/acpiphp_core.c
56
static int get_latch_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/acpiphp_core.c
57
static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/acpiphp_ibm.c
160
static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status)
drivers/pci/hotplug/acpiphp_ibm.c
209
static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status)
drivers/pci/hotplug/acpiphp_ibm.c
82
static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status);
drivers/pci/hotplug/acpiphp_ibm.c
83
static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status);
drivers/pci/hotplug/cpci_hotplug.h
38
struct hotplug_slot hotplug_slot;
drivers/pci/hotplug/cpci_hotplug.h
60
return hotplug_slot_name(&slot->hotplug_slot);
drivers/pci/hotplug/cpci_hotplug.h
63
static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/cpci_hotplug.h
65
return container_of(hotplug_slot, struct slot, hotplug_slot);
drivers/pci/hotplug/cpci_hotplug_core.c
127
get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/cpci_hotplug_core.c
129
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpci_hotplug_core.c
136
get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/cpci_hotplug_core.c
138
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpci_hotplug_core.c
145
set_attention_status(struct hotplug_slot *hotplug_slot, u8 status)
drivers/pci/hotplug/cpci_hotplug_core.c
147
return cpci_set_attention_status(to_slot(hotplug_slot), status);
drivers/pci/hotplug/cpci_hotplug_core.c
151
get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/cpci_hotplug_core.c
153
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpci_hotplug_core.c
160
get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/cpci_hotplug_core.c
162
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpci_hotplug_core.c
204
slot->hotplug_slot.ops = &cpci_hotplug_slot_ops;
drivers/pci/hotplug/cpci_hotplug_core.c
207
status = pci_hp_register(&slot->hotplug_slot, bus, i, name);
drivers/pci/hotplug/cpci_hotplug_core.c
246
pci_hp_deregister(&slot->hotplug_slot);
drivers/pci/hotplug/cpci_hotplug_core.c
52
static int enable_slot(struct hotplug_slot *slot);
drivers/pci/hotplug/cpci_hotplug_core.c
53
static int disable_slot(struct hotplug_slot *slot);
drivers/pci/hotplug/cpci_hotplug_core.c
54
static int set_attention_status(struct hotplug_slot *slot, u8 value);
drivers/pci/hotplug/cpci_hotplug_core.c
548
pci_hp_deregister(&slot->hotplug_slot);
drivers/pci/hotplug/cpci_hotplug_core.c
55
static int get_power_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/cpci_hotplug_core.c
56
static int get_attention_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/cpci_hotplug_core.c
57
static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/cpci_hotplug_core.c
58
static int get_latch_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/cpci_hotplug_core.c
71
enable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/cpci_hotplug_core.c
73
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpci_hotplug_core.c
81
disable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/cpci_hotplug_core.c
83
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpqphp.h
263
struct hotplug_slot hotplug_slot;
drivers/pci/hotplug/cpqphp.h
448
return hotplug_slot_name(&slot->hotplug_slot);
drivers/pci/hotplug/cpqphp.h
451
static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/cpqphp.h
453
return container_of(hotplug_slot, struct slot, hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
275
pci_hp_deregister(&old_slot->hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
415
static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status)
drivers/pci/hotplug/cpqphp_core.c
418
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
442
static int process_SI(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/cpqphp_core.c
445
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
474
static int process_SS(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/cpqphp_core.c
477
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
502
static int hardware_test(struct hotplug_slot *hotplug_slot, u32 value)
drivers/pci/hotplug/cpqphp_core.c
504
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
513
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/cpqphp_core.c
515
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
524
static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/cpqphp_core.c
526
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
535
static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/cpqphp_core.c
537
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
547
static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/cpqphp_core.c
549
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/cpqphp_core.c
651
slot->hotplug_slot.ops = &cpqphp_hotplug_slot_ops;
drivers/pci/hotplug/cpqphp_core.c
657
result = pci_hp_register(&slot->hotplug_slot,
drivers/pci/hotplug/ibmphp.h
699
struct hotplug_slot hotplug_slot;
drivers/pci/hotplug/ibmphp.h
743
static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/ibmphp.h
745
return container_of(hotplug_slot, struct slot, hotplug_slot);
drivers/pci/hotplug/ibmphp_core.c
1062
static int ibmphp_disable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/ibmphp_core.c
1064
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/ibmphp_core.c
213
static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value)
drivers/pci/hotplug/ibmphp_core.c
220
(ulong) hotplug_slot, value);
drivers/pci/hotplug/ibmphp_core.c
224
if (hotplug_slot) {
drivers/pci/hotplug/ibmphp_core.c
242
pslot = to_slot(hotplug_slot);
drivers/pci/hotplug/ibmphp_core.c
254
static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/ibmphp_core.c
261
(ulong) hotplug_slot, (ulong) value);
drivers/pci/hotplug/ibmphp_core.c
264
if (hotplug_slot) {
drivers/pci/hotplug/ibmphp_core.c
265
pslot = to_slot(hotplug_slot);
drivers/pci/hotplug/ibmphp_core.c
281
static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/ibmphp_core.c
288
(ulong) hotplug_slot, (ulong) value);
drivers/pci/hotplug/ibmphp_core.c
290
if (hotplug_slot) {
drivers/pci/hotplug/ibmphp_core.c
291
pslot = to_slot(hotplug_slot);
drivers/pci/hotplug/ibmphp_core.c
306
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/ibmphp_core.c
313
(ulong) hotplug_slot, (ulong) value);
drivers/pci/hotplug/ibmphp_core.c
315
if (hotplug_slot) {
drivers/pci/hotplug/ibmphp_core.c
316
pslot = to_slot(hotplug_slot);
drivers/pci/hotplug/ibmphp_core.c
330
static int get_adapter_present(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/ibmphp_core.c
338
(ulong) hotplug_slot, (ulong) value);
drivers/pci/hotplug/ibmphp_core.c
340
if (hotplug_slot) {
drivers/pci/hotplug/ibmphp_core.c
341
pslot = to_slot(hotplug_slot);
drivers/pci/hotplug/ibmphp_core.c
364
struct pci_bus *bus = slot->hotplug_slot.pci_slot->bus;
drivers/pci/hotplug/ibmphp_core.c
501
struct pci_bus *bus = slot_cur->hotplug_slot.pci_slot->bus;
drivers/pci/hotplug/ibmphp_core.c
571
pci_hp_del(&slot_cur->hotplug_slot);
drivers/pci/hotplug/ibmphp_core.c
581
pci_hp_destroy(&slot_cur->hotplug_slot);
drivers/pci/hotplug/ibmphp_core.c
893
static int enable_slot(struct hotplug_slot *hs)
drivers/pci/hotplug/ibmphp_ebda.c
664
static int fillslotinfo(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/ibmphp_ebda.c
669
slot = to_slot(hotplug_slot);
drivers/pci/hotplug/ibmphp_ebda.c
879
rc = fillslotinfo(&tmp_slot->hotplug_slot);
drivers/pci/hotplug/ibmphp_ebda.c
886
tmp_slot->hotplug_slot.ops = &ibmphp_hotplug_slot_ops;
drivers/pci/hotplug/ibmphp_ebda.c
900
pci_hp_register(&tmp_slot->hotplug_slot,
drivers/pci/hotplug/octep_hp.c
107
static int octep_hp_enable_slot(struct hotplug_slot *slot)
drivers/pci/hotplug/octep_hp.c
116
static int octep_hp_disable_slot(struct hotplug_slot *slot)
drivers/pci/hotplug/octep_hp.c
45
struct hotplug_slot slot;
drivers/pci/hotplug/pci_hotplug_core.c
121
struct hotplug_slot *slot = pci_slot->hotplug;
drivers/pci/hotplug/pci_hotplug_core.c
182
struct hotplug_slot *slot = pci_slot->hotplug;
drivers/pci/hotplug/pci_hotplug_core.c
204
static bool has_power_file(struct hotplug_slot *slot)
drivers/pci/hotplug/pci_hotplug_core.c
213
static bool has_attention_file(struct hotplug_slot *slot)
drivers/pci/hotplug/pci_hotplug_core.c
221
static bool has_latch_file(struct hotplug_slot *slot)
drivers/pci/hotplug/pci_hotplug_core.c
228
static bool has_adapter_file(struct hotplug_slot *slot)
drivers/pci/hotplug/pci_hotplug_core.c
235
static bool has_test_file(struct hotplug_slot *slot)
drivers/pci/hotplug/pci_hotplug_core.c
242
static int fs_add_slot(struct hotplug_slot *slot, struct pci_slot *pci_slot)
drivers/pci/hotplug/pci_hotplug_core.c
314
static void fs_remove_slot(struct hotplug_slot *slot, struct pci_slot *pci_slot)
drivers/pci/hotplug/pci_hotplug_core.c
351
int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus,
drivers/pci/hotplug/pci_hotplug_core.c
385
int __pci_hp_initialize(struct hotplug_slot *slot, struct pci_bus *bus,
drivers/pci/hotplug/pci_hotplug_core.c
41
static int get_##name(struct hotplug_slot *slot, type *value) \
drivers/pci/hotplug/pci_hotplug_core.c
424
int pci_hp_add(struct hotplug_slot *slot)
drivers/pci/hotplug/pci_hotplug_core.c
450
void pci_hp_deregister(struct hotplug_slot *slot)
drivers/pci/hotplug/pci_hotplug_core.c
463
void pci_hp_del(struct hotplug_slot *slot)
drivers/pci/hotplug/pci_hotplug_core.c
481
void pci_hp_destroy(struct hotplug_slot *slot)
drivers/pci/hotplug/pci_hotplug_core.c
70
struct hotplug_slot *slot = pci_slot->hotplug;
drivers/pci/hotplug/pciehp.h
113
struct hotplug_slot hotplug_slot; /* hotplug core interface */
drivers/pci/hotplug/pciehp.h
193
int pciehp_sysfs_enable_slot(struct hotplug_slot *hotplug_slot);
drivers/pci/hotplug/pciehp.h
194
int pciehp_sysfs_disable_slot(struct hotplug_slot *hotplug_slot);
drivers/pci/hotplug/pciehp.h
195
int pciehp_reset_slot(struct hotplug_slot *hotplug_slot, bool probe);
drivers/pci/hotplug/pciehp.h
196
int pciehp_get_attention_status(struct hotplug_slot *hotplug_slot, u8 *status);
drivers/pci/hotplug/pciehp.h
197
int pciehp_set_raw_indicator_status(struct hotplug_slot *h_slot, u8 status);
drivers/pci/hotplug/pciehp.h
198
int pciehp_get_raw_indicator_status(struct hotplug_slot *h_slot, u8 *status);
drivers/pci/hotplug/pciehp.h
204
return hotplug_slot_name(&ctrl->hotplug_slot);
drivers/pci/hotplug/pciehp.h
207
static inline struct controller *to_ctrl(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/pciehp.h
209
return container_of(hotplug_slot, struct controller, hotplug_slot);
drivers/pci/hotplug/pciehp_core.c
101
static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status)
drivers/pci/hotplug/pciehp_core.c
103
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pciehp_core.c
117
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/pciehp_core.c
119
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pciehp_core.c
128
static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/pciehp_core.c
130
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pciehp_core.c
139
static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/pciehp_core.c
141
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pciehp_core.c
225
rc = pci_hp_add(&ctrl->hotplug_slot);
drivers/pci/hotplug/pciehp_core.c
248
pci_hp_del(&ctrl->hotplug_slot);
drivers/pci/hotplug/pciehp_core.c
46
static int set_attention_status(struct hotplug_slot *slot, u8 value);
drivers/pci/hotplug/pciehp_core.c
47
static int get_power_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/pciehp_core.c
48
static int get_latch_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/pciehp_core.c
49
static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/pciehp_core.c
78
ctrl->hotplug_slot.ops = ops;
drivers/pci/hotplug/pciehp_core.c
81
retval = pci_hp_initialize(&ctrl->hotplug_slot,
drivers/pci/hotplug/pciehp_core.c
92
struct hotplug_slot *hotplug_slot = &ctrl->hotplug_slot;
drivers/pci/hotplug/pciehp_core.c
94
pci_hp_destroy(hotplug_slot);
drivers/pci/hotplug/pciehp_core.c
95
kfree(hotplug_slot->ops);
drivers/pci/hotplug/pciehp_ctrl.c
393
int pciehp_sysfs_enable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/pciehp_ctrl.c
395
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pciehp_ctrl.c
432
int pciehp_sysfs_disable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/pciehp_ctrl.c
434
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pciehp_hpc.c
351
int pciehp_get_raw_indicator_status(struct hotplug_slot *hotplug_slot,
drivers/pci/hotplug/pciehp_hpc.c
354
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pciehp_hpc.c
365
int pciehp_get_attention_status(struct hotplug_slot *hotplug_slot, u8 *status)
drivers/pci/hotplug/pciehp_hpc.c
367
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pciehp_hpc.c
483
int pciehp_set_raw_indicator_status(struct hotplug_slot *hotplug_slot,
drivers/pci/hotplug/pciehp_hpc.c
486
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pciehp_hpc.c
939
int pciehp_reset_slot(struct hotplug_slot *hotplug_slot, bool probe)
drivers/pci/hotplug/pciehp_hpc.c
941
struct controller *ctrl = to_ctrl(hotplug_slot);
drivers/pci/hotplug/pnv_php.c
330
static inline struct pnv_php_slot *to_pnv_php_slot(struct hotplug_slot *slot)
drivers/pci/hotplug/pnv_php.c
335
int pnv_php_set_slot_power_state(struct hotplug_slot *slot,
drivers/pci/hotplug/pnv_php.c
374
static int pnv_php_get_power_state(struct hotplug_slot *slot, u8 *state)
drivers/pci/hotplug/pnv_php.c
410
static int pnv_php_get_adapter_state(struct hotplug_slot *slot, u8 *state)
drivers/pci/hotplug/pnv_php.c
444
static int pnv_php_get_raw_indicator_status(struct hotplug_slot *slot, u8 *state)
drivers/pci/hotplug/pnv_php.c
456
static int pnv_php_get_attention_state(struct hotplug_slot *slot, u8 *state)
drivers/pci/hotplug/pnv_php.c
465
static int pnv_php_set_attention_state(struct hotplug_slot *slot, u8 state)
drivers/pci/hotplug/pnv_php.c
488
struct hotplug_slot *slot)
drivers/pci/hotplug/pnv_php.c
544
struct hotplug_slot *slot = &php_slot->slot;
drivers/pci/hotplug/pnv_php.c
627
static int pnv_php_reset_slot(struct hotplug_slot *slot, bool probe)
drivers/pci/hotplug/pnv_php.c
658
static int pnv_php_enable_slot(struct hotplug_slot *slot)
drivers/pci/hotplug/pnv_php.c
715
static int pnv_php_disable_slot(struct hotplug_slot *slot)
drivers/pci/hotplug/rpaphp.h
71
struct hotplug_slot hotplug_slot;
drivers/pci/hotplug/rpaphp.h
77
static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/rpaphp.h
79
return container_of(hotplug_slot, struct slot, hotplug_slot);
drivers/pci/hotplug/rpaphp_core.c
104
static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/rpaphp_core.c
106
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/rpaphp_core.c
462
pci_hp_deregister(&slot->hotplug_slot);
drivers/pci/hotplug/rpaphp_core.c
484
static int enable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/rpaphp_core.c
486
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/rpaphp_core.c
516
static int disable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/rpaphp_core.c
518
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/rpaphp_core.c
54
static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value)
drivers/pci/hotplug/rpaphp_core.c
57
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/rpaphp_core.c
81
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/rpaphp_core.c
84
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/rpaphp_core.c
97
static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/rpaphp_core.c
99
struct slot *slot = to_slot(hotplug_slot);
drivers/pci/hotplug/rpaphp_slot.c
44
slot->hotplug_slot.ops = &rpaphp_hotplug_slot_ops;
drivers/pci/hotplug/rpaphp_slot.c
68
struct hotplug_slot *php_slot = &slot->hotplug_slot;
drivers/pci/hotplug/rpaphp_slot.c
84
struct hotplug_slot *php_slot = &slot->hotplug_slot;
drivers/pci/hotplug/s390_pci_hpc.c
102
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/s390_pci_hpc.c
104
struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
drivers/pci/hotplug/s390_pci_hpc.c
105
hotplug_slot);
drivers/pci/hotplug/s390_pci_hpc.c
111
static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/s390_pci_hpc.c
131
zdev->hotplug_slot.ops = &s390_hotplug_slot_ops;
drivers/pci/hotplug/s390_pci_hpc.c
134
return pci_hp_register(&zdev->hotplug_slot, zbus->bus,
drivers/pci/hotplug/s390_pci_hpc.c
140
pci_hp_deregister(&zdev->hotplug_slot);
drivers/pci/hotplug/s390_pci_hpc.c
22
static int enable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/s390_pci_hpc.c
24
struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
drivers/pci/hotplug/s390_pci_hpc.c
25
hotplug_slot);
drivers/pci/hotplug/s390_pci_hpc.c
46
static int disable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/s390_pci_hpc.c
48
struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
drivers/pci/hotplug/s390_pci_hpc.c
49
hotplug_slot);
drivers/pci/hotplug/s390_pci_hpc.c
73
static int reset_slot(struct hotplug_slot *hotplug_slot, bool probe)
drivers/pci/hotplug/s390_pci_hpc.c
75
struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
drivers/pci/hotplug/s390_pci_hpc.c
76
hotplug_slot);
drivers/pci/hotplug/shpchp.h
156
return hotplug_slot_name(&slot->hotplug_slot);
drivers/pci/hotplug/shpchp.h
192
static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/shpchp.h
194
return container_of(hotplug_slot, struct slot, hotplug_slot);
drivers/pci/hotplug/shpchp.h
59
struct hotplug_slot hotplug_slot;
drivers/pci/hotplug/shpchp_core.c
101
retval = pci_hp_register(hotplug_slot,
drivers/pci/hotplug/shpchp_core.c
109
get_power_status(hotplug_slot, &slot->pwr_save);
drivers/pci/hotplug/shpchp_core.c
110
get_attention_status(hotplug_slot, &slot->attention_save);
drivers/pci/hotplug/shpchp_core.c
111
get_latch_status(hotplug_slot, &slot->latch_save);
drivers/pci/hotplug/shpchp_core.c
112
get_adapter_status(hotplug_slot, &slot->presence_save);
drivers/pci/hotplug/shpchp_core.c
134
pci_hp_deregister(&slot->hotplug_slot);
drivers/pci/hotplug/shpchp_core.c
142
static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status)
drivers/pci/hotplug/shpchp_core.c
144
struct slot *slot = get_slot(hotplug_slot);
drivers/pci/hotplug/shpchp_core.c
155
static int enable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/shpchp_core.c
157
struct slot *slot = get_slot(hotplug_slot);
drivers/pci/hotplug/shpchp_core.c
165
static int disable_slot(struct hotplug_slot *hotplug_slot)
drivers/pci/hotplug/shpchp_core.c
167
struct slot *slot = get_slot(hotplug_slot);
drivers/pci/hotplug/shpchp_core.c
175
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/shpchp_core.c
177
struct slot *slot = get_slot(hotplug_slot);
drivers/pci/hotplug/shpchp_core.c
190
static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/shpchp_core.c
192
struct slot *slot = get_slot(hotplug_slot);
drivers/pci/hotplug/shpchp_core.c
205
static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/shpchp_core.c
207
struct slot *slot = get_slot(hotplug_slot);
drivers/pci/hotplug/shpchp_core.c
220
static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
drivers/pci/hotplug/shpchp_core.c
222
struct slot *slot = get_slot(hotplug_slot);
drivers/pci/hotplug/shpchp_core.c
42
static int set_attention_status(struct hotplug_slot *slot, u8 value);
drivers/pci/hotplug/shpchp_core.c
43
static int enable_slot(struct hotplug_slot *slot);
drivers/pci/hotplug/shpchp_core.c
44
static int disable_slot(struct hotplug_slot *slot);
drivers/pci/hotplug/shpchp_core.c
45
static int get_power_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/shpchp_core.c
46
static int get_attention_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/shpchp_core.c
47
static int get_latch_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/shpchp_core.c
48
static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
drivers/pci/hotplug/shpchp_core.c
63
struct hotplug_slot *hotplug_slot;
drivers/pci/hotplug/shpchp_core.c
75
hotplug_slot = &slot->hotplug_slot;
drivers/pci/hotplug/shpchp_core.c
95
hotplug_slot->ops = &shpchp_hotplug_slot_ops;
drivers/pci/pci.c
4854
static int pci_reset_hotplug_slot(struct hotplug_slot *hotplug, bool probe)
drivers/pci/slot.c
228
struct hotplug_slot *hotplug)
drivers/platform/x86/asus-wmi.c
2171
if (asus->hotplug_slot.ops) {
drivers/platform/x86/asus-wmi.c
2267
static int asus_get_adapter_status(struct hotplug_slot *hotplug_slot,
drivers/platform/x86/asus-wmi.c
2270
struct asus_wmi *asus = container_of(hotplug_slot,
drivers/platform/x86/asus-wmi.c
2271
struct asus_wmi, hotplug_slot);
drivers/platform/x86/asus-wmi.c
2311
asus->hotplug_slot.ops = &asus_hotplug_slot_ops;
drivers/platform/x86/asus-wmi.c
2313
ret = pci_hp_register(&asus->hotplug_slot, bus, 0, "asus-wifi");
drivers/platform/x86/asus-wmi.c
2322
asus->hotplug_slot.ops = NULL;
drivers/platform/x86/asus-wmi.c
2450
if (asus->hotplug_slot.ops)
drivers/platform/x86/asus-wmi.c
2451
pci_hp_deregister(&asus->hotplug_slot);
drivers/platform/x86/asus-wmi.c
329
struct hotplug_slot hotplug_slot;
drivers/platform/x86/eeepc-laptop.c
171
struct hotplug_slot hotplug_slot;
drivers/platform/x86/eeepc-laptop.c
574
if (!eeepc->hotplug_slot.ops)
drivers/platform/x86/eeepc-laptop.c
704
static int eeepc_get_adapter_status(struct hotplug_slot *hotplug_slot,
drivers/platform/x86/eeepc-laptop.c
710
eeepc = container_of(hotplug_slot, struct eeepc_laptop, hotplug_slot);
drivers/platform/x86/eeepc-laptop.c
736
eeepc->hotplug_slot.ops = &eeepc_hotplug_slot_ops;
drivers/platform/x86/eeepc-laptop.c
738
ret = pci_hp_register(&eeepc->hotplug_slot, bus, 0, "eeepc-wifi");
drivers/platform/x86/eeepc-laptop.c
747
eeepc->hotplug_slot.ops = NULL;
drivers/platform/x86/eeepc-laptop.c
808
if (eeepc->hotplug_slot.ops)
drivers/platform/x86/eeepc-laptop.c
809
pci_hp_deregister(&eeepc->hotplug_slot);
include/linux/pci.h
1239
struct hotplug_slot *hotplug);
include/linux/pci.h
79
struct hotplug_slot *hotplug; /* Hotplug info (move here) */
include/linux/pci_hotplug.h
39
int (*enable_slot) (struct hotplug_slot *slot);
include/linux/pci_hotplug.h
40
int (*disable_slot) (struct hotplug_slot *slot);
include/linux/pci_hotplug.h
41
int (*set_attention_status) (struct hotplug_slot *slot, u8 value);
include/linux/pci_hotplug.h
42
int (*hardware_test) (struct hotplug_slot *slot, u32 value);
include/linux/pci_hotplug.h
43
int (*get_power_status) (struct hotplug_slot *slot, u8 *value);
include/linux/pci_hotplug.h
44
int (*get_attention_status) (struct hotplug_slot *slot, u8 *value);
include/linux/pci_hotplug.h
45
int (*get_latch_status) (struct hotplug_slot *slot, u8 *value);
include/linux/pci_hotplug.h
46
int (*get_adapter_status) (struct hotplug_slot *slot, u8 *value);
include/linux/pci_hotplug.h
47
int (*reset_slot) (struct hotplug_slot *slot, bool probe);
include/linux/pci_hotplug.h
66
static inline const char *hotplug_slot_name(const struct hotplug_slot *slot)
include/linux/pci_hotplug.h
71
int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus, int nr,
include/linux/pci_hotplug.h
74
int __pci_hp_initialize(struct hotplug_slot *slot, struct pci_bus *bus, int nr,
include/linux/pci_hotplug.h
77
int pci_hp_add(struct hotplug_slot *slot);
include/linux/pci_hotplug.h
79
void pci_hp_del(struct hotplug_slot *slot);
include/linux/pci_hotplug.h
80
void pci_hp_destroy(struct hotplug_slot *slot);
include/linux/pci_hotplug.h
81
void pci_hp_deregister(struct hotplug_slot *slot);