Searched refs:myslot (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/pci/host/ |
H A D | pci-versatile.c | 134 int ret, i, myslot = -1; versatile_pci_probe() local 166 myslot = i; versatile_pci_probe() 170 if (myslot == -1) { versatile_pci_probe() 177 pci_slot_ignore |= (1 << myslot); versatile_pci_probe() 179 dev_info(&pdev->dev, "PCI core found (slot %d)\n", myslot); versatile_pci_probe() 181 writel(myslot, PCI_SELFID); versatile_pci_probe() 182 local_pci_cfg_base = versatile_cfg_base[1] + (myslot << 11); versatile_pci_probe()
|
/linux-4.4.14/arch/arm/mach-versatile/ |
H A D | pci.c | 238 int myslot = -1; pci_versatile_setup() local 271 myslot = i; pci_versatile_setup() 275 if (myslot == -1) { pci_versatile_setup() 281 printk("PCI core found (slot %d)\n",myslot); pci_versatile_setup() 283 __raw_writel(myslot, PCI_SELFID); pci_versatile_setup() 284 local_pci_cfg_base = VERSATILE_PCI_CFG_VIRT_BASE + (myslot << 11); pci_versatile_setup() 313 pci_slot_ignore |= (1 << myslot); pci_versatile_setup()
|
/linux-4.4.14/drivers/pci/hotplug/ |
H A D | ibmphp_core.c | 285 struct slot myslot; get_attention_status() local 294 memcpy(&myslot, pslot, sizeof(struct slot)); get_attention_status() 296 &(myslot.status)); get_attention_status() 300 &(myslot.ext_status)); get_attention_status() 302 *value = SLOT_ATTN(myslot.status, get_attention_status() 303 myslot.ext_status); get_attention_status() 316 struct slot myslot; get_latch_status() local 324 memcpy(&myslot, pslot, sizeof(struct slot)); get_latch_status() 326 &(myslot.status)); get_latch_status() 328 *value = SLOT_LATCH(myslot.status); get_latch_status() 343 struct slot myslot; get_power_status() local 351 memcpy(&myslot, pslot, sizeof(struct slot)); get_power_status() 353 &(myslot.status)); get_power_status() 355 *value = SLOT_PWRGD(myslot.status); get_power_status() 370 struct slot myslot; get_adapter_present() local 378 memcpy(&myslot, pslot, sizeof(struct slot)); get_adapter_present() 380 &(myslot.status)); get_adapter_present() 382 present = SLOT_PRESENT(myslot.status); get_adapter_present() 438 struct slot myslot; 449 memcpy(&myslot, pslot, sizeof(struct slot)); 451 &(myslot.status)); 453 if (!(SLOT_LATCH (myslot.status)) && 454 (SLOT_PRESENT (myslot.status))) { 457 &(myslot.ext_status)); 459 *value = SLOT_SPEED(myslot.ext_status);
|
H A D | ibmphp_hpc.c | 821 struct slot myslot; poll_hpc() local 865 memcpy ((void *) &myslot, (void *) pslot, poll_hpc() 868 if ((myslot.status != pslot->status) poll_hpc() 869 || (myslot.ext_status != pslot->ext_status)) poll_hpc() 870 process_changeinstatus (pslot, &myslot); poll_hpc() 1020 struct slot myslot, *pslot; process_changeinlatch() local 1033 memcpy ((void *) &myslot, (void *) pslot, sizeof (struct slot)); process_changeinlatch() 1036 process_changeinstatus (pslot, &myslot); process_changeinlatch()
|
Completed in 207 milliseconds