new_slot 275 drivers/mmc/host/omap.c struct mmc_omap_slot *new_slot; new_slot 281 drivers/mmc/host/omap.c new_slot = host->slots[i]; new_slot 283 drivers/mmc/host/omap.c BUG_ON(new_slot == host->current_slot); new_slot 285 drivers/mmc/host/omap.c host->next_slot = new_slot; new_slot 286 drivers/mmc/host/omap.c host->mmc = new_slot->mmc; new_slot 423 drivers/pci/hotplug/cpqphp.h int cpqhp_save_slot_config(struct controller *ctrl, struct pci_func *new_slot); new_slot 956 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *new_slot; new_slot 959 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = kzalloc(sizeof(*new_slot), GFP_KERNEL); new_slot 960 drivers/pci/hotplug/cpqphp_ctrl.c if (new_slot == NULL) new_slot 961 drivers/pci/hotplug/cpqphp_ctrl.c return new_slot; new_slot 963 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->next = NULL; new_slot 964 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->configured = 1; new_slot 967 drivers/pci/hotplug/cpqphp_ctrl.c cpqhp_slot_list[busnumber] = new_slot; new_slot 972 drivers/pci/hotplug/cpqphp_ctrl.c next->next = new_slot; new_slot 974 drivers/pci/hotplug/cpqphp_ctrl.c return new_slot; new_slot 1413 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *new_slot = NULL; new_slot 1569 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = cpqhp_slot_find(ctrl->bus, func->device, index++); new_slot 1570 drivers/pci/hotplug/cpqphp_ctrl.c if (new_slot && !new_slot->pci_dev) new_slot 1571 drivers/pci/hotplug/cpqphp_ctrl.c cpqhp_configure_device(ctrl, new_slot); new_slot 1572 drivers/pci/hotplug/cpqphp_ctrl.c } while (new_slot); new_slot 2228 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *new_slot; new_slot 2231 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = func; new_slot 2250 drivers/pci/hotplug/cpqphp_ctrl.c rc = configure_new_function(ctrl, new_slot, behind_bridge, resources); new_slot 2256 drivers/pci/hotplug/cpqphp_ctrl.c while (new_slot) { new_slot 2257 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = cpqhp_slot_find(new_slot->bus, new_slot->device, index++); new_slot 2259 drivers/pci/hotplug/cpqphp_ctrl.c if (new_slot) new_slot 2260 drivers/pci/hotplug/cpqphp_ctrl.c cpqhp_return_board_resources(new_slot, resources); new_slot 2280 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = cpqhp_slot_create(func->bus); new_slot 2282 drivers/pci/hotplug/cpqphp_ctrl.c if (new_slot == NULL) new_slot 2285 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->bus = func->bus; new_slot 2286 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->device = func->device; new_slot 2287 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->function = function; new_slot 2288 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->is_a_board = 1; new_slot 2289 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->status = 0; new_slot 2344 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *new_slot; new_slot 2522 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = cpqhp_slot_create(hold_bus_node->base); new_slot 2524 drivers/pci/hotplug/cpqphp_ctrl.c if (new_slot == NULL) { new_slot 2529 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->bus = hold_bus_node->base; new_slot 2530 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->device = device; new_slot 2531 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->function = 0; new_slot 2532 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->is_a_board = 1; new_slot 2533 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->status = 0; new_slot 2535 drivers/pci/hotplug/cpqphp_ctrl.c rc = configure_new_device(ctrl, new_slot, 1, &temp_resources); new_slot 304 drivers/pci/hotplug/cpqphp_pci.c struct pci_func *new_slot; new_slot 341 drivers/pci/hotplug/cpqphp_pci.c new_slot = cpqhp_slot_create(busnumber); new_slot 342 drivers/pci/hotplug/cpqphp_pci.c if (new_slot == NULL) new_slot 345 drivers/pci/hotplug/cpqphp_pci.c new_slot->bus = (u8) busnumber; new_slot 346 drivers/pci/hotplug/cpqphp_pci.c new_slot->device = (u8) device; new_slot 347 drivers/pci/hotplug/cpqphp_pci.c new_slot->function = 0; new_slot 348 drivers/pci/hotplug/cpqphp_pci.c new_slot->is_a_board = 0; new_slot 349 drivers/pci/hotplug/cpqphp_pci.c new_slot->presence_save = 0; new_slot 350 drivers/pci/hotplug/cpqphp_pci.c new_slot->switch_save = 0; new_slot 394 drivers/pci/hotplug/cpqphp_pci.c new_slot = cpqhp_slot_find(busnumber, device, index++); new_slot 395 drivers/pci/hotplug/cpqphp_pci.c while (new_slot && new_slot 396 drivers/pci/hotplug/cpqphp_pci.c (new_slot->function != (u8) function)) new_slot 397 drivers/pci/hotplug/cpqphp_pci.c new_slot = cpqhp_slot_find(busnumber, device, index++); new_slot 399 drivers/pci/hotplug/cpqphp_pci.c if (!new_slot) { new_slot 401 drivers/pci/hotplug/cpqphp_pci.c new_slot = cpqhp_slot_create(busnumber); new_slot 402 drivers/pci/hotplug/cpqphp_pci.c if (new_slot == NULL) new_slot 406 drivers/pci/hotplug/cpqphp_pci.c new_slot->bus = (u8) busnumber; new_slot 407 drivers/pci/hotplug/cpqphp_pci.c new_slot->device = (u8) device; new_slot 408 drivers/pci/hotplug/cpqphp_pci.c new_slot->function = (u8) function; new_slot 409 drivers/pci/hotplug/cpqphp_pci.c new_slot->is_a_board = 1; new_slot 410 drivers/pci/hotplug/cpqphp_pci.c new_slot->switch_save = 0x10; new_slot 412 drivers/pci/hotplug/cpqphp_pci.c new_slot->status = DevError; new_slot 413 drivers/pci/hotplug/cpqphp_pci.c devfn = (new_slot->device << 3) | new_slot->function; new_slot 414 drivers/pci/hotplug/cpqphp_pci.c new_slot->pci_dev = pci_get_domain_bus_and_slot(0, new_slot 415 drivers/pci/hotplug/cpqphp_pci.c new_slot->bus, devfn); new_slot 418 drivers/pci/hotplug/cpqphp_pci.c rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(device, function), cloop << 2, (u32 *) &(new_slot->config_space[cloop])); new_slot 423 drivers/pci/hotplug/cpqphp_pci.c pci_dev_put(new_slot->pci_dev); new_slot 464 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_save_slot_config(struct controller *ctrl, struct pci_func *new_slot) new_slot 479 drivers/pci/hotplug/cpqphp_pci.c ctrl->pci_bus->number = new_slot->bus; new_slot 480 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(new_slot->device, 0), PCI_VENDOR_ID, &ID); new_slot 485 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, 0), 0x0B, &class_code); new_slot 486 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, 0), PCI_HEADER_TYPE, &header_type); new_slot 496 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), PCI_SECONDARY_BUS, &secondary_bus); new_slot 506 drivers/pci/hotplug/cpqphp_pci.c ctrl->pci_bus->number = new_slot->bus; new_slot 510 drivers/pci/hotplug/cpqphp_pci.c new_slot->status = 0; new_slot 513 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), cloop << 2, (u32 *) &(new_slot->config_space[cloop])); new_slot 523 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), PCI_VENDOR_ID, &ID); new_slot 528 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), 0x0B, &class_code); new_slot 529 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), PCI_HEADER_TYPE, &header_type); new_slot 71 drivers/pci/hotplug/cpqphp_sysfs.c struct pci_func *new_slot; new_slot 77 drivers/pci/hotplug/cpqphp_sysfs.c new_slot = cpqhp_slot_find(slot->bus, slot->device, 0); new_slot 78 drivers/pci/hotplug/cpqphp_sysfs.c if (!new_slot) new_slot 82 drivers/pci/hotplug/cpqphp_sysfs.c res = new_slot->mem_head; new_slot 89 drivers/pci/hotplug/cpqphp_sysfs.c res = new_slot->p_mem_head; new_slot 96 drivers/pci/hotplug/cpqphp_sysfs.c res = new_slot->io_head; new_slot 103 drivers/pci/hotplug/cpqphp_sysfs.c res = new_slot->bus_head; new_slot 1193 drivers/xen/xen-pciback/pci_stub.c static DRIVER_ATTR_WO(new_slot);