/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/ |
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; 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 155 struct slot *p_slot; local 189 change_bus_speed(struct controller *ctrl, struct slot *p_slot, enum pci_bus_speed speed) argument 239 board_added(struct slot *p_slot) argument 356 remove_board(struct slot *p_slot) argument 395 struct slot *p_slot; member in struct:pushbutton_work_info 410 struct slot *p_slot = info->p_slot; local 437 struct slot *p_slot = container_of(work, struct slot, work.work); local 486 handle_button_press_event(struct slot *p_slot) argument 546 struct slot *p_slot = info->p_slot; local 568 shpchp_enable_slot(struct slot *p_slot) argument 623 shpchp_disable_slot(struct slot *p_slot) argument 657 shpchp_sysfs_enable_slot(struct slot *p_slot) argument 689 shpchp_sysfs_disable_slot(struct slot *p_slot) argument [all...] |
H A D | pciehp_ctrl.c | 40 static int pciehp_enable_slot(struct slot *p_slot); 41 static int pciehp_disable_slot(struct slot *p_slot); 43 static int queue_interrupt_event(struct slot *p_slot, u32 event_type) argument 52 info->p_slot = p_slot; 62 struct slot *p_slot; local 68 p_slot = pciehp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); 73 info("Button pressed on Slot(%s)\n", p_slot->name); 76 queue_interrupt_event(p_slot, event_type); 83 struct slot *p_slot; local 114 struct slot *p_slot; local 148 struct slot *p_slot; local 210 board_added(struct slot *p_slot) argument 276 remove_board(struct slot *p_slot) argument 311 struct slot *p_slot; member in struct:power_work_info 326 struct slot *p_slot = info->p_slot; local 356 struct slot *p_slot = container_of(work, struct slot, work.work); local 405 handle_button_press_event(struct slot *p_slot) argument 472 handle_surprise_event(struct slot *p_slot) argument 497 struct slot *p_slot = info->p_slot; local 530 pciehp_enable_slot(struct slot *p_slot) argument 579 pciehp_disable_slot(struct slot *p_slot) argument 627 pciehp_sysfs_enable_slot(struct slot *p_slot) argument 659 pciehp_sysfs_disable_slot(struct slot *p_slot) argument [all...] |
H A D | shpchp_pci.c | 99 int shpchp_configure_device(struct slot *p_slot) argument 102 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; 105 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); 108 pci_name(dev), p_slot->bus, p_slot->device); 113 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0)); 120 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, fn)); 165 int shpchp_unconfigure_device(struct slot *p_slot) argument 170 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; 172 dbg("%s: bus/dev = %x/%x\n", __FUNCTION__, p_slot [all...] |
H A D | shpchp.h | 85 struct slot *p_slot; member in struct:event_info 166 extern int shpchp_configure_device(struct slot *p_slot); 167 extern int shpchp_unconfigure_device(struct slot *p_slot); 241 static inline void amd_pogo_errata_save_misc_reg(struct slot *p_slot) argument 246 pci_read_config_dword(p_slot->ctrl->pci_dev, PCIX_MISCII_OFFSET, &pcix_misc2_temp); 248 p_slot->ctrl->pcix_misc2_reg = pcix_misc2_temp; 256 pci_write_config_dword(p_slot->ctrl->pci_dev, PCIX_MISCII_OFFSET, pcix_misc2_temp); 259 static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot) argument 268 pci_read_config_dword(p_slot->ctrl->pci_dev, PCIX_MISC_BRIDGE_ERRORS_OFFSET, &pcix_bridge_errors_reg); 273 pci_write_config_dword(p_slot [all...] |
H A D | pciehp_pci.c | 195 int pciehp_configure_device(struct slot *p_slot) argument 198 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; 201 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); 204 pci_name(dev), p_slot->bus, p_slot->device); 209 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0)); 216 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, fn)); 238 int pciehp_unconfigure_device(struct slot *p_slot) argument 243 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; 245 dbg("%s: bus/dev = %x/%x\n", __FUNCTION__, p_slot [all...] |
H A D | cpqphp_ctrl.c | 162 struct slot *p_slot; local 187 p_slot = cpqhp_find_slot(ctrl, hp_slot + (readb(ctrl->hpc_reg + SLOT_MASK) >> 4)); 188 if (!p_slot) 212 if ((p_slot->state == BLINKINGON_STATE) 213 || (p_slot->state == BLINKINGOFF_STATE)) { 216 } else if ((p_slot->state == POWERON_STATE) 217 || (p_slot->state == POWEROFF_STATE)) { 218 /* info(msg_button_ignore, p_slot->number); */ 1427 struct slot *p_slot; local 1471 p_slot 1815 struct slot *p_slot; local 1937 struct slot *p_slot = (struct slot *) slot; local 2004 struct slot* p_slot; local 2100 struct slot* p_slot; local [all...] |
H A D | pciehp.h | 80 struct slot *p_slot; member in struct:event_info 159 extern int pciehp_configure_device(struct slot *p_slot); 160 extern int pciehp_unconfigure_device(struct slot *p_slot);
|