Searched refs:cloop (Results 1 – 2 of 2) sorted by relevance
/drivers/pci/hotplug/ |
D | cpqphp_pci.c | 313 int cloop = 0; in cpqhp_save_config() local 415 for (cloop = 0; cloop < 0x20; cloop++) { in cpqhp_save_config() 416 …dword(ctrl->pci_bus, PCI_DEVFN(device, function), cloop << 2, (u32 *) & (new_slot-> config_space [… in cpqhp_save_config() 472 int cloop = 0; in cpqhp_save_slot_config() local 510 for (cloop = 0; cloop < 0x20; cloop++) in cpqhp_save_slot_config() 511 …->pci_bus, PCI_DEVFN(new_slot->device, function), cloop << 2, (u32 *) & (new_slot-> config_space [… in cpqhp_save_slot_config() 548 u8 cloop; in cpqhp_save_base_addr_length() local 590 for (cloop = 0x10; cloop <= 0x14; cloop += 4) { in cpqhp_save_base_addr_length() 592 pci_bus_write_config_dword (pci_bus, devfn, cloop, temp_register); in cpqhp_save_base_addr_length() 593 pci_bus_read_config_dword (pci_bus, devfn, cloop, &base); in cpqhp_save_base_addr_length() [all …]
|
D | cpqphp_ctrl.c | 2373 int cloop; in configure_new_function() local 2618 for (cloop = 0; cloop < 4; cloop++) { in configure_new_function() 2619 if (irqs.valid_INT & (0x01 << cloop)) { in configure_new_function() 2621 cloop + 1, irqs.interrupt[cloop]); in configure_new_function() 2830 for (cloop = 0x10; cloop <= 0x24; cloop += 4) { in configure_new_function() 2833 dbg("CND: bus=%d, devfn=%d, offset=%d\n", pci_bus->number, devfn, cloop); in configure_new_function() 2834 rc = pci_bus_write_config_dword (pci_bus, devfn, cloop, temp_register); in configure_new_function() 2836 rc = pci_bus_read_config_dword (pci_bus, devfn, cloop, &temp_register); in configure_new_function() 2917 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, base); in configure_new_function() 2921 cloop += 4; in configure_new_function() [all …]
|