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

12

/linux-master/include/linux/
H A Dpci_hotplug.h39 int (*enable_slot) (struct hotplug_slot *slot);
40 int (*disable_slot) (struct hotplug_slot *slot);
41 int (*set_attention_status) (struct hotplug_slot *slot, u8 value);
42 int (*hardware_test) (struct hotplug_slot *slot, u32 value);
43 int (*get_power_status) (struct hotplug_slot *slot, u8 *value);
44 int (*get_attention_status) (struct hotplug_slot *slot, u8 *value);
45 int (*get_latch_status) (struct hotplug_slot *slot, u8 *value);
46 int (*get_adapter_status) (struct hotplug_slot *slot, u8 *value);
47 int (*reset_slot) (struct hotplug_slot *slot, bool probe);
51 * struct hotplug_slot
58 struct hotplug_slot { struct
[all...]
/linux-master/drivers/pci/hotplug/
H A Ds390_pci_hpc.c23 static int enable_slot(struct hotplug_slot *hotplug_slot) argument
25 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
26 hotplug_slot);
47 static int disable_slot(struct hotplug_slot *hotplug_slot) argument
49 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
50 hotplug_slot);
75 static int reset_slot(struct hotplug_slot *hotplug_slot, boo argument
104 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
113 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
[all...]
H A Dacpiphp_core.c51 static int enable_slot(struct hotplug_slot *slot);
52 static int disable_slot(struct hotplug_slot *slot);
53 static int set_attention_status(struct hotplug_slot *slot, u8 value);
54 static int get_power_status(struct hotplug_slot *slot, u8 *value);
55 static int get_attention_status(struct hotplug_slot *slot, u8 *value);
56 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
57 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
113 * @hotplug_slot: slot to enable
117 static int enable_slot(struct hotplug_slot *hotplug_slot) argument
134 disable_slot(struct hotplug_slot *hotplug_slot) argument
154 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
178 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
200 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
224 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
244 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
[all...]
H A Dshpchp_core.c45 static int set_attention_status(struct hotplug_slot *slot, u8 value);
46 static int enable_slot(struct hotplug_slot *slot);
47 static int disable_slot(struct hotplug_slot *slot);
48 static int get_power_status(struct hotplug_slot *slot, u8 *value);
49 static int get_attention_status(struct hotplug_slot *slot, u8 *value);
50 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
51 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
66 struct hotplug_slot *hotplug_slot; local
78 hotplug_slot
145 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
158 enable_slot(struct hotplug_slot *hotplug_slot) argument
168 disable_slot(struct hotplug_slot *hotplug_slot) argument
178 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
193 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
208 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
223 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
[all...]
H A Dpciehp.h74 * @hotplug_slot: structure registered with the PCI hotplug core
109 struct hotplug_slot hotplug_slot; /* hotplug core interface */ member in struct:controller
188 int pciehp_sysfs_enable_slot(struct hotplug_slot *hotplug_slot);
189 int pciehp_sysfs_disable_slot(struct hotplug_slot *hotplug_slot);
190 int pciehp_reset_slot(struct hotplug_slot *hotplug_slot, bool probe);
191 int pciehp_get_attention_status(struct hotplug_slot *hotplug_slo
202 to_ctrl(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Dpciehp_core.c46 static int set_attention_status(struct hotplug_slot *slot, u8 value);
47 static int get_power_status(struct hotplug_slot *slot, u8 *value);
48 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
49 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
78 ctrl->hotplug_slot.ops = ops;
81 retval = pci_hp_initialize(&ctrl->hotplug_slot,
92 struct hotplug_slot *hotplug_slot = &ctrl->hotplug_slot; local
94 pci_hp_destroy(hotplug_slot);
101 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
117 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
128 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
139 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
[all...]
H A Drpaphp.h71 struct hotplug_slot hotplug_slot; member in struct:slot
77 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot) argument
79 return container_of(hotplug_slot, struct slot, hotplug_slot);
H A Dcpci_hotplug.h38 struct hotplug_slot hotplug_slot; member in struct:slot
63 return hotplug_slot_name(&slot->hotplug_slot);
66 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot) argument
68 return container_of(hotplug_slot, struct slot, hotplug_slot);
H A Dacpiphp.h36 struct hotplug_slot hotplug_slot; member in struct:slot
43 return hotplug_slot_name(&slot->hotplug_slot);
46 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot) argument
48 return container_of(hotplug_slot, struct slot, hotplug_slot);
152 int (*set_attn)(struct hotplug_slot *slot, u8 status);
153 int (*get_attn)(struct hotplug_slot *slot, u8 *status);
H A Dcpci_hotplug_core.c52 static int enable_slot(struct hotplug_slot *slot);
53 static int disable_slot(struct hotplug_slot *slot);
54 static int set_attention_status(struct hotplug_slot *slot, u8 value);
55 static int get_power_status(struct hotplug_slot *slot, u8 *value);
56 static int get_attention_status(struct hotplug_slot *slot, u8 *value);
57 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
58 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
71 enable_slot(struct hotplug_slot *hotplug_slot) argument
73 struct slot *slot = to_slot(hotplug_slot);
84 disable_slot(struct hotplug_slot *hotplug_slot) argument
140 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
149 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
158 set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
164 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
173 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
[all...]
H A Drpaphp_slot.c44 slot->hotplug_slot.ops = &rpaphp_hotplug_slot_ops;
68 struct hotplug_slot *php_slot = &slot->hotplug_slot;
84 struct hotplug_slot *php_slot = &slot->hotplug_slot;
H A Drpaphp_core.c47 * @hotplug_slot: target &hotplug_slot
54 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value) argument
57 struct slot *slot = to_slot(hotplug_slot);
78 * @hotplug_slot: slot to get status
81 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
84 struct slot *slot = to_slot(hotplug_slot);
94 * @hotplug_slot
97 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
104 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
484 enable_slot(struct hotplug_slot *hotplug_slot) argument
516 disable_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Dpci_hotplug_core.c50 static int get_##name(struct hotplug_slot *slot, type *value) \
82 struct hotplug_slot *slot = pci_slot->hotplug;
139 struct hotplug_slot *slot = pci_slot->hotplug;
206 struct hotplug_slot *slot = pci_slot->hotplug;
236 struct hotplug_slot *slot = pci_slot->hotplug;
249 struct hotplug_slot *slot = pci_slot->hotplug;
261 struct hotplug_slot *slot = pci_slot->hotplug;
272 struct hotplug_slot *slot = pci_slot->hotplug;
283 struct hotplug_slot *slot = pci_slot->hotplug;
378 static struct hotplug_slot *get_slot_from_nam
[all...]
H A Dibmphp_core.c213 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value) argument
219 debug("set_attention_status - Entry hotplug_slot[%lx] value[%x]\n",
220 (ulong) hotplug_slot, value);
224 if (hotplug_slot) {
242 pslot = to_slot(hotplug_slot);
254 static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
260 debug("get_attention_status - Entry hotplug_slot[%lx] pvalue[%lx]\n",
261 (ulong) hotplug_slot, (ulon
281 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
306 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
330 get_adapter_present(struct hotplug_slot *hotplug_slot, u8 *value) argument
1062 ibmphp_disable_slot(struct hotplug_slot *hotplug_slot) argument
[all...]
H A Dcpqphp_core.c275 pci_hp_deregister(&old_slot->hotplug_slot);
412 * @hotplug_slot: slot to change LED on
415 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) argument
418 struct slot *slot = to_slot(hotplug_slot);
442 static int process_SI(struct hotplug_slot *hotplug_slot) argument
445 struct slot *slot = to_slot(hotplug_slot);
474 static int process_SS(struct hotplug_slot *hotplug_slot) argument
502 hardware_test(struct hotplug_slot *hotplug_slot, u32 value) argument
513 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
524 get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
535 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
547 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) argument
[all...]
H A Dshpchp.h76 struct hotplug_slot hotplug_slot; member in struct:slot
174 return hotplug_slot_name(&slot->hotplug_slot);
210 static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot) argument
212 return container_of(hotplug_slot, struct slot, hotplug_slot);
H A Dpciehp_ctrl.c369 int pciehp_sysfs_enable_slot(struct hotplug_slot *hotplug_slot) argument
371 struct controller *ctrl = to_ctrl(hotplug_slot);
408 int pciehp_sysfs_disable_slot(struct hotplug_slot *hotplug_slot) argument
410 struct controller *ctrl = to_ctrl(hotplug_slot);
H A Dacpiphp_ampere_altra.c39 static int set_attention_status(struct hotplug_slot *slot, u8 status)
75 static int get_attention_status(struct hotplug_slot *slot, u8 *status)
H A Dpciehp_hpc.c349 int pciehp_get_raw_indicator_status(struct hotplug_slot *hotplug_slot, argument
352 struct controller *ctrl = to_ctrl(hotplug_slot);
363 int pciehp_get_attention_status(struct hotplug_slot *hotplug_slot, u8 *status) argument
365 struct controller *ctrl = to_ctrl(hotplug_slot);
481 int pciehp_set_raw_indicator_status(struct hotplug_slot *hotplug_slot, argument
484 struct controller *ctrl = to_ctrl(hotplug_slot);
896 int pciehp_reset_slot(struct hotplug_slot *hotplug_slo argument
[all...]
H A Dpnv_php.c329 static inline struct pnv_php_slot *to_pnv_php_slot(struct hotplug_slot *slot)
334 int pnv_php_set_slot_power_state(struct hotplug_slot *slot,
373 static int pnv_php_get_power_state(struct hotplug_slot *slot, u8 *state)
395 static int pnv_php_get_adapter_state(struct hotplug_slot *slot, u8 *state)
416 static int pnv_php_get_attention_state(struct hotplug_slot *slot, u8 *state)
424 static int pnv_php_set_attention_state(struct hotplug_slot *slot, u8 state)
448 struct hotplug_slot *slot = &php_slot->slot;
531 static int pnv_php_reset_slot(struct hotplug_slot *slot, bool probe)
562 static int pnv_php_enable_slot(struct hotplug_slot *slot)
569 static int pnv_php_disable_slot(struct hotplug_slot *slo
[all...]
H A Dibmphp.h699 struct hotplug_slot hotplug_slot; member in struct:slot
743 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot) argument
745 return container_of(hotplug_slot, struct slot, hotplug_slot);
H A Dacpiphp_ibm.c82 static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status);
83 static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status);
154 * @slot: the hotplug_slot to work with
160 static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status)
199 * @slot: the hotplug_slot to work with
209 static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status)
/linux-master/arch/powerpc/include/asm/
H A Dpnv-pci.h48 struct hotplug_slot slot;
75 extern int pnv_php_set_slot_power_state(struct hotplug_slot *slot,
/linux-master/drivers/platform/x86/
H A Deeepc-laptop.c171 struct hotplug_slot hotplug_slot; member in struct:eeepc_laptop
574 if (!eeepc->hotplug_slot.ops)
704 static int eeepc_get_adapter_status(struct hotplug_slot *hotplug_slot, argument
710 eeepc = container_of(hotplug_slot, struct eeepc_laptop, hotplug_slot);
736 eeepc->hotplug_slot.ops = &eeepc_hotplug_slot_ops;
738 ret = pci_hp_register(&eeepc->hotplug_slot, bus, 0, "eeepc-wifi");
747 eeepc->hotplug_slot
[all...]
/linux-master/arch/s390/include/asm/
H A Dpci.h123 struct hotplug_slot hotplug_slot; member in struct:zpci_dev

Completed in 400 milliseconds

12