Searched defs:p_slot (Results 1 - 7 of 7) sorted by relevance

/drivers/pci/hotplug/
H A Dshpchp_pci.c37 int __ref shpchp_configure_device(struct slot *p_slot) argument
40 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate;
42 struct controller *ctrl = p_slot->ctrl;
44 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0));
48 pci_domain_nr(parent), p_slot->bus, p_slot->device);
53 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0));
60 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, fn));
100 int shpchp_unconfigure_device(struct slot *p_slot) argument
105 struct pci_bus *parent = p_slot
[all...]
H A Dpciehp_pci.c60 int pciehp_configure_device(struct slot *p_slot) argument
63 struct pci_dev *bridge = p_slot->ctrl->pcie->port;
66 struct controller *ctrl = p_slot->ctrl;
113 int pciehp_unconfigure_device(struct slot *p_slot) argument
119 struct pci_bus *parent = p_slot->ctrl->pcie->port->subordinate;
121 struct controller *ctrl = p_slot->ctrl;
125 ret = pciehp_get_adapter_status(p_slot, &presence);
H A Dpciehp_ctrl.c40 static int queue_interrupt_event(struct slot *p_slot, u32 event_type) argument
49 info->p_slot = p_slot;
57 u8 pciehp_handle_attention_button(struct slot *p_slot) argument
60 struct controller *ctrl = p_slot->ctrl;
68 ctrl_info(ctrl, "Button pressed on Slot(%s)\n", slot_name(p_slot));
71 queue_interrupt_event(p_slot, event_type);
76 u8 pciehp_handle_switch_change(struct slot *p_slot) argument
80 struct controller *ctrl = p_slot->ctrl;
85 pciehp_get_latch_status(p_slot,
105 pciehp_handle_presence_change(struct slot *p_slot) argument
138 pciehp_handle_power_fault(struct slot *p_slot) argument
193 board_added(struct slot *p_slot) argument
244 remove_board(struct slot *p_slot) argument
277 struct slot *p_slot; member in struct:power_work_info
292 struct slot *p_slot = info->p_slot; local
323 struct slot *p_slot = container_of(work, struct slot, work.work); local
355 handle_button_press_event(struct slot *p_slot) argument
422 handle_surprise_event(struct slot *p_slot) argument
448 struct slot *p_slot = info->p_slot; local
479 pciehp_enable_slot(struct slot *p_slot) argument
518 pciehp_disable_slot(struct slot *p_slot) argument
557 pciehp_sysfs_enable_slot(struct slot *p_slot) argument
592 pciehp_sysfs_disable_slot(struct slot *p_slot) argument
[all...]
H A Dshpchp_ctrl.c39 static int shpchp_enable_slot(struct slot *p_slot);
40 static int shpchp_disable_slot(struct slot *p_slot);
42 static int queue_interrupt_event(struct slot *p_slot, u32 event_type) argument
51 info->p_slot = p_slot;
61 struct slot *p_slot; local
67 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
68 p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot
84 struct slot *p_slot; local
122 struct slot *p_slot; local
157 struct slot *p_slot; local
192 change_bus_speed(struct controller *ctrl, struct slot *p_slot, enum pci_bus_speed speed) argument
242 board_added(struct slot *p_slot) argument
353 remove_board(struct slot *p_slot) argument
393 struct slot *p_slot; member in struct:pushbutton_work_info
408 struct slot *p_slot = info->p_slot; local
435 struct slot *p_slot = container_of(work, struct slot, work.work); local
486 handle_button_press_event(struct slot *p_slot) argument
548 struct slot *p_slot = info->p_slot; local
570 shpchp_enable_slot(struct slot *p_slot) argument
627 shpchp_disable_slot(struct slot *p_slot) argument
663 shpchp_sysfs_enable_slot(struct slot *p_slot) argument
698 shpchp_sysfs_disable_slot(struct slot *p_slot) argument
[all...]
H A Dpciehp.h85 struct slot *p_slot; member in struct:event_info
132 extern u8 pciehp_handle_attention_button(struct slot *p_slot);
133 extern u8 pciehp_handle_switch_change(struct slot *p_slot);
134 extern u8 pciehp_handle_presence_change(struct slot *p_slot);
135 extern u8 pciehp_handle_power_fault(struct slot *p_slot);
136 extern int pciehp_configure_device(struct slot *p_slot);
137 extern int pciehp_unconfigure_device(struct slot *p_slot);
141 int pciehp_enable_slot(struct slot *p_slot);
142 int pciehp_disable_slot(struct slot *p_slot);
H A Dcpqphp_ctrl.c149 struct slot *p_slot; local
174 p_slot = cpqhp_find_slot(ctrl, hp_slot + (readb(ctrl->hpc_reg + SLOT_MASK) >> 4));
175 if (!p_slot)
200 if ((p_slot->state == BLINKINGON_STATE)
201 || (p_slot->state == BLINKINGOFF_STATE)) {
204 } else if ((p_slot->state == POWERON_STATE)
205 || (p_slot->state == POWEROFF_STATE)) {
206 /* info(msg_button_ignore, p_slot->number); */
1432 struct slot *p_slot; local
1479 p_slot
1808 struct slot *p_slot; local
1930 struct slot *p_slot = (struct slot *) slot; local
1995 struct slot* p_slot; local
2091 struct slot* p_slot; local
[all...]
H A Dshpchp.h99 struct slot *p_slot; member in struct:event_info
180 extern int shpchp_configure_device(struct slot *p_slot);
181 extern int shpchp_unconfigure_device(struct slot *p_slot);
253 static inline void amd_pogo_errata_save_misc_reg(struct slot *p_slot) argument
258 pci_read_config_dword(p_slot->ctrl->pci_dev, PCIX_MISCII_OFFSET, &pcix_misc2_temp);
260 p_slot->ctrl->pcix_misc2_reg = pcix_misc2_temp;
268 pci_write_config_dword(p_slot->ctrl->pci_dev, PCIX_MISCII_OFFSET, pcix_misc2_temp);
271 static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot) argument
280 pci_read_config_dword(p_slot->ctrl->pci_dev, PCIX_MISC_BRIDGE_ERRORS_OFFSET, &pcix_bridge_errors_reg);
283 ctrl_dbg(p_slot
[all...]

Completed in 85 milliseconds