Home
last modified time | relevance | path

Searched refs:cloop (Results 1 – 2 of 2) sorted by relevance

/drivers/pci/hotplug/
Dcpqphp_pci.c314 int cloop = 0; in cpqhp_save_config() local
419 for (cloop = 0; cloop < 0x20; cloop++) { in cpqhp_save_config()
420 …_dword(ctrl->pci_bus, PCI_DEVFN(device, function), cloop << 2, (u32 *) &(new_slot->config_space[cl… in cpqhp_save_config()
476 int cloop; in cpqhp_save_slot_config() local
514 for (cloop = 0; cloop < 0x20; cloop++) in cpqhp_save_slot_config()
515 …l->pci_bus, PCI_DEVFN(new_slot->device, function), cloop << 2, (u32 *) &(new_slot->config_space[cl… in cpqhp_save_slot_config()
552 u8 cloop; in cpqhp_save_base_addr_length() local
594 for (cloop = 0x10; cloop <= 0x14; cloop += 4) { in cpqhp_save_base_addr_length()
596 pci_bus_write_config_dword(pci_bus, devfn, cloop, temp_register); in cpqhp_save_base_addr_length()
597 pci_bus_read_config_dword(pci_bus, devfn, cloop, &base); in cpqhp_save_base_addr_length()
[all …]
Dcpqphp_ctrl.c2310 int cloop; in configure_new_function() local
2539 for (cloop = 0; cloop < 4; cloop++) { in configure_new_function()
2540 if (irqs.valid_INT & (0x01 << cloop)) { in configure_new_function()
2542 cloop + 1, irqs.interrupt[cloop]); in configure_new_function()
2751 for (cloop = 0x10; cloop <= 0x24; cloop += 4) { in configure_new_function()
2754 dbg("CND: bus=%d, devfn=%d, offset=%d\n", pci_bus->number, devfn, cloop); in configure_new_function()
2755 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, temp_register); in configure_new_function()
2757 rc = pci_bus_read_config_dword(pci_bus, devfn, cloop, &temp_register); in configure_new_function()
2817 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, base); in configure_new_function()
2821 cloop += 4; in configure_new_function()
[all …]