Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/
H A Dof_property.c195 u32 *int_map, *mapp; in of_pci_prop_intr_map() local
240 int_map = kcalloc(map_sz, sizeof(u32), GFP_KERNEL); in of_pci_prop_intr_map()
241 if (!int_map) in of_pci_prop_intr_map()
243 mapp = int_map; in of_pci_prop_intr_map()
272 ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map", int_map, in of_pci_prop_intr_map()
287 kfree(int_map); in of_pci_prop_intr_map()
291 kfree(int_map); in of_pci_prop_intr_map()
/openbmc/qemu/hw/hyperv/
H A Dvmbus.c734 unsigned long *int_map, mask; in vmbus_channel_notify_guest() local
745 int_map = cpu_physical_memory_map(addr, &len, 1); in vmbus_channel_notify_guest()
753 if ((qatomic_fetch_or(&int_map[idx], mask) & mask) != mask) { in vmbus_channel_notify_guest()
759 cpu_physical_memory_unmap(int_map, len, 1, dirty); in vmbus_channel_notify_guest()
2229 unsigned long *int_map; in vmbus_signal_event() local
2245 int_map = cpu_physical_memory_map(addr, &len, 1); in vmbus_signal_event()
2251 if (bitmap_test_and_clear_atomic(int_map, chan->id, 1)) { in vmbus_signal_event()
2261 cpu_physical_memory_unmap(int_map, len, 1, is_dirty); in vmbus_signal_event()