Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pci/hotplug/
Dcpqphp_pci.c312 int cloop = 0; in cpqhp_save_config() local
417 for (cloop = 0; cloop < 0x20; cloop++) { in cpqhp_save_config()
418 …_dword(ctrl->pci_bus, PCI_DEVFN(device, function), cloop << 2, (u32 *) &(new_slot->config_space[cl… in cpqhp_save_config()
474 int cloop = 0; in cpqhp_save_slot_config() local
512 for (cloop = 0; cloop < 0x20; cloop++) in cpqhp_save_slot_config()
513 …l->pci_bus, PCI_DEVFN(new_slot->device, function), cloop << 2, (u32 *) &(new_slot->config_space[cl… in cpqhp_save_slot_config()
550 u8 cloop; in cpqhp_save_base_addr_length() local
592 for (cloop = 0x10; cloop <= 0x14; cloop += 4) { in cpqhp_save_base_addr_length()
594 pci_bus_write_config_dword(pci_bus, devfn, cloop, temp_register); in cpqhp_save_base_addr_length()
595 pci_bus_read_config_dword(pci_bus, devfn, cloop, &base); in cpqhp_save_base_addr_length()
[all …]
Dcpqphp_ctrl.c2355 int cloop; in configure_new_function() local
2584 for (cloop = 0; cloop < 4; cloop++) { in configure_new_function()
2585 if (irqs.valid_INT & (0x01 << cloop)) { in configure_new_function()
2587 cloop + 1, irqs.interrupt[cloop]); in configure_new_function()
2796 for (cloop = 0x10; cloop <= 0x24; cloop += 4) { in configure_new_function()
2799 dbg("CND: bus=%d, devfn=%d, offset=%d\n", pci_bus->number, devfn, cloop); in configure_new_function()
2800 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, temp_register); in configure_new_function()
2802 rc = pci_bus_read_config_dword(pci_bus, devfn, cloop, &temp_register); in configure_new_function()
2862 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, base); in configure_new_function()
2866 cloop += 4; in configure_new_function()
[all …]