Lines Matching refs:cpu_to_be32
393 args.service = cpu_to_be32(ADDR(service)); in call_prom()
394 args.nargs = cpu_to_be32(nargs); in call_prom()
395 args.nret = cpu_to_be32(nret); in call_prom()
399 args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); in call_prom()
418 args.service = cpu_to_be32(ADDR(service)); in call_prom_ret()
419 args.nargs = cpu_to_be32(nargs); in call_prom_ret()
420 args.nret = cpu_to_be32(nret); in call_prom_ret()
424 args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); in call_prom_ret()
979 .mask = cpu_to_be32(0xfffe0000), /* POWER5/POWER5+ */
980 .val = cpu_to_be32(0x003a0000),
983 .mask = cpu_to_be32(0xffff0000), /* POWER6 */
984 .val = cpu_to_be32(0x003e0000),
987 .mask = cpu_to_be32(0xffff0000), /* POWER7 */
988 .val = cpu_to_be32(0x003f0000),
991 .mask = cpu_to_be32(0xffff0000), /* POWER8E */
992 .val = cpu_to_be32(0x004b0000),
995 .mask = cpu_to_be32(0xffff0000), /* POWER8NVL */
996 .val = cpu_to_be32(0x004c0000),
999 .mask = cpu_to_be32(0xffff0000), /* POWER8 */
1000 .val = cpu_to_be32(0x004d0000),
1003 .mask = cpu_to_be32(0xffff0000), /* POWER9 */
1004 .val = cpu_to_be32(0x004e0000),
1007 .mask = cpu_to_be32(0xffff0000), /* POWER10 */
1008 .val = cpu_to_be32(0x00800000),
1011 .mask = cpu_to_be32(0xffff0000), /* POWER11 */
1012 .val = cpu_to_be32(0x00820000),
1015 .mask = cpu_to_be32(0xffffffff), /* P11 compliant */
1016 .val = cpu_to_be32(0x0f000007),
1019 .mask = cpu_to_be32(0xffffffff), /* all 3.1-compliant */
1020 .val = cpu_to_be32(0x0f000006),
1023 .mask = cpu_to_be32(0xffffffff), /* all 3.00-compliant */
1024 .val = cpu_to_be32(0x0f000005),
1027 .mask = cpu_to_be32(0xffffffff), /* all 2.07-compliant */
1028 .val = cpu_to_be32(0x0f000004),
1031 .mask = cpu_to_be32(0xffffffff), /* all 2.06-compliant */
1032 .val = cpu_to_be32(0x0f000003),
1035 .mask = cpu_to_be32(0xffffffff), /* all 2.05-compliant */
1036 .val = cpu_to_be32(0x0f000002),
1039 .mask = cpu_to_be32(0xfffffffe), /* all 2.04-compliant and earlier */
1040 .val = cpu_to_be32(0x0f000001),
1059 .real_base = cpu_to_be32(0xffffffff),
1060 .real_size = cpu_to_be32(0xffffffff),
1061 .virt_base = cpu_to_be32(0xffffffff),
1062 .virt_size = cpu_to_be32(0xffffffff),
1063 .load_base = cpu_to_be32(0xffffffff),
1064 .min_rma = cpu_to_be32(MIN_RMA),
1065 .min_load = cpu_to_be32(0xffffffff), /* full client load */
1108 .max_cpus = cpu_to_be32(NR_CPUS), /* number of cores supported */
1423 ibm_architecture_vec.vec5.max_cpus = cpu_to_be32(cores); in prom_send_capabilities()
1667 val = cpu_to_be32(2); in prom_init_mem()
1670 val = cpu_to_be32(1); in prom_init_mem()
1826 os_term_args.token = cpu_to_be32(token); in prom_rtas_os_term()
1827 os_term_args.nargs = cpu_to_be32(1); in prom_rtas_os_term()
1828 os_term_args.nret = cpu_to_be32(1); in prom_rtas_os_term()
1829 os_term_args.args[0] = cpu_to_be32(__pa(str)); in prom_rtas_os_term()
1881 val = cpu_to_be32(base); in prom_instantiate_rtas()
1884 val = cpu_to_be32(entry); in prom_instantiate_rtas()
2182 reg = cpu_to_be32(-1); /* make sparse happy */ in prom_hold_cpus()
2295 val = cpu_to_be32(stdout_node); in prom_init_stdout()
2516 *(__be32 *)room = cpu_to_be32(token); \
2687 *(__be32 *)valp = cpu_to_be32(node); in scan_dt_build_struct()
2760 hdr->boot_cpuid_phys = cpu_to_be32(prom.cpu); in flatten_device_tree()
2761 hdr->magic = cpu_to_be32(OF_DT_HEADER); in flatten_device_tree()
2762 hdr->totalsize = cpu_to_be32(dt_struct_end - dt_header_start); in flatten_device_tree()
2763 hdr->off_dt_struct = cpu_to_be32(dt_struct_start - dt_header_start); in flatten_device_tree()
2764 hdr->off_dt_strings = cpu_to_be32(dt_string_start - dt_header_start); in flatten_device_tree()
2765 hdr->dt_strings_size = cpu_to_be32(dt_string_end - dt_string_start); in flatten_device_tree()
2766 hdr->off_mem_rsvmap = cpu_to_be32(((unsigned long)rsvmap) - dt_header_start); in flatten_device_tree()
2767 hdr->version = cpu_to_be32(OF_DT_VERSION); in flatten_device_tree()
2769 hdr->last_comp_version = cpu_to_be32(0x10); in flatten_device_tree()