Lines Matching refs:ADDR

87 #define ADDR(x)		(u32)(unsigned long)(x)  macro
393 args.service = cpu_to_be32(ADDR(service)); in call_prom()
418 args.service = cpu_to_be32(ADDR(service)); in call_prom_ret()
456 call_prom("write", 3, 1, prom.stdout, ADDR("\r\n"), 2); in prom_print()
518 ADDR("\r\n"), 2); in prom_printf()
605 ADDR("claim"), prom.memory, in prom_claim()
610 ADDR("claim"), prom.mmumap, in prom_claim()
613 call_prom("call-method", 4, 1, ADDR("release"), in prom_claim()
619 ADDR("map"), prom.mmumap, 0x12, size, virt, virt); in prom_claim()
662 return call_prom("getprop", 4, 1, node, ADDR(pname), in prom_getprop()
668 return call_prom("getproplen", 2, 1, node, ADDR(pname)); in prom_getproplen()
703 return call_prom("setprop", 4, 1, node, ADDR(pname), in prom_setprop()
712 add_string(&p, tohex(ADDR(pname))); in prom_setprop()
1402 root = call_prom("open", 1, 1, ADDR("/")); in prom_send_capabilities()
1420 ADDR("ibm,client-architecture-support"), in prom_send_capabilities()
1422 ADDR(&ibm_architecture_vec)) == 0) { in prom_send_capabilities()
1441 ADDR("/packages/elf-loader")); in prom_send_capabilities()
1446 call_prom("call-method", 3, 1, ADDR("process-elf-header"), in prom_send_capabilities()
1447 elfloader, ADDR(&fake_elf)); in prom_send_capabilities()
1807 rtas_node = call_prom("finddevice", 1, 1, ADDR("/rtas")); in prom_rtas_os_term()
1839 rtas_node = call_prom("finddevice", 1, 1, ADDR("/rtas")); in prom_instantiate_rtas()
1854 rtas_inst = call_prom("open", 1, 1, ADDR("/rtas")); in prom_instantiate_rtas()
1863 ADDR("instantiate-rtas"), in prom_instantiate_rtas()
1906 ibmvtpm_node = call_prom("finddevice", 1, 1, ADDR("/vdevice/vtpm")); in prom_instantiate_sml()
1911 ibmvtpm_inst = call_prom("open", 1, 1, ADDR("/vdevice/vtpm")); in prom_instantiate_sml()
1920 ADDR("reformat-sml-to-efi-alignment"), in prom_instantiate_sml()
1927 ADDR("sml-get-allocated-size"), in prom_instantiate_sml()
1934 ADDR("sml-get-handover-size"), in prom_instantiate_sml()
1950 ADDR("sml-handover"), in prom_instantiate_sml()
2078 call_prom("call-method", 6, 0, ADDR("set-64-bit-addressing"), in prom_initialize_tce_table()
2217 prom.chosen = call_prom("finddevice", 1, 1, ADDR("/chosen")); in prom_init_client_services()
2222 prom.root = call_prom("finddevice", 1, 1, ADDR("/")); in prom_init_client_services()
2240 oprom = call_prom("finddevice", 1, 1, ADDR("/openprom")); in prom_find_mmu()
2254 prom.memory = call_prom("open", 1, 1, ADDR("/memory")); in prom_find_mmu()
2346 rtas = call_prom("finddevice", 1, 1, ADDR("/rtas")); in prom_find_machine_type()
2362 return call_prom("call-method", 6, 1, ADDR("color!"), ih, i, b, g, r); in prom_set_color()
2798 isa = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_maple()
2801 isa = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_maple()
2840 mc = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_maple_memory_controller()
2886 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
2889 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
2908 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
2935 u3 = call_prom("finddevice", 1, 1, ADDR("/u3@0,f8000000")); in fixup_device_tree_pmac()
2938 i2c = call_prom("finddevice", 1, 1, ADDR("/u3@0,f8000000/i2c@f8001000")); in fixup_device_tree_pmac()
2941 mpic = call_prom("finddevice", 1, 1, ADDR("/u3@0,f8000000/mpic@f8040000")); in fixup_device_tree_pmac()
2984 node = call_prom("finddevice", 1, 1, ADDR("/builtin/ethernet")); in fixup_device_tree_efika_add_phy()
2999 node = call_prom("finddevice", 1, 1, ADDR("/builtin/mdio")); in fixup_device_tree_efika_add_phy()
3021 ADDR("/builtin/mdio/ethernet-phy")); in fixup_device_tree_efika_add_phy()
3051 node = call_prom("finddevice", 1, 1, ADDR("/")); in fixup_device_tree_efika()
3064 node = call_prom("finddevice", 1, 1, ADDR("/")); in fixup_device_tree_efika()
3078 node = call_prom("finddevice", 1, 1, ADDR("/builtin/bestcomm")); in fixup_device_tree_efika()
3089 node = call_prom("finddevice", 1, 1, ADDR("/builtin/sound")); in fixup_device_tree_efika()
3121 iob = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_pasemi()
3134 node = call_prom("finddevice", 1, 1, ADDR(pci_name)); in fixup_device_tree_pasemi()
3135 parent = ADDR(iob); in fixup_device_tree_pasemi()
3172 iob = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_pasemi()