Searched refs:p_slot (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/pci/hotplug/ |
H A D | shpchp_ctrl.c | 37 info->p_slot = p_slot; in queue_interrupt_event() 54 p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot->presence_save)); in shpchp_handle_attention_button() 78 p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot->presence_save)); in shpchp_handle_switch_change() 81 p_slot->presence_save, p_slot->pwr_save); in shpchp_handle_switch_change() 119 p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot->presence_save)); in shpchp_handle_presence_change() 316 p_slot->hpc_ops->green_led_on(p_slot); in board_added() 391 struct slot *p_slot = info->p_slot; in shpchp_pushbutton_thread() local 427 info->p_slot = p_slot; in shpchp_queue_pushbutton_work() 520 struct slot *p_slot = info->p_slot; in interrupt_event_handler() local 570 p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot->presence_save)); in shpchp_enable_slot() [all …]
|
H A D | shpchp_pci.c | 23 int shpchp_configure_device(struct slot *p_slot) in shpchp_configure_device() argument 26 struct controller *ctrl = p_slot->ctrl; in shpchp_configure_device() 33 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device() 37 p_slot->bus, p_slot->device); in shpchp_configure_device() 43 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device() 51 if (PCI_SLOT(dev->devfn) == p_slot->device) in shpchp_configure_device() 64 void shpchp_unconfigure_device(struct slot *p_slot) in shpchp_unconfigure_device() argument 66 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; in shpchp_unconfigure_device() 68 struct controller *ctrl = p_slot->ctrl; in shpchp_unconfigure_device() 71 __func__, pci_domain_nr(parent), p_slot->bus, p_slot->device); in shpchp_unconfigure_device() [all …]
|
H A D | shpchp.h | 86 struct slot *p_slot; member 166 int shpchp_configure_device(struct slot *p_slot); 167 void shpchp_unconfigure_device(struct slot *p_slot); 235 p_slot->ctrl->pcix_misc2_reg = pcix_misc2_temp; in amd_pogo_errata_save_misc_reg() 258 ctrl_dbg(p_slot->ctrl, in amd_pogo_errata_restore_misc_reg() 269 ctrl_dbg(p_slot->ctrl, "Memory_Base_Limit[ RSE ] (W1C)\n"); in amd_pogo_errata_restore_misc_reg() 276 if (p_slot->ctrl->pcix_misc2_reg & SERRFATALENABLE_MASK) in amd_pogo_errata_restore_misc_reg() 281 if (p_slot->ctrl->pcix_misc2_reg & SERRNONFATALENABLE_MASK) in amd_pogo_errata_restore_misc_reg() 286 if (p_slot->ctrl->pcix_misc2_reg & PERRFLOODENABLE_MASK) in amd_pogo_errata_restore_misc_reg() 291 if (p_slot->ctrl->pcix_misc2_reg & PERRFATALENABLE_MASK) in amd_pogo_errata_restore_misc_reg() [all …]
|
H A D | cpqphp_ctrl.c | 135 struct slot *p_slot; in handle_presence_change() local 161 if (!p_slot) in handle_presence_change() 1771 struct slot *p_slot; in interrupt_event_handler() local 1786 if (!p_slot) in interrupt_event_handler() 1854 p_slot->ctrl = ctrl; in interrupt_event_handler() 1886 struct slot *p_slot = from_timer(p_slot, t, task_event); in cpqhp_pushbutton_thread() local 1890 hp_slot = p_slot->hp_slot; in cpqhp_pushbutton_thread() 1895 func = cpqhp_slot_find(p_slot->bus, p_slot->device, 0); in cpqhp_pushbutton_thread() 1917 func = cpqhp_slot_find(p_slot->bus, p_slot->device, 0); in cpqhp_pushbutton_thread() 1947 struct slot *p_slot; in cpqhp_process_SI() local [all …]
|
/linux/lib/ |
H A D | maple_tree.c | 2146 if (!p_slot) in mas_prev_sibling() 2150 mas->offset = p_slot - 1; in mas_prev_sibling() 3215 unsigned char p_slot; in mast_split_data() local 3226 p_slot = mast->orig_l->offset; in mast_split_data() 3228 &p_slot, split); in mast_split_data() 3230 &p_slot, split); in mast_split_data() 7298 unsigned char p_slot, offset; in mas_validate_gaps() local 7372 p_slot = mte_parent_slot(mas->node); in mas_validate_gaps() 7387 unsigned char p_slot; in mas_validate_parent_slot() local 7394 p_slot = mte_parent_slot(mas->node); in mas_validate_parent_slot() [all …]
|