Searched refs:p_slot (Results 1 - 7 of 7) sorted by relevance
/drivers/pci/hotplug/ |
H A D | pciehp_ctrl.c | 40 static int queue_interrupt_event(struct slot *p_slot, u32 event_type) argument 49 info->p_slot = p_slot; 52 queue_work(p_slot->wq, &info->work); 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 105 pciehp_handle_presence_change(struct slot *p_slot) argument 138 pciehp_handle_power_fault(struct slot *p_slot) argument 153 pciehp_handle_linkstate_change(struct slot *p_slot) argument 203 board_added(struct slot *p_slot) argument 252 remove_board(struct slot *p_slot) argument 278 struct slot *p_slot; member in struct:power_work_info 296 struct slot *p_slot = info->p_slot; local 335 struct slot *p_slot = container_of(work, struct slot, work.work); local 369 handle_button_press_event(struct slot *p_slot) argument 427 handle_surprise_event(struct slot *p_slot) argument 456 handle_link_event(struct slot *p_slot, u32 event) argument 520 struct slot *p_slot = info->p_slot; local 563 pciehp_enable_slot(struct slot *p_slot) argument 604 pciehp_disable_slot(struct slot *p_slot) argument 624 pciehp_sysfs_enable_slot(struct slot *p_slot) argument 661 pciehp_sysfs_disable_slot(struct slot *p_slot) argument [all...] |
H A D | shpchp_ctrl.c | 39 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; 54 queue_work(p_slot->wq, &info->work); 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, 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 243 board_added(struct slot *p_slot) argument 352 remove_board(struct slot *p_slot) argument 392 struct slot *p_slot; member in struct:pushbutton_work_info 407 struct slot *p_slot = info->p_slot; local 434 struct slot *p_slot = container_of(work, struct slot, work.work); local 485 handle_button_press_event(struct slot *p_slot) argument 547 struct slot *p_slot = info->p_slot; local 569 shpchp_enable_slot(struct slot *p_slot) argument 626 shpchp_disable_slot(struct slot *p_slot) argument 662 shpchp_sysfs_enable_slot(struct slot *p_slot) argument 697 shpchp_sysfs_disable_slot(struct slot *p_slot) argument [all...] |
H A D | shpchp_pci.c | 37 int shpchp_configure_device(struct slot *p_slot) argument 40 struct controller *ctrl = p_slot->ctrl; 47 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); 51 p_slot->bus, p_slot->device); 57 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0)); 65 if (PCI_SLOT(dev->devfn) != p_slot->device) 80 int shpchp_unconfigure_device(struct slot *p_slot) argument 84 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; 86 struct controller *ctrl = p_slot [all...] |
H A D | pciehp_pci.c | 37 int pciehp_configure_device(struct slot *p_slot) argument 40 struct pci_dev *bridge = p_slot->ctrl->pcie->port; 43 struct controller *ctrl = p_slot->ctrl; 76 int pciehp_unconfigure_device(struct slot *p_slot) argument 82 struct pci_bus *parent = p_slot->ctrl->pcie->port->subordinate; 84 struct controller *ctrl = p_slot->ctrl; 88 pciehp_get_adapter_status(p_slot, &presence);
|
H A D | shpchp.h | 98 struct slot *p_slot; member in struct:event_info 179 int shpchp_configure_device(struct slot *p_slot); 180 int shpchp_unconfigure_device(struct slot *p_slot); 252 static inline void amd_pogo_errata_save_misc_reg(struct slot *p_slot) argument 257 pci_read_config_dword(p_slot->ctrl->pci_dev, PCIX_MISCII_OFFSET, &pcix_misc2_temp); 259 p_slot->ctrl->pcix_misc2_reg = pcix_misc2_temp; 267 pci_write_config_dword(p_slot->ctrl->pci_dev, PCIX_MISCII_OFFSET, pcix_misc2_temp); 270 static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot) argument 279 pci_read_config_dword(p_slot->ctrl->pci_dev, PCIX_MISC_BRIDGE_ERRORS_OFFSET, &pcix_bridge_errors_reg); 282 ctrl_dbg(p_slot [all...] |
H A D | pciehp.h | 85 struct slot *p_slot; member in struct:event_info 135 u8 pciehp_handle_attention_button(struct slot *p_slot); 136 u8 pciehp_handle_switch_change(struct slot *p_slot); 137 u8 pciehp_handle_presence_change(struct slot *p_slot); 138 u8 pciehp_handle_power_fault(struct slot *p_slot); 139 void pciehp_handle_linkstate_change(struct slot *p_slot); 140 int pciehp_configure_device(struct slot *p_slot); 141 int pciehp_unconfigure_device(struct slot *p_slot); 145 int pciehp_enable_slot(struct slot *p_slot); 146 int pciehp_disable_slot(struct slot *p_slot); [all...] |
H A D | cpqphp_ctrl.c | 149 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); */ 1431 struct slot *p_slot; local 1478 p_slot 1807 struct slot *p_slot; local 1928 struct slot *p_slot = (struct slot *) slot; local 1993 struct slot *p_slot; local 2087 struct slot *p_slot; local [all...] |
Completed in 185 milliseconds