Lines Matching refs:flags
178 unsigned long flags; in set_firmware_width() local
184 spin_lock_irqsave(&pdc_lock, flags); in set_firmware_width()
186 spin_unlock_irqrestore(&pdc_lock, flags); in set_firmware_width()
228 unsigned long flags; in pdc_add_valid() local
230 spin_lock_irqsave(&pdc_lock, flags); in pdc_add_valid()
232 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_add_valid()
247 unsigned long flags; in pdc_instr() local
249 spin_lock_irqsave(&pdc_lock, flags); in pdc_instr()
253 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_instr()
269 unsigned long flags; in pdc_chassis_info() local
271 spin_lock_irqsave(&pdc_lock, flags); in pdc_chassis_info()
278 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_chassis_info()
294 unsigned long flags; in pdc_pat_chassis_send_log() local
299 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_chassis_send_log()
301 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_chassis_send_log()
314 unsigned long flags; in pdc_chassis_disp() local
316 spin_lock_irqsave(&pdc_lock, flags); in pdc_chassis_disp()
318 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_chassis_disp()
357 unsigned long flags; in pdc_pat_get_PDC_entrypoint() local
364 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_get_PDC_entrypoint()
368 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_get_PDC_entrypoint()
379 unsigned long flags; in pdc_chassis_warn() local
381 spin_lock_irqsave(&pdc_lock, flags); in pdc_chassis_warn()
384 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_chassis_warn()
413 unsigned long flags; in pdc_coproc_cfg() local
415 spin_lock_irqsave(&pdc_lock, flags); in pdc_coproc_cfg()
417 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_coproc_cfg()
437 unsigned long flags; in pdc_iodc_read() local
439 spin_lock_irqsave(&pdc_lock, flags); in pdc_iodc_read()
445 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_iodc_read()
464 unsigned long flags; in pdc_system_map_find_mods() local
466 spin_lock_irqsave(&pdc_lock, flags); in pdc_system_map_find_mods()
472 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_system_map_find_mods()
491 unsigned long flags; in pdc_system_map_find_addrs() local
493 spin_lock_irqsave(&pdc_lock, flags); in pdc_system_map_find_addrs()
498 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_system_map_find_addrs()
513 unsigned long flags; in pdc_model_info() local
515 spin_lock_irqsave(&pdc_lock, flags); in pdc_model_info()
519 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_model_info()
536 unsigned long flags; in pdc_model_sysmodel() local
538 spin_lock_irqsave(&pdc_lock, flags); in pdc_model_sysmodel()
548 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_model_sysmodel()
566 unsigned long flags; in pdc_model_versions() local
568 spin_lock_irqsave(&pdc_lock, flags); in pdc_model_versions()
572 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_model_versions()
587 unsigned long flags; in pdc_model_cpuid() local
589 spin_lock_irqsave(&pdc_lock, flags); in pdc_model_cpuid()
594 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_model_cpuid()
609 unsigned long flags; in pdc_model_capabilities() local
611 spin_lock_irqsave(&pdc_lock, flags); in pdc_model_capabilities()
620 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_model_capabilities()
638 unsigned long flags; in pdc_model_platform_info() local
640 spin_lock_irqsave(&pdc_lock, flags); in pdc_model_platform_info()
644 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_model_platform_info()
658 unsigned long flags; in pdc_cache_info() local
660 spin_lock_irqsave(&pdc_lock, flags); in pdc_cache_info()
664 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_cache_info()
678 unsigned long flags; in pdc_spaceid_bits() local
680 spin_lock_irqsave(&pdc_lock, flags); in pdc_spaceid_bits()
685 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_spaceid_bits()
699 unsigned long flags; in pdc_btlb_info() local
704 spin_lock_irqsave(&pdc_lock, flags); in pdc_btlb_info()
707 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_btlb_info()
719 unsigned long flags; in pdc_btlb_insert() local
724 spin_lock_irqsave(&pdc_lock, flags); in pdc_btlb_insert()
727 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_btlb_insert()
734 unsigned long flags; in pdc_btlb_purge_all() local
739 spin_lock_irqsave(&pdc_lock, flags); in pdc_btlb_purge_all()
741 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_btlb_purge_all()
761 unsigned long flags; in pdc_mem_map_hpa() local
766 spin_lock_irqsave(&pdc_lock, flags); in pdc_mem_map_hpa()
771 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_mem_map_hpa()
786 unsigned long flags; in pdc_lan_station_id() local
788 spin_lock_irqsave(&pdc_lock, flags); in pdc_lan_station_id()
797 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_lan_station_id()
816 unsigned long flags; in pdc_stable_read() local
818 spin_lock_irqsave(&pdc_lock, flags); in pdc_stable_read()
823 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_stable_read()
842 unsigned long flags; in pdc_stable_write() local
844 spin_lock_irqsave(&pdc_lock, flags); in pdc_stable_write()
849 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_stable_write()
867 unsigned long flags; in pdc_stable_get_size() local
869 spin_lock_irqsave(&pdc_lock, flags); in pdc_stable_get_size()
872 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_stable_get_size()
887 unsigned long flags; in pdc_stable_verify_contents() local
889 spin_lock_irqsave(&pdc_lock, flags); in pdc_stable_verify_contents()
891 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_stable_verify_contents()
906 unsigned long flags; in pdc_stable_initialize() local
908 spin_lock_irqsave(&pdc_lock, flags); in pdc_stable_initialize()
910 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_stable_initialize()
933 unsigned long flags; in pdc_get_initiator() local
935 spin_lock_irqsave(&pdc_lock, flags); in pdc_get_initiator()
975 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_get_initiator()
994 unsigned long flags; in pdc_pci_irt_size() local
996 spin_lock_irqsave(&pdc_lock, flags); in pdc_pci_irt_size()
1001 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pci_irt_size()
1018 unsigned long flags; in pdc_pci_irt() local
1022 spin_lock_irqsave(&pdc_lock, flags); in pdc_pci_irt()
1026 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pci_irt()
1044 unsigned long flags;
1046 spin_lock_irqsave(&pdc_lock, flags);
1051 spin_unlock_irqrestore(&pdc_lock, flags);
1068 unsigned long flags;
1070 spin_lock_irqsave(&pdc_lock, flags);
1075 spin_unlock_irqrestore(&pdc_lock, flags);
1090 unsigned long flags; in pdc_tod_read() local
1092 spin_lock_irqsave(&pdc_lock, flags); in pdc_tod_read()
1096 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_tod_read()
1105 unsigned long flags; in pdc_mem_pdt_info() local
1107 spin_lock_irqsave(&pdc_lock, flags); in pdc_mem_pdt_info()
1111 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_mem_pdt_info()
1120 unsigned long flags; in pdc_mem_pdt_read_entries() local
1122 spin_lock_irqsave(&pdc_lock, flags); in pdc_mem_pdt_read_entries()
1129 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_mem_pdt_read_entries()
1150 unsigned long flags; in pdc_pim_toc11() local
1152 spin_lock_irqsave(&pdc_lock, flags); in pdc_pim_toc11()
1155 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pim_toc11()
1166 unsigned long flags; in pdc_pim_toc20() local
1168 spin_lock_irqsave(&pdc_lock, flags); in pdc_pim_toc20()
1171 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pim_toc20()
1185 unsigned long flags; in pdc_tod_set() local
1187 spin_lock_irqsave(&pdc_lock, flags); in pdc_tod_set()
1189 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_tod_set()
1200 unsigned long flags; in pdc_mem_mem_table() local
1202 spin_lock_irqsave(&pdc_lock, flags); in pdc_mem_mem_table()
1207 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_mem_mem_table()
1220 unsigned long flags; in pdc_do_firm_test_reset() local
1222 spin_lock_irqsave(&pdc_lock, flags); in pdc_do_firm_test_reset()
1225 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_do_firm_test_reset()
1238 unsigned long flags; in pdc_do_reset() local
1240 spin_lock_irqsave(&pdc_lock, flags); in pdc_do_reset()
1242 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_do_reset()
1256 unsigned long flags; in pdc_soft_power_info() local
1260 spin_lock_irqsave(&pdc_lock, flags); in pdc_soft_power_info()
1266 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_soft_power_info()
1288 unsigned long flags; in pdc_soft_power_button() local
1290 spin_lock_irqsave(&pdc_lock, flags); in pdc_soft_power_button()
1292 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_soft_power_button()
1300 unsigned long flags; in pdc_soft_power_button_panic() local
1302 if (!spin_trylock_irqsave(&pdc_lock, flags)) { in pdc_soft_power_button_panic()
1308 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_soft_power_button_panic()
1320 unsigned long flags; in pdc_io_reset() local
1322 spin_lock_irqsave(&pdc_lock, flags); in pdc_io_reset()
1324 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_io_reset()
1338 unsigned long flags; in pdc_io_reset_devices() local
1340 spin_lock_irqsave(&pdc_lock, flags); in pdc_io_reset_devices()
1342 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_io_reset_devices()
1363 unsigned long flags; in pdc_iodc_print() local
1367 spin_lock_irqsave(&pdc_lock, flags); in pdc_iodc_print()
1388 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_iodc_print()
1404 unsigned long flags; in pdc_iodc_getc() local
1411 spin_lock_irqsave(&pdc_lock, flags); in pdc_iodc_getc()
1420 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_iodc_getc()
1428 int pdc_sti_call(unsigned long func, unsigned long flags, in pdc_sti_call() argument
1438 retval = real64_call(func, flags, inptr, outputr, glob_cfg); in pdc_sti_call()
1443 retval = real32_call(func, flags, inptr, outputr, glob_cfg); in pdc_sti_call()
1462 unsigned long flags; in pdc_pat_cell_get_number() local
1464 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_cell_get_number()
1467 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_cell_get_number()
1487 unsigned long flags; in pdc_pat_cell_module() local
1490 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_cell_module()
1497 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_cell_module()
1516 unsigned long flags; in pdc_pat_cell_info() local
1519 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_cell_info()
1527 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_cell_info()
1542 unsigned long flags; in pdc_pat_cpu_get_number() local
1544 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_cpu_get_number()
1548 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_cpu_get_number()
1564 unsigned long flags; in pdc_pat_get_irt_size() local
1566 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_get_irt_size()
1570 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_get_irt_size()
1585 unsigned long flags; in pdc_pat_get_irt() local
1587 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_get_irt()
1590 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_get_irt()
1607 unsigned long flags; in pdc_pat_pd_get_addr_map() local
1609 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_pd_get_addr_map()
1614 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_pd_get_addr_map()
1630 unsigned long flags; in pdc_pat_pd_get_pdc_revisions() local
1632 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_pd_get_pdc_revisions()
1640 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_pd_get_pdc_revisions()
1656 unsigned long flags; in pdc_pat_io_pci_cfg_read() local
1658 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_io_pci_cfg_read()
1666 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_io_pci_cfg_read()
1682 unsigned long flags; in pdc_pat_io_pci_cfg_write() local
1684 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_io_pci_cfg_write()
1687 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_io_pci_cfg_write()
1700 unsigned long flags; in pdc_pat_mem_pdt_info() local
1702 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_mem_pdt_info()
1707 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_mem_pdt_info()
1723 unsigned long flags; in pdc_pat_mem_pdt_cell_info() local
1725 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_mem_pdt_cell_info()
1730 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_mem_pdt_cell_info()
1746 unsigned long flags, entries; in pdc_pat_mem_read_cell_pdt() local
1748 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_mem_read_cell_pdt()
1761 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_mem_read_cell_pdt()
1779 unsigned long flags, entries; in pdc_pat_mem_read_pd_pdt() local
1781 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_mem_read_pd_pdt()
1792 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_mem_read_pd_pdt()
1808 unsigned long flags; in pdc_pat_mem_get_dimm_phys_location() local
1810 spin_lock_irqsave(&pdc_lock, flags); in pdc_pat_mem_get_dimm_phys_location()
1817 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_pat_mem_get_dimm_phys_location()