cpu_to_be32 494 arch/alpha/include/asm/io.h #define iowrite32be(v,p) iowrite32(cpu_to_be32(v), (p)) cpu_to_be32 48 arch/arc/include/asm/io.h #define iowrite32be(v,p) ({ __iowmb(); __raw_writel((__force u32)cpu_to_be32(v), p); }) cpu_to_be32 325 arch/arc/plat-axs10x/axs10x.c freq = cpu_to_be32(AXS103_QUAD_CORE_CPU_FREQ_HZ); cpu_to_be32 20 arch/arm/boot/compressed/libfdt_env.h #define cpu_to_fdt32(x) cpu_to_be32(x) cpu_to_be32 426 arch/arm/include/asm/io.h #define iowrite32be(v,p) ({ __iowmb(); __raw_writel((__force __u32)cpu_to_be32(v), p); }) cpu_to_be32 352 arch/arm/include/asm/kvm_emulate.h return cpu_to_be32(data); cpu_to_be32 72 arch/arm/kernel/machine_kexec.c if (header == cpu_to_be32(OF_DT_HEADER)) cpu_to_be32 115 arch/arm/mach-imx/platsmp.c writel_relaxed(cpu_to_be32(paddr), dcfg_base + DCFG_CCSR_SCRATCHRW1); cpu_to_be32 103 arch/arm/mach-mvebu/pm.c in_addr[0] = cpu_to_be32(0xf0010000); cpu_to_be32 86 arch/arm64/crypto/aes-ce-ccm-glue.c n[1] = cpu_to_be32(msglen); cpu_to_be32 192 arch/arm64/include/asm/io.h #define iowrite32be(v,p) ({ __iowmb(); __raw_writel((__force __u32)cpu_to_be32(v), p); }) cpu_to_be32 462 arch/arm64/include/asm/kvm_emulate.h return cpu_to_be32(data & 0xffffffff); cpu_to_be32 182 arch/mips/boot/tools/relocs.c return cpu_to_be32(val); cpu_to_be32 177 arch/mips/cavium-octeon/crypto/octeon-sha1.c dst[i] = cpu_to_be32(sctx->state[i]); cpu_to_be32 189 arch/mips/cavium-octeon/crypto/octeon-sha256.c dst[i] = cpu_to_be32(sctx->state[i]); cpu_to_be32 907 arch/mips/cavium-octeon/octeon-platform.c f = cpu_to_be32(octeon_get_io_clock_rate()); cpu_to_be32 985 arch/mips/cavium-octeon/octeon-platform.c __be32 width = cpu_to_be32(8); cpu_to_be32 991 arch/mips/cavium-octeon/octeon-platform.c new_reg[0] = cpu_to_be32(cs); cpu_to_be32 992 arch/mips/cavium-octeon/octeon-platform.c new_reg[1] = cpu_to_be32(0); cpu_to_be32 993 arch/mips/cavium-octeon/octeon-platform.c new_reg[2] = cpu_to_be32(0x10000); cpu_to_be32 994 arch/mips/cavium-octeon/octeon-platform.c new_reg[3] = cpu_to_be32(cs + 1); cpu_to_be32 995 arch/mips/cavium-octeon/octeon-platform.c new_reg[4] = cpu_to_be32(0); cpu_to_be32 996 arch/mips/cavium-octeon/octeon-platform.c new_reg[5] = cpu_to_be32(0x10000); cpu_to_be32 1007 arch/mips/cavium-octeon/octeon-platform.c ranges[(cs * 5) + 2] = cpu_to_be32(region_base >> 32); cpu_to_be32 1008 arch/mips/cavium-octeon/octeon-platform.c ranges[(cs * 5) + 3] = cpu_to_be32(region_base & 0xffffffff); cpu_to_be32 1009 arch/mips/cavium-octeon/octeon-platform.c ranges[(cs * 5) + 4] = cpu_to_be32(region_size); cpu_to_be32 1012 arch/mips/cavium-octeon/octeon-platform.c ranges[(cs * 5) + 2] = cpu_to_be32(region1_base >> 32); cpu_to_be32 1013 arch/mips/cavium-octeon/octeon-platform.c ranges[(cs * 5) + 3] = cpu_to_be32(region1_base & 0xffffffff); cpu_to_be32 1014 arch/mips/cavium-octeon/octeon-platform.c ranges[(cs * 5) + 4] = cpu_to_be32(region1_size); cpu_to_be32 1052 arch/mips/cavium-octeon/octeon-platform.c new_reg[0] = cpu_to_be32(cs); cpu_to_be32 1053 arch/mips/cavium-octeon/octeon-platform.c new_reg[1] = cpu_to_be32(0x20); cpu_to_be32 1054 arch/mips/cavium-octeon/octeon-platform.c new_reg[2] = cpu_to_be32(0x20); cpu_to_be32 1055 arch/mips/cavium-octeon/octeon-platform.c new_reg[3] = cpu_to_be32(cs); cpu_to_be32 1056 arch/mips/cavium-octeon/octeon-platform.c new_reg[4] = cpu_to_be32(0); cpu_to_be32 1057 arch/mips/cavium-octeon/octeon-platform.c new_reg[5] = cpu_to_be32(0x20); cpu_to_be32 1068 arch/mips/cavium-octeon/octeon-platform.c ranges[(cs * 5) + 2] = cpu_to_be32(region_base >> 32); cpu_to_be32 1069 arch/mips/cavium-octeon/octeon-platform.c ranges[(cs * 5) + 3] = cpu_to_be32(region_base & 0xffffffff); cpu_to_be32 1070 arch/mips/cavium-octeon/octeon-platform.c ranges[(cs * 5) + 4] = cpu_to_be32(region_size); cpu_to_be32 1116 arch/mips/cavium-octeon/octeon-platform.c new_f[0] = cpu_to_be32(48000000); cpu_to_be32 65 arch/mips/generic/yamon-dt.c *(mem_array++) = cpu_to_be32(mr->start); cpu_to_be32 66 arch/mips/generic/yamon-dt.c *(mem_array++) = cpu_to_be32(size); cpu_to_be32 508 arch/mips/include/asm/io.h __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr)) cpu_to_be32 77 arch/mips/mti-malta/malta-dtshim.c mem_array[0] = cpu_to_be32(PHYS_OFFSET); cpu_to_be32 85 arch/mips/mti-malta/malta-dtshim.c mem_array[1] = cpu_to_be32(size); cpu_to_be32 90 arch/mips/mti-malta/malta-dtshim.c mem_array[1] = cpu_to_be32(size_preio); cpu_to_be32 109 arch/mips/mti-malta/malta-dtshim.c mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_512M); cpu_to_be32 110 arch/mips/mti-malta/malta-dtshim.c mem_array[3] = cpu_to_be32(size); cpu_to_be32 122 arch/mips/mti-malta/malta-dtshim.c mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_2G + SZ_256M); cpu_to_be32 123 arch/mips/mti-malta/malta-dtshim.c mem_array[3] = cpu_to_be32(size); cpu_to_be32 212 arch/mips/mti-malta/malta-time.c gic_frequency_dt = cpu_to_be32(gic_frequency); cpu_to_be32 23 arch/powerpc/boot/libfdt_env.h #define cpu_to_fdt32(x) cpu_to_be32(x) cpu_to_be32 47 arch/powerpc/boot/oflib.c args.service = cpu_to_be32(ADDR(service)); cpu_to_be32 48 arch/powerpc/boot/oflib.c args.nargs = cpu_to_be32(nargs); cpu_to_be32 49 arch/powerpc/boot/oflib.c args.nret = cpu_to_be32(nret); cpu_to_be32 53 arch/powerpc/boot/oflib.c args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); cpu_to_be32 72 arch/powerpc/boot/oflib.c args.service = cpu_to_be32(ADDR(service)); cpu_to_be32 73 arch/powerpc/boot/oflib.c args.nargs = cpu_to_be32(nargs); cpu_to_be32 74 arch/powerpc/boot/oflib.c args.nret = cpu_to_be32(nret); cpu_to_be32 78 arch/powerpc/boot/oflib.c args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); cpu_to_be32 44 arch/powerpc/boot/xz_config.h *((u32 *)p) = cpu_to_be32(val); cpu_to_be32 144 arch/powerpc/crypto/sha1-spe-glue.c dst[0] = cpu_to_be32(sctx->state[0]); cpu_to_be32 145 arch/powerpc/crypto/sha1-spe-glue.c dst[1] = cpu_to_be32(sctx->state[1]); cpu_to_be32 146 arch/powerpc/crypto/sha1-spe-glue.c dst[2] = cpu_to_be32(sctx->state[2]); cpu_to_be32 147 arch/powerpc/crypto/sha1-spe-glue.c dst[3] = cpu_to_be32(sctx->state[3]); cpu_to_be32 148 arch/powerpc/crypto/sha1-spe-glue.c dst[4] = cpu_to_be32(sctx->state[4]); cpu_to_be32 94 arch/powerpc/crypto/sha1.c dst[i] = cpu_to_be32(sctx->state[i]); cpu_to_be32 166 arch/powerpc/crypto/sha256-spe-glue.c dst[0] = cpu_to_be32(sctx->state[0]); cpu_to_be32 167 arch/powerpc/crypto/sha256-spe-glue.c dst[1] = cpu_to_be32(sctx->state[1]); cpu_to_be32 168 arch/powerpc/crypto/sha256-spe-glue.c dst[2] = cpu_to_be32(sctx->state[2]); cpu_to_be32 169 arch/powerpc/crypto/sha256-spe-glue.c dst[3] = cpu_to_be32(sctx->state[3]); cpu_to_be32 170 arch/powerpc/crypto/sha256-spe-glue.c dst[4] = cpu_to_be32(sctx->state[4]); cpu_to_be32 171 arch/powerpc/crypto/sha256-spe-glue.c dst[5] = cpu_to_be32(sctx->state[5]); cpu_to_be32 172 arch/powerpc/crypto/sha256-spe-glue.c dst[6] = cpu_to_be32(sctx->state[6]); cpu_to_be32 173 arch/powerpc/crypto/sha256-spe-glue.c dst[7] = cpu_to_be32(sctx->state[7]); cpu_to_be32 348 arch/powerpc/include/asm/epapr_hcalls.h p[0] = cpu_to_be32(r5); cpu_to_be32 349 arch/powerpc/include/asm/epapr_hcalls.h p[1] = cpu_to_be32(r6); cpu_to_be32 350 arch/powerpc/include/asm/epapr_hcalls.h p[2] = cpu_to_be32(r7); cpu_to_be32 351 arch/powerpc/include/asm/epapr_hcalls.h p[3] = cpu_to_be32(r8); cpu_to_be32 999 arch/powerpc/include/asm/kvm_ppc.h vcpu->arch.shared->sr[nr] = cpu_to_be32(val); cpu_to_be32 156 arch/powerpc/kernel/ima_kexec.c tmp = cpu_to_be32(value); cpu_to_be32 195 arch/powerpc/kernel/nvram_64.c info.error_type = cpu_to_be32(err_type); cpu_to_be32 196 arch/powerpc/kernel/nvram_64.c info.seq_num = cpu_to_be32(error_log_cnt); cpu_to_be32 106 arch/powerpc/kernel/paca.c .desc = cpu_to_be32(0xd397d781), /* "LpPa" */ cpu_to_be32 159 arch/powerpc/kernel/paca.c s->persistent = cpu_to_be32(SLB_NUM_BOLTED); cpu_to_be32 160 arch/powerpc/kernel/paca.c s->buffer_length = cpu_to_be32(sizeof(*s)); cpu_to_be32 367 arch/powerpc/kernel/prom_init.c args.service = cpu_to_be32(ADDR(service)); cpu_to_be32 368 arch/powerpc/kernel/prom_init.c args.nargs = cpu_to_be32(nargs); cpu_to_be32 369 arch/powerpc/kernel/prom_init.c args.nret = cpu_to_be32(nret); cpu_to_be32 373 arch/powerpc/kernel/prom_init.c args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); cpu_to_be32 392 arch/powerpc/kernel/prom_init.c args.service = cpu_to_be32(ADDR(service)); cpu_to_be32 393 arch/powerpc/kernel/prom_init.c args.nargs = cpu_to_be32(nargs); cpu_to_be32 394 arch/powerpc/kernel/prom_init.c args.nret = cpu_to_be32(nret); cpu_to_be32 398 arch/powerpc/kernel/prom_init.c args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); cpu_to_be32 937 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xfffe0000), /* POWER5/POWER5+ */ cpu_to_be32 938 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x003a0000), cpu_to_be32 941 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffff0000), /* POWER6 */ cpu_to_be32 942 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x003e0000), cpu_to_be32 945 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffff0000), /* POWER7 */ cpu_to_be32 946 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x003f0000), cpu_to_be32 949 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffff0000), /* POWER8E */ cpu_to_be32 950 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x004b0000), cpu_to_be32 953 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffff0000), /* POWER8NVL */ cpu_to_be32 954 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x004c0000), cpu_to_be32 957 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffff0000), /* POWER8 */ cpu_to_be32 958 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x004d0000), cpu_to_be32 961 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffff0000), /* POWER9 */ cpu_to_be32 962 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x004e0000), cpu_to_be32 965 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffffffff), /* all 3.00-compliant */ cpu_to_be32 966 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x0f000005), cpu_to_be32 969 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffffffff), /* all 2.07-compliant */ cpu_to_be32 970 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x0f000004), cpu_to_be32 973 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffffffff), /* all 2.06-compliant */ cpu_to_be32 974 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x0f000003), cpu_to_be32 977 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xffffffff), /* all 2.05-compliant */ cpu_to_be32 978 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x0f000002), cpu_to_be32 981 arch/powerpc/kernel/prom_init.c .mask = cpu_to_be32(0xfffffffe), /* all 2.04-compliant and earlier */ cpu_to_be32 982 arch/powerpc/kernel/prom_init.c .val = cpu_to_be32(0x0f000001), cpu_to_be32 1001 arch/powerpc/kernel/prom_init.c .real_base = cpu_to_be32(0xffffffff), cpu_to_be32 1002 arch/powerpc/kernel/prom_init.c .real_size = cpu_to_be32(0xffffffff), cpu_to_be32 1003 arch/powerpc/kernel/prom_init.c .virt_base = cpu_to_be32(0xffffffff), cpu_to_be32 1004 arch/powerpc/kernel/prom_init.c .virt_size = cpu_to_be32(0xffffffff), cpu_to_be32 1005 arch/powerpc/kernel/prom_init.c .load_base = cpu_to_be32(0xffffffff), cpu_to_be32 1006 arch/powerpc/kernel/prom_init.c .min_rma = cpu_to_be32(512), /* 512MB min RMA */ cpu_to_be32 1007 arch/powerpc/kernel/prom_init.c .min_load = cpu_to_be32(0xffffffff), /* full client load */ cpu_to_be32 1049 arch/powerpc/kernel/prom_init.c .max_cpus = cpu_to_be32(NR_CPUS), /* number of cores supported */ cpu_to_be32 1362 arch/powerpc/kernel/prom_init.c ibm_architecture_vec.vec5.max_cpus = cpu_to_be32(cores); cpu_to_be32 1606 arch/powerpc/kernel/prom_init.c val = cpu_to_be32(2); cpu_to_be32 1609 arch/powerpc/kernel/prom_init.c val = cpu_to_be32(1); cpu_to_be32 1763 arch/powerpc/kernel/prom_init.c os_term_args.token = cpu_to_be32(token); cpu_to_be32 1764 arch/powerpc/kernel/prom_init.c os_term_args.nargs = cpu_to_be32(1); cpu_to_be32 1765 arch/powerpc/kernel/prom_init.c os_term_args.nret = cpu_to_be32(1); cpu_to_be32 1766 arch/powerpc/kernel/prom_init.c os_term_args.args[0] = cpu_to_be32(__pa(str)); cpu_to_be32 1818 arch/powerpc/kernel/prom_init.c val = cpu_to_be32(base); cpu_to_be32 1821 arch/powerpc/kernel/prom_init.c val = cpu_to_be32(entry); cpu_to_be32 2119 arch/powerpc/kernel/prom_init.c reg = cpu_to_be32(-1); /* make sparse happy */ cpu_to_be32 2232 arch/powerpc/kernel/prom_init.c val = cpu_to_be32(stdout_node); cpu_to_be32 2444 arch/powerpc/kernel/prom_init.c *(__be32 *)room = cpu_to_be32(token); \ cpu_to_be32 2615 arch/powerpc/kernel/prom_init.c *(__be32 *)valp = cpu_to_be32(node); cpu_to_be32 2688 arch/powerpc/kernel/prom_init.c hdr->boot_cpuid_phys = cpu_to_be32(prom.cpu); cpu_to_be32 2689 arch/powerpc/kernel/prom_init.c hdr->magic = cpu_to_be32(OF_DT_HEADER); cpu_to_be32 2690 arch/powerpc/kernel/prom_init.c hdr->totalsize = cpu_to_be32(dt_struct_end - dt_header_start); cpu_to_be32 2691 arch/powerpc/kernel/prom_init.c hdr->off_dt_struct = cpu_to_be32(dt_struct_start - dt_header_start); cpu_to_be32 2692 arch/powerpc/kernel/prom_init.c hdr->off_dt_strings = cpu_to_be32(dt_string_start - dt_header_start); cpu_to_be32 2693 arch/powerpc/kernel/prom_init.c hdr->dt_strings_size = cpu_to_be32(dt_string_end - dt_string_start); cpu_to_be32 2694 arch/powerpc/kernel/prom_init.c hdr->off_mem_rsvmap = cpu_to_be32(((unsigned long)rsvmap) - dt_header_start); cpu_to_be32 2695 arch/powerpc/kernel/prom_init.c hdr->version = cpu_to_be32(OF_DT_VERSION); cpu_to_be32 2697 arch/powerpc/kernel/prom_init.c hdr->last_comp_version = cpu_to_be32(0x10); cpu_to_be32 376 arch/powerpc/kernel/rtas.c err_args.token = cpu_to_be32(rtas_last_error_token); cpu_to_be32 377 arch/powerpc/kernel/rtas.c err_args.nargs = cpu_to_be32(2); cpu_to_be32 378 arch/powerpc/kernel/rtas.c err_args.nret = cpu_to_be32(1); cpu_to_be32 379 arch/powerpc/kernel/rtas.c err_args.args[0] = cpu_to_be32(__pa(rtas_err_buf)); cpu_to_be32 380 arch/powerpc/kernel/rtas.c err_args.args[1] = cpu_to_be32(bufsz); cpu_to_be32 421 arch/powerpc/kernel/rtas.c args->token = cpu_to_be32(token); cpu_to_be32 422 arch/powerpc/kernel/rtas.c args->nargs = cpu_to_be32(nargs); cpu_to_be32 423 arch/powerpc/kernel/rtas.c args->nret = cpu_to_be32(nret); cpu_to_be32 427 arch/powerpc/kernel/rtas.c args->args[i] = cpu_to_be32(va_arg(list, __u32)); cpu_to_be32 1110 arch/powerpc/kernel/rtas.c args.rets[0] = cpu_to_be32(RTAS_NOT_SUSPENDABLE); cpu_to_be32 1112 arch/powerpc/kernel/rtas.c args.rets[0] = cpu_to_be32(-1); cpu_to_be32 476 arch/powerpc/kernel/setup-common.c cpu_be = cpu_to_be32(cpu); cpu_to_be32 990 arch/powerpc/kvm/book3s.c *(__be32 *)&buf = cpu_to_be32(val); cpu_to_be32 455 arch/powerpc/kvm/book3s_hv.c vpa->yield_count = cpu_to_be32(1); cpu_to_be32 724 arch/powerpc/kvm/book3s_hv.c dt->enqueue_to_dispatch_time = cpu_to_be32(stolen); cpu_to_be32 3551 arch/powerpc/kvm/book3s_hv.c lp->yield_count = cpu_to_be32(yield_count); cpu_to_be32 3682 arch/powerpc/kvm/book3s_hv.c lp->yield_count = cpu_to_be32(yield_count); cpu_to_be32 473 arch/powerpc/kvm/book3s_hv_builtin.c xirr = cpu_to_be32(retbuf[0]); cpu_to_be32 646 arch/powerpc/kvm/book3s_pr.c page[i] &= cpu_to_be32(0xfffffff7); cpu_to_be32 40 arch/powerpc/kvm/book3s_rtas.c args->rets[0] = cpu_to_be32(rc); cpu_to_be32 65 arch/powerpc/kvm/book3s_rtas.c args->rets[1] = cpu_to_be32(server); cpu_to_be32 66 arch/powerpc/kvm/book3s_rtas.c args->rets[2] = cpu_to_be32(priority); cpu_to_be32 68 arch/powerpc/kvm/book3s_rtas.c args->rets[0] = cpu_to_be32(rc); cpu_to_be32 90 arch/powerpc/kvm/book3s_rtas.c args->rets[0] = cpu_to_be32(rc); cpu_to_be32 112 arch/powerpc/kvm/book3s_rtas.c args->rets[0] = cpu_to_be32(rc); cpu_to_be32 1267 arch/powerpc/kvm/book3s_xive.c vcpu->arch.xive_cam_word = cpu_to_be32(xc->vp_cam | TM_QW1W2_VO); cpu_to_be32 186 arch/powerpc/kvm/book3s_xive_native.c vcpu->arch.xive_cam_word = cpu_to_be32(xc->vp_cam | TM_QW1W2_VO); cpu_to_be32 419 arch/powerpc/kvm/book3s_xive_template.c qpage[idx] = cpu_to_be32((entry & 0x80000000) | XICS_DUMMY); cpu_to_be32 2090 arch/powerpc/kvm/powerpc.c pvinfo->hcall[0] = cpu_to_be32(inst_sc1); cpu_to_be32 2091 arch/powerpc/kvm/powerpc.c pvinfo->hcall[1] = cpu_to_be32(inst_nop); cpu_to_be32 2092 arch/powerpc/kvm/powerpc.c pvinfo->hcall[2] = cpu_to_be32(inst_nop); cpu_to_be32 2093 arch/powerpc/kvm/powerpc.c pvinfo->hcall[3] = cpu_to_be32(inst_nop); cpu_to_be32 2109 arch/powerpc/kvm/powerpc.c pvinfo->hcall[0] = cpu_to_be32(inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask)); cpu_to_be32 2110 arch/powerpc/kvm/powerpc.c pvinfo->hcall[1] = cpu_to_be32(inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask)); cpu_to_be32 2111 arch/powerpc/kvm/powerpc.c pvinfo->hcall[2] = cpu_to_be32(inst_sc); cpu_to_be32 2112 arch/powerpc/kvm/powerpc.c pvinfo->hcall[3] = cpu_to_be32(inst_nop); cpu_to_be32 74 arch/powerpc/mm/drmem.c *p++ = cpu_to_be32(drmem_info->n_lmbs); cpu_to_be32 80 arch/powerpc/mm/drmem.c dr_cell->drc_index = cpu_to_be32(lmb->drc_index); cpu_to_be32 81 arch/powerpc/mm/drmem.c dr_cell->aa_index = cpu_to_be32(lmb->aa_index); cpu_to_be32 82 arch/powerpc/mm/drmem.c dr_cell->flags = cpu_to_be32(drmem_lmb_flags(lmb)); cpu_to_be32 95 arch/powerpc/mm/drmem.c dr_cell->drc_index = cpu_to_be32(lmb->drc_index); cpu_to_be32 96 arch/powerpc/mm/drmem.c dr_cell->aa_index = cpu_to_be32(lmb->aa_index); cpu_to_be32 97 arch/powerpc/mm/drmem.c dr_cell->flags = cpu_to_be32(drmem_lmb_flags(lmb)); cpu_to_be32 132 arch/powerpc/mm/drmem.c *p++ = cpu_to_be32(lmb_sets); cpu_to_be32 151 arch/powerpc/mm/drmem.c dr_cell->seq_lmbs = cpu_to_be32(seq_lmbs); cpu_to_be32 164 arch/powerpc/mm/drmem.c dr_cell->seq_lmbs = cpu_to_be32(seq_lmbs); cpu_to_be32 341 arch/powerpc/mm/fault.c get_lppaca()->page_ins = cpu_to_be32(page_ins); cpu_to_be32 1150 arch/powerpc/perf/hv-24x7.c req->data_offset = cpu_to_be32(event_get_offset(event)); cpu_to_be32 18 arch/powerpc/perf/hv-common.c .counter_request = cpu_to_be32( cpu_to_be32 20 arch/powerpc/perf/hv-common.c .starting_index = cpu_to_be32(-1), cpu_to_be32 149 arch/powerpc/perf/hv-gpci.c arg->params.counter_request = cpu_to_be32(req); cpu_to_be32 150 arch/powerpc/perf/hv-gpci.c arg->params.starting_index = cpu_to_be32(starting_index); cpu_to_be32 98 arch/powerpc/platforms/powernv/opal-core.c note->n_namesz = cpu_to_be32(namesz); cpu_to_be32 99 arch/powerpc/platforms/powernv/opal-core.c note->n_descsz = cpu_to_be32(data_len); cpu_to_be32 100 arch/powerpc/platforms/powernv/opal-core.c note->n_type = cpu_to_be32(type); cpu_to_be32 121 arch/powerpc/platforms/powernv/opal-core.c prstatus->pr_pid = cpu_to_be32(100 + pir); cpu_to_be32 122 arch/powerpc/platforms/powernv/opal-core.c prstatus->pr_ppid = cpu_to_be32(1); cpu_to_be32 364 arch/powerpc/platforms/powernv/opal-core.c elf->e_version = cpu_to_be32(EV_CURRENT); cpu_to_be32 379 arch/powerpc/platforms/powernv/opal-core.c phdr->p_type = cpu_to_be32(PT_NOTE); cpu_to_be32 393 arch/powerpc/platforms/powernv/opal-core.c phdr->p_type = cpu_to_be32(PT_LOAD); cpu_to_be32 394 arch/powerpc/platforms/powernv/opal-core.c phdr->p_flags = cpu_to_be32(PF_R|PF_W|PF_X); cpu_to_be32 218 arch/powerpc/platforms/powernv/opal-dump.c type = cpu_to_be32(0xffffffff); cpu_to_be32 134 arch/powerpc/platforms/powernv/opal-flash.c __be32 size = cpu_to_be32(validate_flash_data.buf_size); cpu_to_be32 321 arch/powerpc/platforms/powernv/opal-lpc.c data = cpu_to_be32(data); cpu_to_be32 477 arch/powerpc/platforms/pseries/dlpar.c hp_elog->_drc_u.ic.count = cpu_to_be32(count); cpu_to_be32 478 arch/powerpc/platforms/pseries/dlpar.c hp_elog->_drc_u.ic.index = cpu_to_be32(index); cpu_to_be32 492 arch/powerpc/platforms/pseries/dlpar.c hp_elog->_drc_u.drc_index = cpu_to_be32(index); cpu_to_be32 506 arch/powerpc/platforms/pseries/dlpar.c hp_elog->_drc_u.drc_count = cpu_to_be32(count); cpu_to_be32 131 arch/powerpc/platforms/pseries/dtl.c ((u32 *)dtl->buf)[1] = cpu_to_be32(DISPATCH_LOG_BYTES); cpu_to_be32 464 arch/powerpc/platforms/pseries/hotplug-cpu.c dn = dlpar_configure_connector(cpu_to_be32(drc_index), parent); cpu_to_be32 139 arch/powerpc/platforms/pseries/hotplug-memory.c assoc_arrays[0] = cpu_to_be32(aa_arrays + 1); cpu_to_be32 168 arch/powerpc/platforms/pseries/hotplug-memory.c lmb_node = dlpar_configure_connector(cpu_to_be32(lmb->drc_index), cpu_to_be32 1087 arch/powerpc/platforms/pseries/iommu.c ddwprop->liobn = cpu_to_be32(create.liobn); cpu_to_be32 1090 arch/powerpc/platforms/pseries/iommu.c ddwprop->tce_shift = cpu_to_be32(page_shift); cpu_to_be32 1091 arch/powerpc/platforms/pseries/iommu.c ddwprop->window_shift = cpu_to_be32(len); cpu_to_be32 128 arch/powerpc/platforms/pseries/lpar.c dtl->enqueue_to_dispatch_time = cpu_to_be32(DISPATCH_LOG_BYTES); cpu_to_be32 224 arch/powerpc/platforms/pseries/papr_scm.c data_be = cpu_to_be32(data); cpu_to_be32 45 arch/powerpc/platforms/pseries/pmem.c dn = dlpar_configure_connector(cpu_to_be32(drc_index), pmem_node); cpu_to_be32 70 arch/powerpc/platforms/pseries/rtas-fadump.c fdm.header.dump_format_version = cpu_to_be32(0x00000001); cpu_to_be32 74 arch/powerpc/platforms/pseries/rtas-fadump.c cpu_to_be32((u32)offsetof(struct rtas_fadump_mem_struct, cpu_to_be32 92 arch/powerpc/platforms/pseries/rtas-fadump.c cpu_to_be32(RTAS_FADUMP_REQUEST_FLAG); cpu_to_be32 102 arch/powerpc/platforms/pseries/rtas-fadump.c fdm.hpte_region.request_flag = cpu_to_be32(RTAS_FADUMP_REQUEST_FLAG); cpu_to_be32 112 arch/powerpc/platforms/pseries/rtas-fadump.c fdm.rmr_region.request_flag = cpu_to_be32(RTAS_FADUMP_REQUEST_FLAG); cpu_to_be32 50 arch/powerpc/platforms/pseries/vphn.c cpu_to_be32(last << 16 | new); cpu_to_be32 58 arch/powerpc/platforms/pseries/vphn.c cpu_to_be32(new & VPHN_FIELD_MASK); cpu_to_be32 70 arch/powerpc/platforms/pseries/vphn.c unpacked[0] = cpu_to_be32(nr_assoc_doms); cpu_to_be32 173 arch/s390/crypto/crc32-vx.c *(__be32 *)out = cpu_to_be32(crc32_be_vx(*crc, data, len)); cpu_to_be32 67 arch/sh/kernel/iomap.c __raw_writel(cpu_to_be32(val), addr); cpu_to_be32 104 arch/sparc/crypto/sha1_glue.c dst[i] = cpu_to_be32(sctx->state[i]); cpu_to_be32 124 arch/sparc/crypto/sha256_glue.c dst[i] = cpu_to_be32(sctx->state[i]); cpu_to_be32 49 arch/sparc/kernel/leon_pci_grpci1.c #define REGSTORE(a, v) (__raw_writel(cpu_to_be32(v), &(a))) cpu_to_be32 93 arch/sparc/kernel/leon_pci_grpci2.c #define REGSTORE(a, v) (__raw_writel(cpu_to_be32(v), &(a))) cpu_to_be32 73 arch/um/drivers/vector_transports.c *(uint32_t *) header = cpu_to_be32(L2TPV3_DATA_PACKET); cpu_to_be32 90 arch/um/drivers/vector_transports.c *counter = cpu_to_be32(td->counter); cpu_to_be32 109 arch/um/drivers/vector_transports.c *sequence = cpu_to_be32(++td->sequence); cpu_to_be32 274 arch/um/drivers/vector_transports.c td->rx_key = cpu_to_be32(temp_rx); cpu_to_be32 275 arch/um/drivers/vector_transports.c td->tx_key = cpu_to_be32(temp_tx); cpu_to_be32 336 arch/um/drivers/vector_transports.c td->tx_session = cpu_to_be32(temp_txs); cpu_to_be32 337 arch/um/drivers/vector_transports.c td->rx_session = cpu_to_be32(temp_rxs); cpu_to_be32 360 arch/um/drivers/vector_transports.c td->rx_cookie = cpu_to_be32(temp_rx); cpu_to_be32 361 arch/um/drivers/vector_transports.c td->tx_cookie = cpu_to_be32(temp_tx); cpu_to_be32 858 arch/x86/crypto/aesni-intel_glue.c __be32 counter = cpu_to_be32(1); cpu_to_be32 879 arch/x86/crypto/aesni-intel_glue.c __be32 counter = cpu_to_be32(1); cpu_to_be32 1014 arch/x86/crypto/aesni-intel_glue.c __be32 counter = cpu_to_be32(1); cpu_to_be32 1025 arch/x86/crypto/aesni-intel_glue.c __be32 counter = cpu_to_be32(1); cpu_to_be32 583 arch/x86/kernel/pci-calgary_64.c writel(cpu_to_be32(val), target); cpu_to_be32 635 arch/x86/kernel/pci-calgary_64.c writel(cpu_to_be32(val), target); cpu_to_be32 896 arch/x86/kernel/pci-calgary_64.c writel(cpu_to_be32(val32), target); cpu_to_be32 947 arch/x86/kernel/pci-calgary_64.c val = cpu_to_be32(readl(target)); cpu_to_be32 949 arch/x86/kernel/pci-calgary_64.c writel(cpu_to_be32(val), target); cpu_to_be32 988 arch/x86/kernel/pci-calgary_64.c writel(cpu_to_be32(val32), target); cpu_to_be32 1013 arch/x86/kernel/pci-calgary_64.c writel(cpu_to_be32(val32), target); cpu_to_be32 51 block/partitions/amiga.c if (*(__be32 *)data != cpu_to_be32(IDNAME_RIGIDDISK)) cpu_to_be32 96 block/partitions/amiga.c if (pb->pb_ID != cpu_to_be32(IDNAME_PARTITION)) cpu_to_be32 710 block/sed-opal.c hdr->pkt.tsn = cpu_to_be32(tsn); cpu_to_be32 711 block/sed-opal.c hdr->pkt.hsn = cpu_to_be32(hsn); cpu_to_be32 713 block/sed-opal.c hdr->subpkt.length = cpu_to_be32(cmd->pos - sizeof(*hdr)); cpu_to_be32 721 block/sed-opal.c hdr->pkt.length = cpu_to_be32(cmd->pos - sizeof(hdr->cp) - cpu_to_be32 723 block/sed-opal.c hdr->cp.length = cpu_to_be32(cmd->pos - sizeof(hdr->cp)); cpu_to_be32 41 block/t10-pi.c pi->ref_tag = cpu_to_be32(lower_32_bits(iter->seed)); cpu_to_be32 158 block/t10-pi.c pi->ref_tag = cpu_to_be32(ref_tag); cpu_to_be32 206 block/t10-pi.c pi->ref_tag = cpu_to_be32(virt); cpu_to_be32 968 crypto/algapi.c *b = cpu_to_be32(c); cpu_to_be32 659 crypto/anubis.c dst[i] = cpu_to_be32(inter[i]); cpu_to_be32 66 crypto/blowfish_generic.c out_blk[0] = cpu_to_be32(yr); cpu_to_be32 67 crypto/blowfish_generic.c out_blk[1] = cpu_to_be32(yl); cpu_to_be32 100 crypto/blowfish_generic.c out_blk[0] = cpu_to_be32(yr); cpu_to_be32 101 crypto/blowfish_generic.c out_blk[1] = cpu_to_be32(yl); cpu_to_be32 1019 crypto/camellia_generic.c dst[0] = cpu_to_be32(tmp[2]); cpu_to_be32 1020 crypto/camellia_generic.c dst[1] = cpu_to_be32(tmp[3]); cpu_to_be32 1021 crypto/camellia_generic.c dst[2] = cpu_to_be32(tmp[0]); cpu_to_be32 1022 crypto/camellia_generic.c dst[3] = cpu_to_be32(tmp[1]); cpu_to_be32 1047 crypto/camellia_generic.c dst[0] = cpu_to_be32(tmp[2]); cpu_to_be32 1048 crypto/camellia_generic.c dst[1] = cpu_to_be32(tmp[3]); cpu_to_be32 1049 crypto/camellia_generic.c dst[2] = cpu_to_be32(tmp[0]); cpu_to_be32 1050 crypto/camellia_generic.c dst[3] = cpu_to_be32(tmp[1]); cpu_to_be32 350 crypto/cast5_generic.c dst[0] = cpu_to_be32(r); cpu_to_be32 351 crypto/cast5_generic.c dst[1] = cpu_to_be32(l); cpu_to_be32 394 crypto/cast5_generic.c dst[0] = cpu_to_be32(r); cpu_to_be32 395 crypto/cast5_generic.c dst[1] = cpu_to_be32(l); cpu_to_be32 202 crypto/cast6_generic.c dst[0] = cpu_to_be32(block[0]); cpu_to_be32 203 crypto/cast6_generic.c dst[1] = cpu_to_be32(block[1]); cpu_to_be32 204 crypto/cast6_generic.c dst[2] = cpu_to_be32(block[2]); cpu_to_be32 205 crypto/cast6_generic.c dst[3] = cpu_to_be32(block[3]); cpu_to_be32 240 crypto/cast6_generic.c dst[0] = cpu_to_be32(block[0]); cpu_to_be32 241 crypto/cast6_generic.c dst[1] = cpu_to_be32(block[1]); cpu_to_be32 242 crypto/cast6_generic.c dst[2] = cpu_to_be32(block[2]); cpu_to_be32 243 crypto/cast6_generic.c dst[3] = cpu_to_be32(block[3]); cpu_to_be32 82 crypto/ccm.c data = cpu_to_be32(msglen); cpu_to_be32 169 crypto/ccm.c *(__be32 *)&adata[2] = cpu_to_be32(a); cpu_to_be32 212 crypto/ctr.c cpu_to_be32(1); cpu_to_be32 289 crypto/drbg.c conversion->conv = cpu_to_be32(val); cpu_to_be32 76 crypto/fcrypt.c #define Z(x) cpu_to_be32(x << 3) cpu_to_be32 113 crypto/fcrypt.c #define Z(x) cpu_to_be32(((x & 0x1f) << 27) | (x >> 5)) cpu_to_be32 150 crypto/fcrypt.c #define Z(x) cpu_to_be32(x << 11) cpu_to_be32 187 crypto/fcrypt.c #define Z(x) cpu_to_be32(x << 19) cpu_to_be32 331 crypto/fcrypt.c ctx->sched[0x0] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 332 crypto/fcrypt.c ctx->sched[0x1] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 333 crypto/fcrypt.c ctx->sched[0x2] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 334 crypto/fcrypt.c ctx->sched[0x3] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 335 crypto/fcrypt.c ctx->sched[0x4] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 336 crypto/fcrypt.c ctx->sched[0x5] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 337 crypto/fcrypt.c ctx->sched[0x6] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 338 crypto/fcrypt.c ctx->sched[0x7] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 339 crypto/fcrypt.c ctx->sched[0x8] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 340 crypto/fcrypt.c ctx->sched[0x9] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 341 crypto/fcrypt.c ctx->sched[0xa] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 342 crypto/fcrypt.c ctx->sched[0xb] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 343 crypto/fcrypt.c ctx->sched[0xc] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 344 crypto/fcrypt.c ctx->sched[0xd] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 345 crypto/fcrypt.c ctx->sched[0xe] = cpu_to_be32(k); ror56_64(k, 11); cpu_to_be32 346 crypto/fcrypt.c ctx->sched[0xf] = cpu_to_be32(k); cpu_to_be32 372 crypto/fcrypt.c ctx->sched[0x0] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 373 crypto/fcrypt.c ctx->sched[0x1] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 374 crypto/fcrypt.c ctx->sched[0x2] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 375 crypto/fcrypt.c ctx->sched[0x3] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 376 crypto/fcrypt.c ctx->sched[0x4] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 377 crypto/fcrypt.c ctx->sched[0x5] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 378 crypto/fcrypt.c ctx->sched[0x6] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 379 crypto/fcrypt.c ctx->sched[0x7] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 380 crypto/fcrypt.c ctx->sched[0x8] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 381 crypto/fcrypt.c ctx->sched[0x9] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 382 crypto/fcrypt.c ctx->sched[0xa] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 383 crypto/fcrypt.c ctx->sched[0xb] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 384 crypto/fcrypt.c ctx->sched[0xc] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 385 crypto/fcrypt.c ctx->sched[0xd] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 386 crypto/fcrypt.c ctx->sched[0xe] = cpu_to_be32(lo); ror56(hi, lo, 11); cpu_to_be32 387 crypto/fcrypt.c ctx->sched[0xf] = cpu_to_be32(lo); cpu_to_be32 161 crypto/gcm.c __be32 counter = cpu_to_be32(1); cpu_to_be32 187 crypto/lrw.c iv[0] = cpu_to_be32(counter[3]); cpu_to_be32 188 crypto/lrw.c iv[1] = cpu_to_be32(counter[2]); cpu_to_be32 189 crypto/lrw.c iv[2] = cpu_to_be32(counter[1]); cpu_to_be32 190 crypto/lrw.c iv[3] = cpu_to_be32(counter[0]); cpu_to_be32 394 crypto/seed.c dst[0] = cpu_to_be32(x3); cpu_to_be32 395 crypto/seed.c dst[1] = cpu_to_be32(x4); cpu_to_be32 396 crypto/seed.c dst[2] = cpu_to_be32(x1); cpu_to_be32 397 crypto/seed.c dst[3] = cpu_to_be32(x2); cpu_to_be32 432 crypto/seed.c dst[0] = cpu_to_be32(x3); cpu_to_be32 433 crypto/seed.c dst[1] = cpu_to_be32(x4); cpu_to_be32 434 crypto/seed.c dst[2] = cpu_to_be32(x1); cpu_to_be32 435 crypto/seed.c dst[3] = cpu_to_be32(x2); cpu_to_be32 316 drivers/atm/ambassador.c __be32 be = cpu_to_be32 (data); cpu_to_be32 586 drivers/atm/ambassador.c while (ptrs->out->request != cpu_to_be32 (SRB_COMPLETE)) { cpu_to_be32 743 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_FLUSH_BUFFER_Q); cpu_to_be32 744 drivers/atm/ambassador.c cmd.args.flush.flags = cpu_to_be32 (pool << SRB_POOL_SHIFT); cpu_to_be32 792 drivers/atm/ambassador.c rx.host_address = cpu_to_be32 (virt_to_bus (skb->data)); cpu_to_be32 1145 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_MODIFY_VC_RATE); cpu_to_be32 1146 drivers/atm/ambassador.c cmd.args.modify_rate.vc = cpu_to_be32 (vci); // vpi 0 cpu_to_be32 1147 drivers/atm/ambassador.c cmd.args.modify_rate.rate = cpu_to_be32 (tx_rate_bits << SRB_RATE_SHIFT); cpu_to_be32 1151 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_MODIFY_VC_FLAGS); cpu_to_be32 1152 drivers/atm/ambassador.c cmd.args.modify_flags.vc = cpu_to_be32 (vci); // vpi 0 cpu_to_be32 1153 drivers/atm/ambassador.c cmd.args.modify_flags.flags = cpu_to_be32 cpu_to_be32 1160 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_OPEN_VC); cpu_to_be32 1161 drivers/atm/ambassador.c cmd.args.open.vc = cpu_to_be32 (vci); // vpi 0 cpu_to_be32 1162 drivers/atm/ambassador.c cmd.args.open.flags = cpu_to_be32 (tx_vc_bits << SRB_FLAGS_SHIFT); cpu_to_be32 1163 drivers/atm/ambassador.c cmd.args.open.rate = cpu_to_be32 (tx_rate_bits << SRB_RATE_SHIFT); cpu_to_be32 1186 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_MODIFY_VC_FLAGS); cpu_to_be32 1187 drivers/atm/ambassador.c cmd.args.modify_flags.vc = cpu_to_be32 (vci); // vpi 0 cpu_to_be32 1188 drivers/atm/ambassador.c cmd.args.modify_flags.flags = cpu_to_be32 cpu_to_be32 1193 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_OPEN_VC); cpu_to_be32 1194 drivers/atm/ambassador.c cmd.args.open.vc = cpu_to_be32 (vci); // vpi 0 cpu_to_be32 1195 drivers/atm/ambassador.c cmd.args.open.flags = cpu_to_be32 (pool << SRB_POOL_SHIFT); cpu_to_be32 1196 drivers/atm/ambassador.c cmd.args.open.rate = cpu_to_be32 (0); cpu_to_be32 1230 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_MODIFY_VC_RATE); cpu_to_be32 1231 drivers/atm/ambassador.c cmd.args.modify_rate.vc = cpu_to_be32 (vci); // vpi 0 cpu_to_be32 1232 drivers/atm/ambassador.c cmd.args.modify_rate.rate = cpu_to_be32 (0); cpu_to_be32 1236 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_CLOSE_VC); cpu_to_be32 1237 drivers/atm/ambassador.c cmd.args.close.vc = cpu_to_be32 (vci); // vpi 0 cpu_to_be32 1255 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_MODIFY_VC_FLAGS); cpu_to_be32 1256 drivers/atm/ambassador.c cmd.args.modify_flags.vc = cpu_to_be32 (vci); // vpi 0 cpu_to_be32 1257 drivers/atm/ambassador.c cmd.args.modify_flags.flags = cpu_to_be32 cpu_to_be32 1261 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_CLOSE_VC); cpu_to_be32 1262 drivers/atm/ambassador.c cmd.args.close.vc = cpu_to_be32 (vci); // vpi 0 cpu_to_be32 1344 drivers/atm/ambassador.c tx_descr->tx_frag.bytes = cpu_to_be32 (tx_len); cpu_to_be32 1345 drivers/atm/ambassador.c tx_descr->tx_frag.address = cpu_to_be32 (virt_to_bus (tx_data)); cpu_to_be32 1359 drivers/atm/ambassador.c tx.tx_descr_addr = cpu_to_be32 (virt_to_bus (&tx_descr->tx_frag)); cpu_to_be32 1388 drivers/atm/ambassador.c rx.host_address = cpu_to_be32 (virt_to_bus (skb->data)); cpu_to_be32 1743 drivers/atm/ambassador.c lb->command = cpu_to_be32 (cmd); cpu_to_be32 1744 drivers/atm/ambassador.c lb->valid = cpu_to_be32 (DMA_VALID); cpu_to_be32 1751 drivers/atm/ambassador.c while (!lb->result || lb->result == cpu_to_be32 (COMMAND_IN_PROGRESS)) cpu_to_be32 1807 drivers/atm/ambassador.c tb->count = cpu_to_be32(be16_to_cpu(rec->len) / 4); cpu_to_be32 1823 drivers/atm/ambassador.c tb->count = cpu_to_be32(be16_to_cpu(rec->len) / 4); cpu_to_be32 1836 drivers/atm/ambassador.c lb->payload.start = cpu_to_be32 (address); cpu_to_be32 1968 drivers/atm/ambassador.c return cpu_to_be32 (virt_to_bus (addr)); cpu_to_be32 1992 drivers/atm/ambassador.c a.rec_struct[pool].buffer_size = cpu_to_be32 (dev->rxq[pool].buffer_size); cpu_to_be32 2024 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_GET_VERSION); cpu_to_be32 2041 drivers/atm/ambassador.c cmd.request = cpu_to_be32 (SRB_GET_BIA); cpu_to_be32 1173 drivers/atm/horizon.c wr_regl (dev, TX_DESCRIPTOR_PORT_OFF, cpu_to_be32 (dev->tx_skb->len)); cpu_to_be32 1177 drivers/atm/horizon.c wr_regl (dev, TX_DESCRIPTOR_REG_OFF, cpu_to_be32 (dev->tx_skb->len)); cpu_to_be32 2278 drivers/atm/iphase.c mac1 = cpu_to_be32(le32_to_cpu(readl( cpu_to_be32 1192 drivers/atm/lanai.c lvcc->tx.buf.ptr[-2] = cpu_to_be32((uu << 24) | (cpi << 16) | len); cpu_to_be32 285 drivers/base/regmap/regmap.c b[0] = cpu_to_be32(val << shift); cpu_to_be32 176 drivers/bcma/main.c laddr[0] = cpu_to_be32(core->addr); cpu_to_be32 140 drivers/block/aoe/aoecmd.c h->tag = cpu_to_be32(host_tag); cpu_to_be32 483 drivers/block/aoe/aoecmd.c h->tag = cpu_to_be32(n); cpu_to_be32 326 drivers/block/drbd/drbd_actlog.c buffer->magic = cpu_to_be32(DRBD_AL_MAGIC); cpu_to_be32 327 drivers/block/drbd/drbd_actlog.c buffer->tr_number = cpu_to_be32(device->al_tr_number); cpu_to_be32 344 drivers/block/drbd/drbd_actlog.c buffer->update_extent_nr[i] = cpu_to_be32(e->lc_new_number); cpu_to_be32 356 drivers/block/drbd/drbd_actlog.c buffer->update_extent_nr[i] = cpu_to_be32(LC_FREE); cpu_to_be32 367 drivers/block/drbd/drbd_actlog.c buffer->context[i] = cpu_to_be32(extent_nr); cpu_to_be32 370 drivers/block/drbd/drbd_actlog.c buffer->context[i] = cpu_to_be32(LC_FREE); cpu_to_be32 379 drivers/block/drbd/drbd_actlog.c buffer->crc32c = cpu_to_be32(crc); cpu_to_be32 575 drivers/block/drbd/drbd_main.c h->magic = cpu_to_be32(DRBD_MAGIC); cpu_to_be32 585 drivers/block/drbd/drbd_main.c h->length = cpu_to_be32(size); cpu_to_be32 592 drivers/block/drbd/drbd_main.c h->magic = cpu_to_be32(DRBD_MAGIC_100); cpu_to_be32 595 drivers/block/drbd/drbd_main.c h->length = cpu_to_be32(size); cpu_to_be32 749 drivers/block/drbd/drbd_main.c p->resync_rate = cpu_to_be32(dc->resync_rate); cpu_to_be32 750 drivers/block/drbd/drbd_main.c p->c_plan_ahead = cpu_to_be32(dc->c_plan_ahead); cpu_to_be32 751 drivers/block/drbd/drbd_main.c p->c_delay_target = cpu_to_be32(dc->c_delay_target); cpu_to_be32 752 drivers/block/drbd/drbd_main.c p->c_fill_target = cpu_to_be32(dc->c_fill_target); cpu_to_be32 753 drivers/block/drbd/drbd_main.c p->c_max_rate = cpu_to_be32(dc->c_max_rate); cpu_to_be32 756 drivers/block/drbd/drbd_main.c p->resync_rate = cpu_to_be32(DRBD_RESYNC_RATE_DEF); cpu_to_be32 757 drivers/block/drbd/drbd_main.c p->c_plan_ahead = cpu_to_be32(DRBD_C_PLAN_AHEAD_DEF); cpu_to_be32 758 drivers/block/drbd/drbd_main.c p->c_delay_target = cpu_to_be32(DRBD_C_DELAY_TARGET_DEF); cpu_to_be32 759 drivers/block/drbd/drbd_main.c p->c_fill_target = cpu_to_be32(DRBD_C_FILL_TARGET_DEF); cpu_to_be32 760 drivers/block/drbd/drbd_main.c p->c_max_rate = cpu_to_be32(DRBD_C_MAX_RATE_DEF); cpu_to_be32 797 drivers/block/drbd/drbd_main.c p->protocol = cpu_to_be32(nc->wire_protocol); cpu_to_be32 798 drivers/block/drbd/drbd_main.c p->after_sb_0p = cpu_to_be32(nc->after_sb_0p); cpu_to_be32 799 drivers/block/drbd/drbd_main.c p->after_sb_1p = cpu_to_be32(nc->after_sb_1p); cpu_to_be32 800 drivers/block/drbd/drbd_main.c p->after_sb_2p = cpu_to_be32(nc->after_sb_2p); cpu_to_be32 801 drivers/block/drbd/drbd_main.c p->two_primaries = cpu_to_be32(nc->two_primaries); cpu_to_be32 807 drivers/block/drbd/drbd_main.c p->conn_flags = cpu_to_be32(cf); cpu_to_be32 921 drivers/block/drbd/drbd_main.c p->qlim->physical_block_size = cpu_to_be32(queue_physical_block_size(q)); cpu_to_be32 922 drivers/block/drbd/drbd_main.c p->qlim->logical_block_size = cpu_to_be32(queue_logical_block_size(q)); cpu_to_be32 923 drivers/block/drbd/drbd_main.c p->qlim->alignment_offset = cpu_to_be32(queue_alignment_offset(q)); cpu_to_be32 924 drivers/block/drbd/drbd_main.c p->qlim->io_min = cpu_to_be32(queue_io_min(q)); cpu_to_be32 925 drivers/block/drbd/drbd_main.c p->qlim->io_opt = cpu_to_be32(queue_io_opt(q)); cpu_to_be32 930 drivers/block/drbd/drbd_main.c p->qlim->physical_block_size = cpu_to_be32(queue_physical_block_size(q)); cpu_to_be32 931 drivers/block/drbd/drbd_main.c p->qlim->logical_block_size = cpu_to_be32(queue_logical_block_size(q)); cpu_to_be32 933 drivers/block/drbd/drbd_main.c p->qlim->io_min = cpu_to_be32(queue_io_min(q)); cpu_to_be32 934 drivers/block/drbd/drbd_main.c p->qlim->io_opt = cpu_to_be32(queue_io_opt(q)); cpu_to_be32 987 drivers/block/drbd/drbd_main.c p->max_bio_size = cpu_to_be32(max_bio_size); cpu_to_be32 1007 drivers/block/drbd/drbd_main.c p->state = cpu_to_be32(peer_device->device->state.i); /* Within the send mutex */ cpu_to_be32 1030 drivers/block/drbd/drbd_main.c p->state = cpu_to_be32(state.i); /* Within the send mutex */ cpu_to_be32 1043 drivers/block/drbd/drbd_main.c p->mask = cpu_to_be32(mask.i); cpu_to_be32 1044 drivers/block/drbd/drbd_main.c p->val = cpu_to_be32(val.i); cpu_to_be32 1059 drivers/block/drbd/drbd_main.c p->mask = cpu_to_be32(mask.i); cpu_to_be32 1060 drivers/block/drbd/drbd_main.c p->val = cpu_to_be32(val.i); cpu_to_be32 1072 drivers/block/drbd/drbd_main.c p->retcode = cpu_to_be32(retcode); cpu_to_be32 1086 drivers/block/drbd/drbd_main.c p->retcode = cpu_to_be32(retcode); cpu_to_be32 1330 drivers/block/drbd/drbd_main.c p->set_size = cpu_to_be32(set_size); cpu_to_be32 1358 drivers/block/drbd/drbd_main.c p->seq_num = cpu_to_be32(atomic_inc_return(&peer_device->device->packet_seq)); cpu_to_be32 1370 drivers/block/drbd/drbd_main.c _drbd_send_ack(peer_device, cmd, dp->sector, cpu_to_be32(data_size), cpu_to_be32 1391 drivers/block/drbd/drbd_main.c cpu_to_be32(peer_req->i.size), cpu_to_be32 1402 drivers/block/drbd/drbd_main.c cpu_to_be32(blksize), cpu_to_be32 1417 drivers/block/drbd/drbd_main.c p->blksize = cpu_to_be32(peer_req->i.size); cpu_to_be32 1434 drivers/block/drbd/drbd_main.c p->blksize = cpu_to_be32(size); cpu_to_be32 1452 drivers/block/drbd/drbd_main.c p->blksize = cpu_to_be32(size); cpu_to_be32 1467 drivers/block/drbd/drbd_main.c p->blksize = cpu_to_be32(size); cpu_to_be32 1692 drivers/block/drbd/drbd_main.c p->seq_num = cpu_to_be32(atomic_inc_return(&device->packet_seq)); cpu_to_be32 1706 drivers/block/drbd/drbd_main.c p->dp_flags = cpu_to_be32(dp_flags); cpu_to_be32 1711 drivers/block/drbd/drbd_main.c t->size = cpu_to_be32(req->i.size); cpu_to_be32 1721 drivers/block/drbd/drbd_main.c wsame->size = cpu_to_be32(req->i.size); cpu_to_be32 1821 drivers/block/drbd/drbd_main.c p->blksize = cpu_to_be32(req->i.size); cpu_to_be32 3110 drivers/block/drbd/drbd_main.c buffer->flags = cpu_to_be32(device->ldev->md.flags); cpu_to_be32 3111 drivers/block/drbd/drbd_main.c buffer->magic = cpu_to_be32(DRBD_MD_MAGIC_84_UNCLEAN); cpu_to_be32 3113 drivers/block/drbd/drbd_main.c buffer->md_size_sect = cpu_to_be32(device->ldev->md.md_size_sect); cpu_to_be32 3114 drivers/block/drbd/drbd_main.c buffer->al_offset = cpu_to_be32(device->ldev->md.al_offset); cpu_to_be32 3115 drivers/block/drbd/drbd_main.c buffer->al_nr_extents = cpu_to_be32(device->act_log->nr_elements); cpu_to_be32 3116 drivers/block/drbd/drbd_main.c buffer->bm_bytes_per_bit = cpu_to_be32(BM_BLOCK_SIZE); cpu_to_be32 3119 drivers/block/drbd/drbd_main.c buffer->bm_offset = cpu_to_be32(device->ldev->md.bm_offset); cpu_to_be32 3120 drivers/block/drbd/drbd_main.c buffer->la_peer_max_bio_size = cpu_to_be32(device->peer_max_bio_size); cpu_to_be32 3122 drivers/block/drbd/drbd_main.c buffer->al_stripes = cpu_to_be32(device->ldev->md.al_stripes); cpu_to_be32 3123 drivers/block/drbd/drbd_main.c buffer->al_stripe_size_4k = cpu_to_be32(device->ldev->md.al_stripe_size_4k); cpu_to_be32 1158 drivers/block/drbd/drbd_receiver.c *(__be32 *)header == cpu_to_be32(DRBD_MAGIC_100)) { cpu_to_be32 1174 drivers/block/drbd/drbd_receiver.c *(__be32 *)header == cpu_to_be32(DRBD_MAGIC)) { cpu_to_be32 5315 drivers/block/drbd/drbd_receiver.c p->protocol_min = cpu_to_be32(PRO_VERSION_MIN); cpu_to_be32 5316 drivers/block/drbd/drbd_receiver.c p->protocol_max = cpu_to_be32(PRO_VERSION_MAX); cpu_to_be32 5317 drivers/block/drbd/drbd_receiver.c p->feature_flags = cpu_to_be32(PRO_FEATURES); cpu_to_be32 1722 drivers/block/pktcdvd.c wp->packet_size = cpu_to_be32(pd->settings.size >> 2); cpu_to_be32 51 drivers/block/rsxx/config.c hdr->version = (__force u32) cpu_to_be32(hdr->version); cpu_to_be32 52 drivers/block/rsxx/config.c hdr->crc = (__force u32) cpu_to_be32(hdr->crc); cpu_to_be32 573 drivers/block/skd_main.c scsi_req->hdr.sg_list_len_bytes = cpu_to_be32(skreq->sg_byte_count); cpu_to_be32 945 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); cpu_to_be32 954 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); cpu_to_be32 969 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); cpu_to_be32 981 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); cpu_to_be32 300 drivers/cdrom/gdrom.c return (cpu_to_be32(track & 0xffffff00) - GD_SESSION_OFFSET); cpu_to_be32 36 drivers/char/tpm/tpm-dev-common.c header->length = cpu_to_be32(sizeof(*header)); cpu_to_be32 38 drivers/char/tpm/tpm-dev-common.c header->return_code = cpu_to_be32(TPM2_RC_COMMAND_CODE | cpu_to_be32 297 drivers/char/tpm/tpm.h head->length = cpu_to_be32(sizeof(*head)); cpu_to_be32 298 drivers/char/tpm/tpm.h head->ordinal = cpu_to_be32(ordinal); cpu_to_be32 351 drivers/char/tpm/tpm.h head->length = cpu_to_be32(len + new_len); cpu_to_be32 368 drivers/char/tpm/tpm.h __be32 value2 = cpu_to_be32(value); cpu_to_be32 263 drivers/char/tpm/tpm2-cmd.c auth_area.handle = cpu_to_be32(TPM2_RS_PW); cpu_to_be32 232 drivers/char/tpm/tpm2-space.c *((__be32 *)handle) = cpu_to_be32(phandle); cpu_to_be32 401 drivers/char/tpm/tpm2-space.c *(__be32 *)&rsp[TPM_HEADER_SIZE] = cpu_to_be32(vhandle); cpu_to_be32 466 drivers/char/tpm/tpm2-space.c data->handles[j] = cpu_to_be32(vhandle); cpu_to_be32 471 drivers/char/tpm/tpm2-space.c data->handles[j] = cpu_to_be32(phandle); cpu_to_be32 478 drivers/char/tpm/tpm2-space.c header->length = cpu_to_be32(TPM_HEADER_SIZE + 9 + 4 * j); cpu_to_be32 479 drivers/char/tpm/tpm2-space.c data->count = cpu_to_be32(j); cpu_to_be32 1054 drivers/crypto/atmel-aes.c ctx->iv[3] = cpu_to_be32(ctr); cpu_to_be32 1547 drivers/crypto/atmel-aes.c ctx->j0[3] = cpu_to_be32(1); cpu_to_be32 1596 drivers/crypto/atmel-aes.c j0[3] = cpu_to_be32(be32_to_cpu(j0[3]) + 1); cpu_to_be32 785 drivers/crypto/bcm/spu.c spuh->sa.proto_flags = cpu_to_be32(protocol_bits); cpu_to_be32 786 drivers/crypto/bcm/spu.c spuh->sa.cipher_flags = cpu_to_be32(cipher_bits); cpu_to_be32 787 drivers/crypto/bcm/spu.c spuh->sa.ecf = cpu_to_be32(ecf_bits); cpu_to_be32 900 drivers/crypto/bcm/spu.c spuh->sa.proto_flags = cpu_to_be32(protocol_bits); cpu_to_be32 903 drivers/crypto/bcm/spu.c spuh->sa.cipher_flags = cpu_to_be32(cipher_bits); cpu_to_be32 904 drivers/crypto/bcm/spu.c spuh->sa.ecf = cpu_to_be32(ecf_bits); cpu_to_be32 996 drivers/crypto/bcm/spu.c spuh->sa.cipher_flags = cpu_to_be32(cipher_bits); cpu_to_be32 201 drivers/crypto/caam/qi.c opts.fqd.context_b = cpu_to_be32(qman_fq_fqid(rsp_fq)); cpu_to_be32 40 drivers/crypto/caam/sg_sw_qm.h qm_sg_ptr->cfg = cpu_to_be32(QM_SG_EXT | (len & QM_SG_LEN_MASK)); cpu_to_be32 48 drivers/crypto/caam/sg_sw_qm.h qm_sg_ptr->cfg = cpu_to_be32(QM_SG_EXT | QM_SG_FIN | cpu_to_be32 179 drivers/crypto/ccp/ccp-crypto-aes.c *(__be32 *)iv = cpu_to_be32(1); cpu_to_be32 22 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA1_H0), cpu_to_be32(SHA1_H1), cpu_to_be32 23 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA1_H2), cpu_to_be32(SHA1_H3), cpu_to_be32 24 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA1_H4), cpu_to_be32 28 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA224_H0), cpu_to_be32(SHA224_H1), cpu_to_be32 29 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA224_H2), cpu_to_be32(SHA224_H3), cpu_to_be32 30 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA224_H4), cpu_to_be32(SHA224_H5), cpu_to_be32 31 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA224_H6), cpu_to_be32(SHA224_H7), cpu_to_be32 35 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA256_H0), cpu_to_be32(SHA256_H1), cpu_to_be32 36 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA256_H2), cpu_to_be32(SHA256_H3), cpu_to_be32 37 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA256_H4), cpu_to_be32(SHA256_H5), cpu_to_be32 38 drivers/crypto/ccp/ccp-ops.c cpu_to_be32(SHA256_H6), cpu_to_be32(SHA256_H7), cpu_to_be32 1413 drivers/crypto/ccree/cc_aead.c data = cpu_to_be32(msglen); cpu_to_be32 1851 drivers/crypto/ccree/cc_aead.c __be32 counter = cpu_to_be32(2); cpu_to_be32 1863 drivers/crypto/ccree/cc_aead.c counter = cpu_to_be32(1); cpu_to_be32 1952 drivers/crypto/ccree/cc_aead.c CTR_RFC3686_IV_SIZE) = cpu_to_be32(1); cpu_to_be32 365 drivers/crypto/chelsio/chcr_algo.c cpu_to_be32(*((u32 *)buf + i)); cpu_to_be32 500 drivers/crypto/chelsio/chcr_algo.c walk->sgl->len0 = cpu_to_be32(size); cpu_to_be32 504 drivers/crypto/chelsio/chcr_algo.c walk->pair->len[walk->pair_idx] = cpu_to_be32(size); cpu_to_be32 537 drivers/crypto/chelsio/chcr_algo.c walk->sgl->len0 = cpu_to_be32(sgmin); cpu_to_be32 553 drivers/crypto/chelsio/chcr_algo.c walk->pair->len[walk->pair_idx] = cpu_to_be32(sgmin); cpu_to_be32 747 drivers/crypto/chelsio/chcr_algo.c chcr_req->sc_imm.len = cpu_to_be32(sizeof(struct cpl_tx_sec_pdu) + cpu_to_be32 999 drivers/crypto/chelsio/chcr_algo.c *b = cpu_to_be32(c); cpu_to_be32 1067 drivers/crypto/chelsio/chcr_algo.c CTR_RFC3686_IV_SIZE) = cpu_to_be32((reqctx->processed / cpu_to_be32 1258 drivers/crypto/chelsio/chcr_algo.c CTR_RFC3686_IV_SIZE) = cpu_to_be32(1); cpu_to_be32 2440 drivers/crypto/chelsio/chcr_algo.c CTR_RFC3686_IV_SIZE) = cpu_to_be32(1); cpu_to_be32 2737 drivers/crypto/chelsio/chcr_algo.c data = cpu_to_be32(msglen); cpu_to_be32 371 drivers/crypto/chelsio/chcr_algo.h dkey[i] = cpu_to_be32(chcr_sha1_init[i]); cpu_to_be32 375 drivers/crypto/chelsio/chcr_algo.h dkey[i] = cpu_to_be32(chcr_sha224_init[i]); cpu_to_be32 379 drivers/crypto/chelsio/chcr_algo.h dkey[i] = cpu_to_be32(chcr_sha256_init[i]); cpu_to_be32 422 drivers/crypto/chelsio/chcr_ipsec.c sc_imm->len = cpu_to_be32(skb->len); cpu_to_be32 583 drivers/crypto/chelsio/chcr_ipsec.c wr->req.sc_imm.len = cpu_to_be32(sizeof(struct cpl_tx_sec_pdu) + cpu_to_be32 943 drivers/crypto/chelsio/chtls/chtls_cm.c OPCODE_TID(rpl5) = cpu_to_be32(MK_OPCODE_TID(CPL_PASS_ACCEPT_RPL, cpu_to_be32 977 drivers/crypto/chelsio/chtls/chtls_cm.c rpl5->opt2 = cpu_to_be32(opt2); cpu_to_be32 978 drivers/crypto/chelsio/chtls/chtls_cm.c rpl5->iss = cpu_to_be32((prandom_u32() & ~7UL) - 1); cpu_to_be32 331 drivers/crypto/chelsio/chtls/chtls_hw.c cpu_to_be32(FW_WR_OP_V(FW_ULPTX_WR) | FW_WR_COMPL_F | cpu_to_be32 334 drivers/crypto/chelsio/chtls/chtls_hw.c cpu_to_be32(FW_WR_LEN16_V(DIV_ROUND_UP(len, 16) | cpu_to_be32 341 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->req.cmd = cpu_to_be32(ULPTX_CMD_V(ULP_TX_MEM_WRITE) | cpu_to_be32 344 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->req.len16 = cpu_to_be32((csk->tid << 8) | cpu_to_be32 346 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->req.dlen = cpu_to_be32(ULP_MEMIO_DATA_LEN_V(klen >> 5)); cpu_to_be32 347 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->req.lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(kaddr)); cpu_to_be32 350 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->sc_imm.cmd_more = cpu_to_be32(ULPTX_CMD_V(ULP_TX_SC_IMM)); cpu_to_be32 351 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->sc_imm.len = cpu_to_be32(klen); cpu_to_be32 179 drivers/crypto/chelsio/chtls/chtls_io.c flowc->mnemval[paramidx].val = cpu_to_be32(__v); \ cpu_to_be32 209 drivers/crypto/chelsio/chtls/chtls_io.c cpu_to_be32(FW_WR_OP_V(FW_FLOWC_WR) | cpu_to_be32 212 drivers/crypto/chelsio/chtls/chtls_io.c flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(flowclen16) | cpu_to_be32 434 drivers/crypto/chelsio/chtls/chtls_io.c req_cpl->seqno_numivs = cpu_to_be32(hws->scmd.seqno_numivs); cpu_to_be32 435 drivers/crypto/chelsio/chtls/chtls_io.c req_cpl->ivgen_hdrlen = cpu_to_be32(hws->scmd.ivgen_hdrlen); cpu_to_be32 1352 drivers/crypto/chelsio/chtls/chtls_io.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_RX_DATA_ACK, cpu_to_be32 1354 drivers/crypto/chelsio/chtls/chtls_io.c req->credit_dack = cpu_to_be32(RX_CREDITS_V(credits) | cpu_to_be32 81 drivers/crypto/inside-secure/safexcel_cipher.c cdesc->control_data.token[3] = cpu_to_be32(1); cpu_to_be32 90 drivers/crypto/inside-secure/safexcel_cipher.c cdesc->control_data.token[3] = cpu_to_be32(1); cpu_to_be32 2112 drivers/crypto/inside-secure/safexcel_cipher.c if (ctx->ipad[i] != cpu_to_be32(hashkey[i])) { cpu_to_be32 2120 drivers/crypto/inside-secure/safexcel_cipher.c ctx->ipad[i] = cpu_to_be32(hashkey[i]); cpu_to_be32 2212 drivers/crypto/inside-secure/safexcel_cipher.c cpu_to_be32(aes.key_enc[i]); cpu_to_be32 401 drivers/crypto/ixp4xx_crypto.c *(u32*)ctx->decrypt.npe_ctx &= cpu_to_be32(~CIPH_ENCR); cpu_to_be32 674 drivers/crypto/ixp4xx_crypto.c *(u32*)cinfo = cpu_to_be32(cfgword); cpu_to_be32 711 drivers/crypto/ixp4xx_crypto.c *(u32*)dir->npe_ctx |= cpu_to_be32(CIPH_ENCR); cpu_to_be32 762 drivers/crypto/ixp4xx_crypto.c *(u32*)cinfo = cpu_to_be32(cipher_cfg); cpu_to_be32 968 drivers/crypto/ixp4xx_crypto.c cpu_to_be32(1); cpu_to_be32 362 drivers/crypto/marvell/hash.c result[i] = cpu_to_be32(creq->state[i]); cpu_to_be32 259 drivers/crypto/mediatek/mtk-aes.c dst[i] = cpu_to_be32(src[i]); cpu_to_be32 613 drivers/crypto/mediatek/mtk-aes.c cctx->iv[3] = cpu_to_be32(ctr); cpu_to_be32 81 drivers/crypto/nx/nx-842-powernv.c dde->length = cpu_to_be32(byte_count); cpu_to_be32 101 drivers/crypto/nx/nx-842-powernv.c dde->length = cpu_to_be32(l); cpu_to_be32 486 drivers/crypto/nx/nx-842-powernv.c ret = icswx(cpu_to_be32(ccw), crb); cpu_to_be32 577 drivers/crypto/nx/nx-842-powernv.c crb->ccw = cpu_to_be32(ccw); cpu_to_be32 235 drivers/crypto/nx/nx-842.c g->compressed_length = cpu_to_be32(dlen); cpu_to_be32 236 drivers/crypto/nx/nx-842.c g->uncompressed_length = cpu_to_be32(slen); cpu_to_be32 463 drivers/crypto/nx/nx-842.c .compressed_length = cpu_to_be32(p.iremain), cpu_to_be32 464 drivers/crypto/nx/nx-842.c .uncompressed_length = cpu_to_be32(p.oremain), cpu_to_be32 116 drivers/crypto/nx/nx-aes-ccm.c data = cpu_to_be32(msglen); cpu_to_be32 307 drivers/crypto/omap-aes-gcm.c __be32 counter = cpu_to_be32(1); cpu_to_be32 200 drivers/crypto/qat/qat_common/qat_algs.c *hash_state_out = cpu_to_be32(ctx->sha1.state[i]); cpu_to_be32 206 drivers/crypto/qat/qat_common/qat_algs.c *hash_state_out = cpu_to_be32(ctx->sha256.state[i]); cpu_to_be32 236 drivers/crypto/qat/qat_common/qat_algs.c *hash_state_out = cpu_to_be32(ctx->sha1.state[i]); cpu_to_be32 242 drivers/crypto/qat/qat_common/qat_algs.c *hash_state_out = cpu_to_be32(ctx->sha256.state[i]); cpu_to_be32 319 drivers/crypto/qat/qat_common/qat_algs.c cpu_to_be32(crypto_shash_blocksize(ctx->hash_tfm)); cpu_to_be32 406 drivers/crypto/qat/qat_common/qat_algs.c cpu_to_be32(crypto_shash_blocksize(ctx->hash_tfm)); cpu_to_be32 53 drivers/crypto/qce/sha.c rctx->byte_count[0] = cpu_to_be32(result->auth_byte_count[0]); cpu_to_be32 54 drivers/crypto/qce/sha.c rctx->byte_count[1] = cpu_to_be32(result->auth_byte_count[1]); cpu_to_be32 387 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_IV0LR, cpu_to_be32(*iv++)); cpu_to_be32 388 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_IV0RR, cpu_to_be32(*iv++)); cpu_to_be32 391 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_IV1LR, cpu_to_be32(*iv++)); cpu_to_be32 392 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_IV1RR, cpu_to_be32(*iv++)); cpu_to_be32 404 drivers/crypto/stm32/stm32-cryp.c *tmp++ = cpu_to_be32(stm32_cryp_read(cryp, CRYP_IV0LR)); cpu_to_be32 405 drivers/crypto/stm32/stm32-cryp.c *tmp++ = cpu_to_be32(stm32_cryp_read(cryp, CRYP_IV0RR)); cpu_to_be32 408 drivers/crypto/stm32/stm32-cryp.c *tmp++ = cpu_to_be32(stm32_cryp_read(cryp, CRYP_IV1LR)); cpu_to_be32 409 drivers/crypto/stm32/stm32-cryp.c *tmp++ = cpu_to_be32(stm32_cryp_read(cryp, CRYP_IV1RR)); cpu_to_be32 419 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(c, CRYP_K1LR, cpu_to_be32(c->ctx->key[0])); cpu_to_be32 420 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(c, CRYP_K1RR, cpu_to_be32(c->ctx->key[1])); cpu_to_be32 425 drivers/crypto/stm32/stm32-cryp.c cpu_to_be32(c->ctx->key[i - 1])); cpu_to_be32 475 drivers/crypto/stm32/stm32-cryp.c iv[3] = cpu_to_be32(GCM_CTR_INIT); cpu_to_be32 523 drivers/crypto/stm32/stm32-cryp.c *d = cpu_to_be32(*d); cpu_to_be32 1122 drivers/crypto/stm32/stm32-cryp.c size_bit = cpu_to_be32(size_bit); cpu_to_be32 1131 drivers/crypto/stm32/stm32-cryp.c size_bit = cpu_to_be32(size_bit); cpu_to_be32 1145 drivers/crypto/stm32/stm32-cryp.c *iv32 = cpu_to_be32(*iv32); cpu_to_be32 470 drivers/crypto/sunxi-ss/sun4i-ss-hash.c v = cpu_to_be32(readl(ss->base + SS_MD0 + i * 4)); cpu_to_be32 48 drivers/crypto/talitos.c ptr->ptr = cpu_to_be32(lower_32_bits(dma_addr)); cpu_to_be32 1895 drivers/crypto/talitos.c desc->next_desc = cpu_to_be32(next_desc); cpu_to_be32 328 drivers/crypto/talitos.h #define DESC_HDR_DONE cpu_to_be32(0xff000000) cpu_to_be32 329 drivers/crypto/talitos.h #define DESC_HDR_LO_ICCR1_MASK cpu_to_be32(0x00180000) cpu_to_be32 330 drivers/crypto/talitos.h #define DESC_HDR_LO_ICCR1_PASS cpu_to_be32(0x00080000) cpu_to_be32 331 drivers/crypto/talitos.h #define DESC_HDR_LO_ICCR1_FAIL cpu_to_be32(0x00100000) cpu_to_be32 334 drivers/crypto/talitos.h #define DESC_HDR_SEL0_MASK cpu_to_be32(0xf0000000) cpu_to_be32 335 drivers/crypto/talitos.h #define DESC_HDR_SEL0_AFEU cpu_to_be32(0x10000000) cpu_to_be32 336 drivers/crypto/talitos.h #define DESC_HDR_SEL0_DEU cpu_to_be32(0x20000000) cpu_to_be32 337 drivers/crypto/talitos.h #define DESC_HDR_SEL0_MDEUA cpu_to_be32(0x30000000) cpu_to_be32 338 drivers/crypto/talitos.h #define DESC_HDR_SEL0_MDEUB cpu_to_be32(0xb0000000) cpu_to_be32 339 drivers/crypto/talitos.h #define DESC_HDR_SEL0_RNG cpu_to_be32(0x40000000) cpu_to_be32 340 drivers/crypto/talitos.h #define DESC_HDR_SEL0_PKEU cpu_to_be32(0x50000000) cpu_to_be32 341 drivers/crypto/talitos.h #define DESC_HDR_SEL0_AESU cpu_to_be32(0x60000000) cpu_to_be32 342 drivers/crypto/talitos.h #define DESC_HDR_SEL0_KEU cpu_to_be32(0x70000000) cpu_to_be32 343 drivers/crypto/talitos.h #define DESC_HDR_SEL0_CRCU cpu_to_be32(0x80000000) cpu_to_be32 346 drivers/crypto/talitos.h #define DESC_HDR_MODE0_ENCRYPT cpu_to_be32(0x00100000) cpu_to_be32 347 drivers/crypto/talitos.h #define DESC_HDR_MODE0_AESU_CBC cpu_to_be32(0x00200000) cpu_to_be32 348 drivers/crypto/talitos.h #define DESC_HDR_MODE0_AESU_CTR cpu_to_be32(0x00600000) cpu_to_be32 349 drivers/crypto/talitos.h #define DESC_HDR_MODE0_DEU_CBC cpu_to_be32(0x00400000) cpu_to_be32 350 drivers/crypto/talitos.h #define DESC_HDR_MODE0_DEU_3DES cpu_to_be32(0x00200000) cpu_to_be32 351 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEU_CONT cpu_to_be32(0x08000000) cpu_to_be32 352 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEU_INIT cpu_to_be32(0x01000000) cpu_to_be32 353 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEU_HMAC cpu_to_be32(0x00800000) cpu_to_be32 354 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEU_PAD cpu_to_be32(0x00400000) cpu_to_be32 355 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEU_SHA224 cpu_to_be32(0x00300000) cpu_to_be32 356 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEU_MD5 cpu_to_be32(0x00200000) cpu_to_be32 357 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEU_SHA256 cpu_to_be32(0x00100000) cpu_to_be32 358 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEU_SHA1 cpu_to_be32(0x00000000) cpu_to_be32 359 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEUB_SHA384 cpu_to_be32(0x00000000) cpu_to_be32 360 drivers/crypto/talitos.h #define DESC_HDR_MODE0_MDEUB_SHA512 cpu_to_be32(0x00200000) cpu_to_be32 369 drivers/crypto/talitos.h #define DESC_HDR_SEL1_MASK cpu_to_be32(0x000f0000) cpu_to_be32 370 drivers/crypto/talitos.h #define DESC_HDR_SEL1_MDEUA cpu_to_be32(0x00030000) cpu_to_be32 371 drivers/crypto/talitos.h #define DESC_HDR_SEL1_MDEUB cpu_to_be32(0x000b0000) cpu_to_be32 372 drivers/crypto/talitos.h #define DESC_HDR_SEL1_CRCU cpu_to_be32(0x00080000) cpu_to_be32 375 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEU_CICV cpu_to_be32(0x00004000) cpu_to_be32 376 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEU_INIT cpu_to_be32(0x00001000) cpu_to_be32 377 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEU_HMAC cpu_to_be32(0x00000800) cpu_to_be32 378 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEU_PAD cpu_to_be32(0x00000400) cpu_to_be32 379 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEU_SHA224 cpu_to_be32(0x00000300) cpu_to_be32 380 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEU_MD5 cpu_to_be32(0x00000200) cpu_to_be32 381 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEU_SHA256 cpu_to_be32(0x00000100) cpu_to_be32 382 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEU_SHA1 cpu_to_be32(0x00000000) cpu_to_be32 383 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEUB_SHA384 cpu_to_be32(0x00000000) cpu_to_be32 384 drivers/crypto/talitos.h #define DESC_HDR_MODE1_MDEUB_SHA512 cpu_to_be32(0x00000200) cpu_to_be32 399 drivers/crypto/talitos.h #define DESC_HDR_DIR_INBOUND cpu_to_be32(0x00000002) cpu_to_be32 402 drivers/crypto/talitos.h #define DESC_HDR_DONE_NOTIFY cpu_to_be32(0x00000001) cpu_to_be32 405 drivers/crypto/talitos.h #define DESC_HDR_TYPE_AESU_CTR_NONSNOOP cpu_to_be32(0 << 3) cpu_to_be32 406 drivers/crypto/talitos.h #define DESC_HDR_TYPE_IPSEC_ESP cpu_to_be32(1 << 3) cpu_to_be32 407 drivers/crypto/talitos.h #define DESC_HDR_TYPE_COMMON_NONSNOOP_NO_AFEU cpu_to_be32(2 << 3) cpu_to_be32 408 drivers/crypto/talitos.h #define DESC_HDR_TYPE_HMAC_SNOOP_NO_AFEU cpu_to_be32(4 << 3) cpu_to_be32 50 drivers/firewire/core-card.c *block |= cpu_to_be32(crc); cpu_to_be32 104 drivers/firewire/core-card.c config_rom[0] = cpu_to_be32( cpu_to_be32 106 drivers/firewire/core-card.c config_rom[1] = cpu_to_be32(BIB_BUS_NAME); cpu_to_be32 107 drivers/firewire/core-card.c config_rom[2] = cpu_to_be32( cpu_to_be32 113 drivers/firewire/core-card.c config_rom[3] = cpu_to_be32(card->guid >> 32); cpu_to_be32 114 drivers/firewire/core-card.c config_rom[4] = cpu_to_be32(card->guid); cpu_to_be32 117 drivers/firewire/core-card.c config_rom[6] = cpu_to_be32(NODE_CAPABILITIES); cpu_to_be32 124 drivers/firewire/core-card.c config_rom[i++] = cpu_to_be32(desc->immediate); cpu_to_be32 125 drivers/firewire/core-card.c config_rom[i] = cpu_to_be32(desc->key | (j - i)); cpu_to_be32 131 drivers/firewire/core-card.c config_rom[5] = cpu_to_be32((i - 5 - 1) << 16); cpu_to_be32 136 drivers/firewire/core-card.c config_rom[i + k] = cpu_to_be32(desc->data[k]); cpu_to_be32 361 drivers/firewire/core-card.c transaction_data[0] = cpu_to_be32(0x3f); cpu_to_be32 362 drivers/firewire/core-card.c transaction_data[1] = cpu_to_be32(local_id); cpu_to_be32 496 drivers/firewire/core-card.c transaction_data[0] = cpu_to_be32(CSR_STATE_BIT_CMSTR); cpu_to_be32 956 drivers/firewire/core-device.c if (data & cpu_to_be32(1 << 31)) { cpu_to_be32 967 drivers/firewire/core-device.c data = cpu_to_be32(BROADCAST_CHANNEL_INITIAL | cpu_to_be32 227 drivers/firewire/core-iso.c data[0] = cpu_to_be32(old); cpu_to_be32 228 drivers/firewire/core-iso.c data[1] = cpu_to_be32(new); cpu_to_be32 256 drivers/firewire/core-iso.c old = all = allocate ? cpu_to_be32(~0) : 0; cpu_to_be32 264 drivers/firewire/core-iso.c bit = cpu_to_be32(1 << (31 - channel)); cpu_to_be32 496 drivers/firewire/core-topology.c *map++ = cpu_to_be32((self_id_count + 2) << 16); cpu_to_be32 497 drivers/firewire/core-topology.c *map++ = cpu_to_be32(be32_to_cpu(card->topology_map[1]) + 1); cpu_to_be32 498 drivers/firewire/core-topology.c *map++ = cpu_to_be32((node_count << 16) | self_id_count); cpu_to_be32 1115 drivers/firewire/core-transaction.c *data = cpu_to_be32(card->driver->read_csr(card, reg)); cpu_to_be32 1132 drivers/firewire/core-transaction.c *data = cpu_to_be32(card->split_timeout_hi); cpu_to_be32 1145 drivers/firewire/core-transaction.c *data = cpu_to_be32(card->split_timeout_lo); cpu_to_be32 1168 drivers/firewire/core-transaction.c *data = cpu_to_be32(card->broadcast_channel); cpu_to_be32 1576 drivers/firewire/ohci.c lock_old = cpu_to_be32(reg_read(ohci, cpu_to_be32 2911 drivers/firewire/ohci.c *ctx_hdr = cpu_to_be32((le16_to_cpu(pd->transfer_status) << 16) | cpu_to_be32 496 drivers/firewire/sbp2.c orb_pointer.low = cpu_to_be32(orb->request_bus); cpu_to_be32 571 drivers/firewire/sbp2.c orb->request.response.low = cpu_to_be32(orb->response_bus); cpu_to_be32 573 drivers/firewire/sbp2.c orb->request.misc = cpu_to_be32( cpu_to_be32 577 drivers/firewire/sbp2.c orb->request.length = cpu_to_be32( cpu_to_be32 581 drivers/firewire/sbp2.c cpu_to_be32(lu->address_handler.offset >> 32); cpu_to_be32 583 drivers/firewire/sbp2.c cpu_to_be32(lu->address_handler.offset); cpu_to_be32 587 drivers/firewire/sbp2.c orb->request.misc |= cpu_to_be32( cpu_to_be32 786 drivers/firewire/sbp2.c __be32 d = cpu_to_be32(SBP2_CYCLE_LIMIT | SBP2_RETRY_LIMIT); cpu_to_be32 1283 drivers/firewire/sbp2.c if (orb->request.misc & cpu_to_be32(COMMAND_ORB_PAGE_TABLE_PRESENT)) cpu_to_be32 1400 drivers/firewire/sbp2.c cpu_to_be32(lu->tgt->address_high); cpu_to_be32 1402 drivers/firewire/sbp2.c cpu_to_be32(sg_dma_address(sg)); cpu_to_be32 1404 drivers/firewire/sbp2.c cpu_to_be32(COMMAND_ORB_DATA_SIZE(sg_dma_len(sg))); cpu_to_be32 1409 drivers/firewire/sbp2.c orb->page_table[i].high = cpu_to_be32(sg_dma_len(sg) << 16); cpu_to_be32 1410 drivers/firewire/sbp2.c orb->page_table[i].low = cpu_to_be32(sg_dma_address(sg)); cpu_to_be32 1426 drivers/firewire/sbp2.c orb->request.data_descriptor.high = cpu_to_be32(lu->tgt->address_high); cpu_to_be32 1427 drivers/firewire/sbp2.c orb->request.data_descriptor.low = cpu_to_be32(orb->page_table_bus); cpu_to_be32 1428 drivers/firewire/sbp2.c orb->request.misc |= cpu_to_be32(COMMAND_ORB_PAGE_TABLE_PRESENT | cpu_to_be32 1457 drivers/firewire/sbp2.c orb->request.next.high = cpu_to_be32(SBP2_ORB_NULL); cpu_to_be32 1458 drivers/firewire/sbp2.c orb->request.misc = cpu_to_be32( cpu_to_be32 1464 drivers/firewire/sbp2.c orb->request.misc |= cpu_to_be32(COMMAND_ORB_DIRECTION); cpu_to_be32 314 drivers/firmware/iscsi_ibft.c val = cpu_to_be32(~((1 << (32-nic->subnet_mask_prefix))-1)); cpu_to_be32 106 drivers/firmware/qemu_fw_cfg.c .length = cpu_to_be32(length), cpu_to_be32 107 drivers/firmware/qemu_fw_cfg.c .control = cpu_to_be32(control) cpu_to_be32 272 drivers/fsi/fsi-core.c data = cpu_to_be32(smode); cpu_to_be32 1015 drivers/fsi/fsi-core.c llmode = cpu_to_be32(FSI_LLMODE_ASYNC); cpu_to_be32 513 drivers/fsi/fsi-master-ast-cf.c *(__be32 *)data = cpu_to_be32(response); cpu_to_be32 121 drivers/fsi/fsi-master-hub.c cmd = cpu_to_be32(0xc0de0000); cpu_to_be32 136 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(0x80000000 >> bit); cpu_to_be32 171 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(FSI_MRESP_RST_ALL_MASTER | FSI_MRESP_RST_ALL_LINK cpu_to_be32 178 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(FSI_MRESP_RST_ALL_MASTER | FSI_MRESP_RST_ALL_LINK cpu_to_be32 184 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(FSI_MECTRL_EOAE | FSI_MECTRL_P8_AUTO_TERM); cpu_to_be32 189 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(FSI_MMODE_EIP | FSI_MMODE_ECRC | FSI_MMODE_EPC cpu_to_be32 196 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(0xffff0000); cpu_to_be32 201 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(~0); cpu_to_be32 217 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(FSI_MRESP_RST_ALL_MASTER | FSI_MRESP_RST_ALL_LINK); cpu_to_be32 227 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(FSI_MRESB_RST_GEN); cpu_to_be32 232 drivers/fsi/fsi-master-hub.c reg = cpu_to_be32(FSI_MRESB_RST_ERR); cpu_to_be32 249 drivers/fsi/fsi-occ.c cmd[0] = cpu_to_be32(0x5); cpu_to_be32 250 drivers/fsi/fsi-occ.c cmd[1] = cpu_to_be32(SBEFIFO_CMD_GET_OCC_SRAM); cpu_to_be32 251 drivers/fsi/fsi-occ.c cmd[2] = cpu_to_be32(1); cpu_to_be32 252 drivers/fsi/fsi-occ.c cmd[3] = cpu_to_be32(address); cpu_to_be32 253 drivers/fsi/fsi-occ.c cmd[4] = cpu_to_be32(data_len); cpu_to_be32 313 drivers/fsi/fsi-occ.c buf[0] = cpu_to_be32(cmd_len); cpu_to_be32 314 drivers/fsi/fsi-occ.c buf[1] = cpu_to_be32(SBEFIFO_CMD_PUT_OCC_SRAM); cpu_to_be32 315 drivers/fsi/fsi-occ.c buf[2] = cpu_to_be32(1); cpu_to_be32 316 drivers/fsi/fsi-occ.c buf[3] = cpu_to_be32(address); cpu_to_be32 317 drivers/fsi/fsi-occ.c buf[4] = cpu_to_be32(data_len); cpu_to_be32 365 drivers/fsi/fsi-occ.c buf[0] = cpu_to_be32(0x5 + 0x2); /* Chip-op length in words */ cpu_to_be32 366 drivers/fsi/fsi-occ.c buf[1] = cpu_to_be32(SBEFIFO_CMD_PUT_OCC_SRAM); cpu_to_be32 367 drivers/fsi/fsi-occ.c buf[2] = cpu_to_be32(0x3); /* Mode: Circular */ cpu_to_be32 368 drivers/fsi/fsi-occ.c buf[3] = cpu_to_be32(0x0); /* Address: ignore in mode 3 */ cpu_to_be32 369 drivers/fsi/fsi-occ.c buf[4] = cpu_to_be32(0x8); /* Data length in bytes */ cpu_to_be32 370 drivers/fsi/fsi-occ.c buf[5] = cpu_to_be32(0x20010000); /* Trigger OCC attention */ cpu_to_be32 266 drivers/fsi/fsi-sbefifo.c __be32 raw_word = cpu_to_be32(word); cpu_to_be32 642 drivers/fsi/fsi-sbefifo.c cmd[0] = cpu_to_be32(2); cpu_to_be32 643 drivers/fsi/fsi-sbefifo.c cmd[1] = cpu_to_be32(SBEFIFO_CMD_GET_SBE_FFDC); cpu_to_be32 81 drivers/fsi/fsi-scom.c data = cpu_to_be32((value >> 32) & 0xffffffff); cpu_to_be32 87 drivers/fsi/fsi-scom.c data = cpu_to_be32(value & 0xffffffff); cpu_to_be32 93 drivers/fsi/fsi-scom.c data = cpu_to_be32(SCOM_WRITE_CMD | addr); cpu_to_be32 115 drivers/fsi/fsi-scom.c data = cpu_to_be32(SCOM_READ_CMD | addr); cpu_to_be32 674 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->graphics_level[index].SclkFrequency = cpu_to_be32(sclk); cpu_to_be32 703 drivers/gpu/drm/amd/amdgpu/kv_dpm.c cpu_to_be32(kv_convert_2bit_index_to_voltage(adev, vid)); cpu_to_be32 787 drivers/gpu/drm/amd/amdgpu/kv_dpm.c low_sclk_interrupt_t = cpu_to_be32(pi->low_sclk_interrupt_t); cpu_to_be32 919 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->uvd_level[i].VclkFrequency = cpu_to_be32(table->entries[i].vclk); cpu_to_be32 920 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->uvd_level[i].DclkFrequency = cpu_to_be32(table->entries[i].dclk); cpu_to_be32 990 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->vce_level[i].Frequency = cpu_to_be32(table->entries[i].evclk); cpu_to_be32 1053 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->samu_level[i].Frequency = cpu_to_be32(table->entries[i].clk); cpu_to_be32 1115 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->acp_level[i].Frequency = cpu_to_be32(table->entries[i].clk); cpu_to_be32 2276 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_scale_power_for_smc(tdp_limit, scaling_factor) * 1000); cpu_to_be32 2278 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); cpu_to_be32 2280 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000); cpu_to_be32 2294 drivers/gpu/drm/amd/amdgpu/si_dpm.c papm_parm->NearTDPLimitTherm = cpu_to_be32(ppm->dgpu_tdp); cpu_to_be32 2295 drivers/gpu/drm/amd/amdgpu/si_dpm.c papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); cpu_to_be32 2296 drivers/gpu/drm/amd/amdgpu/si_dpm.c papm_parm->dGPU_T_Warning = cpu_to_be32(95); cpu_to_be32 2297 drivers/gpu/drm/amd/amdgpu/si_dpm.c papm_parm->dGPU_T_Hysteresis = cpu_to_be32(5); cpu_to_be32 2326 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_scale_power_for_smc(adev->pm.dpm.near_tdp_limit_adjusted, scaling_factor) * 1000); cpu_to_be32 2328 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_scale_power_for_smc((adev->pm.dpm.near_tdp_limit_adjusted * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000); cpu_to_be32 2528 drivers/gpu/drm/amd/amdgpu/si_dpm.c smc_state->levels[i].SQPowerThrottle = cpu_to_be32(sq_power_throttle); cpu_to_be32 2529 drivers/gpu/drm/amd/amdgpu/si_dpm.c smc_state->levels[i].SQPowerThrottle_2 = cpu_to_be32(sq_power_throttle2); cpu_to_be32 2599 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->K = cpu_to_be32(table_size); cpu_to_be32 2600 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->T0 = cpu_to_be32(dte_data->t0); cpu_to_be32 2601 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->MaxT = cpu_to_be32(dte_data->max_t); cpu_to_be32 2605 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->Tthreshold = cpu_to_be32(dte_data->t_threshold); cpu_to_be32 2611 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->tau[i] = cpu_to_be32(dte_data->tau[i]); cpu_to_be32 2612 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->R[i] = cpu_to_be32(dte_data->r[i]); cpu_to_be32 2619 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->Tdep_tau[i] = cpu_to_be32(dte_data->tdep_tau[i]); cpu_to_be32 2620 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->Tdep_R[i] = cpu_to_be32(dte_data->tdep_r[i]); cpu_to_be32 2802 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size); cpu_to_be32 2805 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->lkge_lut_V0 = cpu_to_be32((u32)vddc_min); cpu_to_be32 2806 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->lkge_lut_Vstep = cpu_to_be32((u32)vddc_step); cpu_to_be32 2807 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->R_LL = cpu_to_be32(load_line_slope); cpu_to_be32 2808 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->WinTime = cpu_to_be32(si_pi->dyn_powertune_data.wintime); cpu_to_be32 2809 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->calculation_repeats = cpu_to_be32(2); cpu_to_be32 2810 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->dc_cac = cpu_to_be32(0); cpu_to_be32 2813 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->lkge_lut_T0 = cpu_to_be32((u32)t0); cpu_to_be32 2814 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->lkge_lut_Tstep = cpu_to_be32((u32)t_step); cpu_to_be32 2993 drivers/gpu/drm/amd/amdgpu/si_dpm.c spll_table->freq[i] = cpu_to_be32(tmp); cpu_to_be32 2997 drivers/gpu/drm/amd/amdgpu/si_dpm.c spll_table->ss[i] = cpu_to_be32(tmp); cpu_to_be32 4507 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); cpu_to_be32 4529 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); cpu_to_be32 4543 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); cpu_to_be32 4551 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); cpu_to_be32 4560 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->vddc_phase_shed_table.mask_low); cpu_to_be32 4776 drivers/gpu/drm/amd/amdgpu/si_dpm.c arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing); cpu_to_be32 4777 drivers/gpu/drm/amd/amdgpu/si_dpm.c arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2); cpu_to_be32 4842 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.dll_cntl); cpu_to_be32 4844 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mclk_pwrmgt_cntl); cpu_to_be32 4846 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ad_func_cntl); cpu_to_be32 4848 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl); cpu_to_be32 4850 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); cpu_to_be32 4852 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_func_cntl_1); cpu_to_be32 4854 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_func_cntl_2); cpu_to_be32 4856 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ss1); cpu_to_be32 4858 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ss2); cpu_to_be32 4861 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(initial_state->performance_levels[0].mclk); cpu_to_be32 4864 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl); cpu_to_be32 4866 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_2); cpu_to_be32 4868 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_3); cpu_to_be32 4870 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_4); cpu_to_be32 4872 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum); cpu_to_be32 4874 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum_2); cpu_to_be32 4877 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(initial_state->performance_levels[0].sclk); cpu_to_be32 4917 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->initialState.levels[0].aT = cpu_to_be32(reg); cpu_to_be32 4918 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 4943 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->initialState.levels[0].SQPowerThrottle = cpu_to_be32(reg); cpu_to_be32 4946 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->initialState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg); cpu_to_be32 5043 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(dll_cntl); cpu_to_be32 5045 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 5047 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 5049 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 5051 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(mpll_func_cntl); cpu_to_be32 5053 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(mpll_func_cntl_1); cpu_to_be32 5055 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(mpll_func_cntl_2); cpu_to_be32 5057 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ss1); cpu_to_be32 5059 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ss2); cpu_to_be32 5062 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(spll_func_cntl); cpu_to_be32 5064 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(spll_func_cntl_2); cpu_to_be32 5066 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(spll_func_cntl_3); cpu_to_be32 5068 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(spll_func_cntl_4); cpu_to_be32 5085 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->ACPIState.levels[0].SQPowerThrottle = cpu_to_be32(reg); cpu_to_be32 5088 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->ACPIState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg); cpu_to_be32 5323 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk->sclk_value = cpu_to_be32(sclk_tmp.sclk_value); cpu_to_be32 5324 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL); cpu_to_be32 5325 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_2); cpu_to_be32 5326 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_3); cpu_to_be32 5327 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk->vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_4); cpu_to_be32 5328 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM); cpu_to_be32 5329 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM_2); cpu_to_be32 5410 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->mclk_value = cpu_to_be32(memory_clock); cpu_to_be32 5411 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); cpu_to_be32 5412 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->vMPLL_FUNC_CNTL_1 = cpu_to_be32(mpll_func_cntl_1); cpu_to_be32 5413 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->vMPLL_FUNC_CNTL_2 = cpu_to_be32(mpll_func_cntl_2); cpu_to_be32 5414 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 5415 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 5416 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 5417 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 5418 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->vMPLL_SS = cpu_to_be32(mpll_ss1); cpu_to_be32 5419 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2); cpu_to_be32 5433 drivers/gpu/drm/amd/amdgpu/si_dpm.c smc_state->levels[i].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 5436 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(pi->psp); cpu_to_be32 5564 drivers/gpu/drm/amd/amdgpu/si_dpm.c smc_state->levels[0].aT = cpu_to_be32(a_t); cpu_to_be32 5568 drivers/gpu/drm/amd/amdgpu/si_dpm.c smc_state->levels[0].aT = cpu_to_be32(0); cpu_to_be32 5586 drivers/gpu/drm/amd/amdgpu/si_dpm.c smc_state->levels[i].aT = cpu_to_be32(a_t); cpu_to_be32 5591 drivers/gpu/drm/amd/amdgpu/si_dpm.c smc_state->levels[i + 1].aT = cpu_to_be32(a_t); cpu_to_be32 6065 drivers/gpu/drm/amd/amdgpu/si_dpm.c data->value[i] = cpu_to_be32(entry->mc_data[j]); cpu_to_be32 6513 drivers/gpu/drm/amd/amdgpu/si_dpm.c fan_table.refresh_period = cpu_to_be32((adev->pm.dpm.fan.cycle_delay * cpu_to_be32 27 drivers/gpu/drm/amd/powerplay/inc/pp_endian.h #define PP_HOST_TO_SMC_UL(X) cpu_to_be32(X) cpu_to_be32 2187 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c fan_table.RefreshPeriod = cpu_to_be32((hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay * reference_clock) / 1600); cpu_to_be32 2207 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c fan_table.RefreshPeriod = cpu_to_be32((hwmgr-> cpu_to_be32 2149 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c fan_table.RefreshPeriod = cpu_to_be32((hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay * reference_clock) / 1600); cpu_to_be32 2142 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c fan_table.RefreshPeriod = cpu_to_be32((hwmgr-> cpu_to_be32 2534 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c fan_table.RefreshPeriod = cpu_to_be32((hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay * reference_clock) / 1600); cpu_to_be32 461 drivers/gpu/drm/radeon/ci_dpm.c dpm_table->BAPM_TEMP_GRADIENT = cpu_to_be32(pt_defaults->bapm_temp_gradient); cpu_to_be32 1012 drivers/gpu/drm/radeon/ci_dpm.c fan_table.RefreshPeriod = cpu_to_be32((rdev->pm.dpm.fan.cycle_delay * cpu_to_be32 1325 drivers/gpu/drm/radeon/ci_dpm.c low_sclk_interrupt_t = cpu_to_be32(pi->low_sclk_interrupt_t); cpu_to_be32 2236 drivers/gpu/drm/radeon/ci_dpm.c table->VddcLevelCount = cpu_to_be32(table->VddcLevelCount); cpu_to_be32 2259 drivers/gpu/drm/radeon/ci_dpm.c table->VddciLevelCount = cpu_to_be32(table->VddciLevelCount); cpu_to_be32 2282 drivers/gpu/drm/radeon/ci_dpm.c table->MvddLevelCount = cpu_to_be32(table->MvddLevelCount); cpu_to_be32 2539 drivers/gpu/drm/radeon/ci_dpm.c arb_regs->McArbDramTiming = cpu_to_be32(dram_timing); cpu_to_be32 2540 drivers/gpu/drm/radeon/ci_dpm.c arb_regs->McArbDramTiming2 = cpu_to_be32(dram_timing2); cpu_to_be32 2639 drivers/gpu/drm/radeon/ci_dpm.c table->LinkLevel[i].DownT = cpu_to_be32(5); cpu_to_be32 2640 drivers/gpu/drm/radeon/ci_dpm.c table->LinkLevel[i].UpT = cpu_to_be32(30); cpu_to_be32 2683 drivers/gpu/drm/radeon/ci_dpm.c table->UvdLevel[count].VclkFrequency = cpu_to_be32(table->UvdLevel[count].VclkFrequency); cpu_to_be32 2684 drivers/gpu/drm/radeon/ci_dpm.c table->UvdLevel[count].DclkFrequency = cpu_to_be32(table->UvdLevel[count].DclkFrequency); cpu_to_be32 2716 drivers/gpu/drm/radeon/ci_dpm.c table->VceLevel[count].Frequency = cpu_to_be32(table->VceLevel[count].Frequency); cpu_to_be32 2749 drivers/gpu/drm/radeon/ci_dpm.c table->AcpLevel[count].Frequency = cpu_to_be32(table->AcpLevel[count].Frequency); cpu_to_be32 2781 drivers/gpu/drm/radeon/ci_dpm.c table->SamuLevel[count].Frequency = cpu_to_be32(table->SamuLevel[count].Frequency); cpu_to_be32 2969 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MinVddc = cpu_to_be32(memory_level->MinVddc * VOLTAGE_SCALE); cpu_to_be32 2970 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MinVddcPhases = cpu_to_be32(memory_level->MinVddcPhases); cpu_to_be32 2971 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MinVddci = cpu_to_be32(memory_level->MinVddci * VOLTAGE_SCALE); cpu_to_be32 2972 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MinMvdd = cpu_to_be32(memory_level->MinMvdd * VOLTAGE_SCALE); cpu_to_be32 2974 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MclkFrequency = cpu_to_be32(memory_level->MclkFrequency); cpu_to_be32 2976 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MpllFuncCntl = cpu_to_be32(memory_level->MpllFuncCntl); cpu_to_be32 2977 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MpllFuncCntl_1 = cpu_to_be32(memory_level->MpllFuncCntl_1); cpu_to_be32 2978 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MpllFuncCntl_2 = cpu_to_be32(memory_level->MpllFuncCntl_2); cpu_to_be32 2979 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MpllAdFuncCntl = cpu_to_be32(memory_level->MpllAdFuncCntl); cpu_to_be32 2980 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MpllDqFuncCntl = cpu_to_be32(memory_level->MpllDqFuncCntl); cpu_to_be32 2981 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MclkPwrmgtCntl = cpu_to_be32(memory_level->MclkPwrmgtCntl); cpu_to_be32 2982 drivers/gpu/drm/radeon/ci_dpm.c memory_level->DllCntl = cpu_to_be32(memory_level->DllCntl); cpu_to_be32 2983 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MpllSs1 = cpu_to_be32(memory_level->MpllSs1); cpu_to_be32 2984 drivers/gpu/drm/radeon/ci_dpm.c memory_level->MpllSs2 = cpu_to_be32(memory_level->MpllSs2); cpu_to_be32 3004 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.MinVddc = cpu_to_be32(pi->acpi_vddc * VOLTAGE_SCALE); cpu_to_be32 3006 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.MinVddc = cpu_to_be32(pi->min_vddc_in_pp_table * VOLTAGE_SCALE); cpu_to_be32 3037 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.Flags = cpu_to_be32(table->ACPILevel.Flags); cpu_to_be32 3038 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.MinVddcPhases = cpu_to_be32(table->ACPILevel.MinVddcPhases); cpu_to_be32 3039 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.SclkFrequency = cpu_to_be32(table->ACPILevel.SclkFrequency); cpu_to_be32 3040 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.CgSpllFuncCntl = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl); cpu_to_be32 3041 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.CgSpllFuncCntl2 = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl2); cpu_to_be32 3042 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.CgSpllFuncCntl3 = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl3); cpu_to_be32 3043 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.CgSpllFuncCntl4 = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl4); cpu_to_be32 3044 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.SpllSpreadSpectrum = cpu_to_be32(table->ACPILevel.SpllSpreadSpectrum); cpu_to_be32 3045 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.SpllSpreadSpectrum2 = cpu_to_be32(table->ACPILevel.SpllSpreadSpectrum2); cpu_to_be32 3046 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.CcPwrDynRm = cpu_to_be32(table->ACPILevel.CcPwrDynRm); cpu_to_be32 3047 drivers/gpu/drm/radeon/ci_dpm.c table->ACPILevel.CcPwrDynRm1 = cpu_to_be32(table->ACPILevel.CcPwrDynRm1); cpu_to_be32 3055 drivers/gpu/drm/radeon/ci_dpm.c cpu_to_be32(pi->acpi_vddci * VOLTAGE_SCALE); cpu_to_be32 3058 drivers/gpu/drm/radeon/ci_dpm.c cpu_to_be32(pi->min_vddci_in_pp_table * VOLTAGE_SCALE); cpu_to_be32 3065 drivers/gpu/drm/radeon/ci_dpm.c cpu_to_be32(voltage_level.Voltage * VOLTAGE_SCALE); cpu_to_be32 3072 drivers/gpu/drm/radeon/ci_dpm.c table->MemoryACPILevel.DllCntl = cpu_to_be32(dll_cntl); cpu_to_be32 3073 drivers/gpu/drm/radeon/ci_dpm.c table->MemoryACPILevel.MclkPwrmgtCntl = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 3075 drivers/gpu/drm/radeon/ci_dpm.c cpu_to_be32(pi->clock_registers.mpll_ad_func_cntl); cpu_to_be32 3077 drivers/gpu/drm/radeon/ci_dpm.c cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl); cpu_to_be32 3079 drivers/gpu/drm/radeon/ci_dpm.c cpu_to_be32(pi->clock_registers.mpll_func_cntl); cpu_to_be32 3081 drivers/gpu/drm/radeon/ci_dpm.c cpu_to_be32(pi->clock_registers.mpll_func_cntl_1); cpu_to_be32 3083 drivers/gpu/drm/radeon/ci_dpm.c cpu_to_be32(pi->clock_registers.mpll_func_cntl_2); cpu_to_be32 3084 drivers/gpu/drm/radeon/ci_dpm.c table->MemoryACPILevel.MpllSs1 = cpu_to_be32(pi->clock_registers.mpll_ss1); cpu_to_be32 3085 drivers/gpu/drm/radeon/ci_dpm.c table->MemoryACPILevel.MpllSs2 = cpu_to_be32(pi->clock_registers.mpll_ss2); cpu_to_be32 3152 drivers/gpu/drm/radeon/ci_dpm.c state->CcPwrDynRm = cpu_to_be32(state->CcPwrDynRm); cpu_to_be32 3153 drivers/gpu/drm/radeon/ci_dpm.c state->CcPwrDynRm1 = cpu_to_be32(state->CcPwrDynRm1); cpu_to_be32 3261 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->Flags = cpu_to_be32(graphic_level->Flags); cpu_to_be32 3262 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->MinVddc = cpu_to_be32(graphic_level->MinVddc * VOLTAGE_SCALE); cpu_to_be32 3263 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->MinVddcPhases = cpu_to_be32(graphic_level->MinVddcPhases); cpu_to_be32 3264 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->SclkFrequency = cpu_to_be32(graphic_level->SclkFrequency); cpu_to_be32 3266 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->CgSpllFuncCntl3 = cpu_to_be32(graphic_level->CgSpllFuncCntl3); cpu_to_be32 3267 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->CgSpllFuncCntl4 = cpu_to_be32(graphic_level->CgSpllFuncCntl4); cpu_to_be32 3268 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->SpllSpreadSpectrum = cpu_to_be32(graphic_level->SpllSpreadSpectrum); cpu_to_be32 3269 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->SpllSpreadSpectrum2 = cpu_to_be32(graphic_level->SpllSpreadSpectrum2); cpu_to_be32 3270 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->CcPwrDynRm = cpu_to_be32(graphic_level->CcPwrDynRm); cpu_to_be32 3271 drivers/gpu/drm/radeon/ci_dpm.c graphic_level->CcPwrDynRm1 = cpu_to_be32(graphic_level->CcPwrDynRm1); cpu_to_be32 3676 drivers/gpu/drm/radeon/ci_dpm.c table->SystemFlags = cpu_to_be32(table->SystemFlags); cpu_to_be32 3677 drivers/gpu/drm/radeon/ci_dpm.c table->SmioMaskVddcVid = cpu_to_be32(table->SmioMaskVddcVid); cpu_to_be32 3678 drivers/gpu/drm/radeon/ci_dpm.c table->SmioMaskVddcPhase = cpu_to_be32(table->SmioMaskVddcPhase); cpu_to_be32 3679 drivers/gpu/drm/radeon/ci_dpm.c table->SmioMaskVddciVid = cpu_to_be32(table->SmioMaskVddciVid); cpu_to_be32 3680 drivers/gpu/drm/radeon/ci_dpm.c table->SmioMaskMvddVid = cpu_to_be32(table->SmioMaskMvddVid); cpu_to_be32 3681 drivers/gpu/drm/radeon/ci_dpm.c table->SclkStepSize = cpu_to_be32(table->SclkStepSize); cpu_to_be32 4712 drivers/gpu/drm/radeon/ci_dpm.c data->value[i] = cpu_to_be32(entry->mc_data[j]); cpu_to_be32 598 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); cpu_to_be32 599 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 600 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); cpu_to_be32 601 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 602 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); cpu_to_be32 603 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 604 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 605 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.vMPLL_SS = cpu_to_be32(mpll_ss1); cpu_to_be32 606 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.vMPLL_SS2 = cpu_to_be32(mpll_ss2); cpu_to_be32 822 drivers/gpu/drm/radeon/cypress_dpm.c data->value[i] = cpu_to_be32(entry->mc_data[j]); cpu_to_be32 1245 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl); cpu_to_be32 1247 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl_2); cpu_to_be32 1249 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl); cpu_to_be32 1251 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl_2); cpu_to_be32 1253 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.mclk_pwrmgt_cntl); cpu_to_be32 1255 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.dll_cntl); cpu_to_be32 1258 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_ss1); cpu_to_be32 1260 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_ss2); cpu_to_be32 1263 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(initial_state->low.mclk); cpu_to_be32 1266 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl); cpu_to_be32 1268 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl_2); cpu_to_be32 1270 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl_3); cpu_to_be32 1272 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum); cpu_to_be32 1274 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum_2); cpu_to_be32 1277 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(initial_state->low.sclk); cpu_to_be32 1298 drivers/gpu/drm/radeon/cypress_dpm.c table->initialState.levels[0].aT = cpu_to_be32(a_t); cpu_to_be32 1300 drivers/gpu/drm/radeon/cypress_dpm.c table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 1435 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 1437 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(mpll_ad_func_cntl_2); cpu_to_be32 1439 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 1441 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(mpll_dq_func_cntl_2); cpu_to_be32 1443 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 1444 drivers/gpu/drm/radeon/cypress_dpm.c table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 1449 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(spll_func_cntl); cpu_to_be32 1451 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(spll_func_cntl_2); cpu_to_be32 1453 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(spll_func_cntl_3); cpu_to_be32 1520 drivers/gpu/drm/radeon/cypress_dpm.c table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); cpu_to_be32 1538 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); cpu_to_be32 1556 drivers/gpu/drm/radeon/cypress_dpm.c cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); cpu_to_be32 548 drivers/gpu/drm/radeon/kv_dpm.c pi->graphics_level[index].SclkFrequency = cpu_to_be32(sclk); cpu_to_be32 623 drivers/gpu/drm/radeon/kv_dpm.c cpu_to_be32(kv_convert_2bit_index_to_voltage(rdev, vid)); cpu_to_be32 705 drivers/gpu/drm/radeon/kv_dpm.c low_sclk_interrupt_t = cpu_to_be32(pi->low_sclk_interrupt_t); cpu_to_be32 837 drivers/gpu/drm/radeon/kv_dpm.c pi->uvd_level[i].VclkFrequency = cpu_to_be32(table->entries[i].vclk); cpu_to_be32 838 drivers/gpu/drm/radeon/kv_dpm.c pi->uvd_level[i].DclkFrequency = cpu_to_be32(table->entries[i].dclk); cpu_to_be32 908 drivers/gpu/drm/radeon/kv_dpm.c pi->vce_level[i].Frequency = cpu_to_be32(table->entries[i].evclk); cpu_to_be32 971 drivers/gpu/drm/radeon/kv_dpm.c pi->samu_level[i].Frequency = cpu_to_be32(table->entries[i].clk); cpu_to_be32 1033 drivers/gpu/drm/radeon/kv_dpm.c pi->acp_level[i].Frequency = cpu_to_be32(table->entries[i].clk); cpu_to_be32 1267 drivers/gpu/drm/radeon/ni_dpm.c table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); cpu_to_be32 1282 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); cpu_to_be32 1297 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); cpu_to_be32 1485 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_scale_power_for_smc(tdp_limit, scaling_factor)); cpu_to_be32 1487 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_scale_power_for_smc(near_tdp_limit, scaling_factor)); cpu_to_be32 1489 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_scale_power_for_smc((near_tdp_limit * NISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, cpu_to_be32 1492 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_scale_power_for_smc(power_boost_limit, scaling_factor)); cpu_to_be32 1631 drivers/gpu/drm/radeon/ni_dpm.c arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing); cpu_to_be32 1632 drivers/gpu/drm/radeon/ni_dpm.c arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2); cpu_to_be32 1693 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.mpll_ad_func_cntl); cpu_to_be32 1695 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.mpll_ad_func_cntl_2); cpu_to_be32 1697 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.mpll_dq_func_cntl); cpu_to_be32 1699 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.mpll_dq_func_cntl_2); cpu_to_be32 1701 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.mclk_pwrmgt_cntl); cpu_to_be32 1703 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.dll_cntl); cpu_to_be32 1705 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.mpll_ss1); cpu_to_be32 1707 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.mpll_ss2); cpu_to_be32 1709 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(initial_state->performance_levels[0].mclk); cpu_to_be32 1712 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.cg_spll_func_cntl); cpu_to_be32 1714 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.cg_spll_func_cntl_2); cpu_to_be32 1716 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.cg_spll_func_cntl_3); cpu_to_be32 1718 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.cg_spll_func_cntl_4); cpu_to_be32 1720 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.cg_spll_spread_spectrum); cpu_to_be32 1722 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_pi->clock_registers.cg_spll_spread_spectrum_2); cpu_to_be32 1724 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(initial_state->performance_levels[0].sclk); cpu_to_be32 1754 drivers/gpu/drm/radeon/ni_dpm.c table->initialState.levels[0].aT = cpu_to_be32(reg); cpu_to_be32 1756 drivers/gpu/drm/radeon/ni_dpm.c table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 1784 drivers/gpu/drm/radeon/ni_dpm.c table->initialState.levels[0].SQPowerThrottle = cpu_to_be32(reg); cpu_to_be32 1787 drivers/gpu/drm/radeon/ni_dpm.c table->initialState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg); cpu_to_be32 1905 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].mclk.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 1906 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].mclk.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); cpu_to_be32 1907 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 1908 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); cpu_to_be32 1909 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].mclk.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 1910 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].mclk.vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 1914 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); cpu_to_be32 1915 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); cpu_to_be32 1916 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); cpu_to_be32 1917 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(spll_func_cntl_4); cpu_to_be32 1932 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].SQPowerThrottle = cpu_to_be32(reg); cpu_to_be32 1935 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg); cpu_to_be32 2078 drivers/gpu/drm/radeon/ni_dpm.c sclk->sclk_value = cpu_to_be32(sclk_tmp.sclk_value); cpu_to_be32 2079 drivers/gpu/drm/radeon/ni_dpm.c sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL); cpu_to_be32 2080 drivers/gpu/drm/radeon/ni_dpm.c sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_2); cpu_to_be32 2081 drivers/gpu/drm/radeon/ni_dpm.c sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_3); cpu_to_be32 2082 drivers/gpu/drm/radeon/ni_dpm.c sclk->vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_4); cpu_to_be32 2083 drivers/gpu/drm/radeon/ni_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM); cpu_to_be32 2084 drivers/gpu/drm/radeon/ni_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM_2); cpu_to_be32 2142 drivers/gpu/drm/radeon/ni_dpm.c spll_table->freq[i] = cpu_to_be32(tmp); cpu_to_be32 2146 drivers/gpu/drm/radeon/ni_dpm.c spll_table->ss[i] = cpu_to_be32(tmp); cpu_to_be32 2281 drivers/gpu/drm/radeon/ni_dpm.c mclk->mclk_value = cpu_to_be32(memory_clock); cpu_to_be32 2282 drivers/gpu/drm/radeon/ni_dpm.c mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 2283 drivers/gpu/drm/radeon/ni_dpm.c mclk->vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); cpu_to_be32 2284 drivers/gpu/drm/radeon/ni_dpm.c mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 2285 drivers/gpu/drm/radeon/ni_dpm.c mclk->vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); cpu_to_be32 2286 drivers/gpu/drm/radeon/ni_dpm.c mclk->vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 2287 drivers/gpu/drm/radeon/ni_dpm.c mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 2288 drivers/gpu/drm/radeon/ni_dpm.c mclk->vMPLL_SS = cpu_to_be32(mpll_ss1); cpu_to_be32 2289 drivers/gpu/drm/radeon/ni_dpm.c mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2); cpu_to_be32 2303 drivers/gpu/drm/radeon/ni_dpm.c smc_state->levels[i].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 2306 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(pi->psp); cpu_to_be32 2407 drivers/gpu/drm/radeon/ni_dpm.c smc_state->levels[0].aT = cpu_to_be32(a_t); cpu_to_be32 2411 drivers/gpu/drm/radeon/ni_dpm.c smc_state->levels[0].aT = cpu_to_be32(0); cpu_to_be32 2438 drivers/gpu/drm/radeon/ni_dpm.c smc_state->levels[i].aT = cpu_to_be32(a_t); cpu_to_be32 2444 drivers/gpu/drm/radeon/ni_dpm.c smc_state->levels[i + 1].aT = cpu_to_be32(a_t); cpu_to_be32 2587 drivers/gpu/drm/radeon/ni_dpm.c smc_state->levels[i].SQPowerThrottle = cpu_to_be32(sq_power_throttle); cpu_to_be32 2588 drivers/gpu/drm/radeon/ni_dpm.c smc_state->levels[i].SQPowerThrottle_2 = cpu_to_be32(sq_power_throttle2); cpu_to_be32 2668 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(threshold / 512)); cpu_to_be32 2951 drivers/gpu/drm/radeon/ni_dpm.c data->value[i] = cpu_to_be32(entry->mc_data[j]); cpu_to_be32 3082 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(smc_leakage); cpu_to_be32 3088 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(max_leakage); cpu_to_be32 3128 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_scale_power_for_smc(smc_leakage, scaling_factor)); cpu_to_be32 3134 drivers/gpu/drm/radeon/ni_dpm.c cpu_to_be32(ni_scale_power_for_smc(max_leakage, scaling_factor)); cpu_to_be32 3184 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->pwr_const = cpu_to_be32(ni_pi->cac_data.pwr_const); cpu_to_be32 3185 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->dc_cacValue = cpu_to_be32(ni_pi->cac_data.dc_cac_value); cpu_to_be32 3186 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->bif_cacValue = cpu_to_be32(ni_pi->cac_data.bif_cac_value); cpu_to_be32 108 drivers/gpu/drm/radeon/rv730_dpm.c sclk->sclk_value = cpu_to_be32(engine_clock); cpu_to_be32 109 drivers/gpu/drm/radeon/rv730_dpm.c sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); cpu_to_be32 110 drivers/gpu/drm/radeon/rv730_dpm.c sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); cpu_to_be32 111 drivers/gpu/drm/radeon/rv730_dpm.c sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); cpu_to_be32 112 drivers/gpu/drm/radeon/rv730_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); cpu_to_be32 113 drivers/gpu/drm/radeon/rv730_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2); cpu_to_be32 185 drivers/gpu/drm/radeon/rv730_dpm.c mclk->mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 186 drivers/gpu/drm/radeon/rv730_dpm.c mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 187 drivers/gpu/drm/radeon/rv730_dpm.c mclk->mclk730.mclk_value = cpu_to_be32(memory_clock); cpu_to_be32 188 drivers/gpu/drm/radeon/rv730_dpm.c mclk->mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); cpu_to_be32 189 drivers/gpu/drm/radeon/rv730_dpm.c mclk->mclk730.vMPLL_FUNC_CNTL2 = cpu_to_be32(mpll_func_cntl_2); cpu_to_be32 190 drivers/gpu/drm/radeon/rv730_dpm.c mclk->mclk730.vMPLL_FUNC_CNTL3 = cpu_to_be32(mpll_func_cntl_3); cpu_to_be32 191 drivers/gpu/drm/radeon/rv730_dpm.c mclk->mclk730.vMPLL_SS = cpu_to_be32(mpll_ss); cpu_to_be32 192 drivers/gpu/drm/radeon/rv730_dpm.c mclk->mclk730.vMPLL_SS2 = cpu_to_be32(mpll_ss2); cpu_to_be32 296 drivers/gpu/drm/radeon/rv730_dpm.c table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); cpu_to_be32 297 drivers/gpu/drm/radeon/rv730_dpm.c table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL2 = cpu_to_be32(mpll_func_cntl_2); cpu_to_be32 298 drivers/gpu/drm/radeon/rv730_dpm.c table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL3 = cpu_to_be32(mpll_func_cntl_3); cpu_to_be32 299 drivers/gpu/drm/radeon/rv730_dpm.c table->ACPIState.levels[0].mclk.mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 300 drivers/gpu/drm/radeon/rv730_dpm.c table->ACPIState.levels[0].mclk.mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 304 drivers/gpu/drm/radeon/rv730_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); cpu_to_be32 305 drivers/gpu/drm/radeon/rv730_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); cpu_to_be32 306 drivers/gpu/drm/radeon/rv730_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); cpu_to_be32 327 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl); cpu_to_be32 329 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl2); cpu_to_be32 331 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl3); cpu_to_be32 333 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.mclk_pwrmgt_cntl); cpu_to_be32 335 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.dll_cntl); cpu_to_be32 337 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.mpll_ss); cpu_to_be32 339 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.mpll_ss2); cpu_to_be32 342 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(initial_state->low.mclk); cpu_to_be32 345 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.cg_spll_func_cntl); cpu_to_be32 347 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.cg_spll_func_cntl_2); cpu_to_be32 349 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.cg_spll_func_cntl_3); cpu_to_be32 351 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.cg_spll_spread_spectrum); cpu_to_be32 353 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(pi->clk_regs.rv730.cg_spll_spread_spectrum_2); cpu_to_be32 356 drivers/gpu/drm/radeon/rv730_dpm.c cpu_to_be32(initial_state->low.sclk); cpu_to_be32 371 drivers/gpu/drm/radeon/rv730_dpm.c table->initialState.levels[0].aT = cpu_to_be32(a_t); cpu_to_be32 373 drivers/gpu/drm/radeon/rv730_dpm.c table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 176 drivers/gpu/drm/radeon/rv740_dpm.c sclk->sclk_value = cpu_to_be32(engine_clock); cpu_to_be32 177 drivers/gpu/drm/radeon/rv740_dpm.c sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); cpu_to_be32 178 drivers/gpu/drm/radeon/rv740_dpm.c sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); cpu_to_be32 179 drivers/gpu/drm/radeon/rv740_dpm.c sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); cpu_to_be32 180 drivers/gpu/drm/radeon/rv740_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); cpu_to_be32 181 drivers/gpu/drm/radeon/rv740_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2); cpu_to_be32 271 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); cpu_to_be32 272 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 273 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); cpu_to_be32 274 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 275 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); cpu_to_be32 276 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 277 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 278 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.vMPLL_SS = cpu_to_be32(mpll_ss1); cpu_to_be32 279 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.vMPLL_SS2 = cpu_to_be32(mpll_ss2); cpu_to_be32 373 drivers/gpu/drm/radeon/rv740_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 374 drivers/gpu/drm/radeon/rv740_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); cpu_to_be32 375 drivers/gpu/drm/radeon/rv740_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 376 drivers/gpu/drm/radeon/rv740_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); cpu_to_be32 377 drivers/gpu/drm/radeon/rv740_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 378 drivers/gpu/drm/radeon/rv740_dpm.c table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 382 drivers/gpu/drm/radeon/rv740_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); cpu_to_be32 383 drivers/gpu/drm/radeon/rv740_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); cpu_to_be32 384 drivers/gpu/drm/radeon/rv740_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); cpu_to_be32 289 drivers/gpu/drm/radeon/rv770_dpm.c smc_state->levels[i].aT = cpu_to_be32(a_t); cpu_to_be32 296 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(a_t); cpu_to_be32 309 drivers/gpu/drm/radeon/rv770_dpm.c smc_state->levels[i].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 312 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->psp); cpu_to_be32 472 drivers/gpu/drm/radeon/rv770_dpm.c mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); cpu_to_be32 473 drivers/gpu/drm/radeon/rv770_dpm.c mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 474 drivers/gpu/drm/radeon/rv770_dpm.c mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); cpu_to_be32 475 drivers/gpu/drm/radeon/rv770_dpm.c mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 476 drivers/gpu/drm/radeon/rv770_dpm.c mclk->mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); cpu_to_be32 477 drivers/gpu/drm/radeon/rv770_dpm.c mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 478 drivers/gpu/drm/radeon/rv770_dpm.c mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 555 drivers/gpu/drm/radeon/rv770_dpm.c sclk->sclk_value = cpu_to_be32(engine_clock); cpu_to_be32 556 drivers/gpu/drm/radeon/rv770_dpm.c sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); cpu_to_be32 557 drivers/gpu/drm/radeon/rv770_dpm.c sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); cpu_to_be32 558 drivers/gpu/drm/radeon/rv770_dpm.c sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); cpu_to_be32 559 drivers/gpu/drm/radeon/rv770_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); cpu_to_be32 560 drivers/gpu/drm/radeon/rv770_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2); cpu_to_be32 981 drivers/gpu/drm/radeon/rv770_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 982 drivers/gpu/drm/radeon/rv770_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); cpu_to_be32 983 drivers/gpu/drm/radeon/rv770_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 984 drivers/gpu/drm/radeon/rv770_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); cpu_to_be32 986 drivers/gpu/drm/radeon/rv770_dpm.c table->ACPIState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 987 drivers/gpu/drm/radeon/rv770_dpm.c table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 991 drivers/gpu/drm/radeon/rv770_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); cpu_to_be32 992 drivers/gpu/drm/radeon/rv770_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); cpu_to_be32 993 drivers/gpu/drm/radeon/rv770_dpm.c table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); cpu_to_be32 1031 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl); cpu_to_be32 1033 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl_2); cpu_to_be32 1035 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl); cpu_to_be32 1037 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl_2); cpu_to_be32 1039 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.mclk_pwrmgt_cntl); cpu_to_be32 1041 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.dll_cntl); cpu_to_be32 1044 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_ss1); cpu_to_be32 1046 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.mpll_ss2); cpu_to_be32 1049 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(initial_state->low.mclk); cpu_to_be32 1052 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl); cpu_to_be32 1054 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl_2); cpu_to_be32 1056 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl_3); cpu_to_be32 1058 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum); cpu_to_be32 1060 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum_2); cpu_to_be32 1063 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(initial_state->low.sclk); cpu_to_be32 1077 drivers/gpu/drm/radeon/rv770_dpm.c table->initialState.levels[0].aT = cpu_to_be32(a_t); cpu_to_be32 1079 drivers/gpu/drm/radeon/rv770_dpm.c table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 1123 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->vddc_table[i].low_smio); cpu_to_be32 1128 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->vddc_mask_low); cpu_to_be32 1149 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->mvdd_low_smio[MVDD_HIGH_INDEX]); cpu_to_be32 1151 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->mvdd_low_smio[MVDD_LOW_INDEX]); cpu_to_be32 1155 drivers/gpu/drm/radeon/rv770_dpm.c cpu_to_be32(pi->mvdd_mask_low); cpu_to_be32 2186 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_scale_power_for_smc(tdp_limit, scaling_factor) * 1000); cpu_to_be32 2188 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); cpu_to_be32 2190 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000); cpu_to_be32 2204 drivers/gpu/drm/radeon/si_dpm.c papm_parm->NearTDPLimitTherm = cpu_to_be32(ppm->dgpu_tdp); cpu_to_be32 2205 drivers/gpu/drm/radeon/si_dpm.c papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); cpu_to_be32 2206 drivers/gpu/drm/radeon/si_dpm.c papm_parm->dGPU_T_Warning = cpu_to_be32(95); cpu_to_be32 2207 drivers/gpu/drm/radeon/si_dpm.c papm_parm->dGPU_T_Hysteresis = cpu_to_be32(5); cpu_to_be32 2236 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_scale_power_for_smc(rdev->pm.dpm.near_tdp_limit_adjusted, scaling_factor) * 1000); cpu_to_be32 2238 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_scale_power_for_smc((rdev->pm.dpm.near_tdp_limit_adjusted * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000); cpu_to_be32 2432 drivers/gpu/drm/radeon/si_dpm.c smc_state->levels[i].SQPowerThrottle = cpu_to_be32(sq_power_throttle); cpu_to_be32 2433 drivers/gpu/drm/radeon/si_dpm.c smc_state->levels[i].SQPowerThrottle_2 = cpu_to_be32(sq_power_throttle2); cpu_to_be32 2503 drivers/gpu/drm/radeon/si_dpm.c dte_tables->K = cpu_to_be32(table_size); cpu_to_be32 2504 drivers/gpu/drm/radeon/si_dpm.c dte_tables->T0 = cpu_to_be32(dte_data->t0); cpu_to_be32 2505 drivers/gpu/drm/radeon/si_dpm.c dte_tables->MaxT = cpu_to_be32(dte_data->max_t); cpu_to_be32 2509 drivers/gpu/drm/radeon/si_dpm.c dte_tables->Tthreshold = cpu_to_be32(dte_data->t_threshold); cpu_to_be32 2515 drivers/gpu/drm/radeon/si_dpm.c dte_tables->tau[i] = cpu_to_be32(dte_data->tau[i]); cpu_to_be32 2516 drivers/gpu/drm/radeon/si_dpm.c dte_tables->R[i] = cpu_to_be32(dte_data->r[i]); cpu_to_be32 2523 drivers/gpu/drm/radeon/si_dpm.c dte_tables->Tdep_tau[i] = cpu_to_be32(dte_data->tdep_tau[i]); cpu_to_be32 2524 drivers/gpu/drm/radeon/si_dpm.c dte_tables->Tdep_R[i] = cpu_to_be32(dte_data->tdep_r[i]); cpu_to_be32 2705 drivers/gpu/drm/radeon/si_dpm.c cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size); cpu_to_be32 2708 drivers/gpu/drm/radeon/si_dpm.c cac_tables->lkge_lut_V0 = cpu_to_be32((u32)vddc_min); cpu_to_be32 2709 drivers/gpu/drm/radeon/si_dpm.c cac_tables->lkge_lut_Vstep = cpu_to_be32((u32)vddc_step); cpu_to_be32 2710 drivers/gpu/drm/radeon/si_dpm.c cac_tables->R_LL = cpu_to_be32(load_line_slope); cpu_to_be32 2711 drivers/gpu/drm/radeon/si_dpm.c cac_tables->WinTime = cpu_to_be32(si_pi->dyn_powertune_data.wintime); cpu_to_be32 2712 drivers/gpu/drm/radeon/si_dpm.c cac_tables->calculation_repeats = cpu_to_be32(2); cpu_to_be32 2713 drivers/gpu/drm/radeon/si_dpm.c cac_tables->dc_cac = cpu_to_be32(0); cpu_to_be32 2716 drivers/gpu/drm/radeon/si_dpm.c cac_tables->lkge_lut_T0 = cpu_to_be32((u32)t0); cpu_to_be32 2717 drivers/gpu/drm/radeon/si_dpm.c cac_tables->lkge_lut_Tstep = cpu_to_be32((u32)t_step); cpu_to_be32 2895 drivers/gpu/drm/radeon/si_dpm.c spll_table->freq[i] = cpu_to_be32(tmp); cpu_to_be32 2899 drivers/gpu/drm/radeon/si_dpm.c spll_table->ss[i] = cpu_to_be32(tmp); cpu_to_be32 4045 drivers/gpu/drm/radeon/si_dpm.c table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); cpu_to_be32 4067 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); cpu_to_be32 4081 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); cpu_to_be32 4089 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->mvdd_voltage_table.mask_low); cpu_to_be32 4098 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->vddc_phase_shed_table.mask_low); cpu_to_be32 4312 drivers/gpu/drm/radeon/si_dpm.c arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing); cpu_to_be32 4313 drivers/gpu/drm/radeon/si_dpm.c arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2); cpu_to_be32 4378 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.dll_cntl); cpu_to_be32 4380 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mclk_pwrmgt_cntl); cpu_to_be32 4382 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ad_func_cntl); cpu_to_be32 4384 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl); cpu_to_be32 4386 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); cpu_to_be32 4388 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_func_cntl_1); cpu_to_be32 4390 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_func_cntl_2); cpu_to_be32 4392 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ss1); cpu_to_be32 4394 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ss2); cpu_to_be32 4397 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(initial_state->performance_levels[0].mclk); cpu_to_be32 4400 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl); cpu_to_be32 4402 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_2); cpu_to_be32 4404 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_3); cpu_to_be32 4406 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_4); cpu_to_be32 4408 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum); cpu_to_be32 4410 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum_2); cpu_to_be32 4413 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(initial_state->performance_levels[0].sclk); cpu_to_be32 4453 drivers/gpu/drm/radeon/si_dpm.c table->initialState.levels[0].aT = cpu_to_be32(reg); cpu_to_be32 4455 drivers/gpu/drm/radeon/si_dpm.c table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 4481 drivers/gpu/drm/radeon/si_dpm.c table->initialState.levels[0].SQPowerThrottle = cpu_to_be32(reg); cpu_to_be32 4484 drivers/gpu/drm/radeon/si_dpm.c table->initialState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg); cpu_to_be32 4580 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(dll_cntl); cpu_to_be32 4582 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 4584 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 4586 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 4588 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(mpll_func_cntl); cpu_to_be32 4590 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(mpll_func_cntl_1); cpu_to_be32 4592 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(mpll_func_cntl_2); cpu_to_be32 4594 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ss1); cpu_to_be32 4596 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_pi->clock_registers.mpll_ss2); cpu_to_be32 4599 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(spll_func_cntl); cpu_to_be32 4601 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(spll_func_cntl_2); cpu_to_be32 4603 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(spll_func_cntl_3); cpu_to_be32 4605 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(spll_func_cntl_4); cpu_to_be32 4622 drivers/gpu/drm/radeon/si_dpm.c table->ACPIState.levels[0].SQPowerThrottle = cpu_to_be32(reg); cpu_to_be32 4625 drivers/gpu/drm/radeon/si_dpm.c table->ACPIState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg); cpu_to_be32 4861 drivers/gpu/drm/radeon/si_dpm.c sclk->sclk_value = cpu_to_be32(sclk_tmp.sclk_value); cpu_to_be32 4862 drivers/gpu/drm/radeon/si_dpm.c sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL); cpu_to_be32 4863 drivers/gpu/drm/radeon/si_dpm.c sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_2); cpu_to_be32 4864 drivers/gpu/drm/radeon/si_dpm.c sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_3); cpu_to_be32 4865 drivers/gpu/drm/radeon/si_dpm.c sclk->vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_4); cpu_to_be32 4866 drivers/gpu/drm/radeon/si_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM); cpu_to_be32 4867 drivers/gpu/drm/radeon/si_dpm.c sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM_2); cpu_to_be32 4948 drivers/gpu/drm/radeon/si_dpm.c mclk->mclk_value = cpu_to_be32(memory_clock); cpu_to_be32 4949 drivers/gpu/drm/radeon/si_dpm.c mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); cpu_to_be32 4950 drivers/gpu/drm/radeon/si_dpm.c mclk->vMPLL_FUNC_CNTL_1 = cpu_to_be32(mpll_func_cntl_1); cpu_to_be32 4951 drivers/gpu/drm/radeon/si_dpm.c mclk->vMPLL_FUNC_CNTL_2 = cpu_to_be32(mpll_func_cntl_2); cpu_to_be32 4952 drivers/gpu/drm/radeon/si_dpm.c mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cpu_to_be32 4953 drivers/gpu/drm/radeon/si_dpm.c mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cpu_to_be32 4954 drivers/gpu/drm/radeon/si_dpm.c mclk->vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); cpu_to_be32 4955 drivers/gpu/drm/radeon/si_dpm.c mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); cpu_to_be32 4956 drivers/gpu/drm/radeon/si_dpm.c mclk->vMPLL_SS = cpu_to_be32(mpll_ss1); cpu_to_be32 4957 drivers/gpu/drm/radeon/si_dpm.c mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2); cpu_to_be32 4971 drivers/gpu/drm/radeon/si_dpm.c smc_state->levels[i].bSP = cpu_to_be32(pi->dsp); cpu_to_be32 4974 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(pi->psp); cpu_to_be32 5102 drivers/gpu/drm/radeon/si_dpm.c smc_state->levels[0].aT = cpu_to_be32(a_t); cpu_to_be32 5106 drivers/gpu/drm/radeon/si_dpm.c smc_state->levels[0].aT = cpu_to_be32(0); cpu_to_be32 5124 drivers/gpu/drm/radeon/si_dpm.c smc_state->levels[i].aT = cpu_to_be32(a_t); cpu_to_be32 5129 drivers/gpu/drm/radeon/si_dpm.c smc_state->levels[i + 1].aT = cpu_to_be32(a_t); cpu_to_be32 5611 drivers/gpu/drm/radeon/si_dpm.c data->value[i] = cpu_to_be32(entry->mc_data[j]); cpu_to_be32 6085 drivers/gpu/drm/radeon/si_dpm.c fan_table.refresh_period = cpu_to_be32((rdev->pm.dpm.fan.cycle_delay * cpu_to_be32 143 drivers/gpu/drm/rcar-du/rcar_du_of.c value[0] = cpu_to_be32(clk->np->phandle); cpu_to_be32 145 drivers/gpu/drm/rcar-du/rcar_du_of.c value[i + 1] = cpu_to_be32(clk->args[i]); cpu_to_be32 161 drivers/gpu/drm/rcar-du/rcar_du_of.c value[0] = cpu_to_be32(local->phandle); cpu_to_be32 162 drivers/gpu/drm/rcar-du/rcar_du_of.c value[1] = cpu_to_be32(remote->phandle); cpu_to_be32 342 drivers/hwmon/applesmc.c be = cpu_to_be32(index); cpu_to_be32 89 drivers/i2c/busses/i2c-opal.c req.size = cpu_to_be32(msgs[0].len); cpu_to_be32 99 drivers/i2c/busses/i2c-opal.c req.subaddr = cpu_to_be32(req.subaddr); cpu_to_be32 100 drivers/i2c/busses/i2c-opal.c req.size = cpu_to_be32(msgs[1].len); cpu_to_be32 127 drivers/i2c/busses/i2c-opal.c req.size = cpu_to_be32(1); cpu_to_be32 135 drivers/i2c/busses/i2c-opal.c req.size = cpu_to_be32(1); cpu_to_be32 136 drivers/i2c/busses/i2c-opal.c req.subaddr = cpu_to_be32(command); cpu_to_be32 147 drivers/i2c/busses/i2c-opal.c req.size = cpu_to_be32(2); cpu_to_be32 148 drivers/i2c/busses/i2c-opal.c req.subaddr = cpu_to_be32(command); cpu_to_be32 155 drivers/i2c/busses/i2c-opal.c req.size = cpu_to_be32(data->block[0]); cpu_to_be32 156 drivers/i2c/busses/i2c-opal.c req.subaddr = cpu_to_be32(command); cpu_to_be32 205 drivers/ide/ide-floppy.c put_unaligned(cpu_to_be32(block), (unsigned int *) &pc->c[2]); cpu_to_be32 114 drivers/ide/ide-floppy_ioctl.c put_unaligned(cpu_to_be32(b), (unsigned int *)(&buf[4])); cpu_to_be32 115 drivers/ide/ide-floppy_ioctl.c put_unaligned(cpu_to_be32(l), (unsigned int *)(&buf[8])); cpu_to_be32 550 drivers/ide/ide-tape.c put_unaligned(cpu_to_be32(length), (unsigned int *) &pc->c[1]); cpu_to_be32 774 drivers/ide/ide-tape.c put_unaligned(cpu_to_be32(block), (unsigned int *) &pc->c[3]); cpu_to_be32 916 drivers/ide/ide-tape.c put_unaligned(cpu_to_be32(count), (unsigned int *) &pc->c[1]); cpu_to_be32 194 drivers/iio/adc/ti-ads8688.c st->data[0].d32 = cpu_to_be32(tmp); cpu_to_be32 206 drivers/iio/adc/ti-ads8688.c st->data[0].d32 = cpu_to_be32(tmp); cpu_to_be32 230 drivers/iio/adc/ti-ads8688.c st->data[0].d32 = cpu_to_be32(tmp); cpu_to_be32 234 drivers/iio/adc/ti-ads8688.c st->data[1].d32 = cpu_to_be32(tmp); cpu_to_be32 479 drivers/iio/chemical/atlas-ph-sensor.c __be32 reg = cpu_to_be32(val / 10); cpu_to_be32 924 drivers/iio/dac/ad5064.c st->data.spi = cpu_to_be32(AD5064_CMD(cmd) | AD5064_ADDR(addr) | val); cpu_to_be32 199 drivers/iio/dac/ad5360.c st->data[0].d32 = cpu_to_be32(val); cpu_to_be32 234 drivers/iio/dac/ad5360.c st->data[0].d32 = cpu_to_be32(AD5360_CMD(AD5360_CMD_SPECIAL_FUNCTION) | cpu_to_be32 137 drivers/iio/dac/ad5421.c st->data[0].d32 = cpu_to_be32((reg << 16) | val); cpu_to_be32 171 drivers/iio/dac/ad5421.c st->data[0].d32 = cpu_to_be32((1 << 23) | (reg << 16)); cpu_to_be32 30 drivers/iio/dac/ad5686-spi.c st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | cpu_to_be32 36 drivers/iio/dac/ad5686-spi.c st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | cpu_to_be32 79 drivers/iio/dac/ad5686-spi.c st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | cpu_to_be32 81 drivers/iio/dac/ad5686-spi.c st->data[1].d32 = cpu_to_be32(AD5686_CMD(AD5686_CMD_NOOP)); cpu_to_be32 34 drivers/iio/dac/ad5696-i2c.c st->data[0].d32 = cpu_to_be32(AD5686_CMD(AD5686_CMD_NOOP) | cpu_to_be32 51 drivers/iio/dac/ad5696-i2c.c st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | AD5686_ADDR(addr) cpu_to_be32 162 drivers/iio/dac/ad5755.c st->data[0].d32 = cpu_to_be32((reg << 16) | val); cpu_to_be32 216 drivers/iio/dac/ad5755.c st->data[0].d32 = cpu_to_be32(AD5755_READ_FLAG | (addr << 16)); cpu_to_be32 217 drivers/iio/dac/ad5755.c st->data[1].d32 = cpu_to_be32(AD5755_NOOP); cpu_to_be32 202 drivers/iio/dac/ad5758.c st->d32[0] = cpu_to_be32( cpu_to_be32 205 drivers/iio/dac/ad5758.c st->d32[1] = cpu_to_be32(AD5758_WR_FLAG_MSK(AD5758_NOP) << 24); cpu_to_be32 218 drivers/iio/dac/ad5758.c st->d32[0] = cpu_to_be32((AD5758_WR_FLAG_MSK(addr) << 24) | cpu_to_be32 671 drivers/iio/dac/ad5758.c st->d32[0] = cpu_to_be32(mask); cpu_to_be32 117 drivers/iio/dac/ad5761.c st->data[0].d32 = cpu_to_be32(AD5761_ADDR(addr) | val); cpu_to_be32 151 drivers/iio/dac/ad5761.c st->data[0].d32 = cpu_to_be32(AD5761_ADDR(addr)); cpu_to_be32 152 drivers/iio/dac/ad5761.c st->data[1].d32 = cpu_to_be32(AD5761_ADDR(AD5761_ADDR_NOOP)); cpu_to_be32 130 drivers/iio/dac/ad5764.c st->data[0].d32 = cpu_to_be32((reg << 16) | val); cpu_to_be32 156 drivers/iio/dac/ad5764.c st->data[0].d32 = cpu_to_be32((1 << 23) | (reg << 16)); cpu_to_be32 112 drivers/iio/dac/ad5791.c st->data[0].d32 = cpu_to_be32(AD5791_CMD_WRITE | cpu_to_be32 136 drivers/iio/dac/ad5791.c st->data[0].d32 = cpu_to_be32(AD5791_CMD_READ | cpu_to_be32 138 drivers/iio/dac/ad5791.c st->data[1].d32 = cpu_to_be32(AD5791_ADDR(AD5791_ADDR_NOOP)); cpu_to_be32 319 drivers/iio/frequency/ad9523.c st->data[0].d32 = cpu_to_be32(AD9523_READ | cpu_to_be32 348 drivers/iio/frequency/ad9523.c st->data[0].d32 = cpu_to_be32(AD9523_WRITE | cpu_to_be32 351 drivers/iio/frequency/ad9523.c st->data[1].d32 = cpu_to_be32(val); cpu_to_be32 81 drivers/iio/frequency/adf4350.c st->val = cpu_to_be32(st->regs[i] | i); cpu_to_be32 114 drivers/iio/gyro/adxrs450.c st->tx = cpu_to_be32(tx); cpu_to_be32 150 drivers/iio/gyro/adxrs450.c st->tx = cpu_to_be32(tx); cpu_to_be32 183 drivers/iio/gyro/adxrs450.c st->tx = cpu_to_be32(ADXRS450_SENSOR_DATA); cpu_to_be32 220 drivers/iio/gyro/adxrs450.c st->tx = cpu_to_be32(tx); cpu_to_be32 1290 drivers/infiniband/core/cm.c cm_req_set_local_qpn(req_msg, cpu_to_be32(param->qp_num)); cpu_to_be32 1296 drivers/infiniband/core/cm.c cm_req_set_starting_psn(req_msg, cpu_to_be32(param->starting_psn)); cpu_to_be32 2067 drivers/infiniband/core/cm.c cm_rep_set_starting_psn(rep_msg, cpu_to_be32(param->starting_psn)); cpu_to_be32 2079 drivers/infiniband/core/cm.c cm_rep_set_local_qpn(rep_msg, cpu_to_be32(param->qp_num)); cpu_to_be32 2082 drivers/infiniband/core/cm.c cm_rep_set_local_eecn(rep_msg, cpu_to_be32(param->qp_num)); cpu_to_be32 2134 drivers/infiniband/core/cm.c cm_id_priv->local_qpn = cpu_to_be32(param->qp_num & 0xFFFFFF); cpu_to_be32 3621 drivers/infiniband/core/cm.c cm_sidr_rep_set_qpn(sidr_rep_msg, cpu_to_be32(param->qp_num)); cpu_to_be32 3623 drivers/infiniband/core/cm.c sidr_rep_msg->qkey = cpu_to_be32(param->qkey); cpu_to_be32 105 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(req_msg->offset32) >> 8); cpu_to_be32 110 drivers/infiniband/core/cm_msgs.h req_msg->offset32 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cpu_to_be32 122 drivers/infiniband/core/cm_msgs.h req_msg->offset32 = cpu_to_be32(resp_res | cpu_to_be32 135 drivers/infiniband/core/cm_msgs.h req_msg->offset36 = cpu_to_be32(init_depth | cpu_to_be32 148 drivers/infiniband/core/cm_msgs.h req_msg->offset40 = cpu_to_be32((resp_timeout << 3) | cpu_to_be32 173 drivers/infiniband/core/cm_msgs.h req_msg->offset40 = cpu_to_be32((be32_to_cpu( cpu_to_be32 178 drivers/infiniband/core/cm_msgs.h req_msg->offset40 = cpu_to_be32((be32_to_cpu( cpu_to_be32 184 drivers/infiniband/core/cm_msgs.h req_msg->offset40 = cpu_to_be32(be32_to_cpu( cpu_to_be32 198 drivers/infiniband/core/cm_msgs.h req_msg->offset40 = cpu_to_be32((flow_ctrl & 0x1) | cpu_to_be32 205 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(req_msg->offset44) >> 8); cpu_to_be32 211 drivers/infiniband/core/cm_msgs.h req_msg->offset44 = cpu_to_be32((be32_to_cpu(starting_psn) << 8) | cpu_to_be32 223 drivers/infiniband/core/cm_msgs.h req_msg->offset44 = cpu_to_be32((resp_timeout << 3) | cpu_to_be32 235 drivers/infiniband/core/cm_msgs.h req_msg->offset44 = cpu_to_be32((retry_count & 0x7) | cpu_to_be32 285 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(req_msg->primary_offset88) >> 12); cpu_to_be32 291 drivers/infiniband/core/cm_msgs.h req_msg->primary_offset88 = cpu_to_be32( cpu_to_be32 305 drivers/infiniband/core/cm_msgs.h req_msg->primary_offset88 = cpu_to_be32( cpu_to_be32 347 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(req_msg->alt_offset132) >> 12); cpu_to_be32 353 drivers/infiniband/core/cm_msgs.h req_msg->alt_offset132 = cpu_to_be32( cpu_to_be32 367 drivers/infiniband/core/cm_msgs.h req_msg->alt_offset132 = cpu_to_be32( cpu_to_be32 513 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(rep_msg->offset12) >> 8); cpu_to_be32 518 drivers/infiniband/core/cm_msgs.h rep_msg->offset12 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cpu_to_be32 524 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(rep_msg->offset16) >> 8); cpu_to_be32 529 drivers/infiniband/core/cm_msgs.h rep_msg->offset16 = cpu_to_be32((be32_to_cpu(eecn) << 8) | cpu_to_be32 541 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(rep_msg->offset20) >> 8); cpu_to_be32 547 drivers/infiniband/core/cm_msgs.h rep_msg->offset20 = cpu_to_be32((be32_to_cpu(starting_psn) << 8) | cpu_to_be32 633 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(dreq_msg->offset8) >> 8); cpu_to_be32 638 drivers/infiniband/core/cm_msgs.h dreq_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cpu_to_be32 682 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(lap_msg->offset12) >> 8); cpu_to_be32 687 drivers/infiniband/core/cm_msgs.h lap_msg->offset12 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cpu_to_be32 700 drivers/infiniband/core/cm_msgs.h lap_msg->offset12 = cpu_to_be32((resp_timeout << 3) | cpu_to_be32 707 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(lap_msg->offset56) >> 12); cpu_to_be32 713 drivers/infiniband/core/cm_msgs.h lap_msg->offset56 = cpu_to_be32( cpu_to_be32 726 drivers/infiniband/core/cm_msgs.h lap_msg->offset56 = cpu_to_be32(traffic_class | cpu_to_be32 818 drivers/infiniband/core/cm_msgs.h return cpu_to_be32(be32_to_cpu(sidr_rep_msg->offset8) >> 8); cpu_to_be32 824 drivers/infiniband/core/cm_msgs.h sidr_rep_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cpu_to_be32 4268 drivers/infiniband/core/cma.c rec.qkey = cpu_to_be32(id_priv->qkey); cpu_to_be32 4377 drivers/infiniband/core/cma.c mc->multicast.ib->rec.qkey = cpu_to_be32(RDMA_UDP_QKEY); cpu_to_be32 130 drivers/infiniband/core/mad_rmpp.c ack->rmpp_hdr.seg_num = cpu_to_be32(rmpp_recv->seg_num); cpu_to_be32 131 drivers/infiniband/core/mad_rmpp.c ack->rmpp_hdr.paylen_newwin = cpu_to_be32(rmpp_recv->newwin); cpu_to_be32 200 drivers/infiniband/core/mad_rmpp.c rmpp_mad->rmpp_hdr.paylen_newwin = cpu_to_be32(1); cpu_to_be32 584 drivers/infiniband/core/mad_rmpp.c rmpp_mad->rmpp_hdr.seg_num = cpu_to_be32(++mad_send_wr->seg_num); cpu_to_be32 597 drivers/infiniband/core/mad_rmpp.c rmpp_mad->rmpp_hdr.paylen_newwin = cpu_to_be32(paylen); cpu_to_be32 765 drivers/infiniband/core/mad_rmpp.c if (rmpp_hdr->seg_num == cpu_to_be32(1)) { cpu_to_be32 84 drivers/infiniband/core/packer.c mask = cpu_to_be32(((1ull << desc[i].size_bits) - 1) << shift); cpu_to_be32 86 drivers/infiniband/core/packer.c *addr = (*addr & ~mask) | (cpu_to_be32(val) & mask); cpu_to_be32 131 drivers/infiniband/core/packer.c case 32: *(__be32 *) (structure + offset) = cpu_to_be32(val); break; cpu_to_be32 247 drivers/infiniband/core/user_mad.c packet->mad.hdr.qpn = cpu_to_be32(mad_recv_wc->wc->src_qp); cpu_to_be32 278 drivers/infiniband/core/user_mad.c packet->mad.hdr.flow_label = cpu_to_be32(grh->flow_label); cpu_to_be32 123 drivers/infiniband/core/uverbs_std_types_flow_action.c .src_ip = cpu_to_be32(0xffffffffUL), cpu_to_be32 124 drivers/infiniband/core/uverbs_std_types_flow_action.c .dst_ip = cpu_to_be32(0xffffffffUL), cpu_to_be32 135 drivers/infiniband/core/uverbs_std_types_flow_action.c .flow_label = cpu_to_be32(0xffffffffUL), cpu_to_be32 1954 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.psn = cpu_to_be32(qp->send_psn); cpu_to_be32 1957 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.deth.qkey = cpu_to_be32(IB_QP1_QKEY); cpu_to_be32 326 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.gid[0] = cpu_to_be32(((u32 *)gid->data)[3]); cpu_to_be32 327 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.gid[1] = cpu_to_be32(((u32 *)gid->data)[2]); cpu_to_be32 328 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.gid[2] = cpu_to_be32(((u32 *)gid->data)[1]); cpu_to_be32 329 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.gid[3] = cpu_to_be32(((u32 *)gid->data)[0]); cpu_to_be32 386 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.gid[0] = cpu_to_be32(((u32 *)gid->data)[3]); cpu_to_be32 387 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.gid[1] = cpu_to_be32(((u32 *)gid->data)[2]); cpu_to_be32 388 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.gid[2] = cpu_to_be32(((u32 *)gid->data)[1]); cpu_to_be32 389 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.gid[3] = cpu_to_be32(((u32 *)gid->data)[0]); cpu_to_be32 149 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->flags = cpu_to_be32(MODQP_WRITE_EC); cpu_to_be32 337 drivers/infiniband/hw/cxgb3/cxio_hal.c cqe.header = cpu_to_be32(V_CQE_STATUS(TPT_ERR_SWFLUSH) | cpu_to_be32 374 drivers/infiniband/hw/cxgb3/cxio_hal.c cqe.header = cpu_to_be32(V_CQE_STATUS(TPT_ERR_SWFLUSH) | cpu_to_be32 417 drivers/infiniband/hw/cxgb3/cxio_hal.c swcqe->header |= cpu_to_be32(V_CQE_SWCQE(1)); cpu_to_be32 544 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->flags = cpu_to_be32(MODQP_WRITE_EC); cpu_to_be32 704 drivers/infiniband/hw/cxgb3/cxio_hal.c tpt.valid_stag_pdid = cpu_to_be32(F_TPT_VALID | cpu_to_be32 709 drivers/infiniband/hw/cxgb3/cxio_hal.c tpt.flags_pagesize_qpid = cpu_to_be32(V_TPT_PERM(perm) | cpu_to_be32 713 drivers/infiniband/hw/cxgb3/cxio_hal.c tpt.rsvd_pbl_addr = cpu_to_be32(V_TPT_PBL_ADDR(PBL_OFF(rdev_p, pbl_addr)>>3)); cpu_to_be32 714 drivers/infiniband/hw/cxgb3/cxio_hal.c tpt.len = cpu_to_be32(len); cpu_to_be32 715 drivers/infiniband/hw/cxgb3/cxio_hal.c tpt.va_hi = cpu_to_be32((u32) (to >> 32)); cpu_to_be32 716 drivers/infiniband/hw/cxgb3/cxio_hal.c tpt.va_low_or_fbo = cpu_to_be32((u32) (to & 0xFFFFFFFFULL)); cpu_to_be32 718 drivers/infiniband/hw/cxgb3/cxio_hal.c tpt.rsvd_pbl_size = cpu_to_be32(V_TPT_PBL_SIZE(pbl_size >> 2)); cpu_to_be32 817 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->wrh.op_seop_flags = cpu_to_be32(V_FW_RIWR_OP(T3_WR_INIT)); cpu_to_be32 818 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(attr->tid) | cpu_to_be32 821 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->qpid = cpu_to_be32(attr->qpid); cpu_to_be32 822 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->pdid = cpu_to_be32(attr->pdid); cpu_to_be32 823 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->scqid = cpu_to_be32(attr->scqid); cpu_to_be32 824 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->rcqid = cpu_to_be32(attr->rcqid); cpu_to_be32 825 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->rq_addr = cpu_to_be32(attr->rq_addr - rdev_p->rnic_info.rqt_base); cpu_to_be32 826 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->rq_size = cpu_to_be32(attr->rq_size); cpu_to_be32 834 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->ord = cpu_to_be32(attr->ord); cpu_to_be32 835 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->ird = cpu_to_be32(attr->ird); cpu_to_be32 837 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->qp_dma_size = cpu_to_be32(attr->qp_dma_size); cpu_to_be32 838 drivers/infiniband/hw/cxgb3/cxio_hal.c wqe->irs = cpu_to_be32(attr->irs); cpu_to_be32 431 drivers/infiniband/hw/cxgb3/cxio_wr.h wqe->op_seop_flags = cpu_to_be32(V_FW_RIWR_OP(op) | cpu_to_be32 435 drivers/infiniband/hw/cxgb3/cxio_wr.h wqe->gen_tid_len = cpu_to_be32(V_FW_RIWR_GEN(genbit) | cpu_to_be32 61 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->send.rem_stag = cpu_to_be32(wr->ex.invalidate_rkey); cpu_to_be32 77 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->send.sgl[i].stag = cpu_to_be32(wr->sg_list[i].lkey); cpu_to_be32 78 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->send.sgl[i].len = cpu_to_be32(wr->sg_list[i].length); cpu_to_be32 81 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->send.num_sgle = cpu_to_be32(wr->num_sge); cpu_to_be32 83 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->send.plen = cpu_to_be32(plen); cpu_to_be32 98 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->write.stag_sink = cpu_to_be32(rdma_wr(wr)->rkey); cpu_to_be32 104 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->write.sgl[0].len = cpu_to_be32(0); cpu_to_be32 105 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->write.num_sgle = cpu_to_be32(0); cpu_to_be32 115 drivers/infiniband/hw/cxgb3/iwch_qp.c cpu_to_be32(wr->sg_list[i].lkey); cpu_to_be32 117 drivers/infiniband/hw/cxgb3/iwch_qp.c cpu_to_be32(wr->sg_list[i].length); cpu_to_be32 121 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->write.num_sgle = cpu_to_be32(wr->num_sge); cpu_to_be32 124 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->write.plen = cpu_to_be32(plen); cpu_to_be32 140 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->read.rem_stag = cpu_to_be32(rdma_wr(wr)->rkey); cpu_to_be32 142 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->read.local_stag = cpu_to_be32(wr->sg_list[0].lkey); cpu_to_be32 143 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->read.local_len = cpu_to_be32(wr->sg_list[0].length); cpu_to_be32 159 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->fastreg.stag = cpu_to_be32(wr->key); cpu_to_be32 160 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->fastreg.len = cpu_to_be32(mhp->ibmr.length); cpu_to_be32 161 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->fastreg.va_base_hi = cpu_to_be32(mhp->ibmr.iova >> 32); cpu_to_be32 163 drivers/infiniband/hw/cxgb3/iwch_qp.c cpu_to_be32(mhp->ibmr.iova & 0xffffffff); cpu_to_be32 164 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->fastreg.page_type_perms = cpu_to_be32( cpu_to_be32 195 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->local_inv.stag = cpu_to_be32(wr->ex.invalidate_rkey); cpu_to_be32 263 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->recv.num_sgle = cpu_to_be32(wr->num_sge); cpu_to_be32 265 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->recv.sgl[i].stag = cpu_to_be32(wr->sg_list[i].lkey); cpu_to_be32 266 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->recv.sgl[i].len = cpu_to_be32(wr->sg_list[i].length); cpu_to_be32 273 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->recv.pbl_addr[i] = cpu_to_be32(pbl_addr[i]); cpu_to_be32 311 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->recv.num_sgle = cpu_to_be32(wr->num_sge); cpu_to_be32 332 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->recv.sgl[i].len = cpu_to_be32(wr->sg_list[i].length); cpu_to_be32 334 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->recv.pbl_addr[i] = cpu_to_be32(pbl_offset); cpu_to_be32 677 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->read.rem_stag = cpu_to_be32(1); cpu_to_be32 679 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->read.local_stag = cpu_to_be32(1); cpu_to_be32 680 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->read.local_len = cpu_to_be32(0); cpu_to_be32 682 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->send.wrh.op_seop_flags = cpu_to_be32(V_FW_RIWR_OP(T3_WR_READ)); cpu_to_be32 683 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->send.wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(ep->hwtid)| cpu_to_be32 713 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->send.wrh.op_seop_flags = cpu_to_be32(V_FW_RIWR_OP(T3_WR_SEND) | cpu_to_be32 715 drivers/infiniband/hw/cxgb3/iwch_qp.c wqe->send.wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(qhp->ep->hwtid)); cpu_to_be32 611 drivers/infiniband/hw/cxgb4/cm.c flowc->op_to_nparams = cpu_to_be32(FW_WR_OP_V(FW_FLOWC_WR) | cpu_to_be32 613 drivers/infiniband/hw/cxgb4/cm.c flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(flowclen16) | cpu_to_be32 617 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[0].val = cpu_to_be32(FW_PFVF_CMD_PFN_V cpu_to_be32 620 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[1].val = cpu_to_be32(ep->tx_chan); cpu_to_be32 622 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[2].val = cpu_to_be32(ep->tx_chan); cpu_to_be32 624 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[3].val = cpu_to_be32(ep->rss_qid); cpu_to_be32 626 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[4].val = cpu_to_be32(ep->snd_seq); cpu_to_be32 628 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[5].val = cpu_to_be32(ep->rcv_seq); cpu_to_be32 630 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[6].val = cpu_to_be32(ep->snd_win); cpu_to_be32 632 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[7].val = cpu_to_be32(ep->emss); cpu_to_be32 634 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[8].val = cpu_to_be32(ep->snd_wscale); cpu_to_be32 639 drivers/infiniband/hw/cxgb4/cm.c flowc->mnemval[9].val = cpu_to_be32(pri); cpu_to_be32 675 drivers/infiniband/hw/cxgb4/cm.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_GET_TCB, ep->hwtid)); cpu_to_be32 849 drivers/infiniband/hw/cxgb4/cm.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ, cpu_to_be32 858 drivers/infiniband/hw/cxgb4/cm.c req->params = cpu_to_be32(params); cpu_to_be32 859 drivers/infiniband/hw/cxgb4/cm.c req->opt2 = cpu_to_be32(opt2); cpu_to_be32 864 drivers/infiniband/hw/cxgb4/cm.c t5req->rsvd = cpu_to_be32(isn); cpu_to_be32 866 drivers/infiniband/hw/cxgb4/cm.c t5req->opt2 = cpu_to_be32(opt2); cpu_to_be32 870 drivers/infiniband/hw/cxgb4/cm.c t6req->rsvd = cpu_to_be32(isn); cpu_to_be32 872 drivers/infiniband/hw/cxgb4/cm.c t6req->opt2 = cpu_to_be32(opt2); cpu_to_be32 899 drivers/infiniband/hw/cxgb4/cm.c OPCODE_TID(req6) = cpu_to_be32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ6, cpu_to_be32 910 drivers/infiniband/hw/cxgb4/cm.c req6->params = cpu_to_be32(cxgb4_select_ntuple(netdev, cpu_to_be32 912 drivers/infiniband/hw/cxgb4/cm.c req6->opt2 = cpu_to_be32(opt2); cpu_to_be32 917 drivers/infiniband/hw/cxgb4/cm.c t5req6->rsvd = cpu_to_be32(isn); cpu_to_be32 919 drivers/infiniband/hw/cxgb4/cm.c t5req6->opt2 = cpu_to_be32(opt2); cpu_to_be32 923 drivers/infiniband/hw/cxgb4/cm.c t6req6->rsvd = cpu_to_be32(isn); cpu_to_be32 925 drivers/infiniband/hw/cxgb4/cm.c t6req6->opt2 = cpu_to_be32(opt2); cpu_to_be32 963 drivers/infiniband/hw/cxgb4/cm.c req->op_to_immdlen = cpu_to_be32( cpu_to_be32 967 drivers/infiniband/hw/cxgb4/cm.c req->flowid_len16 = cpu_to_be32( cpu_to_be32 970 drivers/infiniband/hw/cxgb4/cm.c req->plen = cpu_to_be32(mpalen); cpu_to_be32 971 drivers/infiniband/hw/cxgb4/cm.c req->tunnel_to_proxy = cpu_to_be32( cpu_to_be32 1069 drivers/infiniband/hw/cxgb4/cm.c req->op_to_immdlen = cpu_to_be32( cpu_to_be32 1073 drivers/infiniband/hw/cxgb4/cm.c req->flowid_len16 = cpu_to_be32( cpu_to_be32 1076 drivers/infiniband/hw/cxgb4/cm.c req->plen = cpu_to_be32(mpalen); cpu_to_be32 1077 drivers/infiniband/hw/cxgb4/cm.c req->tunnel_to_proxy = cpu_to_be32( cpu_to_be32 1149 drivers/infiniband/hw/cxgb4/cm.c req->op_to_immdlen = cpu_to_be32( cpu_to_be32 1153 drivers/infiniband/hw/cxgb4/cm.c req->flowid_len16 = cpu_to_be32( cpu_to_be32 1156 drivers/infiniband/hw/cxgb4/cm.c req->plen = cpu_to_be32(mpalen); cpu_to_be32 1157 drivers/infiniband/hw/cxgb4/cm.c req->tunnel_to_proxy = cpu_to_be32( cpu_to_be32 1971 drivers/infiniband/hw/cxgb4/cm.c req->le.filter = cpu_to_be32(cxgb4_select_ntuple( cpu_to_be32 2024 drivers/infiniband/hw/cxgb4/cm.c req->tcb.opt2 = cpu_to_be32((__force u32)req->tcb.opt2); cpu_to_be32 2481 drivers/infiniband/hw/cxgb4/cm.c OPCODE_TID(rpl) = cpu_to_be32(MK_OPCODE_TID(CPL_PASS_ACCEPT_RPL, cpu_to_be32 2493 drivers/infiniband/hw/cxgb4/cm.c rpl5->iss = cpu_to_be32(isn); cpu_to_be32 2498 drivers/infiniband/hw/cxgb4/cm.c rpl->opt2 = cpu_to_be32(opt2); cpu_to_be32 3964 drivers/infiniband/hw/cxgb4/cm.c cpu_to_be32(SYN_RX_CHAN_V(RX_CHAN_G(be32_to_cpu(l2info)))); cpu_to_be32 3969 drivers/infiniband/hw/cxgb4/cm.c req->hdr_len |= cpu_to_be32(TCP_HDR_LEN_V(tcp_hdr_len) | cpu_to_be32 3974 drivers/infiniband/hw/cxgb4/cm.c req->hdr_len |= cpu_to_be32(T6_TCP_HDR_LEN_V(tcp_hdr_len) | cpu_to_be32 3980 drivers/infiniband/hw/cxgb4/cm.c req->tos_stid = cpu_to_be32(PASS_OPEN_TID_V(stid) | cpu_to_be32 4077 drivers/infiniband/hw/cxgb4/cm.c if (!(cpl->l2info & cpu_to_be32(RXF_SYN_F))) cpu_to_be32 4090 drivers/infiniband/hw/cxgb4/cm.c stid = (__force int) cpu_to_be32((__force u32) rss->hash_val); cpu_to_be32 4174 drivers/infiniband/hw/cxgb4/cm.c filter = (__force unsigned int) cpu_to_be32(cxgb4_select_ntuple( cpu_to_be32 49 drivers/infiniband/hw/cxgb4/cq.c res_wr->op_nres = cpu_to_be32( cpu_to_be32 53 drivers/infiniband/hw/cxgb4/cq.c res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); cpu_to_be32 58 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.iqid = cpu_to_be32(cq->cqid); cpu_to_be32 127 drivers/infiniband/hw/cxgb4/cq.c res_wr->op_nres = cpu_to_be32( cpu_to_be32 131 drivers/infiniband/hw/cxgb4/cq.c res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); cpu_to_be32 136 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.iqid = cpu_to_be32(cq->cqid); cpu_to_be32 137 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.iqandst_to_iqandstindex = cpu_to_be32( cpu_to_be32 191 drivers/infiniband/hw/cxgb4/cq.c cqe.header = cpu_to_be32(CQE_STATUS_V(T4_ERR_SWFLUSH) | cpu_to_be32 198 drivers/infiniband/hw/cxgb4/cq.c cqe.u.srcqe.abs_rqe_idx = cpu_to_be32(srqidx); cpu_to_be32 225 drivers/infiniband/hw/cxgb4/cq.c cqe.header = cpu_to_be32(CQE_STATUS_V(T4_ERR_SWFLUSH) | cpu_to_be32 411 drivers/infiniband/hw/cxgb4/cq.c swcqe->header |= cpu_to_be32(CQE_SWCQE_V(1)); cpu_to_be32 664 drivers/infiniband/hw/cxgb4/cq.c hw_cqe->header |= cpu_to_be32(CQE_STATUS_V(T4_ERR_MSN)); cpu_to_be32 86 drivers/infiniband/hw/cxgb4/mem.c req->wr.wr_hi = cpu_to_be32(FW_WR_OP_V(FW_ULPTX_WR) | cpu_to_be32 89 drivers/infiniband/hw/cxgb4/mem.c req->wr.wr_mid = cpu_to_be32(FW_WR_LEN16_V(DIV_ROUND_UP(wr_len, 16))); cpu_to_be32 90 drivers/infiniband/hw/cxgb4/mem.c req->cmd = cpu_to_be32(ULPTX_CMD_V(ULP_TX_MEM_WRITE) | cpu_to_be32 93 drivers/infiniband/hw/cxgb4/mem.c req->dlen = cpu_to_be32(ULP_MEMIO_DATA_LEN_V(len>>5)); cpu_to_be32 94 drivers/infiniband/hw/cxgb4/mem.c req->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(req->wr), 16)); cpu_to_be32 95 drivers/infiniband/hw/cxgb4/mem.c req->lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(addr)); cpu_to_be32 98 drivers/infiniband/hw/cxgb4/mem.c sgl->cmd_nsge = cpu_to_be32(ULPTX_CMD_V(ULP_TX_SC_DSGL) | cpu_to_be32 100 drivers/infiniband/hw/cxgb4/mem.c sgl->len0 = cpu_to_be32(len); cpu_to_be32 118 drivers/infiniband/hw/cxgb4/mem.c __be32 cmd = cpu_to_be32(ULPTX_CMD_V(ULP_TX_MEM_WRITE)); cpu_to_be32 121 drivers/infiniband/hw/cxgb4/mem.c cmd |= cpu_to_be32(ULP_MEMIO_ORDER_F); cpu_to_be32 123 drivers/infiniband/hw/cxgb4/mem.c cmd |= cpu_to_be32(T5_ULP_MEMIO_IMM_F); cpu_to_be32 148 drivers/infiniband/hw/cxgb4/mem.c req->wr.wr_hi = cpu_to_be32(FW_WR_OP_V(FW_ULPTX_WR) | cpu_to_be32 152 drivers/infiniband/hw/cxgb4/mem.c req->wr.wr_hi = cpu_to_be32(FW_WR_OP_V(FW_ULPTX_WR)); cpu_to_be32 153 drivers/infiniband/hw/cxgb4/mem.c req->wr.wr_mid = cpu_to_be32( cpu_to_be32 157 drivers/infiniband/hw/cxgb4/mem.c req->dlen = cpu_to_be32(ULP_MEMIO_DATA_LEN_V( cpu_to_be32 159 drivers/infiniband/hw/cxgb4/mem.c req->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(req->wr), cpu_to_be32 161 drivers/infiniband/hw/cxgb4/mem.c req->lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(addr + i * 3)); cpu_to_be32 164 drivers/infiniband/hw/cxgb4/mem.c sc->cmd_more = cpu_to_be32(ULPTX_CMD_V(ULP_TX_SC_IMM)); cpu_to_be32 165 drivers/infiniband/hw/cxgb4/mem.c sc->len = cpu_to_be32(roundup(copy_len, T4_ULPTX_MIN_IO)); cpu_to_be32 315 drivers/infiniband/hw/cxgb4/mem.c tpt->valid_to_pdid = cpu_to_be32(FW_RI_TPTE_VALID_F | cpu_to_be32 319 drivers/infiniband/hw/cxgb4/mem.c tpt->locread_to_qpid = cpu_to_be32(FW_RI_TPTE_PERM_V(perm) | cpu_to_be32 324 drivers/infiniband/hw/cxgb4/mem.c tpt->nosnoop_pbladdr = !pbl_size ? 0 : cpu_to_be32( cpu_to_be32 326 drivers/infiniband/hw/cxgb4/mem.c tpt->len_lo = cpu_to_be32((u32)(len & 0xffffffffUL)); cpu_to_be32 327 drivers/infiniband/hw/cxgb4/mem.c tpt->va_hi = cpu_to_be32((u32)(to >> 32)); cpu_to_be32 328 drivers/infiniband/hw/cxgb4/mem.c tpt->va_lo_fbo = cpu_to_be32((u32)(to & 0xffffffffUL)); cpu_to_be32 329 drivers/infiniband/hw/cxgb4/mem.c tpt->dca_mwbcnt_pstag = cpu_to_be32(0); cpu_to_be32 330 drivers/infiniband/hw/cxgb4/mem.c tpt->len_hi = cpu_to_be32((u32)(len >> 32)); cpu_to_be32 316 drivers/infiniband/hw/cxgb4/qp.c res_wr->op_nres = cpu_to_be32( cpu_to_be32 320 drivers/infiniband/hw/cxgb4/qp.c res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); cpu_to_be32 332 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.fetchszm_to_iqid = cpu_to_be32( cpu_to_be32 338 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.dcaen_to_eqsize = cpu_to_be32( cpu_to_be32 347 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.eqid = cpu_to_be32(wq->sq.qid); cpu_to_be32 362 drivers/infiniband/hw/cxgb4/qp.c cpu_to_be32(FW_RI_RES_WR_HOSTFCMODE_V(0) | cpu_to_be32 369 drivers/infiniband/hw/cxgb4/qp.c cpu_to_be32(FW_RI_RES_WR_DCAEN_V(0) | cpu_to_be32 376 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.eqid = cpu_to_be32(wq->rq.qid); cpu_to_be32 447 drivers/infiniband/hw/cxgb4/qp.c immdp->immdlen = cpu_to_be32(plen); cpu_to_be32 500 drivers/infiniband/hw/cxgb4/qp.c wqe->send.sendop_pkd = cpu_to_be32( cpu_to_be32 503 drivers/infiniband/hw/cxgb4/qp.c wqe->send.sendop_pkd = cpu_to_be32( cpu_to_be32 509 drivers/infiniband/hw/cxgb4/qp.c wqe->send.sendop_pkd = cpu_to_be32( cpu_to_be32 512 drivers/infiniband/hw/cxgb4/qp.c wqe->send.sendop_pkd = cpu_to_be32( cpu_to_be32 514 drivers/infiniband/hw/cxgb4/qp.c wqe->send.stag_inv = cpu_to_be32(wr->ex.invalidate_rkey); cpu_to_be32 551 drivers/infiniband/hw/cxgb4/qp.c wqe->send.plen = cpu_to_be32(plen); cpu_to_be32 573 drivers/infiniband/hw/cxgb4/qp.c wqe->write.stag_sink = cpu_to_be32(rdma_wr(wr)->rkey); cpu_to_be32 602 drivers/infiniband/hw/cxgb4/qp.c wqe->write.plen = cpu_to_be32(plen); cpu_to_be32 633 drivers/infiniband/hw/cxgb4/qp.c wcwr->stag_sink = cpu_to_be32(rdma_wr(wr)->rkey); cpu_to_be32 638 drivers/infiniband/hw/cxgb4/qp.c wcwr->stag_inv = cpu_to_be32(wr->next->ex.invalidate_rkey); cpu_to_be32 655 drivers/infiniband/hw/cxgb4/qp.c wcwr->plen = cpu_to_be32(plen); cpu_to_be32 665 drivers/infiniband/hw/cxgb4/qp.c wqe->read.stag_src = cpu_to_be32(rdma_wr(wr)->rkey); cpu_to_be32 666 drivers/infiniband/hw/cxgb4/qp.c wqe->read.to_src_hi = cpu_to_be32((u32)(rdma_wr(wr)->remote_addr cpu_to_be32 668 drivers/infiniband/hw/cxgb4/qp.c wqe->read.to_src_lo = cpu_to_be32((u32)rdma_wr(wr)->remote_addr); cpu_to_be32 669 drivers/infiniband/hw/cxgb4/qp.c wqe->read.stag_sink = cpu_to_be32(wr->sg_list[0].lkey); cpu_to_be32 670 drivers/infiniband/hw/cxgb4/qp.c wqe->read.plen = cpu_to_be32(wr->sg_list[0].length); cpu_to_be32 671 drivers/infiniband/hw/cxgb4/qp.c wqe->read.to_sink_hi = cpu_to_be32((u32)(wr->sg_list[0].addr cpu_to_be32 673 drivers/infiniband/hw/cxgb4/qp.c wqe->read.to_sink_lo = cpu_to_be32((u32)(wr->sg_list[0].addr)); cpu_to_be32 675 drivers/infiniband/hw/cxgb4/qp.c wqe->read.stag_src = cpu_to_be32(2); cpu_to_be32 678 drivers/infiniband/hw/cxgb4/qp.c wqe->read.stag_sink = cpu_to_be32(2); cpu_to_be32 793 drivers/infiniband/hw/cxgb4/qp.c fr->r2 = cpu_to_be32(0); cpu_to_be32 794 drivers/infiniband/hw/cxgb4/qp.c fr->stag = cpu_to_be32(mhp->ibmr.rkey); cpu_to_be32 796 drivers/infiniband/hw/cxgb4/qp.c fr->tpte.valid_to_pdid = cpu_to_be32(FW_RI_TPTE_VALID_F | cpu_to_be32 801 drivers/infiniband/hw/cxgb4/qp.c fr->tpte.locread_to_qpid = cpu_to_be32( cpu_to_be32 805 drivers/infiniband/hw/cxgb4/qp.c fr->tpte.nosnoop_pbladdr = cpu_to_be32(FW_RI_TPTE_PBLADDR_V( cpu_to_be32 807 drivers/infiniband/hw/cxgb4/qp.c fr->tpte.dca_mwbcnt_pstag = cpu_to_be32(0); cpu_to_be32 808 drivers/infiniband/hw/cxgb4/qp.c fr->tpte.len_hi = cpu_to_be32(0); cpu_to_be32 809 drivers/infiniband/hw/cxgb4/qp.c fr->tpte.len_lo = cpu_to_be32(mhp->ibmr.length); cpu_to_be32 810 drivers/infiniband/hw/cxgb4/qp.c fr->tpte.va_hi = cpu_to_be32(mhp->ibmr.iova >> 32); cpu_to_be32 811 drivers/infiniband/hw/cxgb4/qp.c fr->tpte.va_lo_fbo = cpu_to_be32(mhp->ibmr.iova & 0xffffffff); cpu_to_be32 837 drivers/infiniband/hw/cxgb4/qp.c wqe->fr.len_lo = cpu_to_be32(mhp->ibmr.length); cpu_to_be32 838 drivers/infiniband/hw/cxgb4/qp.c wqe->fr.stag = cpu_to_be32(wr->key); cpu_to_be32 839 drivers/infiniband/hw/cxgb4/qp.c wqe->fr.va_hi = cpu_to_be32(mhp->ibmr.iova >> 32); cpu_to_be32 840 drivers/infiniband/hw/cxgb4/qp.c wqe->fr.va_lo_fbo = cpu_to_be32(mhp->ibmr.iova & cpu_to_be32 854 drivers/infiniband/hw/cxgb4/qp.c sglp->len0 = cpu_to_be32(pbllen); cpu_to_be32 862 drivers/infiniband/hw/cxgb4/qp.c imdp->immdlen = cpu_to_be32(pbllen); cpu_to_be32 886 drivers/infiniband/hw/cxgb4/qp.c wqe->inv.stag_inv = cpu_to_be32(wr->ex.invalidate_rkey); cpu_to_be32 995 drivers/infiniband/hw/cxgb4/qp.c cqe.header = cpu_to_be32(CQE_STATUS_V(T4_ERR_SWFLUSH) | cpu_to_be32 1046 drivers/infiniband/hw/cxgb4/qp.c cqe.header = cpu_to_be32(CQE_STATUS_V(T4_ERR_SWFLUSH) | cpu_to_be32 1576 drivers/infiniband/hw/cxgb4/qp.c wqe->op_compl = cpu_to_be32(FW_WR_OP_V(FW_RI_INIT_WR)); cpu_to_be32 1577 drivers/infiniband/hw/cxgb4/qp.c wqe->flowid_len16 = cpu_to_be32( cpu_to_be32 1582 drivers/infiniband/hw/cxgb4/qp.c wqe->u.terminate.immdlen = cpu_to_be32(sizeof(*term)); cpu_to_be32 1707 drivers/infiniband/hw/cxgb4/qp.c wqe->op_compl = cpu_to_be32( cpu_to_be32 1710 drivers/infiniband/hw/cxgb4/qp.c wqe->flowid_len16 = cpu_to_be32( cpu_to_be32 1731 drivers/infiniband/hw/cxgb4/qp.c init->u.write.stag_sink = cpu_to_be32(1); cpu_to_be32 1739 drivers/infiniband/hw/cxgb4/qp.c init->u.read.stag_src = cpu_to_be32(1); cpu_to_be32 1740 drivers/infiniband/hw/cxgb4/qp.c init->u.read.to_src_lo = cpu_to_be32(1); cpu_to_be32 1741 drivers/infiniband/hw/cxgb4/qp.c init->u.read.stag_sink = cpu_to_be32(1); cpu_to_be32 1742 drivers/infiniband/hw/cxgb4/qp.c init->u.read.to_sink_lo = cpu_to_be32(1); cpu_to_be32 1771 drivers/infiniband/hw/cxgb4/qp.c wqe->op_compl = cpu_to_be32( cpu_to_be32 1774 drivers/infiniband/hw/cxgb4/qp.c wqe->flowid_len16 = cpu_to_be32( cpu_to_be32 1799 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.pdid = cpu_to_be32(qhp->attr.pd); cpu_to_be32 1800 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.qpid = cpu_to_be32(qhp->wq.sq.qid); cpu_to_be32 1801 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.sq_eqid = cpu_to_be32(qhp->wq.sq.qid); cpu_to_be32 1803 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.rq_eqid = cpu_to_be32(FW_RI_INIT_RQEQID_SRQ | cpu_to_be32 1806 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.rq_eqid = cpu_to_be32(qhp->wq.rq.qid); cpu_to_be32 1807 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.hwrqsize = cpu_to_be32(qhp->wq.rq.rqt_size); cpu_to_be32 1808 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.hwrqaddr = cpu_to_be32(qhp->wq.rq.rqt_hwaddr - cpu_to_be32 1811 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.scqid = cpu_to_be32(qhp->attr.scq); cpu_to_be32 1812 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.rcqid = cpu_to_be32(qhp->attr.rcq); cpu_to_be32 1813 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.ord_max = cpu_to_be32(qhp->attr.max_ord); cpu_to_be32 1814 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.ird_max = cpu_to_be32(qhp->attr.max_ird); cpu_to_be32 1815 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.iss = cpu_to_be32(qhp->ep->snd_seq); cpu_to_be32 1816 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.irs = cpu_to_be32(qhp->ep->rcv_seq); cpu_to_be32 2495 drivers/infiniband/hw/cxgb4/qp.c res_wr->op_nres = cpu_to_be32(FW_WR_OP_V(FW_RI_RES_WR) | cpu_to_be32 2498 drivers/infiniband/hw/cxgb4/qp.c res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); cpu_to_be32 2503 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.srqid = cpu_to_be32(srq->idx); cpu_to_be32 2504 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.eqid = cpu_to_be32(wq->qid); cpu_to_be32 2585 drivers/infiniband/hw/cxgb4/qp.c res_wr->op_nres = cpu_to_be32(FW_WR_OP_V(FW_RI_RES_WR) | cpu_to_be32 2588 drivers/infiniband/hw/cxgb4/qp.c res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); cpu_to_be32 2599 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.eqid = cpu_to_be32(wq->qid); cpu_to_be32 2602 drivers/infiniband/hw/cxgb4/qp.c cpu_to_be32(FW_RI_RES_WR_HOSTFCMODE_V(0) | cpu_to_be32 2607 drivers/infiniband/hw/cxgb4/qp.c cpu_to_be32(FW_RI_RES_WR_DCAEN_V(0) | cpu_to_be32 2615 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.srqid = cpu_to_be32(srq->idx); cpu_to_be32 2616 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.pdid = cpu_to_be32(srq->pdid); cpu_to_be32 2617 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.hwsrqsize = cpu_to_be32(wq->rqt_size); cpu_to_be32 2618 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.hwsrqaddr = cpu_to_be32(wq->rqt_hwaddr - cpu_to_be32 674 drivers/infiniband/hw/hfi1/driver.c packet->ohdr->bth[1] = cpu_to_be32(bth1); cpu_to_be32 538 drivers/infiniband/hw/hfi1/hfi.h mgmt->dest_qpn = cpu_to_be32(dest_qp & OPA_16B_MGMT_QPN_MASK); cpu_to_be32 539 drivers/infiniband/hw/hfi1/hfi.h mgmt->src_qpn = cpu_to_be32(src_qp & OPA_16B_MGMT_QPN_MASK); cpu_to_be32 443 drivers/infiniband/hw/hfi1/mad.c trap->data.issuer_lid = cpu_to_be32(lid); cpu_to_be32 466 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_257_258.lid1 = cpu_to_be32(lid1); cpu_to_be32 467 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_257_258.lid2 = cpu_to_be32(lid2); cpu_to_be32 468 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_257_258.key = cpu_to_be32(key); cpu_to_be32 470 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_257_258.qp1 = cpu_to_be32(qp1); cpu_to_be32 471 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_257_258.qp2 = cpu_to_be32(qp2); cpu_to_be32 533 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_144.new_cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); cpu_to_be32 631 drivers/infiniband/hw/hfi1/mad.c ni->revision = cpu_to_be32(dd->minrev); cpu_to_be32 668 drivers/infiniband/hw/hfi1/mad.c nip->revision = cpu_to_be32(dd->minrev); cpu_to_be32 830 drivers/infiniband/hw/hfi1/mad.c pi->lid = cpu_to_be32(ppd->lid); cpu_to_be32 839 drivers/infiniband/hw/hfi1/mad.c pi->sm_lid = cpu_to_be32(ibp->rvp.sm_lid); cpu_to_be32 840 drivers/infiniband/hw/hfi1/mad.c pi->ib_cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); cpu_to_be32 842 drivers/infiniband/hw/hfi1/mad.c pi->sm_trap_qp = cpu_to_be32(ppd->sm_trap_qp); cpu_to_be32 843 drivers/infiniband/hw/hfi1/mad.c pi->sa_qp = cpu_to_be32(ppd->sa_qp); cpu_to_be32 953 drivers/infiniband/hw/hfi1/mad.c pi->port_error_action = cpu_to_be32(ppd->port_error_action); cpu_to_be32 981 drivers/infiniband/hw/hfi1/mad.c pi->buffer_units = cpu_to_be32(buffer_units); cpu_to_be32 2619 drivers/infiniband/hw/hfi1/mad.c p->cap_mask2_resp_time = cpu_to_be32(18); cpu_to_be32 2772 drivers/infiniband/hw/hfi1/mad.c rsp->vl_select_mask = cpu_to_be32((u32)vl_select_mask); cpu_to_be32 2818 drivers/infiniband/hw/hfi1/mad.c rsp->link_error_recovery = cpu_to_be32(~0); cpu_to_be32 2820 drivers/infiniband/hw/hfi1/mad.c rsp->link_error_recovery = cpu_to_be32(tmp2); cpu_to_be32 2829 drivers/infiniband/hw/hfi1/mad.c rsp->link_downed = cpu_to_be32(read_port_cntr(ppd, C_SW_LINK_DOWN, cpu_to_be32 3042 drivers/infiniband/hw/hfi1/mad.c rsp->link_quality_indicator = cpu_to_be32((u32)lq); cpu_to_be32 3167 drivers/infiniband/hw/hfi1/mad.c rsp->link_error_recovery = cpu_to_be32(~0); cpu_to_be32 3169 drivers/infiniband/hw/hfi1/mad.c rsp->link_error_recovery = cpu_to_be32(tmp2); cpu_to_be32 3172 drivers/infiniband/hw/hfi1/mad.c rsp->link_downed = cpu_to_be32(read_port_cntr(ppd, C_SW_LINK_DOWN, cpu_to_be32 3449 drivers/infiniband/hw/hfi1/mad.c cpu_to_be32(dd->err_info_xmit_constraint.slid); cpu_to_be32 3456 drivers/infiniband/hw/hfi1/mad.c cpu_to_be32(dd->err_info_rcv_constraint.slid); cpu_to_be32 3757 drivers/infiniband/hw/hfi1/mad.c p->control_map = cpu_to_be32(cc_state->cong_setting.control_map); cpu_to_be32 3888 drivers/infiniband/hw/hfi1/mad.c cong_log->current_time_stamp = cpu_to_be32(ts); cpu_to_be32 3907 drivers/infiniband/hw/hfi1/mad.c cpu_to_be32(cce->rlid); cpu_to_be32 3909 drivers/infiniband/hw/hfi1/mad.c cpu_to_be32(cce->timestamp); cpu_to_be32 4061 drivers/infiniband/hw/hfi1/mad.c p->rsvd_led_mask = cpu_to_be32(is_beaconing_active << OPA_LED_SHIFT); cpu_to_be32 433 drivers/infiniband/hw/hfi1/mad.h cpu_to_be32(COUNTER_MASK(1, 0) | \ cpu_to_be32 381 drivers/infiniband/hw/hfi1/rc.c cpu_to_be32((qp->r_msn & IB_MSN_MASK) | cpu_to_be32 615 drivers/infiniband/hw/hfi1/rc.c ohdr->u.ieth = cpu_to_be32( cpu_to_be32 639 drivers/infiniband/hw/hfi1/rc.c cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 640 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); cpu_to_be32 787 drivers/infiniband/hw/hfi1/rc.c cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 788 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); cpu_to_be32 904 drivers/infiniband/hw/hfi1/rc.c ohdr->u.atomic_eth.rkey = cpu_to_be32( cpu_to_be32 972 drivers/infiniband/hw/hfi1/rc.c ohdr->u.ieth = cpu_to_be32(wqe->wr.ex.invalidate_rkey); cpu_to_be32 1038 drivers/infiniband/hw/hfi1/rc.c cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 1039 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); cpu_to_be32 1227 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | cpu_to_be32 1233 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[0] = cpu_to_be32(bth0); cpu_to_be32 1234 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[1] = cpu_to_be32(bth1 | qp->remote_qpn); cpu_to_be32 1235 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[2] = cpu_to_be32(mask_psn(qp->r_ack_psn)); cpu_to_be32 1729 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[2] = cpu_to_be32(psn); cpu_to_be32 172 drivers/infiniband/hw/hfi1/ruc.c cpu_to_be32((IB_GRH_VERSION << IB_GRH_VERSION_SHIFT) | cpu_to_be32 253 drivers/infiniband/hw/hfi1/ruc.c ohdr->bth[0] = cpu_to_be32(bth0); cpu_to_be32 254 drivers/infiniband/hw/hfi1/ruc.c ohdr->bth[1] = cpu_to_be32(bth1); cpu_to_be32 255 drivers/infiniband/hw/hfi1/ruc.c ohdr->bth[2] = cpu_to_be32(bth2); cpu_to_be32 1743 drivers/infiniband/hw/hfi1/tid_rdma.c rreq->reth.rkey = cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 1744 drivers/infiniband/hw/hfi1/tid_rdma.c rreq->reth.length = cpu_to_be32(*len); cpu_to_be32 1746 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32((flow->flow_state.generation << cpu_to_be32 1751 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32(qpriv->tid_rdma.local.qp | cpu_to_be32 1755 drivers/infiniband/hw/hfi1/tid_rdma.c rreq->verbs_qp = cpu_to_be32(qp->remote_qpn); cpu_to_be32 2375 drivers/infiniband/hw/hfi1/tid_rdma.c resp->verbs_qp = cpu_to_be32(qp->remote_qpn); cpu_to_be32 2379 drivers/infiniband/hw/hfi1/tid_rdma.c resp->verbs_psn = cpu_to_be32(mask_psn(flow->flow_state.ib_spsn + cpu_to_be32 3375 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 3376 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.reth.length = cpu_to_be32(*len); cpu_to_be32 3377 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.verbs_qp = cpu_to_be32(qp->remote_qpn); cpu_to_be32 3907 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32((flow->flow_state.generation << cpu_to_be32 3912 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32(qpriv->tid_rdma.local.qp | cpu_to_be32 3916 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_rsp.verbs_qp = cpu_to_be32(qp->remote_qpn); cpu_to_be32 4230 drivers/infiniband/hw/hfi1/tid_rdma.c wd->verbs_qp = cpu_to_be32(qp->remote_qpn); cpu_to_be32 4426 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.verbs_qp = cpu_to_be32(qp->remote_qpn); cpu_to_be32 4437 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32((qp->r_msn & IB_MSN_MASK) | cpu_to_be32 4446 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32(qpriv->tid_rdma.local.qp | cpu_to_be32 4453 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32(flow->flow_state.resp_ib_psn); cpu_to_be32 4464 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32(qpriv->r_next_psn_kdeth_save); cpu_to_be32 4475 drivers/infiniband/hw/hfi1/tid_rdma.c cpu_to_be32(qpriv->r_next_psn_kdeth_save); cpu_to_be32 4843 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.verbs_qp = cpu_to_be32(qp->remote_qpn); cpu_to_be32 188 drivers/infiniband/hw/hfi1/uc.c cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 189 drivers/infiniband/hw/hfi1/uc.c ohdr->u.rc.reth.length = cpu_to_be32(len); cpu_to_be32 290 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[0] = cpu_to_be32(bth0); cpu_to_be32 291 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[1] = cpu_to_be32(rvt_get_swqe_remote_qpn(wqe)); cpu_to_be32 292 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); cpu_to_be32 298 drivers/infiniband/hw/hfi1/ud.c cpu_to_be32((int)rvt_get_swqe_remote_qkey(wqe) < 0 ? qp->qkey : cpu_to_be32 300 drivers/infiniband/hw/hfi1/ud.c ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); cpu_to_be32 671 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[0] = cpu_to_be32(bth0); cpu_to_be32 673 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[1] = cpu_to_be32(remote_qpn); cpu_to_be32 729 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[0] = cpu_to_be32(bth0); cpu_to_be32 731 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[1] = cpu_to_be32(remote_qpn | (1 << IB_BECN_SHIFT)); cpu_to_be32 1208 drivers/infiniband/hw/hfi1/user_sdma.c hdr->bth[2] = cpu_to_be32( cpu_to_be32 1215 drivers/infiniband/hw/hfi1/user_sdma.c hdr->bth[2] |= cpu_to_be32(1UL << 31); cpu_to_be32 488 drivers/infiniband/hw/hfi1/verbs.h return ohdr->bth[1] & cpu_to_be32(OPA_BTH_MIG_REQ); cpu_to_be32 2348 drivers/infiniband/hw/hns/hns_roce_hw_v1.c cpu_to_be32(le32_to_cpu(cqe->immediate_data)); cpu_to_be32 2355 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wc->ex.imm_data = cpu_to_be32( cpu_to_be32 2901 drivers/infiniband/hw/hns/hns_roce_hw_v2.c cpu_to_be32(le32_to_cpu(cqe->immtdata)); cpu_to_be32 2911 drivers/infiniband/hw/hns/hns_roce_hw_v2.c cpu_to_be32(le32_to_cpu(cqe->immtdata)); cpu_to_be32 48 drivers/infiniband/hw/mlx4/ah.c ah->av.ib.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | cpu_to_be32 52 drivers/infiniband/hw/mlx4/ah.c cpu_to_be32(rdma_ah_get_sl(ah_attr) << 28); cpu_to_be32 60 drivers/infiniband/hw/mlx4/ah.c cpu_to_be32((grh->traffic_class << 20) | cpu_to_be32 118 drivers/infiniband/hw/mlx4/ah.c ah->av.eth.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | cpu_to_be32 130 drivers/infiniband/hw/mlx4/ah.c cpu_to_be32((grh->traffic_class << 20) | cpu_to_be32 139 drivers/infiniband/hw/mlx4/ah.c ah->av.eth.sl_tclass_flowlabel |= cpu_to_be32(rdma_ah_get_sl(ah_attr) cpu_to_be32 182 drivers/infiniband/hw/mlx4/ah.c mah->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF); cpu_to_be32 80 drivers/infiniband/hw/mlx4/cm.c msg->request_id = cpu_to_be32(cm_id); cpu_to_be32 86 drivers/infiniband/hw/mlx4/cm.c msg->local_comm_id = cpu_to_be32(cm_id); cpu_to_be32 110 drivers/infiniband/hw/mlx4/cm.c msg->request_id = cpu_to_be32(cm_id); cpu_to_be32 116 drivers/infiniband/hw/mlx4/cm.c msg->remote_comm_id = cpu_to_be32(cm_id); cpu_to_be32 160 drivers/infiniband/hw/mlx4/mad.c ext_info->my_qpn = cpu_to_be32(in_wc->qp->qp_num); cpu_to_be32 161 drivers/infiniband/hw/mlx4/mad.c ext_info->rqpn = cpu_to_be32(in_wc->src_qp); cpu_to_be32 601 drivers/infiniband/hw/mlx4/mad.c tun_mad->hdr.flags_src_qp = cpu_to_be32(wc->src_qp & 0xFFFFFF); cpu_to_be32 1162 drivers/infiniband/hw/mlx4/mad.c in_mad->attr_mod = cpu_to_be32(guid_tbl_blk_num + i); cpu_to_be32 1576 drivers/infiniband/hw/mlx4/mad.c ah.av.ib.port_pd = cpu_to_be32(port << 24 | (be32_to_cpu(ah.av.ib.port_pd) & 0xffffff)); cpu_to_be32 673 drivers/infiniband/hw/mlx4/main.c in_mad->attr_mod = cpu_to_be32(port); cpu_to_be32 725 drivers/infiniband/hw/mlx4/main.c in_mad->attr_mod = cpu_to_be32(port); cpu_to_be32 851 drivers/infiniband/hw/mlx4/main.c in_mad->attr_mod = cpu_to_be32(port); cpu_to_be32 873 drivers/infiniband/hw/mlx4/main.c in_mad->attr_mod = cpu_to_be32(index / 8); cpu_to_be32 973 drivers/infiniband/hw/mlx4/main.c in_mad->attr_mod = cpu_to_be32(index / 32); cpu_to_be32 1044 drivers/infiniband/hw/mlx4/main.c ((__be32 *) mailbox->buf)[2] = cpu_to_be32(cap_mask); cpu_to_be32 1047 drivers/infiniband/hw/mlx4/main.c ((__be32 *) mailbox->buf)[1] = cpu_to_be32(cap_mask); cpu_to_be32 1375 drivers/infiniband/hw/mlx4/main.c cpu_to_be32(qp_num); cpu_to_be32 1377 drivers/infiniband/hw/mlx4/main.c cpu_to_be32(MLX4_IB_FLOW_QPN_MASK); cpu_to_be32 1567 drivers/infiniband/hw/mlx4/main.c ctrl->qpn = cpu_to_be32(qp->qp_num); cpu_to_be32 295 drivers/infiniband/hw/mlx4/mcg.c mad.mad_hdr.attr_mod = cpu_to_be32(0); cpu_to_be32 336 drivers/infiniband/hw/mlx4/mcg.c mad.mad_hdr.attr_mod = cpu_to_be32(0); cpu_to_be32 106 drivers/infiniband/hw/mlx4/qp.c [IB_WR_SEND] = cpu_to_be32(MLX4_OPCODE_SEND), cpu_to_be32 107 drivers/infiniband/hw/mlx4/qp.c [IB_WR_LSO] = cpu_to_be32(MLX4_OPCODE_LSO), cpu_to_be32 108 drivers/infiniband/hw/mlx4/qp.c [IB_WR_SEND_WITH_IMM] = cpu_to_be32(MLX4_OPCODE_SEND_IMM), cpu_to_be32 109 drivers/infiniband/hw/mlx4/qp.c [IB_WR_RDMA_WRITE] = cpu_to_be32(MLX4_OPCODE_RDMA_WRITE), cpu_to_be32 110 drivers/infiniband/hw/mlx4/qp.c [IB_WR_RDMA_WRITE_WITH_IMM] = cpu_to_be32(MLX4_OPCODE_RDMA_WRITE_IMM), cpu_to_be32 111 drivers/infiniband/hw/mlx4/qp.c [IB_WR_RDMA_READ] = cpu_to_be32(MLX4_OPCODE_RDMA_READ), cpu_to_be32 112 drivers/infiniband/hw/mlx4/qp.c [IB_WR_ATOMIC_CMP_AND_SWP] = cpu_to_be32(MLX4_OPCODE_ATOMIC_CS), cpu_to_be32 113 drivers/infiniband/hw/mlx4/qp.c [IB_WR_ATOMIC_FETCH_AND_ADD] = cpu_to_be32(MLX4_OPCODE_ATOMIC_FA), cpu_to_be32 114 drivers/infiniband/hw/mlx4/qp.c [IB_WR_SEND_WITH_INV] = cpu_to_be32(MLX4_OPCODE_SEND_INVAL), cpu_to_be32 115 drivers/infiniband/hw/mlx4/qp.c [IB_WR_LOCAL_INV] = cpu_to_be32(MLX4_OPCODE_LOCAL_INVAL), cpu_to_be32 116 drivers/infiniband/hw/mlx4/qp.c [IB_WR_REG_MR] = cpu_to_be32(MLX4_OPCODE_FMR), cpu_to_be32 117 drivers/infiniband/hw/mlx4/qp.c [IB_WR_MASKED_ATOMIC_CMP_AND_SWP] = cpu_to_be32(MLX4_OPCODE_MASKED_ATOMIC_CS), cpu_to_be32 118 drivers/infiniband/hw/mlx4/qp.c [IB_WR_MASKED_ATOMIC_FETCH_AND_ADD] = cpu_to_be32(MLX4_OPCODE_MASKED_ATOMIC_FA), cpu_to_be32 225 drivers/infiniband/hw/mlx4/qp.c *wqe = cpu_to_be32(0xffffffff); cpu_to_be32 1074 drivers/infiniband/hw/mlx4/qp.c qp->sq_signal_bits = cpu_to_be32(MLX4_WQE_CTRL_CQ_UPDATE); cpu_to_be32 1776 drivers/infiniband/hw/mlx4/qp.c return cpu_to_be32(hw_access_flags); cpu_to_be32 1832 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32((grh->traffic_class << 20) | cpu_to_be32 2118 drivers/infiniband/hw/mlx4/qp.c rss_context->base_qpn = cpu_to_be32(qp->rss_ctx->base_qpn_tbl_sz); cpu_to_be32 2120 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(qp->rss_ctx->base_qpn_tbl_sz & 0xffffff); cpu_to_be32 2186 drivers/infiniband/hw/mlx4/qp.c context->flags = cpu_to_be32((to_mlx4_state(new_state) << 28) | cpu_to_be32 2190 drivers/infiniband/hw/mlx4/qp.c context->flags |= cpu_to_be32(MLX4_QP_PM_MIGRATED << 11); cpu_to_be32 2195 drivers/infiniband/hw/mlx4/qp.c context->flags |= cpu_to_be32(MLX4_QP_PM_MIGRATED << 11); cpu_to_be32 2198 drivers/infiniband/hw/mlx4/qp.c context->flags |= cpu_to_be32(MLX4_QP_PM_REARM << 11); cpu_to_be32 2201 drivers/infiniband/hw/mlx4/qp.c context->flags |= cpu_to_be32(MLX4_QP_PM_ARMED << 11); cpu_to_be32 2207 drivers/infiniband/hw/mlx4/qp.c context->param3 |= cpu_to_be32(1 << 25); cpu_to_be32 2210 drivers/infiniband/hw/mlx4/qp.c context->param3 |= cpu_to_be32(1 << 29); cpu_to_be32 2247 drivers/infiniband/hw/mlx4/qp.c context->xrcd = cpu_to_be32((u32) qp->xrcdn); cpu_to_be32 2249 drivers/infiniband/hw/mlx4/qp.c context->param3 |= cpu_to_be32(1 << 30); cpu_to_be32 2253 drivers/infiniband/hw/mlx4/qp.c context->usr_page = cpu_to_be32( cpu_to_be32 2256 drivers/infiniband/hw/mlx4/qp.c context->usr_page = cpu_to_be32( cpu_to_be32 2260 drivers/infiniband/hw/mlx4/qp.c context->remote_qpn = cpu_to_be32(attr->dest_qp_num); cpu_to_be32 2375 drivers/infiniband/hw/mlx4/qp.c context->pd = cpu_to_be32(pd->pdn); cpu_to_be32 2378 drivers/infiniband/hw/mlx4/qp.c context->params1 = cpu_to_be32(MLX4_IB_ACK_REQ_FREQ << 28); cpu_to_be32 2384 drivers/infiniband/hw/mlx4/qp.c context->cqn_send = cpu_to_be32(send_cq->mcq.cqn); cpu_to_be32 2385 drivers/infiniband/hw/mlx4/qp.c context->cqn_recv = cpu_to_be32(recv_cq->mcq.cqn); cpu_to_be32 2389 drivers/infiniband/hw/mlx4/qp.c context->params1 |= cpu_to_be32(1 << 11); cpu_to_be32 2392 drivers/infiniband/hw/mlx4/qp.c context->params1 |= cpu_to_be32(attr->rnr_retry << 13); cpu_to_be32 2397 drivers/infiniband/hw/mlx4/qp.c context->params1 |= cpu_to_be32(attr->retry_cnt << 16); cpu_to_be32 2404 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(fls(attr->max_rd_atomic - 1) << 21); cpu_to_be32 2409 drivers/infiniband/hw/mlx4/qp.c context->next_send_psn = cpu_to_be32(attr->sq_psn); cpu_to_be32 2414 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(fls(attr->max_dest_rd_atomic - 1) << 21); cpu_to_be32 2424 drivers/infiniband/hw/mlx4/qp.c context->params2 |= cpu_to_be32(MLX4_QP_BIT_RIC); cpu_to_be32 2427 drivers/infiniband/hw/mlx4/qp.c context->rnr_nextrecvpsn |= cpu_to_be32(attr->min_rnr_timer << 24); cpu_to_be32 2431 drivers/infiniband/hw/mlx4/qp.c context->rnr_nextrecvpsn |= cpu_to_be32(attr->rq_psn); cpu_to_be32 2437 drivers/infiniband/hw/mlx4/qp.c context->qkey = cpu_to_be32(IB_QP_SET_QKEY); cpu_to_be32 2449 drivers/infiniband/hw/mlx4/qp.c context->qkey = cpu_to_be32(attr->qkey); cpu_to_be32 2455 drivers/infiniband/hw/mlx4/qp.c context->srqn = cpu_to_be32(1 << 24 | cpu_to_be32 2505 drivers/infiniband/hw/mlx4/qp.c context->srqn = cpu_to_be32(7 << 28); cpu_to_be32 2544 drivers/infiniband/hw/mlx4/qp.c ctrl->owner_opcode = cpu_to_be32(1 << 31); cpu_to_be32 2555 drivers/infiniband/hw/mlx4/qp.c context->flags |= cpu_to_be32(1 << MLX4_RSS_QPC_FLAG_OFFSET); cpu_to_be32 2921 drivers/infiniband/hw/mlx4/qp.c mlx->flags &= cpu_to_be32(MLX4_WQE_CTRL_CQ_UPDATE); cpu_to_be32 2924 drivers/infiniband/hw/mlx4/qp.c mlx->flags |= cpu_to_be32(MLX4_WQE_MLX_VL15 | 0x1 | MLX4_WQE_MLX_SLR); cpu_to_be32 2934 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->remote_qpn); cpu_to_be32 2937 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(mdev->dev->caps.spec_qps[sqp->qp.port - 1].qp0_tunnel); cpu_to_be32 2939 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); cpu_to_be32 2947 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.deth.qkey = cpu_to_be32(qkey); cpu_to_be32 2948 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.deth.source_qpn = cpu_to_be32(sqp->qp.mqp.qpn); cpu_to_be32 2964 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | header_size); cpu_to_be32 2968 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | spc); cpu_to_be32 2987 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); cpu_to_be32 3110 drivers/infiniband/hw/mlx4/qp.c ah->av.ib.sl_tclass_flowlabel & cpu_to_be32(0xfffff); cpu_to_be32 3155 drivers/infiniband/hw/mlx4/qp.c mlx->flags &= cpu_to_be32(MLX4_WQE_CTRL_CQ_UPDATE); cpu_to_be32 3158 drivers/infiniband/hw/mlx4/qp.c mlx->flags |= cpu_to_be32((!sqp->qp.ibqp.qp_num ? MLX4_WQE_MLX_VL15 : 0) | cpu_to_be32 3162 drivers/infiniband/hw/mlx4/qp.c if (ah->av.ib.port_pd & cpu_to_be32(0x80000000)) cpu_to_be32 3163 drivers/infiniband/hw/mlx4/qp.c mlx->flags |= cpu_to_be32(0x1); /* force loopback */ cpu_to_be32 3199 drivers/infiniband/hw/mlx4/qp.c mlx->flags |= cpu_to_be32(MLX4_WQE_CTRL_FORCE_LOOPBACK); cpu_to_be32 3227 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->remote_qpn); cpu_to_be32 3228 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); cpu_to_be32 3229 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? cpu_to_be32 3231 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.deth.source_qpn = cpu_to_be32(sqp->qp.ibqp.qp_num); cpu_to_be32 3257 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | header_size); cpu_to_be32 3261 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | spc); cpu_to_be32 3280 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); cpu_to_be32 3309 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(MLX4_WQE_FMR_AND_BIND_PERM_ATOMIC) : 0) | cpu_to_be32 3311 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_WRITE) : 0) | cpu_to_be32 3313 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_READ) : 0) | cpu_to_be32 3314 drivers/infiniband/hw/mlx4/qp.c (acc & IB_ACCESS_LOCAL_WRITE ? cpu_to_be32(MLX4_WQE_FMR_PERM_LOCAL_WRITE) : 0) | cpu_to_be32 3315 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(MLX4_WQE_FMR_PERM_LOCAL_READ); cpu_to_be32 3324 drivers/infiniband/hw/mlx4/qp.c fseg->mem_key = cpu_to_be32(wr->key); cpu_to_be32 3329 drivers/infiniband/hw/mlx4/qp.c fseg->page_size = cpu_to_be32(ilog2(mr->ibmr.page_size)); cpu_to_be32 3337 drivers/infiniband/hw/mlx4/qp.c iseg->mem_key = cpu_to_be32(rkey); cpu_to_be32 3344 drivers/infiniband/hw/mlx4/qp.c rseg->rkey = cpu_to_be32(rkey); cpu_to_be32 3377 drivers/infiniband/hw/mlx4/qp.c dseg->dqpn = cpu_to_be32(wr->remote_qpn); cpu_to_be32 3378 drivers/infiniband/hw/mlx4/qp.c dseg->qkey = cpu_to_be32(wr->remote_qkey); cpu_to_be32 3393 drivers/infiniband/hw/mlx4/qp.c sqp_av.port_pd = av->ib.port_pd | cpu_to_be32(0x80000000); cpu_to_be32 3396 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(0xf0000000); cpu_to_be32 3400 drivers/infiniband/hw/mlx4/qp.c dseg->dqpn = cpu_to_be32(dev->dev->caps.spec_qps[port - 1].qp1_tunnel); cpu_to_be32 3402 drivers/infiniband/hw/mlx4/qp.c dseg->dqpn = cpu_to_be32(dev->dev->caps.spec_qps[port - 1].qp0_tunnel); cpu_to_be32 3404 drivers/infiniband/hw/mlx4/qp.c dseg->qkey = cpu_to_be32(IB_QP_SET_QKEY); cpu_to_be32 3417 drivers/infiniband/hw/mlx4/qp.c hdr.remote_qpn = cpu_to_be32(wr->remote_qpn); cpu_to_be32 3419 drivers/infiniband/hw/mlx4/qp.c hdr.qkey = cpu_to_be32(wr->remote_qkey); cpu_to_be32 3428 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | sizeof (hdr)); cpu_to_be32 3433 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | spc); cpu_to_be32 3438 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | (sizeof (hdr) - spc)); cpu_to_be32 3463 drivers/infiniband/hw/mlx4/qp.c iseg->byte_count = cpu_to_be32((1 << 31) | 4); cpu_to_be32 3468 drivers/infiniband/hw/mlx4/qp.c dseg->lkey = cpu_to_be32(sg->lkey); cpu_to_be32 3481 drivers/infiniband/hw/mlx4/qp.c dseg->byte_count = cpu_to_be32(sg->length); cpu_to_be32 3486 drivers/infiniband/hw/mlx4/qp.c dseg->byte_count = cpu_to_be32(sg->length); cpu_to_be32 3487 drivers/infiniband/hw/mlx4/qp.c dseg->lkey = cpu_to_be32(sg->lkey); cpu_to_be32 3498 drivers/infiniband/hw/mlx4/qp.c *blh = cpu_to_be32(1 << 6); cpu_to_be32 3506 drivers/infiniband/hw/mlx4/qp.c *lso_hdr_sz = cpu_to_be32(wr->mss << 16 | wr->hlen); cpu_to_be32 3519 drivers/infiniband/hw/mlx4/qp.c return cpu_to_be32(wr->ex.invalidate_rkey); cpu_to_be32 3530 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31); cpu_to_be32 3604 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(MLX4_WQE_CTRL_CQ_UPDATE) : 0) | cpu_to_be32 3606 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(MLX4_WQE_CTRL_SOLICITED) : 0) | cpu_to_be32 3608 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM | cpu_to_be32 3660 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(MLX4_WQE_CTRL_STRONG_ORDER); cpu_to_be32 3668 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(MLX4_WQE_CTRL_STRONG_ORDER); cpu_to_be32 3695 drivers/infiniband/hw/mlx4/qp.c *(__be32 *) wqe |= cpu_to_be32(0x80000000); cpu_to_be32 3814 drivers/infiniband/hw/mlx4/qp.c (ind & qp->sq.wqe_cnt ? cpu_to_be32(1 << 31) : 0) | blh; cpu_to_be32 3903 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(sizeof (struct mlx4_ib_proxy_sqp_hdr)); cpu_to_be32 3905 drivers/infiniband/hw/mlx4/qp.c scat->lkey = cpu_to_be32(wr->sg_list->lkey); cpu_to_be32 3916 drivers/infiniband/hw/mlx4/qp.c scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); cpu_to_be32 3935 drivers/infiniband/hw/mlx4/qp.c *qp->db.db = cpu_to_be32(qp->rq.head & 0xffff); cpu_to_be32 4121 drivers/infiniband/hw/mlx4/qp.c qp->sq_signal_bits == cpu_to_be32(MLX4_WQE_CTRL_CQ_UPDATE) ? cpu_to_be32 154 drivers/infiniband/hw/mlx4/srq.c scatter->lkey = cpu_to_be32(MLX4_INVALID_LKEY); cpu_to_be32 340 drivers/infiniband/hw/mlx4/srq.c scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); cpu_to_be32 341 drivers/infiniband/hw/mlx4/srq.c scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); cpu_to_be32 347 drivers/infiniband/hw/mlx4/srq.c scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); cpu_to_be32 361 drivers/infiniband/hw/mlx4/srq.c *srq->db.db = cpu_to_be32(srq->wqe_ctr); cpu_to_be32 44 drivers/infiniband/hw/mlx5/ah.c ah->av.grh_gid_fl = cpu_to_be32(grh->flow_label | cpu_to_be32 314 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_mod = cpu_to_be32(port); cpu_to_be32 479 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_mod = cpu_to_be32(index / 32); cpu_to_be32 508 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_mod = cpu_to_be32(port); cpu_to_be32 519 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_mod = cpu_to_be32(index / 8); cpu_to_be32 553 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_mod = cpu_to_be32(port); cpu_to_be32 614 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_mod = cpu_to_be32(port); cpu_to_be32 2083 drivers/infiniband/hw/mlx5/mr.c klms[i].bcount = cpu_to_be32(sg_dma_len(sg) - sg_offset); cpu_to_be32 2084 drivers/infiniband/hw/mlx5/mr.c klms[i].key = cpu_to_be32(lkey); cpu_to_be32 2104 drivers/infiniband/hw/mlx5/mr.c klms[i + j].bcount = cpu_to_be32(sg_dma_len(sg) - cpu_to_be32 2106 drivers/infiniband/hw/mlx5/mr.c klms[i + j].key = cpu_to_be32(lkey); cpu_to_be32 174 drivers/infiniband/hw/mlx5/odp.c pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE); cpu_to_be32 175 drivers/infiniband/hw/mlx5/odp.c pklm->key = cpu_to_be32(dev->null_mkey); cpu_to_be32 208 drivers/infiniband/hw/mlx5/odp.c pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE); cpu_to_be32 213 drivers/infiniband/hw/mlx5/odp.c pklm->key = cpu_to_be32(mtt->ibmr.lkey); cpu_to_be32 216 drivers/infiniband/hw/mlx5/odp.c pklm->key = cpu_to_be32(dev->null_mkey); cpu_to_be32 1060 drivers/infiniband/hw/mlx5/odp.c if (av->dqp_dct & cpu_to_be32(MLX5_EXTENDED_UD_AV)) cpu_to_be32 2826 drivers/infiniband/hw/mlx5/qp.c *hw_access_flags_be = cpu_to_be32(hw_access_flags); cpu_to_be32 2963 drivers/infiniband/hw/mlx5/qp.c cpu_to_be32((grh->traffic_class << 20) | cpu_to_be32 3400 drivers/infiniband/hw/mlx5/qp.c context.qp_counter_set_usr_page &= cpu_to_be32(0xffffff); cpu_to_be32 3401 drivers/infiniband/hw/mlx5/qp.c context.qp_counter_set_usr_page |= cpu_to_be32(set_id << 24); cpu_to_be32 3476 drivers/infiniband/hw/mlx5/qp.c context->flags = cpu_to_be32(mlx5_st << 16); cpu_to_be32 3479 drivers/infiniband/hw/mlx5/qp.c context->flags |= cpu_to_be32(MLX5_QP_PM_MIGRATED << 11); cpu_to_be32 3483 drivers/infiniband/hw/mlx5/qp.c context->flags |= cpu_to_be32(MLX5_QP_PM_MIGRATED << 11); cpu_to_be32 3486 drivers/infiniband/hw/mlx5/qp.c context->flags |= cpu_to_be32(MLX5_QP_PM_REARM << 11); cpu_to_be32 3489 drivers/infiniband/hw/mlx5/qp.c context->flags |= cpu_to_be32(MLX5_QP_PM_ARMED << 11); cpu_to_be32 3506 drivers/infiniband/hw/mlx5/qp.c context->flags |= cpu_to_be32(tx_affinity << 24); cpu_to_be32 3529 drivers/infiniband/hw/mlx5/qp.c context->log_pg_sz_remote_qpn = cpu_to_be32(attr->dest_qp_num); cpu_to_be32 3566 drivers/infiniband/hw/mlx5/qp.c context->flags_pd = cpu_to_be32(pd ? pd->pdn : to_mpd(dev->devr.p0)->pdn); cpu_to_be32 3567 drivers/infiniband/hw/mlx5/qp.c context->cqn_send = send_cq ? cpu_to_be32(send_cq->mcq.cqn) : 0; cpu_to_be32 3568 drivers/infiniband/hw/mlx5/qp.c context->cqn_recv = recv_cq ? cpu_to_be32(recv_cq->mcq.cqn) : 0; cpu_to_be32 3569 drivers/infiniband/hw/mlx5/qp.c context->params1 = cpu_to_be32(MLX5_IB_ACK_REQ_FREQ << 28); cpu_to_be32 3572 drivers/infiniband/hw/mlx5/qp.c context->params1 |= cpu_to_be32(attr->rnr_retry << 13); cpu_to_be32 3575 drivers/infiniband/hw/mlx5/qp.c context->params1 |= cpu_to_be32(attr->retry_cnt << 16); cpu_to_be32 3580 drivers/infiniband/hw/mlx5/qp.c cpu_to_be32(fls(attr->max_rd_atomic - 1) << 21); cpu_to_be32 3584 drivers/infiniband/hw/mlx5/qp.c context->next_send_psn = cpu_to_be32(attr->sq_psn); cpu_to_be32 3589 drivers/infiniband/hw/mlx5/qp.c cpu_to_be32(fls(attr->max_dest_rd_atomic - 1) << 21); cpu_to_be32 3603 drivers/infiniband/hw/mlx5/qp.c context->rnr_nextrecvpsn |= cpu_to_be32(attr->min_rnr_timer << 24); cpu_to_be32 3606 drivers/infiniband/hw/mlx5/qp.c context->rnr_nextrecvpsn |= cpu_to_be32(attr->rq_psn); cpu_to_be32 3609 drivers/infiniband/hw/mlx5/qp.c context->qkey = cpu_to_be32(attr->qkey); cpu_to_be32 3627 drivers/infiniband/hw/mlx5/qp.c cpu_to_be32(set_id << 24); cpu_to_be32 3634 drivers/infiniband/hw/mlx5/qp.c context->deth_sqpn = cpu_to_be32(1); cpu_to_be32 4091 drivers/infiniband/hw/mlx5/qp.c rseg->rkey = cpu_to_be32(rkey); cpu_to_be32 4147 drivers/infiniband/hw/mlx5/qp.c dseg->av.dqp_dct = cpu_to_be32(ud_wr(wr)->remote_qpn | MLX5_EXTENDED_UD_AV); cpu_to_be32 4148 drivers/infiniband/hw/mlx5/qp.c dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey); cpu_to_be32 4153 drivers/infiniband/hw/mlx5/qp.c dseg->byte_count = cpu_to_be32(sg->length); cpu_to_be32 4154 drivers/infiniband/hw/mlx5/qp.c dseg->lkey = cpu_to_be32(sg->lkey); cpu_to_be32 4312 drivers/infiniband/hw/mlx5/qp.c umr->xlt_offset_47_16 = cpu_to_be32(offset >> 16); cpu_to_be32 4356 drivers/infiniband/hw/mlx5/qp.c seg->qpn_mkey7_0 = cpu_to_be32((key & 0xff) | 0xffffff00); cpu_to_be32 4357 drivers/infiniband/hw/mlx5/qp.c seg->flags_pd = cpu_to_be32(MLX5_MKEY_REMOTE_INVAL); cpu_to_be32 4360 drivers/infiniband/hw/mlx5/qp.c seg->xlt_oct_size = cpu_to_be32(ndescs); cpu_to_be32 4380 drivers/infiniband/hw/mlx5/qp.c seg->flags_pd = cpu_to_be32(to_mpd(umrwr->pd)->pdn); cpu_to_be32 4383 drivers/infiniband/hw/mlx5/qp.c seg->flags_pd |= cpu_to_be32(MLX5_MKEY_LEN64); cpu_to_be32 4388 drivers/infiniband/hw/mlx5/qp.c seg->qpn_mkey7_0 = cpu_to_be32(0xffffff00 | cpu_to_be32 4399 drivers/infiniband/hw/mlx5/qp.c dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64)); cpu_to_be32 4400 drivers/infiniband/hw/mlx5/qp.c dseg->lkey = cpu_to_be32(pd->ibpd.local_dma_lkey); cpu_to_be32 4411 drivers/infiniband/hw/mlx5/qp.c return cpu_to_be32(wr->ex.invalidate_rkey); cpu_to_be32 4475 drivers/infiniband/hw/mlx5/qp.c seg->byte_count = cpu_to_be32(inl | MLX5_INLINE_SEG); cpu_to_be32 4511 drivers/infiniband/hw/mlx5/qp.c inl->dif_reftag = cpu_to_be32(domain->sig.dif.ref_tag); cpu_to_be32 4546 drivers/infiniband/hw/mlx5/qp.c basic->raw_data_size = cpu_to_be32(data_size); cpu_to_be32 4554 drivers/infiniband/hw/mlx5/qp.c basic->m_bfs_psv = cpu_to_be32(msig->psv_memory.psv_idx); cpu_to_be32 4579 drivers/infiniband/hw/mlx5/qp.c basic->w_bfs_psv = cpu_to_be32(msig->psv_wire.psv_idx); cpu_to_be32 4632 drivers/infiniband/hw/mlx5/qp.c data_klm->bcount = cpu_to_be32(data_len); cpu_to_be32 4633 drivers/infiniband/hw/mlx5/qp.c data_klm->key = cpu_to_be32(data_key); cpu_to_be32 4665 drivers/infiniband/hw/mlx5/qp.c sblock_ctrl->bcount_per_cycle = cpu_to_be32(block_size + cpu_to_be32 4667 drivers/infiniband/hw/mlx5/qp.c sblock_ctrl->op = cpu_to_be32(MLX5_STRIDE_BLOCK_OP); cpu_to_be32 4668 drivers/infiniband/hw/mlx5/qp.c sblock_ctrl->repeat_count = cpu_to_be32(data_len / block_size); cpu_to_be32 4672 drivers/infiniband/hw/mlx5/qp.c data_sentry->key = cpu_to_be32(data_key); cpu_to_be32 4677 drivers/infiniband/hw/mlx5/qp.c prot_sentry->key = cpu_to_be32(prot_key); cpu_to_be32 4711 drivers/infiniband/hw/mlx5/qp.c seg->qpn_mkey7_0 = cpu_to_be32((sig_key & 0xff) | 0xffffff00); cpu_to_be32 4712 drivers/infiniband/hw/mlx5/qp.c seg->flags_pd = cpu_to_be32(MLX5_MKEY_REMOTE_INVAL | sigerr << 26 | cpu_to_be32 4715 drivers/infiniband/hw/mlx5/qp.c seg->xlt_oct_size = cpu_to_be32(get_xlt_octo(size)); cpu_to_be32 4716 drivers/infiniband/hw/mlx5/qp.c seg->bsfs_octo_size = cpu_to_be32(MLX5_MKEY_BSF_OCTO_SIZE); cpu_to_be32 4787 drivers/infiniband/hw/mlx5/qp.c psv_seg->psv_num = cpu_to_be32(psv_idx); cpu_to_be32 4792 drivers/infiniband/hw/mlx5/qp.c psv_seg->transient_sig = cpu_to_be32(domain->sig.dif.bg << 16 | cpu_to_be32 4794 drivers/infiniband/hw/mlx5/qp.c psv_seg->ref_tag = cpu_to_be32(domain->sig.dif.ref_tag); cpu_to_be32 4939 drivers/infiniband/hw/mlx5/qp.c ctrl->opmod_idx_opcode = cpu_to_be32(((u32)(qp->sq.cur_post) << 8) | cpu_to_be32 4941 drivers/infiniband/hw/mlx5/qp.c ctrl->qpn_ds = cpu_to_be32(size | (qp->trans_qp.base.mqp.qpn << 8)); cpu_to_be32 5069 drivers/infiniband/hw/mlx5/qp.c ctrl->imm = cpu_to_be32(wr->ex.invalidate_rkey); cpu_to_be32 5076 drivers/infiniband/hw/mlx5/qp.c ctrl->imm = cpu_to_be32(reg_wr(wr)->key); cpu_to_be32 5100 drivers/infiniband/hw/mlx5/qp.c ctrl->imm = cpu_to_be32(reg_pi_wr.key); cpu_to_be32 5144 drivers/infiniband/hw/mlx5/qp.c ctrl->imm = cpu_to_be32(mr->ibmr.rkey); cpu_to_be32 5270 drivers/infiniband/hw/mlx5/qp.c ctrl->imm = cpu_to_be32(umr_wr(wr)->mkey); cpu_to_be32 5325 drivers/infiniband/hw/mlx5/qp.c qp->db.db[MLX5_SND_DBR] = cpu_to_be32(qp->sq.cur_post); cpu_to_be32 5404 drivers/infiniband/hw/mlx5/qp.c scat[i].lkey = cpu_to_be32(MLX5_INVALID_LKEY); cpu_to_be32 5427 drivers/infiniband/hw/mlx5/qp.c *qp->db.db = cpu_to_be32(qp->rq.head & 0xffff); cpu_to_be32 461 drivers/infiniband/hw/mlx5/srq.c scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); cpu_to_be32 462 drivers/infiniband/hw/mlx5/srq.c scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); cpu_to_be32 468 drivers/infiniband/hw/mlx5/srq.c scat[i].lkey = cpu_to_be32(MLX5_INVALID_LKEY); cpu_to_be32 481 drivers/infiniband/hw/mlx5/srq.c *srq->db.db = cpu_to_be32(srq->wqe_ctr); cpu_to_be32 199 drivers/infiniband/hw/mthca/mthca_av.c av->port_pd = cpu_to_be32(pd->pd_num | cpu_to_be32 206 drivers/infiniband/hw/mthca/mthca_av.c av->sl_tclass_flowlabel = cpu_to_be32(rdma_ah_get_sl(ah_attr) << 28); cpu_to_be32 216 drivers/infiniband/hw/mthca/mthca_av.c cpu_to_be32((grh->traffic_class << 20) | cpu_to_be32 221 drivers/infiniband/hw/mthca/mthca_av.c av->dgid[3] = cpu_to_be32(2); cpu_to_be32 282 drivers/infiniband/hw/mthca/mthca_av.c ah->av->sl_tclass_flowlabel & cpu_to_be32(0xfffff); cpu_to_be32 209 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(in_param >> 32), ptr + offs[0]); cpu_to_be32 211 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), ptr + offs[1]); cpu_to_be32 213 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(in_modifier), ptr + offs[2]); cpu_to_be32 215 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(out_param >> 32), ptr + offs[3]); cpu_to_be32 217 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]); cpu_to_be32 219 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(token << 16), ptr + offs[5]); cpu_to_be32 221 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) | cpu_to_be32 257 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); cpu_to_be32 258 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); cpu_to_be32 259 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(in_modifier), dev->hcr + 2 * 4); cpu_to_be32 260 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(out_param >> 32), dev->hcr + 3 * 4); cpu_to_be32 261 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), dev->hcr + 4 * 4); cpu_to_be32 262 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(token << 16), dev->hcr + 5 * 4); cpu_to_be32 267 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) | cpu_to_be32 1367 drivers/infiniband/hw/mthca/mthca_cmd.c *(inbox + INIT_HCA_FLAGS2_OFFSET / 4) &= ~cpu_to_be32(1 << 1); cpu_to_be32 1369 drivers/infiniband/hw/mthca/mthca_cmd.c *(inbox + INIT_HCA_FLAGS2_OFFSET / 4) |= cpu_to_be32(1 << 1); cpu_to_be32 1374 drivers/infiniband/hw/mthca/mthca_cmd.c *(inbox + INIT_HCA_FLAGS2_OFFSET / 4) |= cpu_to_be32(1); cpu_to_be32 1378 drivers/infiniband/hw/mthca/mthca_cmd.c *(inbox + INIT_HCA_FLAGS2_OFFSET / 4) |= cpu_to_be32(7 << 3); cpu_to_be32 208 drivers/infiniband/hw/mthca/mthca_cq.c *cq->set_ci_db = cpu_to_be32(cq->cons_index); cpu_to_be32 305 drivers/infiniband/hw/mthca/mthca_cq.c if (cqe->my_qpn == cpu_to_be32(qpn)) { cpu_to_be32 468 drivers/infiniband/hw/mthca/mthca_cq.c if (!(new_wqe & cpu_to_be32(0x3f)) || (!cqe->db_cnt && dbd)) cpu_to_be32 743 drivers/infiniband/hw/mthca/mthca_cq.c db_rec[0] = cpu_to_be32(cq->cons_index); cpu_to_be32 744 drivers/infiniband/hw/mthca/mthca_cq.c db_rec[1] = cpu_to_be32((cq->cqn << 8) | (2 << 5) | (sn << 3) | cpu_to_be32 823 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->flags = cpu_to_be32(MTHCA_CQ_STATUS_OK | cpu_to_be32 826 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->logsize_usrpage = cpu_to_be32((ffs(nent) - 1) << 24); cpu_to_be32 828 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index); cpu_to_be32 830 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); cpu_to_be32 831 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); cpu_to_be32 832 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->comp_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_COMP].eqn); cpu_to_be32 833 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->pd = cpu_to_be32(pdn); cpu_to_be32 834 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->lkey = cpu_to_be32(cq->buf.mr.ibmr.lkey); cpu_to_be32 835 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->cqn = cpu_to_be32(cq->cqn); cpu_to_be32 838 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->ci_db = cpu_to_be32(cq->set_ci_db_index); cpu_to_be32 839 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->state_db = cpu_to_be32(cq->arm_db_index); cpu_to_be32 406 drivers/infiniband/hw/mthca/mthca_dev.h case 4: *(__be32 *) __d = cpu_to_be32(source); break; \ cpu_to_be32 93 drivers/infiniband/hw/mthca/mthca_doorbell.h hi = (__force u32) cpu_to_be32(hi); cpu_to_be32 94 drivers/infiniband/hw/mthca/mthca_doorbell.h lo = (__force u32) cpu_to_be32(lo); cpu_to_be32 193 drivers/infiniband/hw/mthca/mthca_eq.c __raw_writel((__force u32) cpu_to_be32(ci), cpu_to_be32 528 drivers/infiniband/hw/mthca/mthca_eq.c eq_context->flags = cpu_to_be32(MTHCA_EQ_STATUS_OK | cpu_to_be32 533 drivers/infiniband/hw/mthca/mthca_eq.c eq_context->flags |= cpu_to_be32(MTHCA_EQ_STATE_ARBEL); cpu_to_be32 535 drivers/infiniband/hw/mthca/mthca_eq.c eq_context->logsize_usrpage = cpu_to_be32((ffs(eq->nent) - 1) << 24); cpu_to_be32 537 drivers/infiniband/hw/mthca/mthca_eq.c eq_context->arbel_pd = cpu_to_be32(dev->driver_pd.pd_num); cpu_to_be32 539 drivers/infiniband/hw/mthca/mthca_eq.c eq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); cpu_to_be32 540 drivers/infiniband/hw/mthca/mthca_eq.c eq_context->tavor_pd = cpu_to_be32(dev->driver_pd.pd_num); cpu_to_be32 543 drivers/infiniband/hw/mthca/mthca_eq.c eq_context->lkey = cpu_to_be32(eq->mr.ibmr.lkey); cpu_to_be32 165 drivers/infiniband/hw/mthca/mthca_mcg.c if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) { cpu_to_be32 170 drivers/infiniband/hw/mthca/mthca_mcg.c } else if (!(mgm->qp[i] & cpu_to_be32(1 << 31))) { cpu_to_be32 171 drivers/infiniband/hw/mthca/mthca_mcg.c mgm->qp[i] = cpu_to_be32(ibqp->qp_num | (1 << 31)); cpu_to_be32 197 drivers/infiniband/hw/mthca/mthca_mcg.c mgm->next_gid_index = cpu_to_be32(index << 6); cpu_to_be32 242 drivers/infiniband/hw/mthca/mthca_mcg.c if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) cpu_to_be32 244 drivers/infiniband/hw/mthca/mthca_mcg.c if (!(mgm->qp[i] & cpu_to_be32(1 << 31))) cpu_to_be32 297 drivers/infiniband/hw/mthca/mthca_mcg.c mgm->next_gid_index = cpu_to_be32(curr_next_index << 6); cpu_to_be32 459 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry->flags = cpu_to_be32(MTHCA_MPT_FLAG_SW_OWNS | cpu_to_be32 464 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry->flags |= cpu_to_be32(MTHCA_MPT_FLAG_PHYSICAL); cpu_to_be32 466 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry->page_size = cpu_to_be32(buffer_size_shift - 12); cpu_to_be32 467 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry->key = cpu_to_be32(key); cpu_to_be32 468 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry->pd = cpu_to_be32(pd); cpu_to_be32 631 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry->flags = cpu_to_be32(MTHCA_MPT_FLAG_SW_OWNS | cpu_to_be32 636 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry->page_size = cpu_to_be32(mr->attr.page_shift - 12); cpu_to_be32 637 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry->key = cpu_to_be32(key); cpu_to_be32 638 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry->pd = cpu_to_be32(pd); cpu_to_be32 744 drivers/infiniband/hw/mthca/mthca_mr.c mpt_entry.lkey = cpu_to_be32(key); cpu_to_be32 793 drivers/infiniband/hw/mthca/mthca_mr.c fmr->mem.arbel.mpt->key = cpu_to_be32(key); cpu_to_be32 794 drivers/infiniband/hw/mthca/mthca_mr.c fmr->mem.arbel.mpt->lkey = cpu_to_be32(key); cpu_to_be32 155 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_mod = cpu_to_be32(port); cpu_to_be32 249 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_mod = cpu_to_be32(index / 32); cpu_to_be32 278 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_mod = cpu_to_be32(port); cpu_to_be32 289 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_mod = cpu_to_be32(index / 8); cpu_to_be32 355 drivers/infiniband/hw/mthca/mthca_qp.c return cpu_to_be32(hw_access_flags); cpu_to_be32 544 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32((rdma_ah_get_sl(ah) << 28) | cpu_to_be32 549 drivers/infiniband/hw/mthca/mthca_qp.c path->sl_tclass_flowlabel = cpu_to_be32(rdma_ah_get_sl(ah) << cpu_to_be32 581 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags = cpu_to_be32((to_mthca_state(new_state) << 28) | cpu_to_be32 583 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_BIT_DE); cpu_to_be32 585 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); cpu_to_be32 587 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_PM_STATE); cpu_to_be32 590 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); cpu_to_be32 593 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_REARM << 11); cpu_to_be32 596 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_ARMED << 11); cpu_to_be32 627 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->usr_page = cpu_to_be32(context->uar.index); cpu_to_be32 629 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->usr_page = cpu_to_be32(dev->driver_uar.index); cpu_to_be32 630 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->local_qpn = cpu_to_be32(qp->qpn); cpu_to_be32 632 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->remote_qpn = cpu_to_be32(attr->dest_qp_num); cpu_to_be32 637 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(qp->port << 24); cpu_to_be32 641 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(attr->port_num << 24); cpu_to_be32 642 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_PORT_NUM); cpu_to_be32 648 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(attr->pkey_index); cpu_to_be32 649 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_PKEY_INDEX); cpu_to_be32 655 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_RNR_RETRY | cpu_to_be32 664 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_PRIMARY_ADDR_PATH); cpu_to_be32 674 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->tavor_sched_queue |= cpu_to_be32(sched_queue); cpu_to_be32 677 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_QP_OPTPAR_SCHED_QUEUE); cpu_to_be32 682 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_ACK_TIMEOUT); cpu_to_be32 702 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->alt_path.port_pkey |= cpu_to_be32(attr->alt_pkey_index | cpu_to_be32 705 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_ALT_ADDR_PATH); cpu_to_be32 709 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); cpu_to_be32 711 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->wqe_lkey = cpu_to_be32(qp->mr.ibmr.lkey); cpu_to_be32 712 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params1 = cpu_to_be32((MTHCA_ACK_REQ_FREQ << 28) | cpu_to_be32 716 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params1 |= cpu_to_be32(MTHCA_QP_BIT_SSC); cpu_to_be32 718 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params1 |= cpu_to_be32(attr->retry_cnt << 16); cpu_to_be32 719 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_RETRY_COUNT); cpu_to_be32 725 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_QP_BIT_SRE | cpu_to_be32 728 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(fls(attr->max_rd_atomic - 1) << 21); cpu_to_be32 730 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_SRA_MAX); cpu_to_be32 734 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->next_send_psn = cpu_to_be32(attr->sq_psn); cpu_to_be32 735 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->cqn_snd = cpu_to_be32(to_mcq(ibqp->send_cq)->cqn); cpu_to_be32 738 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->snd_wqe_base_l = cpu_to_be32(qp->send_wqe_offset); cpu_to_be32 739 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->snd_db_index = cpu_to_be32(qp->sq.db_index); cpu_to_be32 745 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(fls(attr->max_dest_rd_atomic - 1) << 21); cpu_to_be32 747 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_RRA_MAX); cpu_to_be32 752 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_RWE | cpu_to_be32 757 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params2 |= cpu_to_be32(MTHCA_QP_BIT_RSC); cpu_to_be32 760 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params2 |= cpu_to_be32(MTHCA_QP_BIT_RIC); cpu_to_be32 763 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->rnr_nextrecvpsn |= cpu_to_be32(attr->min_rnr_timer << 24); cpu_to_be32 764 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_RNR_TIMEOUT); cpu_to_be32 767 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->rnr_nextrecvpsn |= cpu_to_be32(attr->rq_psn); cpu_to_be32 770 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(dev->qp_table.rdb_base + cpu_to_be32 774 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->cqn_rcv = cpu_to_be32(to_mcq(ibqp->recv_cq)->cqn); cpu_to_be32 777 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->rcv_db_index = cpu_to_be32(qp->rq.db_index); cpu_to_be32 780 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->qkey = cpu_to_be32(attr->qkey); cpu_to_be32 781 drivers/infiniband/hw/mthca/mthca_qp.c qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_Q_KEY); cpu_to_be32 785 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->srqn = cpu_to_be32(1 << 24 | cpu_to_be32 1218 drivers/infiniband/hw/mthca/mthca_qp.c next->nda_op = cpu_to_be32(((i + 1) & (qp->rq.max - 1)) << cpu_to_be32 1220 drivers/infiniband/hw/mthca/mthca_qp.c next->ee_nds = cpu_to_be32(size); cpu_to_be32 1225 drivers/infiniband/hw/mthca/mthca_qp.c scatter->lkey = cpu_to_be32(MTHCA_INVAL_LKEY); cpu_to_be32 1230 drivers/infiniband/hw/mthca/mthca_qp.c next->nda_op = cpu_to_be32((((i + 1) & (qp->sq.max - 1)) << cpu_to_be32 1515 drivers/infiniband/hw/mthca/mthca_qp.c mlx->flags &= ~cpu_to_be32(MTHCA_NEXT_SOLICIT | 1); cpu_to_be32 1516 drivers/infiniband/hw/mthca/mthca_qp.c mlx->flags |= cpu_to_be32((!sqp->qp.ibqp.qp_num ? MTHCA_MLX_VL15 : 0) | cpu_to_be32 1548 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->remote_qpn); cpu_to_be32 1549 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); cpu_to_be32 1550 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? cpu_to_be32 1552 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.deth.source_qpn = cpu_to_be32(sqp->qp.ibqp.qp_num); cpu_to_be32 1558 drivers/infiniband/hw/mthca/mthca_qp.c data->byte_count = cpu_to_be32(header_size); cpu_to_be32 1559 drivers/infiniband/hw/mthca/mthca_qp.c data->lkey = cpu_to_be32(to_mpd(sqp->qp.ibqp.pd)->ntmr.ibmr.lkey); cpu_to_be32 1588 drivers/infiniband/hw/mthca/mthca_qp.c rseg->rkey = cpu_to_be32(rkey); cpu_to_be32 1608 drivers/infiniband/hw/mthca/mthca_qp.c useg->lkey = cpu_to_be32(to_mah(wr->ah)->key); cpu_to_be32 1610 drivers/infiniband/hw/mthca/mthca_qp.c useg->dqpn = cpu_to_be32(wr->remote_qpn); cpu_to_be32 1611 drivers/infiniband/hw/mthca/mthca_qp.c useg->qkey = cpu_to_be32(wr->remote_qkey); cpu_to_be32 1619 drivers/infiniband/hw/mthca/mthca_qp.c useg->dqpn = cpu_to_be32(wr->remote_qpn); cpu_to_be32 1620 drivers/infiniband/hw/mthca/mthca_qp.c useg->qkey = cpu_to_be32(wr->remote_qkey); cpu_to_be32 1672 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_NEXT_CQ_UPDATE) : 0) | cpu_to_be32 1674 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_NEXT_SOLICIT) : 0) | cpu_to_be32 1675 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(1); cpu_to_be32 1766 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32((1 << 31) | 4); cpu_to_be32 1782 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(((ind << qp->sq.wqe_shift) + cpu_to_be32 1787 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32((nreq ? 0 : MTHCA_NEXT_DBD) | size | cpu_to_be32 1865 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_NEXT_DBD); cpu_to_be32 1886 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_NEXT_DBD | size); cpu_to_be32 1971 drivers/infiniband/hw/mthca/mthca_qp.c *qp->sq.db = cpu_to_be32(qp->sq.head & 0xffff); cpu_to_be32 2000 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_NEXT_CQ_UPDATE) : 0) | cpu_to_be32 2002 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_NEXT_SOLICIT) : 0) | cpu_to_be32 2004 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_NEXT_IP_CSUM | MTHCA_NEXT_TCP_UDP_CSUM) : 0) | cpu_to_be32 2005 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(1); cpu_to_be32 2096 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32((1 << 31) | 4); cpu_to_be32 2112 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(((ind << qp->sq.wqe_shift) + cpu_to_be32 2117 drivers/infiniband/hw/mthca/mthca_qp.c cpu_to_be32(MTHCA_NEXT_DBD | size | cpu_to_be32 2144 drivers/infiniband/hw/mthca/mthca_qp.c *qp->sq.db = cpu_to_be32(qp->sq.head & 0xffff); cpu_to_be32 2224 drivers/infiniband/hw/mthca/mthca_qp.c *qp->rq.db = cpu_to_be32(qp->rq.head & 0xffff); cpu_to_be32 2250 drivers/infiniband/hw/mthca/mthca_qp.c *dbd = !!(next->ee_nds & cpu_to_be32(MTHCA_NEXT_DBD)); cpu_to_be32 2251 drivers/infiniband/hw/mthca/mthca_qp.c if (next->ee_nds & cpu_to_be32(0x3f)) cpu_to_be32 2252 drivers/infiniband/hw/mthca/mthca_qp.c *new_wqe = (next->nda_op & cpu_to_be32(~0x3f)) | cpu_to_be32 2253 drivers/infiniband/hw/mthca/mthca_qp.c (next->ee_nds & cpu_to_be32(0x3f)); cpu_to_be32 109 drivers/infiniband/hw/mthca/mthca_srq.c context->state_pd = cpu_to_be32(pd->pd_num); cpu_to_be32 110 drivers/infiniband/hw/mthca/mthca_srq.c context->lkey = cpu_to_be32(srq->mr.ibmr.lkey); cpu_to_be32 113 drivers/infiniband/hw/mthca/mthca_srq.c context->uar = cpu_to_be32(ucontext->uar.index); cpu_to_be32 115 drivers/infiniband/hw/mthca/mthca_srq.c context->uar = cpu_to_be32(dev->driver_uar.index); cpu_to_be32 136 drivers/infiniband/hw/mthca/mthca_srq.c context->state_logsize_srqn = cpu_to_be32(logsize << 24 | srq->srqn); cpu_to_be32 137 drivers/infiniband/hw/mthca/mthca_srq.c context->lkey = cpu_to_be32(srq->mr.ibmr.lkey); cpu_to_be32 138 drivers/infiniband/hw/mthca/mthca_srq.c context->db_index = cpu_to_be32(srq->db_index); cpu_to_be32 139 drivers/infiniband/hw/mthca/mthca_srq.c context->logstride_usrpage = cpu_to_be32((srq->wqe_shift - 4) << 29); cpu_to_be32 141 drivers/infiniband/hw/mthca/mthca_srq.c context->logstride_usrpage |= cpu_to_be32(ucontext->uar.index); cpu_to_be32 143 drivers/infiniband/hw/mthca/mthca_srq.c context->logstride_usrpage |= cpu_to_be32(dev->driver_uar.index); cpu_to_be32 144 drivers/infiniband/hw/mthca/mthca_srq.c context->eq_pd = cpu_to_be32(MTHCA_EQ_ASYNC << 24 | pd->pd_num); cpu_to_be32 198 drivers/infiniband/hw/mthca/mthca_srq.c scatter->lkey = cpu_to_be32(MTHCA_INVAL_LKEY); cpu_to_be32 538 drivers/infiniband/hw/mthca/mthca_srq.c cpu_to_be32(MTHCA_NEXT_DBD); cpu_to_be32 635 drivers/infiniband/hw/mthca/mthca_srq.c *srq->db = cpu_to_be32(srq->counter); cpu_to_be32 119 drivers/infiniband/hw/mthca/mthca_wqe.h dseg->byte_count = cpu_to_be32(sg->length); cpu_to_be32 120 drivers/infiniband/hw/mthca/mthca_wqe.h dseg->lkey = cpu_to_be32(sg->lkey); cpu_to_be32 127 drivers/infiniband/hw/mthca/mthca_wqe.h dseg->lkey = cpu_to_be32(MTHCA_INVAL_LKEY); cpu_to_be32 142 drivers/infiniband/hw/ocrdma/ocrdma_ah.c grh.tclass_flow = cpu_to_be32((6 << 28) | cpu_to_be32 147 drivers/infiniband/hw/ocrdma/ocrdma_ah.c grh.pdid_hoplimit = cpu_to_be32((pdid << 16) | cpu_to_be32 682 drivers/infiniband/hw/ocrdma/ocrdma_stats.c pma_cnt->port_xmit_data = cpu_to_be32(ocrdma_sysfs_xmit_data(dev)); cpu_to_be32 683 drivers/infiniband/hw/ocrdma/ocrdma_stats.c pma_cnt->port_rcv_data = cpu_to_be32(ocrdma_sysfs_rcv_data(dev)); cpu_to_be32 684 drivers/infiniband/hw/ocrdma/ocrdma_stats.c pma_cnt->port_xmit_packets = cpu_to_be32(ocrdma_sysfs_xmit_pkts(dev)); cpu_to_be32 685 drivers/infiniband/hw/ocrdma/ocrdma_stats.c pma_cnt->port_rcv_packets = cpu_to_be32(ocrdma_sysfs_rcv_pkts(dev)); cpu_to_be32 3886 drivers/infiniband/hw/qedr/verbs.c wc->ex.imm_data = cpu_to_be32(le32_to_cpu(resp->imm_data_or_inv_r_Key)); cpu_to_be32 3428 drivers/infiniband/hw/qib/qib_iba7220.c dw = (__force u32) cpu_to_be32(hdr[i]); cpu_to_be32 3432 drivers/infiniband/hw/qib/qib_iba7220.c dw = (__force u32) cpu_to_be32(madpayload_start[i]); cpu_to_be32 3434 drivers/infiniband/hw/qib/qib_iba7220.c dw = (__force u32) cpu_to_be32(madpayload_done[i]); cpu_to_be32 1429 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.bth[0] = cpu_to_be32( cpu_to_be32 1431 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.bth[1] = cpu_to_be32(0), cpu_to_be32 1432 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.bth[2] = cpu_to_be32(0), cpu_to_be32 1433 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.u.ud.deth[0] = cpu_to_be32(0), cpu_to_be32 1434 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.u.ud.deth[1] = cpu_to_be32(0), cpu_to_be32 5279 drivers/infiniband/hw/qib/qib_iba7322.c dw = (__force u32) cpu_to_be32(hdr[i]); cpu_to_be32 5283 drivers/infiniband/hw/qib/qib_iba7322.c dw = (__force u32) cpu_to_be32(madpayload_start[i]); cpu_to_be32 5285 drivers/infiniband/hw/qib/qib_iba7322.c dw = (__force u32) cpu_to_be32(madpayload_done[i]); cpu_to_be32 157 drivers/infiniband/hw/qib/qib_mad.c data.details.ntc_257_258.key = cpu_to_be32(key); cpu_to_be32 158 drivers/infiniband/hw/qib/qib_mad.c data.details.ntc_257_258.sl_qp1 = cpu_to_be32((sl << 28) | qp1); cpu_to_be32 159 drivers/infiniband/hw/qib/qib_mad.c data.details.ntc_257_258.qp2 = cpu_to_be32(qp2); cpu_to_be32 222 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be32(ibp->rvp.port_cap_flags); cpu_to_be32 304 drivers/infiniband/hw/qib/qib_mad.c nip->revision = cpu_to_be32((majrev << 16) | minrev); cpu_to_be32 500 drivers/infiniband/hw/qib/qib_mad.c pip->cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); cpu_to_be32 1206 drivers/infiniband/hw/qib/qib_mad.c p->sample_start = cpu_to_be32(ibp->rvp.pma_sample_start); cpu_to_be32 1207 drivers/infiniband/hw/qib/qib_mad.c p->sample_interval = cpu_to_be32(ibp->rvp.pma_sample_interval); cpu_to_be32 1380 drivers/infiniband/hw/qib/qib_mad.c p->counter[i] = cpu_to_be32( cpu_to_be32 1411 drivers/infiniband/hw/qib/qib_mad.c p->extended_width = cpu_to_be32(0x80000000); cpu_to_be32 1507 drivers/infiniband/hw/qib/qib_mad.c p->port_xmit_data = cpu_to_be32(0xFFFFFFFF); cpu_to_be32 1509 drivers/infiniband/hw/qib/qib_mad.c p->port_xmit_data = cpu_to_be32((u32)cntrs.port_xmit_data); cpu_to_be32 1511 drivers/infiniband/hw/qib/qib_mad.c p->port_rcv_data = cpu_to_be32(0xFFFFFFFF); cpu_to_be32 1513 drivers/infiniband/hw/qib/qib_mad.c p->port_rcv_data = cpu_to_be32((u32)cntrs.port_rcv_data); cpu_to_be32 1515 drivers/infiniband/hw/qib/qib_mad.c p->port_xmit_packets = cpu_to_be32(0xFFFFFFFF); cpu_to_be32 1518 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be32((u32)cntrs.port_xmit_packets); cpu_to_be32 1520 drivers/infiniband/hw/qib/qib_mad.c p->port_rcv_packets = cpu_to_be32(0xFFFFFFFF); cpu_to_be32 1523 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be32((u32) cntrs.port_rcv_packets); cpu_to_be32 2192 drivers/infiniband/hw/qib/qib_mad.c ccp->attr_mod = cpu_to_be32(cct_block_index); cpu_to_be32 294 drivers/infiniband/hw/qib/qib_mad.h cpu_to_be32(COUNTER_MASK(1, 0) | \ cpu_to_be32 185 drivers/infiniband/hw/qib/qib_rc.c cpu_to_be32((qp->r_msn & IB_MSN_MASK) | cpu_to_be32 350 drivers/infiniband/hw/qib/qib_rc.c cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 351 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); cpu_to_be32 393 drivers/infiniband/hw/qib/qib_rc.c cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 394 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); cpu_to_be32 434 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.atomic_eth.rkey = cpu_to_be32( cpu_to_be32 555 drivers/infiniband/hw/qib/qib_rc.c cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 556 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); cpu_to_be32 640 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | cpu_to_be32 652 drivers/infiniband/hw/qib/qib_rc.c ohdr->bth[0] = cpu_to_be32(bth0); cpu_to_be32 653 drivers/infiniband/hw/qib/qib_rc.c ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); cpu_to_be32 654 drivers/infiniband/hw/qib/qib_rc.c ohdr->bth[2] = cpu_to_be32(qp->r_ack_psn & QIB_PSN_MASK); cpu_to_be32 187 drivers/infiniband/hw/qib/qib_ruc.c cpu_to_be32((IB_GRH_VERSION << IB_GRH_VERSION_SHIFT) | cpu_to_be32 240 drivers/infiniband/hw/qib/qib_ruc.c ohdr->bth[0] = cpu_to_be32(bth0); cpu_to_be32 241 drivers/infiniband/hw/qib/qib_ruc.c ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); cpu_to_be32 242 drivers/infiniband/hw/qib/qib_ruc.c ohdr->bth[2] = cpu_to_be32(bth2); cpu_to_be32 133 drivers/infiniband/hw/qib/qib_uc.c cpu_to_be32(wqe->rdma_wr.rkey); cpu_to_be32 134 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.rc.reth.length = cpu_to_be32(len); cpu_to_be32 367 drivers/infiniband/hw/qib/qib_ud.c ohdr->bth[0] = cpu_to_be32(bth0); cpu_to_be32 374 drivers/infiniband/hw/qib/qib_ud.c cpu_to_be32(QIB_MULTICAST_QPN) : cpu_to_be32 375 drivers/infiniband/hw/qib/qib_ud.c cpu_to_be32(rvt_get_swqe_remote_qpn(wqe)); cpu_to_be32 376 drivers/infiniband/hw/qib/qib_ud.c ohdr->bth[2] = cpu_to_be32(wqe->psn & QIB_PSN_MASK); cpu_to_be32 382 drivers/infiniband/hw/qib/qib_ud.c cpu_to_be32((int)rvt_get_swqe_remote_qkey(wqe) < 0 ? qp->qkey : cpu_to_be32 384 drivers/infiniband/hw/qib/qib_ud.c ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); cpu_to_be32 459 drivers/infiniband/hw/qib/qib_user_sdma.c hdr->bth[0] = cpu_to_be32(be32_to_cpu(hdr->bth[0])&0xFFCFFFFF); cpu_to_be32 521 drivers/infiniband/hw/qib/qib_user_sdma.c hdr->bth[2] = cpu_to_be32(seqnum.val); cpu_to_be32 154 drivers/infiniband/sw/rdmavt/rc.c return cpu_to_be32(aeth); cpu_to_be32 216 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn = cpu_to_be32((BTH_QPN_MASK & qpn) | cpu_to_be32 224 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (cpu_to_be32(BTH_FECN_MASK) & bth->qpn); cpu_to_be32 232 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn |= cpu_to_be32(BTH_FECN_MASK); cpu_to_be32 234 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn &= ~cpu_to_be32(BTH_FECN_MASK); cpu_to_be32 241 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (cpu_to_be32(BTH_BECN_MASK) & bth->qpn); cpu_to_be32 249 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn |= cpu_to_be32(BTH_BECN_MASK); cpu_to_be32 251 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn &= ~cpu_to_be32(BTH_BECN_MASK); cpu_to_be32 265 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn = cpu_to_be32(~BTH_RESV6A_MASK); cpu_to_be32 272 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (cpu_to_be32(BTH_ACK_MASK) & bth->apsn); cpu_to_be32 280 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn |= cpu_to_be32(BTH_ACK_MASK); cpu_to_be32 282 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn &= ~cpu_to_be32(BTH_ACK_MASK); cpu_to_be32 289 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn &= ~cpu_to_be32(BTH_RESV7_MASK); cpu_to_be32 304 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn = cpu_to_be32((BTH_PSN_MASK & psn) | cpu_to_be32 446 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn = cpu_to_be32(qpn & BTH_QPN_MASK); cpu_to_be32 450 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn = cpu_to_be32(psn); cpu_to_be32 473 drivers/infiniband/sw/rxe/rxe_hdr.h rdeth->een = cpu_to_be32(RDETH_EEN_MASK & een); cpu_to_be32 510 drivers/infiniband/sw/rxe/rxe_hdr.h deth->qkey = cpu_to_be32(qkey); cpu_to_be32 524 drivers/infiniband/sw/rxe/rxe_hdr.h deth->sqp = cpu_to_be32(DETH_SQP_MASK & sqp); cpu_to_be32 585 drivers/infiniband/sw/rxe/rxe_hdr.h reth->rkey = cpu_to_be32(rkey); cpu_to_be32 599 drivers/infiniband/sw/rxe/rxe_hdr.h reth->len = cpu_to_be32(len); cpu_to_be32 673 drivers/infiniband/sw/rxe/rxe_hdr.h atmeth->rkey = cpu_to_be32(rkey); cpu_to_be32 788 drivers/infiniband/sw/rxe/rxe_hdr.h aeth->smsn = cpu_to_be32((AETH_SYN_MASK & (syn << 24)) | cpu_to_be32 804 drivers/infiniband/sw/rxe/rxe_hdr.h aeth->smsn = cpu_to_be32((AETH_MSN_MASK & msn) | cpu_to_be32 916 drivers/infiniband/sw/rxe/rxe_hdr.h ieth->rkey = cpu_to_be32(rkey); cpu_to_be32 87 drivers/infiniband/sw/rxe/rxe_icrc.c bth->qpn |= cpu_to_be32(~BTH_QPN_MASK); cpu_to_be32 393 drivers/infiniband/sw/rxe/rxe_recv.c calc_icrc = (__force u32)cpu_to_be32(~calc_icrc); cpu_to_be32 220 drivers/infiniband/sw/siw/iwarp.h TERM_MASK_LAYER = cpu_to_be32(0xf0000000), cpu_to_be32 221 drivers/infiniband/sw/siw/iwarp.h TERM_MASK_ETYPE = cpu_to_be32(0x0f000000), cpu_to_be32 222 drivers/infiniband/sw/siw/iwarp.h TERM_MASK_ECODE = cpu_to_be32(0x00ff0000), cpu_to_be32 223 drivers/infiniband/sw/siw/iwarp.h TERM_FLAG_M = cpu_to_be32(0x00008000), cpu_to_be32 224 drivers/infiniband/sw/siw/iwarp.h TERM_FLAG_D = cpu_to_be32(0x00004000), cpu_to_be32 225 drivers/infiniband/sw/siw/iwarp.h TERM_FLAG_R = cpu_to_be32(0x00002000), cpu_to_be32 226 drivers/infiniband/sw/siw/iwarp.h TERM_MASK_RESVD = cpu_to_be32(0x00001fff) cpu_to_be32 421 drivers/infiniband/sw/siw/siw_qp.c term->ddp_qn = cpu_to_be32(RDMAP_UNTAGGED_QN_TERMINATE); cpu_to_be32 423 drivers/infiniband/sw/siw/siw_qp.c term->ddp_msn = cpu_to_be32(1); cpu_to_be32 185 drivers/infiniband/sw/siw/siw_qp_tx.c c_tx->pkt.send_inv.inval_stag = cpu_to_be32(wqe->sqe.rkey); cpu_to_be32 211 drivers/infiniband/sw/siw/siw_qp_tx.c c_tx->pkt.rresp.sink_stag = cpu_to_be32(wqe->sqe.rkey); cpu_to_be32 707 drivers/infiniband/sw/siw/siw_qp_tx.c c_tx->pkt.c_untagged.ddp_mo = cpu_to_be32(wqe->processed); cpu_to_be32 127 drivers/infiniband/ulp/ipoib/ipoib.h #define IPOIB_QPN_MASK ((__force u32) cpu_to_be32(0xFFFFFF)) cpu_to_be32 429 drivers/infiniband/ulp/ipoib/ipoib_cm.c data.qpn = cpu_to_be32(priv->qp->qp_num); cpu_to_be32 430 drivers/infiniband/ulp/ipoib/ipoib_cm.c data.mtu = cpu_to_be32(IPOIB_CM_BUF_SIZE); cpu_to_be32 1091 drivers/infiniband/ulp/ipoib/ipoib_cm.c data.qpn = cpu_to_be32(priv->qp->qp_num); cpu_to_be32 1092 drivers/infiniband/ulp/ipoib/ipoib_cm.c data.mtu = cpu_to_be32(IPOIB_CM_BUF_SIZE); cpu_to_be32 83 drivers/infiniband/ulp/iser/iser_initiator.c hdr->read_stag = cpu_to_be32(mem_reg->rkey); cpu_to_be32 141 drivers/infiniband/ulp/iser/iser_initiator.c hdr->write_stag = cpu_to_be32(mem_reg->rkey); cpu_to_be32 182 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c entry->dlid_sd = cpu_to_be32(nentry->dlid_sd); cpu_to_be32 184 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c tbl->mac_tbl_digest = cpu_to_be32(adapter->info.vport.mac_tbl_digest); cpu_to_be32 253 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c port_info->cap_mask2_resp_time = cpu_to_be32(18); cpu_to_be32 828 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c trap_mad->notice.issuer_lid = cpu_to_be32(lid); cpu_to_be32 834 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c trap->veswportnum = cpu_to_be32(data->veswportnum); cpu_to_be32 98 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->veswport_num = cpu_to_be32(adapter->port_num); cpu_to_be32 137 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->veswport_num = cpu_to_be32(adapter->port_num); cpu_to_be32 175 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c info->u_mcast_dlid = cpu_to_be32(src->u_mcast_dlid); cpu_to_be32 177 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c info->u_ucast_dlid[i] = cpu_to_be32(src->u_ucast_dlid[i]); cpu_to_be32 179 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c info->rc = cpu_to_be32(src->rc); cpu_to_be32 234 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c info->port_num = cpu_to_be32(src->port_num); cpu_to_be32 244 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c info->mac_tbl_digest = cpu_to_be32(src->mac_tbl_digest); cpu_to_be32 247 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c info->encap_slid = cpu_to_be32(src->encap_slid); cpu_to_be32 866 drivers/infiniband/ulp/srp/ib_srp.c req->ib_req.req_it_iu_len = cpu_to_be32(max_iu_len); cpu_to_be32 1457 drivers/infiniband/ulp/srp/ib_srp.c desc->key = cpu_to_be32(rkey); cpu_to_be32 1458 drivers/infiniband/ulp/srp/ib_srp.c desc->len = cpu_to_be32(dma_len); cpu_to_be32 1851 drivers/infiniband/ulp/srp/ib_srp.c buf->len = cpu_to_be32(data_len); cpu_to_be32 1877 drivers/infiniband/ulp/srp/ib_srp.c buf->key = cpu_to_be32(target->global_rkey); cpu_to_be32 1878 drivers/infiniband/ulp/srp/ib_srp.c buf->len = cpu_to_be32(sg_dma_len(scat)); cpu_to_be32 1957 drivers/infiniband/ulp/srp/ib_srp.c idb_rkey = cpu_to_be32(target->global_rkey); cpu_to_be32 1962 drivers/infiniband/ulp/srp/ib_srp.c indirect_hdr->table_desc.len = cpu_to_be32(table_len); cpu_to_be32 1963 drivers/infiniband/ulp/srp/ib_srp.c indirect_hdr->len = cpu_to_be32(state.total_len); cpu_to_be32 350 drivers/infiniband/ulp/srpt/ib_srpt.c iocp->vendor_id = cpu_to_be32(sdev->device->attrs.vendor_id); cpu_to_be32 351 drivers/infiniband/ulp/srpt/ib_srpt.c iocp->device_id = cpu_to_be32(sdev->device->attrs.vendor_part_id); cpu_to_be32 353 drivers/infiniband/ulp/srpt/ib_srpt.c iocp->subsys_vendor_id = cpu_to_be32(sdev->device->attrs.vendor_id); cpu_to_be32 361 drivers/infiniband/ulp/srpt/ib_srpt.c iocp->send_size = cpu_to_be32(srp_max_req_size); cpu_to_be32 362 drivers/infiniband/ulp/srpt/ib_srpt.c iocp->rdma_size = cpu_to_be32(min(sport->port_attrib.srp_max_rdma_size, cpu_to_be32 1389 drivers/infiniband/ulp/srpt/ib_srpt.c cpu_to_be32(1 + atomic_xchg(&ch->req_lim_delta, 0)); cpu_to_be32 1397 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->data_out_res_cnt = cpu_to_be32(resid); cpu_to_be32 1401 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->data_in_res_cnt = cpu_to_be32(resid); cpu_to_be32 1407 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->data_out_res_cnt = cpu_to_be32(resid); cpu_to_be32 1411 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->data_in_res_cnt = cpu_to_be32(resid); cpu_to_be32 1425 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->sense_data_len = cpu_to_be32(sense_data_len); cpu_to_be32 1462 drivers/infiniband/ulp/srpt/ib_srpt.c cpu_to_be32(1 + atomic_xchg(&ch->req_lim_delta, 0)); cpu_to_be32 1466 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->resp_data_len = cpu_to_be32(resp_data_len); cpu_to_be32 2199 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32( cpu_to_be32 2207 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); cpu_to_be32 2216 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32( cpu_to_be32 2225 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); cpu_to_be32 2266 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); cpu_to_be32 2304 drivers/infiniband/ulp/srpt/ib_srpt.c cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); cpu_to_be32 2313 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); cpu_to_be32 2346 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32(ret == -ENOMEM ? cpu_to_be32 2371 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32( cpu_to_be32 2383 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); cpu_to_be32 2395 drivers/infiniband/ulp/srpt/ib_srpt.c rsp->max_it_iu_len = cpu_to_be32(srp_max_req_size); cpu_to_be32 2400 drivers/infiniband/ulp/srpt/ib_srpt.c rsp->req_lim_delta = cpu_to_be32(ch->rq_size); cpu_to_be32 2445 drivers/infiniband/ulp/srpt/ib_srpt.c rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); cpu_to_be32 195 drivers/input/touchscreen/hideep.c packet->header.addr = cpu_to_be32(addr); cpu_to_be32 230 drivers/input/touchscreen/hideep.c packet->header.addr = cpu_to_be32(addr); cpu_to_be32 258 drivers/input/touchscreen/hideep.c __be32 data = cpu_to_be32(val); cpu_to_be32 208 drivers/input/touchscreen/raydium_i2c_ts.c be_addr = cpu_to_be32(addr); cpu_to_be32 229 drivers/input/touchscreen/raydium_i2c_ts.c __be32 be_addr = cpu_to_be32(addr); cpu_to_be32 148 drivers/iommu/arm-smmu.c *((__be32 *)data) = cpu_to_be32(alias); cpu_to_be32 1850 drivers/md/dm-crypt.c param->enckeylen = cpu_to_be32(enckeylen); cpu_to_be32 1356 drivers/media/firewire/firedtv-avc.c *opcr &= ~cpu_to_be32(mask << shift); cpu_to_be32 1357 drivers/media/firewire/firedtv-avc.c *opcr |= cpu_to_be32((value & mask) << shift); cpu_to_be32 1103 drivers/media/i2c/ov13858.c val = cpu_to_be32(__val); cpu_to_be32 259 drivers/media/i2c/ov2685.c val_be = cpu_to_be32(val); cpu_to_be32 1891 drivers/media/i2c/ov5670.c tmp = cpu_to_be32(val); cpu_to_be32 719 drivers/media/i2c/ov5695.c val_be = cpu_to_be32(val); cpu_to_be32 510 drivers/media/rc/redrat3.c *timeout = cpu_to_be32(redrat3_us_to_len(timeoutns / 1000)); cpu_to_be32 822 drivers/media/rc/redrat3.c irdata->pause = cpu_to_be32(redrat3_len_to_us(100)); cpu_to_be32 683 drivers/memstick/core/mspro_block.c param.data_address = cpu_to_be32((uint32_t)offset); cpu_to_be32 83 drivers/memstick/host/r592.c __raw_writel(cpu_to_be32(value), dev->mmio + address); cpu_to_be32 549 drivers/misc/cxl/guest.c elem->common.tid = cpu_to_be32(0); /* Unused */ cpu_to_be32 550 drivers/misc/cxl/guest.c elem->common.pid = cpu_to_be32(pid); cpu_to_be32 573 drivers/misc/cxl/guest.c elem->pslVirtualIsn = cpu_to_be32(ctx->irqs.offset[0]); cpu_to_be32 441 drivers/misc/cxl/native.c ctx->elem->software_state = cpu_to_be32(pe_state); cpu_to_be32 499 drivers/misc/cxl/native.c if (!(ctx->elem->software_state & cpu_to_be32(CXL_PE_SOFTWARE_STATE_V))) cpu_to_be32 670 drivers/misc/cxl/native.c ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); cpu_to_be32 693 drivers/misc/cxl/native.c ctx->elem->common.tid = cpu_to_be32(ctx->tidr); cpu_to_be32 694 drivers/misc/cxl/native.c ctx->elem->common.pid = cpu_to_be32(pid); cpu_to_be32 744 drivers/misc/cxl/native.c ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); cpu_to_be32 752 drivers/misc/cxl/native.c ctx->elem->common.pid = cpu_to_be32(pid); cpu_to_be32 917 drivers/misc/cxl/native.c ctx->elem->software_state = cpu_to_be32(CXL_PE_SOFTWARE_STATE_V); cpu_to_be32 861 drivers/misc/genwqe/card_ddcb.c pddcb->icrc_hsi_shi_32 = cpu_to_be32(0x00000000); /* for crc */ cpu_to_be32 869 drivers/misc/genwqe/card_ddcb.c pddcb->icrc_hsi_shi_32 = cpu_to_be32((u32)icrc << 16); cpu_to_be32 127 drivers/misc/genwqe/card_ddcb.h #define DDCB_INTR_BE32 cpu_to_be32(0x00000004) cpu_to_be32 128 drivers/misc/genwqe/card_ddcb.h #define DDCB_PURGE_BE32 cpu_to_be32(0x00000002) cpu_to_be32 129 drivers/misc/genwqe/card_ddcb.h #define DDCB_NEXT_BE32 cpu_to_be32(0x00000001) cpu_to_be32 130 drivers/misc/genwqe/card_ddcb.h #define DDCB_COMPLETED_BE32 cpu_to_be32(0x00004000) cpu_to_be32 131 drivers/misc/genwqe/card_ddcb.h #define DDCB_FETCHED_BE32 cpu_to_be32(0x00000400) cpu_to_be32 576 drivers/misc/genwqe/card_dev.c *(__be32 *)&req->__asiv[24] = cpu_to_be32(0); cpu_to_be32 578 drivers/misc/genwqe/card_dev.c *(__be32 *)&req->__asiv[28] = cpu_to_be32(crc); cpu_to_be32 586 drivers/misc/genwqe/card_dev.c *(__be32 *)&req->asiv[8] = cpu_to_be32(tocopy); cpu_to_be32 587 drivers/misc/genwqe/card_dev.c *(__be32 *)&req->asiv[12] = cpu_to_be32(0); /* resvd */ cpu_to_be32 589 drivers/misc/genwqe/card_dev.c *(__be32 *)&req->asiv[24] = cpu_to_be32(load->uid<<24); cpu_to_be32 590 drivers/misc/genwqe/card_dev.c *(__be32 *)&req->asiv[28] = cpu_to_be32(crc); cpu_to_be32 702 drivers/misc/genwqe/card_dev.c *(__be32 *)&cmd->__asiv[24] = cpu_to_be32(0); cpu_to_be32 704 drivers/misc/genwqe/card_dev.c *(__be32 *)&cmd->__asiv[28] = cpu_to_be32(0) /* CRC */; cpu_to_be32 708 drivers/misc/genwqe/card_dev.c *(__be32 *)&cmd->asiv[8] = cpu_to_be32(tocopy); cpu_to_be32 709 drivers/misc/genwqe/card_dev.c *(__be32 *)&cmd->asiv[12] = cpu_to_be32(0); /* resvd */ cpu_to_be32 711 drivers/misc/genwqe/card_dev.c *(__be32 *)&cmd->asiv[24] = cpu_to_be32(load->uid<<24); cpu_to_be32 712 drivers/misc/genwqe/card_dev.c *(__be32 *)&cmd->asiv[28] = cpu_to_be32(0); /* CRC */ cpu_to_be32 108 drivers/misc/genwqe/card_utils.c __raw_writel((__force u32)cpu_to_be32(val), cd->mmio + byte_offs); cpu_to_be32 392 drivers/misc/genwqe/card_utils.c s[j].len = cpu_to_be32(128); cpu_to_be32 393 drivers/misc/genwqe/card_utils.c s[j].flags = cpu_to_be32(SG_CHAINED); cpu_to_be32 420 drivers/misc/genwqe/card_utils.c last_s->len = cpu_to_be32(prev_len + cpu_to_be32 433 drivers/misc/genwqe/card_utils.c s[j].len = cpu_to_be32(size_to_map); cpu_to_be32 434 drivers/misc/genwqe/card_utils.c s[j].flags = cpu_to_be32(SG_DATA); cpu_to_be32 456 drivers/misc/genwqe/card_utils.c s[i].len = cpu_to_be32(0); cpu_to_be32 457 drivers/misc/genwqe/card_utils.c s[i].flags = cpu_to_be32(SG_END_LIST); cpu_to_be32 663 drivers/misc/ibmvmc.c crq_msg.max_mtu = cpu_to_be32(ibmvmc_max_mtu); cpu_to_be32 804 drivers/misc/ibmvmc.c crq_msg.var3.msg_len = cpu_to_be32(msg_len); cpu_to_be32 770 drivers/misc/ocxl/config.c *be32ptr = cpu_to_be32(val); cpu_to_be32 531 drivers/misc/ocxl/link.c pe->lpid = cpu_to_be32(mfspr(SPRN_LPID)); cpu_to_be32 532 drivers/misc/ocxl/link.c pe->pid = cpu_to_be32(pidr); cpu_to_be32 533 drivers/misc/ocxl/link.c pe->tid = cpu_to_be32(tidr); cpu_to_be32 535 drivers/misc/ocxl/link.c pe->software_state = cpu_to_be32(SPA_PE_VALID); cpu_to_be32 590 drivers/misc/ocxl/link.c pe->tid = cpu_to_be32(tid); cpu_to_be32 174 drivers/misc/vexpress-syscfg.c energy_quirk[3] = cpu_to_be32(be32_to_cpup(val) + 1); cpu_to_be32 242 drivers/mmc/host/wmt-sdmmc.c priv->cmd->resp[idx1] = cpu_to_be32(response); cpu_to_be32 145 drivers/mtd/maps/vmu-flash.c sendbuf = cpu_to_be32(partition << 24 | x << 16 | num); cpu_to_be32 248 drivers/mtd/maps/vmu-flash.c sendbuf[0] = cpu_to_be32(partition << 24 | x << 16 | num); cpu_to_be32 568 drivers/mtd/maps/vmu-flash.c partnum = cpu_to_be32(card->partition << 24); cpu_to_be32 177 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[9]); cpu_to_be32 182 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[5]); cpu_to_be32 187 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[1]); cpu_to_be32 197 drivers/mtd/nand/raw/omap_elm.c val = (cpu_to_be32(*(u32 *) &ecc[3]) >> 4) | cpu_to_be32 203 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[0]) >> 12; cpu_to_be32 207 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[22]); cpu_to_be32 210 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[18]); cpu_to_be32 213 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[14]); cpu_to_be32 216 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[10]); cpu_to_be32 219 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[6]); cpu_to_be32 222 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[2]); cpu_to_be32 225 drivers/mtd/nand/raw/omap_elm.c val = cpu_to_be32(*(u32 *) &ecc[0]) >> 16; cpu_to_be32 510 drivers/mtd/nand/raw/sh_flctl.c writel(cpu_to_be32(buf[i]), FLDTFIFO(flctl)); cpu_to_be32 523 drivers/mtd/nand/raw/sh_flctl.c buf[i] = cpu_to_be32(buf[i]); cpu_to_be32 361 drivers/mtd/spi-nor/aspeed-smc.c temp = cpu_to_be32(cmdaddr); cpu_to_be32 365 drivers/mtd/spi-nor/aspeed-smc.c temp = cpu_to_be32(addr); cpu_to_be32 855 drivers/mtd/ubi/eba.c vid_hdr->data_size = cpu_to_be32(data_size); cpu_to_be32 856 drivers/mtd/ubi/eba.c vid_hdr->data_crc = cpu_to_be32(crc); cpu_to_be32 1058 drivers/mtd/ubi/eba.c vid_hdr->vol_id = cpu_to_be32(vol_id); cpu_to_be32 1059 drivers/mtd/ubi/eba.c vid_hdr->lnum = cpu_to_be32(lnum); cpu_to_be32 1061 drivers/mtd/ubi/eba.c vid_hdr->data_pad = cpu_to_be32(vol->data_pad); cpu_to_be32 1139 drivers/mtd/ubi/eba.c vid_hdr->vol_id = cpu_to_be32(vol_id); cpu_to_be32 1140 drivers/mtd/ubi/eba.c vid_hdr->lnum = cpu_to_be32(lnum); cpu_to_be32 1142 drivers/mtd/ubi/eba.c vid_hdr->data_pad = cpu_to_be32(vol->data_pad); cpu_to_be32 1146 drivers/mtd/ubi/eba.c vid_hdr->data_size = cpu_to_be32(data_size); cpu_to_be32 1147 drivers/mtd/ubi/eba.c vid_hdr->used_ebs = cpu_to_be32(used_ebs); cpu_to_be32 1148 drivers/mtd/ubi/eba.c vid_hdr->data_crc = cpu_to_be32(crc); cpu_to_be32 1223 drivers/mtd/ubi/eba.c vid_hdr->vol_id = cpu_to_be32(vol_id); cpu_to_be32 1224 drivers/mtd/ubi/eba.c vid_hdr->lnum = cpu_to_be32(lnum); cpu_to_be32 1226 drivers/mtd/ubi/eba.c vid_hdr->data_pad = cpu_to_be32(vol->data_pad); cpu_to_be32 1230 drivers/mtd/ubi/eba.c vid_hdr->data_size = cpu_to_be32(len); cpu_to_be32 1232 drivers/mtd/ubi/eba.c vid_hdr->data_crc = cpu_to_be32(crc); cpu_to_be32 1415 drivers/mtd/ubi/eba.c vid_hdr->data_size = cpu_to_be32(data_size); cpu_to_be32 1416 drivers/mtd/ubi/eba.c vid_hdr->data_crc = cpu_to_be32(crc); cpu_to_be32 115 drivers/mtd/ubi/fastmap.c vh->vol_id = cpu_to_be32(vol_id); cpu_to_be32 1177 drivers/mtd/ubi/fastmap.c fmsb->magic = cpu_to_be32(UBI_FM_SB_MAGIC); cpu_to_be32 1179 drivers/mtd/ubi/fastmap.c fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); cpu_to_be32 1183 drivers/mtd/ubi/fastmap.c fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); cpu_to_be32 1192 drivers/mtd/ubi/fastmap.c fmpl->magic = cpu_to_be32(UBI_FM_POOL_MAGIC); cpu_to_be32 1197 drivers/mtd/ubi/fastmap.c fmpl->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]); cpu_to_be32 1203 drivers/mtd/ubi/fastmap.c fmpl_wl->magic = cpu_to_be32(UBI_FM_POOL_MAGIC); cpu_to_be32 1208 drivers/mtd/ubi/fastmap.c fmpl_wl->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); cpu_to_be32 1215 drivers/mtd/ubi/fastmap.c fec->pnum = cpu_to_be32(wl_e->pnum); cpu_to_be32 1217 drivers/mtd/ubi/fastmap.c fec->ec = cpu_to_be32(wl_e->ec); cpu_to_be32 1223 drivers/mtd/ubi/fastmap.c fmh->free_peb_count = cpu_to_be32(free_peb_count); cpu_to_be32 1228 drivers/mtd/ubi/fastmap.c fec->pnum = cpu_to_be32(wl_e->pnum); cpu_to_be32 1230 drivers/mtd/ubi/fastmap.c fec->ec = cpu_to_be32(wl_e->ec); cpu_to_be32 1240 drivers/mtd/ubi/fastmap.c fec->pnum = cpu_to_be32(wl_e->pnum); cpu_to_be32 1242 drivers/mtd/ubi/fastmap.c fec->ec = cpu_to_be32(wl_e->ec); cpu_to_be32 1248 drivers/mtd/ubi/fastmap.c fmh->used_peb_count = cpu_to_be32(used_peb_count); cpu_to_be32 1253 drivers/mtd/ubi/fastmap.c fec->pnum = cpu_to_be32(wl_e->pnum); cpu_to_be32 1255 drivers/mtd/ubi/fastmap.c fec->ec = cpu_to_be32(wl_e->ec); cpu_to_be32 1261 drivers/mtd/ubi/fastmap.c fmh->scrub_peb_count = cpu_to_be32(scrub_peb_count); cpu_to_be32 1271 drivers/mtd/ubi/fastmap.c fec->pnum = cpu_to_be32(wl_e->pnum); cpu_to_be32 1273 drivers/mtd/ubi/fastmap.c fec->ec = cpu_to_be32(wl_e->ec); cpu_to_be32 1280 drivers/mtd/ubi/fastmap.c fmh->erase_peb_count = cpu_to_be32(erase_peb_count); cpu_to_be32 1294 drivers/mtd/ubi/fastmap.c fvh->magic = cpu_to_be32(UBI_FM_VHDR_MAGIC); cpu_to_be32 1295 drivers/mtd/ubi/fastmap.c fvh->vol_id = cpu_to_be32(vol->vol_id); cpu_to_be32 1297 drivers/mtd/ubi/fastmap.c fvh->used_ebs = cpu_to_be32(vol->used_ebs); cpu_to_be32 1298 drivers/mtd/ubi/fastmap.c fvh->data_pad = cpu_to_be32(vol->data_pad); cpu_to_be32 1299 drivers/mtd/ubi/fastmap.c fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); cpu_to_be32 1312 drivers/mtd/ubi/fastmap.c feba->pnum[j] = cpu_to_be32(ldesc.pnum); cpu_to_be32 1315 drivers/mtd/ubi/fastmap.c feba->reserved_pebs = cpu_to_be32(j); cpu_to_be32 1316 drivers/mtd/ubi/fastmap.c feba->magic = cpu_to_be32(UBI_FM_EBA_MAGIC); cpu_to_be32 1318 drivers/mtd/ubi/fastmap.c fmh->vol_count = cpu_to_be32(vol_count); cpu_to_be32 1319 drivers/mtd/ubi/fastmap.c fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); cpu_to_be32 1335 drivers/mtd/ubi/fastmap.c fmsb->block_loc[i] = cpu_to_be32(new_fm->e[i]->pnum); cpu_to_be32 1337 drivers/mtd/ubi/fastmap.c fmsb->block_ec[i] = cpu_to_be32(new_fm->e[i]->ec); cpu_to_be32 1341 drivers/mtd/ubi/fastmap.c fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, cpu_to_be32 1346 drivers/mtd/ubi/fastmap.c dvhdr->lnum = cpu_to_be32(i); cpu_to_be32 805 drivers/mtd/ubi/io.c ec_hdr->magic = cpu_to_be32(UBI_EC_HDR_MAGIC); cpu_to_be32 807 drivers/mtd/ubi/io.c ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset); cpu_to_be32 808 drivers/mtd/ubi/io.c ec_hdr->data_offset = cpu_to_be32(ubi->leb_start); cpu_to_be32 809 drivers/mtd/ubi/io.c ec_hdr->image_seq = cpu_to_be32(ubi->image_seq); cpu_to_be32 811 drivers/mtd/ubi/io.c ec_hdr->hdr_crc = cpu_to_be32(crc); cpu_to_be32 1063 drivers/mtd/ubi/io.c vid_hdr->magic = cpu_to_be32(UBI_VID_HDR_MAGIC); cpu_to_be32 1066 drivers/mtd/ubi/io.c vid_hdr->hdr_crc = cpu_to_be32(crc); cpu_to_be32 284 drivers/mtd/ubi/vmt.c vtbl_rec.reserved_pebs = cpu_to_be32(vol->reserved_pebs); cpu_to_be32 285 drivers/mtd/ubi/vmt.c vtbl_rec.alignment = cpu_to_be32(vol->alignment); cpu_to_be32 286 drivers/mtd/ubi/vmt.c vtbl_rec.data_pad = cpu_to_be32(vol->data_pad); cpu_to_be32 498 drivers/mtd/ubi/vmt.c vtbl_rec.reserved_pebs = cpu_to_be32(reserved_pebs); cpu_to_be32 102 drivers/mtd/ubi/vtbl.c vtbl_rec->crc = cpu_to_be32(crc); cpu_to_be32 143 drivers/mtd/ubi/vtbl.c vtbl_rec->crc = cpu_to_be32(crc); cpu_to_be32 309 drivers/mtd/ubi/vtbl.c vid_hdr->vol_id = cpu_to_be32(UBI_LAYOUT_VOLUME_ID); cpu_to_be32 312 drivers/mtd/ubi/vtbl.c vid_hdr->data_pad = cpu_to_be32(0); cpu_to_be32 313 drivers/mtd/ubi/vtbl.c vid_hdr->lnum = cpu_to_be32(copy); cpu_to_be32 788 drivers/mtd/ubi/vtbl.c empty_vtbl_record.crc = cpu_to_be32(0xf116c36b); cpu_to_be32 839 drivers/net/can/flexcan.c __be32 data = cpu_to_be32(priv->read(&mb->data[i / sizeof(u32)])); cpu_to_be32 559 drivers/net/can/ti_hecc.c *(__be32 *)(cf->data) = cpu_to_be32(data); cpu_to_be32 562 drivers/net/can/ti_hecc.c *(__be32 *)(cf->data + 4) = cpu_to_be32(data); cpu_to_be32 270 drivers/net/can/usb/usb_8dev.c beflags = cpu_to_be32(flags); cpu_to_be32 639 drivers/net/can/usb/usb_8dev.c msg->id = cpu_to_be32(cf->can_id & CAN_ERR_MASK); cpu_to_be32 782 drivers/net/can/xilinx_can.c *(__be32 *)(cf->data) = cpu_to_be32(data[0]); cpu_to_be32 784 drivers/net/can/xilinx_can.c *(__be32 *)(cf->data + 4) = cpu_to_be32(data[1]); cpu_to_be32 859 drivers/net/can/xilinx_can.c *(__be32 *)(cf->data + i) = cpu_to_be32(data[0]); cpu_to_be32 866 drivers/net/can/xilinx_can.c *(__be32 *)(cf->data + i) = cpu_to_be32(data[0]); cpu_to_be32 1004 drivers/net/dsa/bcm_sf2_cfp.c flow->m_ext.data[0] ^= cpu_to_be32(~0); cpu_to_be32 1005 drivers/net/dsa/bcm_sf2_cfp.c flow->m_ext.data[1] ^= cpu_to_be32(~0); cpu_to_be32 82 drivers/net/ethernet/aeroflex/greth.c #define GRETH_REGSAVE(a, v) (__raw_writel(cpu_to_be32(v), &(a))) cpu_to_be32 157 drivers/net/ethernet/aeroflex/greth.c __raw_writel(cpu_to_be32(val), bd); cpu_to_be32 285 drivers/net/ethernet/atheros/alx/hw.c put_unaligned(cpu_to_be32(mac0), (__be32 *)(addr + 2)); cpu_to_be32 4282 drivers/net/ethernet/broadcom/bnx2.c __be32 v = cpu_to_be32(BNX2_RD(bp, BNX2_NVM_READ)); cpu_to_be32 1388 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c *ret_val = cpu_to_be32(val); cpu_to_be32 11553 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c __be32 mac_lo_be = cpu_to_be32(mac_lo); cpu_to_be32 4645 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.src_ipaddr_mask[i] = cpu_to_be32(0xffffffff); cpu_to_be32 4646 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.dst_ipaddr_mask[i] = cpu_to_be32(0xffffffff); cpu_to_be32 4650 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.src_ipaddr_mask[0] = cpu_to_be32(0xffffffff); cpu_to_be32 4652 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.dst_ipaddr_mask[0] = cpu_to_be32(0xffffffff); cpu_to_be32 959 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(~0); cpu_to_be32 962 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(~0); cpu_to_be32 984 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->m_u.tcp_ip6_spec.ip6src[i] = cpu_to_be32(~0); cpu_to_be32 985 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->m_u.tcp_ip6_spec.ip6dst[i] = cpu_to_be32(~0); cpu_to_be32 2057 drivers/net/ethernet/broadcom/cnic.c src_ip.in6_u.u6_addr32[i] = cpu_to_be32(*addrp); cpu_to_be32 2061 drivers/net/ethernet/broadcom/cnic.c dst_ip.in6_u.u6_addr32[i] = cpu_to_be32(*addrp); cpu_to_be32 3329 drivers/net/ethernet/broadcom/tg3.c *val = cpu_to_be32(v); cpu_to_be32 65 drivers/net/ethernet/brocade/bna/bfa_ioc.h alen->al_len = cpu_to_be32(len); cpu_to_be32 211 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c rep_cfg.rep_mtu.mtu = cpu_to_be32(new_mtu); cpu_to_be32 197 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c __be32 t = cpu_to_be32(val); cpu_to_be32 423 drivers/net/ethernet/chelsio/cxgb3/sge.c d->addr_lo = cpu_to_be32(mapping); cpu_to_be32 424 drivers/net/ethernet/chelsio/cxgb3/sge.c d->addr_hi = cpu_to_be32((u64) mapping >> 32); cpu_to_be32 426 drivers/net/ethernet/chelsio/cxgb3/sge.c d->len_gen = cpu_to_be32(V_FLD_GEN1(gen)); cpu_to_be32 427 drivers/net/ethernet/chelsio/cxgb3/sge.c d->gen2 = cpu_to_be32(V_FLD_GEN2(gen)); cpu_to_be32 434 drivers/net/ethernet/chelsio/cxgb3/sge.c d->addr_lo = cpu_to_be32(mapping); cpu_to_be32 435 drivers/net/ethernet/chelsio/cxgb3/sge.c d->addr_hi = cpu_to_be32((u64) mapping >> 32); cpu_to_be32 437 drivers/net/ethernet/chelsio/cxgb3/sge.c d->len_gen = cpu_to_be32(V_FLD_GEN1(gen)); cpu_to_be32 438 drivers/net/ethernet/chelsio/cxgb3/sge.c d->gen2 = cpu_to_be32(V_FLD_GEN2(gen)); cpu_to_be32 588 drivers/net/ethernet/chelsio/cxgb3/sge.c to->len_gen = cpu_to_be32(V_FLD_GEN1(q->gen)); cpu_to_be32 589 drivers/net/ethernet/chelsio/cxgb3/sge.c to->gen2 = cpu_to_be32(V_FLD_GEN2(q->gen)); cpu_to_be32 1018 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp->len[0] = cpu_to_be32(len); cpu_to_be32 1026 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp->len[j] = cpu_to_be32(skb_frag_size(frag)); cpu_to_be32 529 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.pgid = cpu_to_be32(_pgid); cpu_to_be32 556 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.op_to_portid |= cpu_to_be32(FW_PORT_CMD_APPLY_F); cpu_to_be32 620 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.op_to_portid |= cpu_to_be32(FW_PORT_CMD_APPLY_F); cpu_to_be32 660 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.op_to_portid |= cpu_to_be32(FW_PORT_CMD_APPLY_F); cpu_to_be32 881 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.op_to_portid |= cpu_to_be32(FW_PORT_CMD_APPLY_F); cpu_to_be32 33 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | \ cpu_to_be32 38 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h cpu_to_be32(FW_PORT_CMD_ACTION_V(__action) | \ cpu_to_be32 5585 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c port_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PFVF_CMD) | cpu_to_be32 5590 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c port_cmd.retval_len16 = cpu_to_be32(FW_LEN16(port_cmd)); cpu_to_be32 134 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | cpu_to_be32 138 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); cpu_to_be32 155 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | cpu_to_be32 159 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); cpu_to_be32 179 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | cpu_to_be32 184 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); cpu_to_be32 211 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | cpu_to_be32 215 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); cpu_to_be32 220 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.ppb = cpu_to_be32(ppb); cpu_to_be32 243 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | cpu_to_be32 247 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); cpu_to_be32 282 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | cpu_to_be32 286 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); cpu_to_be32 345 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | cpu_to_be32 349 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); cpu_to_be32 369 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | cpu_to_be32 373 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); cpu_to_be32 357 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c offload_pedit(fs, cpu_to_be32(val) >> 16, cpu_to_be32 358 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c cpu_to_be32(mask) >> 16, cpu_to_be32 361 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c offload_pedit(fs, cpu_to_be32(val), cpu_to_be32 362 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c cpu_to_be32(mask), TCP_DPORT); cpu_to_be32 370 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c offload_pedit(fs, cpu_to_be32(val) >> 16, cpu_to_be32 371 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c cpu_to_be32(mask) >> 16, cpu_to_be32 374 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c offload_pedit(fs, cpu_to_be32(val), cpu_to_be32 375 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c cpu_to_be32(mask), UDP_DPORT); cpu_to_be32 912 drivers/net/ethernet/chelsio/cxgb4/sge.c to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); cpu_to_be32 913 drivers/net/ethernet/chelsio/cxgb4/sge.c to->len[1] = cpu_to_be32(skb_frag_size(&si->frags[++i])); cpu_to_be32 918 drivers/net/ethernet/chelsio/cxgb4/sge.c to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); cpu_to_be32 919 drivers/net/ethernet/chelsio/cxgb4/sge.c to->len[1] = cpu_to_be32(0); cpu_to_be32 1802 drivers/net/ethernet/chelsio/cxgb4/sge.c wr->equiq_to_len16 = cpu_to_be32(wr_mid); cpu_to_be32 1803 drivers/net/ethernet/chelsio/cxgb4/sge.c wr->r3[0] = cpu_to_be32(0); cpu_to_be32 1804 drivers/net/ethernet/chelsio/cxgb4/sge.c wr->r3[1] = cpu_to_be32(0); cpu_to_be32 1820 drivers/net/ethernet/chelsio/cxgb4/sge.c cpu_to_be32(FW_WR_OP_V(FW_ETH_TX_PKT_VM_WR) | cpu_to_be32 1825 drivers/net/ethernet/chelsio/cxgb4/sge.c cpu_to_be32(LSO_OPCODE_V(CPL_TX_PKT_LSO) | cpu_to_be32 1834 drivers/net/ethernet/chelsio/cxgb4/sge.c lso->seqno_offset = cpu_to_be32(0); cpu_to_be32 1836 drivers/net/ethernet/chelsio/cxgb4/sge.c lso->len = cpu_to_be32(skb->len); cpu_to_be32 1838 drivers/net/ethernet/chelsio/cxgb4/sge.c lso->len = cpu_to_be32(LSO_T5_XFER_SIZE_V(skb->len)); cpu_to_be32 1862 drivers/net/ethernet/chelsio/cxgb4/sge.c cpu_to_be32(FW_WR_OP_V(FW_ETH_TX_PKT_VM_WR) | cpu_to_be32 1887 drivers/net/ethernet/chelsio/cxgb4/sge.c cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | cpu_to_be32 3033 drivers/net/ethernet/chelsio/cxgb4/sge.c if (!(pkt->l2info & cpu_to_be32(CPL_RX_PKT_FLAGS))) { cpu_to_be32 3034 drivers/net/ethernet/chelsio/cxgb4/sge.c if ((pkt->l2info & cpu_to_be32(RXF_FCOE_F)) && cpu_to_be32 3789 drivers/net/ethernet/chelsio/cxgb4/sge.c cpu_to_be32(FW_EQ_ETH_CMD_TIMEREN_F | cpu_to_be32 743 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.op_to_addrspace = cpu_to_be32(FW_CMD_OP_V(FW_LDST_CMD) | cpu_to_be32 747 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd)); cpu_to_be32 2903 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PFVF_CMD) | cpu_to_be32 2908 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 3064 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *data = (__force __u32)(cpu_to_be32(*data)); cpu_to_be32 3706 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff); cpu_to_be32 3884 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_CMD_OP_V(FW_PARAMS_CMD) | cpu_to_be32 3888 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.retval_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 3890 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | cpu_to_be32 3892 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.param[0].val = cpu_to_be32(op); cpu_to_be32 4234 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | cpu_to_be32 4238 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 cpu_to_be32 4243 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.l1cfg.rcap = cpu_to_be32(fwcaps32_to_caps16(rcap)); cpu_to_be32 4245 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.l1cfg32.rcap32 = cpu_to_be32(rcap); cpu_to_be32 4279 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | cpu_to_be32 4283 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_PORT_CMD_ACTION_V(fw_caps == FW_CAPS16 cpu_to_be32 4288 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.l1cfg.rcap = cpu_to_be32(FW_PORT_CAP_ANEG); cpu_to_be32 4290 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.l1cfg32.rcap32 = cpu_to_be32(FW_PORT_CAP32_ANEG); cpu_to_be32 5166 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_RSS_IND_TBL_CMD) | cpu_to_be32 5169 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 5195 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *qp++ = cpu_to_be32(v); cpu_to_be32 5221 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_write = cpu_to_be32(FW_CMD_OP_V(FW_RSS_GLB_CONFIG_CMD) | cpu_to_be32 5223 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.retval_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 5226 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_RSS_GLB_CONFIG_CMD_MODE_V(mode)); cpu_to_be32 5229 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_RSS_GLB_CONFIG_CMD_MODE_V(mode)); cpu_to_be32 5230 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.basicvirtual.synmapen_to_hashtoeplitz = cpu_to_be32(flags); cpu_to_be32 5252 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_RSS_VI_CONFIG_CMD) | cpu_to_be32 5255 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.retval_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 5256 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.basicvirtual.defaultq_to_udpen = cpu_to_be32(flags | cpu_to_be32 5319 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_addrspace = cpu_to_be32(FW_CMD_OP_V(FW_LDST_CMD) | cpu_to_be32 5324 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 5326 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.addrval.addr = cpu_to_be32(start_index + i); cpu_to_be32 5327 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.addrval.val = rw ? 0 : cpu_to_be32(vals[i]); cpu_to_be32 6505 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c wr->op_pkd = cpu_to_be32(FW_WR_OP_V(FW_FILTER_WR)); cpu_to_be32 6506 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c wr->len16_pkd = cpu_to_be32(FW_WR_LEN16_V(sizeof(*wr) / 16)); cpu_to_be32 6507 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c wr->tid_to_iq = cpu_to_be32(FW_FILTER_WR_TID_V(ftid) | cpu_to_be32 6509 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c wr->del_filter_to_l2tix = cpu_to_be32(FW_FILTER_WR_DEL_FILTER_F); cpu_to_be32 6516 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c (var).op_to_write = cpu_to_be32(FW_CMD_OP_V(FW_##cmd##_CMD) | \ cpu_to_be32 6519 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c (var).retval_len16 = cpu_to_be32(FW_LEN16(var)); \ cpu_to_be32 6530 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_addrspace = cpu_to_be32(FW_CMD_OP_V(FW_LDST_CMD) | cpu_to_be32 6534 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 6535 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.addrval.addr = cpu_to_be32(addr); cpu_to_be32 6536 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.addrval.val = cpu_to_be32(val); cpu_to_be32 6561 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_addrspace = cpu_to_be32(FW_CMD_OP_V(FW_LDST_CMD) | cpu_to_be32 6564 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 6594 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_addrspace = cpu_to_be32(FW_CMD_OP_V(FW_LDST_CMD) | cpu_to_be32 6597 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 6790 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_addrspace = cpu_to_be32(FW_CMD_OP_V(FW_LDST_CMD) | cpu_to_be32 6793 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 6794 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.idctxt.msg_ctxtflush = cpu_to_be32(FW_LDST_CMD_CTXTFLUSH_F); cpu_to_be32 6864 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.err_to_clearinit = cpu_to_be32( cpu_to_be32 7018 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.val = cpu_to_be32(reset); cpu_to_be32 7051 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.val = cpu_to_be32(PIORST_F | PIORSTMODE_F); cpu_to_be32 7052 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.halt_pkd = cpu_to_be32(FW_RESET_CMD_HALT_F); cpu_to_be32 7468 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PARAMS_CMD) | cpu_to_be32 7472 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.retval_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 7475 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *p++ = cpu_to_be32(*params++); cpu_to_be32 7477 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *p = cpu_to_be32(*(val + i)); cpu_to_be32 7530 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PARAMS_CMD) | cpu_to_be32 7534 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.retval_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 7537 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *p++ = cpu_to_be32(*params++); cpu_to_be32 7538 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *p++ = cpu_to_be32(*val++); cpu_to_be32 7595 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PFVF_CMD) | FW_CMD_REQUEST_F | cpu_to_be32 7598 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.retval_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 7599 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.niqflint_niq = cpu_to_be32(FW_PFVF_CMD_NIQFLINT_V(rxqi) | cpu_to_be32 7601 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.type_to_neq = cpu_to_be32(FW_PFVF_CMD_CMASK_V(cmask) | cpu_to_be32 7604 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.tc_to_nexactf = cpu_to_be32(FW_PFVF_CMD_TC_V(tc) | cpu_to_be32 7607 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.r_caps_to_nethctrl = cpu_to_be32(FW_PFVF_CMD_R_CAPS_V(rcaps) | cpu_to_be32 7638 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_VI_CMD) | FW_CMD_REQUEST_F | cpu_to_be32 7641 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.alloc_to_len16 = cpu_to_be32(FW_VI_CMD_ALLOC_F | FW_LEN16(c)); cpu_to_be32 7693 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_VI_CMD) | cpu_to_be32 7698 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.alloc_to_len16 = cpu_to_be32(FW_VI_CMD_FREE_F | FW_LEN16(c)); cpu_to_be32 7737 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_RXMODE_CMD) | cpu_to_be32 7740 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.retval_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 7742 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_VI_RXMODE_CMD_MTU_V(mtu) | cpu_to_be32 7771 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 7776 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.freemacs_to_len16 = cpu_to_be32(FW_VI_MAC_CMD_FREEMACS_V(0) | cpu_to_be32 7811 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 7817 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.freemacs_to_len16 = cpu_to_be32(FW_VI_MAC_CMD_FREEMACS_V(0) | cpu_to_be32 7820 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c p->raw_idx_pkd = cpu_to_be32(FW_VI_MAC_CMD_RAW_IDX_V(idx) | cpu_to_be32 7824 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c p->data0_pkd = cpu_to_be32(DATALKPTYPE_V(lookup_type) | cpu_to_be32 7864 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 7869 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.freemacs_to_len16 = cpu_to_be32(val); cpu_to_be32 7876 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_VI_MAC_CMD_VNI_V(vni) | cpu_to_be32 7879 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c p->vni_mask_pkd = cpu_to_be32(FW_VI_MAC_CMD_VNI_MASK_V(vni_mask)); cpu_to_be32 7911 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 7916 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.freemacs_to_len16 = cpu_to_be32(val); cpu_to_be32 7919 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c p->raw_idx_pkd = cpu_to_be32(FW_VI_MAC_CMD_RAW_IDX_V(idx)); cpu_to_be32 7922 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c p->data0_pkd = cpu_to_be32(DATALKPTYPE_V(lookup_type) | cpu_to_be32 7986 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 7992 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_VI_MAC_CMD_FREEMACS_V(free) | cpu_to_be32 8074 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 8080 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_VI_MAC_CMD_FREEMACS_V(0) | cpu_to_be32 8143 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 8146 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.freemacs_to_len16 = cpu_to_be32(FW_CMD_LEN16_V(1)); cpu_to_be32 8195 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 8198 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.freemacs_to_len16 = cpu_to_be32(FW_VI_MAC_CMD_HASHVECEN_F | cpu_to_be32 8223 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_ENABLE_CMD) | cpu_to_be32 8226 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_IEN_V(rx_en) | cpu_to_be32 8292 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_ENABLE_CMD) | cpu_to_be32 8295 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_LED_F | FW_LEN16(c)); cpu_to_be32 8322 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_IQ_CMD) | FW_CMD_REQUEST_F | cpu_to_be32 8325 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.alloc_to_len16 = cpu_to_be32(FW_IQ_CMD_IQSTOP_F | FW_LEN16(c)); cpu_to_be32 8326 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.type_to_iqandstindex = cpu_to_be32(FW_IQ_CMD_TYPE_V(iqtype)); cpu_to_be32 8353 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_IQ_CMD) | FW_CMD_REQUEST_F | cpu_to_be32 8356 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.alloc_to_len16 = cpu_to_be32(FW_IQ_CMD_FREE_F | FW_LEN16(c)); cpu_to_be32 8357 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.type_to_iqandstindex = cpu_to_be32(FW_IQ_CMD_TYPE_V(iqtype)); cpu_to_be32 8380 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_EQ_ETH_CMD) | cpu_to_be32 8384 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.alloc_to_len16 = cpu_to_be32(FW_EQ_ETH_CMD_FREE_F | FW_LEN16(c)); cpu_to_be32 8385 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.eqid_pkd = cpu_to_be32(FW_EQ_ETH_CMD_EQID_V(eqid)); cpu_to_be32 8405 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_EQ_CTRL_CMD) | cpu_to_be32 8409 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.alloc_to_len16 = cpu_to_be32(FW_EQ_CTRL_CMD_FREE_F | FW_LEN16(c)); cpu_to_be32 8410 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.cmpliqid_eqid = cpu_to_be32(FW_EQ_CTRL_CMD_EQID_V(eqid)); cpu_to_be32 8430 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_EQ_OFLD_CMD) | cpu_to_be32 8434 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.alloc_to_len16 = cpu_to_be32(FW_EQ_OFLD_CMD_FREE_F | FW_LEN16(c)); cpu_to_be32 8435 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.eqid_pkd = cpu_to_be32(FW_EQ_OFLD_CMD_EQID_V(eqid)); cpu_to_be32 8753 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | cpu_to_be32 8756 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c port_cmd.action_to_len16 = cpu_to_be32( cpu_to_be32 8791 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | cpu_to_be32 8797 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c port_cmd.action_to_len16 = cpu_to_be32( cpu_to_be32 9347 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c devlog_cmd.op_to_write = cpu_to_be32(FW_CMD_OP_V(FW_DEVLOG_CMD) | cpu_to_be32 9349 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c devlog_cmd.retval_len16 = cpu_to_be32(FW_LEN16(devlog_cmd)); cpu_to_be32 9567 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_CMD_OP_V(FW_RSS_VI_CONFIG_CMD) | cpu_to_be32 9570 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c rvc.retval_len16 = cpu_to_be32(FW_LEN16(rvc)); cpu_to_be32 9624 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | cpu_to_be32 9627 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.action_to_len16 = cpu_to_be32( cpu_to_be32 10204 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_ACL_MAC_CMD) | cpu_to_be32 10211 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.en_to_len16 = cpu_to_be32((unsigned int)FW_LEN16(cmd)); cpu_to_be32 10310 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.op_to_addrspace = cpu_to_be32(FW_CMD_OP_V(FW_LDST_CMD) | cpu_to_be32 10313 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.cycles_to_len16 = cpu_to_be32(FW_LEN16(c)); cpu_to_be32 10314 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.idctxt.physid = cpu_to_be32(cid); cpu_to_be32 10358 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.op_to_write = cpu_to_be32(FW_CMD_OP_V(FW_SCHED_CMD) | cpu_to_be32 10361 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 10371 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.min = cpu_to_be32(minrate); cpu_to_be32 10372 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.max = cpu_to_be32(maxrate); cpu_to_be32 10408 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cpu_to_be32(FW_CMD_OP_V(FW_LDST_CMD) | cpu_to_be32 10412 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd)); cpu_to_be32 10451 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c vlan_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_ACL_VLAN_CMD) | cpu_to_be32 10457 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c vlan_cmd.en_to_len16 = cpu_to_be32(enable | FW_LEN16(vlan_cmd)); cpu_to_be32 933 drivers/net/ethernet/chelsio/cxgb4vf/sge.c to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); cpu_to_be32 934 drivers/net/ethernet/chelsio/cxgb4vf/sge.c to->len[1] = cpu_to_be32(skb_frag_size(&si->frags[++i])); cpu_to_be32 939 drivers/net/ethernet/chelsio/cxgb4vf/sge.c to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); cpu_to_be32 940 drivers/net/ethernet/chelsio/cxgb4vf/sge.c to->len[1] = cpu_to_be32(0); cpu_to_be32 1267 drivers/net/ethernet/chelsio/cxgb4vf/sge.c wr->equiq_to_len16 = cpu_to_be32(wr_mid); cpu_to_be32 1268 drivers/net/ethernet/chelsio/cxgb4vf/sge.c wr->r3[0] = cpu_to_be32(0); cpu_to_be32 1269 drivers/net/ethernet/chelsio/cxgb4vf/sge.c wr->r3[1] = cpu_to_be32(0); cpu_to_be32 1286 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cpu_to_be32(FW_WR_OP_V(FW_ETH_TX_PKT_VM_WR) | cpu_to_be32 1293 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cpu_to_be32(LSO_OPCODE_V(CPL_TX_PKT_LSO) | cpu_to_be32 1302 drivers/net/ethernet/chelsio/cxgb4vf/sge.c lso->seqno_offset = cpu_to_be32(0); cpu_to_be32 1304 drivers/net/ethernet/chelsio/cxgb4vf/sge.c lso->len = cpu_to_be32(skb->len); cpu_to_be32 1306 drivers/net/ethernet/chelsio/cxgb4vf/sge.c lso->len = cpu_to_be32(LSO_T5_XFER_SIZE_V(skb->len)); cpu_to_be32 1329 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cpu_to_be32(FW_WR_OP_V(FW_ETH_TX_PKT_VM_WR) | cpu_to_be32 1357 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | cpu_to_be32 1630 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if ((pkt->l2info & cpu_to_be32(RXF_TCP_F)) && cpu_to_be32 2249 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_IQ_CMD) | cpu_to_be32 2253 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cmd.alloc_to_len16 = cpu_to_be32(FW_IQ_CMD_ALLOC_F | cpu_to_be32 2257 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cpu_to_be32(FW_IQ_CMD_TYPE_V(FW_IQ_TYPE_FL_INT_CAP) | cpu_to_be32 2307 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cpu_to_be32( cpu_to_be32 2447 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_EQ_ETH_CMD) | cpu_to_be32 2451 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cmd.alloc_to_len16 = cpu_to_be32(FW_EQ_ETH_CMD_ALLOC_F | cpu_to_be32 2454 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cmd.autoequiqe_to_viid = cpu_to_be32(FW_EQ_ETH_CMD_AUTOEQUEQE_F | cpu_to_be32 2457 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cpu_to_be32(FW_EQ_ETH_CMD_HOSTFCMODE_V(SGE_HOSTFCMODE_STPG) | cpu_to_be32 2461 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cpu_to_be32(FW_EQ_ETH_CMD_FBMIN_V(chip_ver <= CHELSIO_T5 cpu_to_be32 530 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c vi_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_VI_CMD) | cpu_to_be32 533 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c vi_cmd.alloc_to_len16 = cpu_to_be32(FW_LEN16(vi_cmd)); cpu_to_be32 551 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | cpu_to_be32 555 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c port_cmd.action_to_len16 = cpu_to_be32( cpu_to_be32 607 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_write = cpu_to_be32(FW_CMD_OP_V(FW_RESET_CMD) | cpu_to_be32 609 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 635 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PARAMS_CMD) | cpu_to_be32 640 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); cpu_to_be32 673 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PARAMS_CMD) | cpu_to_be32 678 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); cpu_to_be32 680 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c p->mnem = cpu_to_be32(*params++); cpu_to_be32 681 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c p->val = cpu_to_be32(*vals++); cpu_to_be32 1027 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_write = cpu_to_be32(FW_CMD_OP_V(FW_RSS_GLB_CONFIG_CMD) | cpu_to_be32 1030 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 1103 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PFVF_CMD) | cpu_to_be32 1106 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 1151 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_RSS_VI_CONFIG_CMD) | cpu_to_be32 1155 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 1201 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_RSS_VI_CONFIG_CMD) | cpu_to_be32 1205 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 1222 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.u.basicvirtual.defaultq_to_udpen = cpu_to_be32(word); cpu_to_be32 1259 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_RSS_IND_TBL_CMD) | cpu_to_be32 1263 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 1313 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c *qp++ = cpu_to_be32(FW_RSS_IND_TBL_CMD_IQ0_V(qbuf[0]) | cpu_to_be32 1348 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_VI_CMD) | cpu_to_be32 1352 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.alloc_to_len16 = cpu_to_be32(FW_LEN16(cmd) | cpu_to_be32 1378 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_VI_CMD) | cpu_to_be32 1381 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.alloc_to_len16 = cpu_to_be32(FW_LEN16(cmd) | cpu_to_be32 1402 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_ENABLE_CMD) | cpu_to_be32 1406 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_IEN_V(rx_en) | cpu_to_be32 1450 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_ENABLE_CMD) | cpu_to_be32 1454 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_LED_F | cpu_to_be32 1492 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_RXMODE_CMD) | cpu_to_be32 1496 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); cpu_to_be32 1498 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cpu_to_be32(FW_VI_RXMODE_CMD_MTU_V(mtu) | cpu_to_be32 1550 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 1556 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cpu_to_be32(FW_VI_MAC_CMD_FREEMACS_V(free) | cpu_to_be32 1634 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 1640 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cpu_to_be32(FW_VI_MAC_CMD_FREEMACS_V(0) | cpu_to_be32 1708 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 1712 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.freemacs_to_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); cpu_to_be32 1745 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_MAC_CMD) | cpu_to_be32 1749 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.freemacs_to_len16 = cpu_to_be32(FW_VI_MAC_CMD_HASHVECEN_F | cpu_to_be32 1787 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_viid = cpu_to_be32(FW_CMD_OP_V(FW_VI_STATS_CMD) | cpu_to_be32 1791 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); cpu_to_be32 1846 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_IQ_CMD) | cpu_to_be32 1849 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.alloc_to_len16 = cpu_to_be32(FW_IQ_CMD_FREE_F | cpu_to_be32 1852 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cpu_to_be32(FW_IQ_CMD_TYPE_V(iqtype)); cpu_to_be32 1872 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_EQ_ETH_CMD) | cpu_to_be32 1875 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.alloc_to_len16 = cpu_to_be32(FW_EQ_ETH_CMD_FREE_F | cpu_to_be32 1877 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.eqid_pkd = cpu_to_be32(FW_EQ_ETH_CMD_EQID_V(eqid)); cpu_to_be32 2074 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | cpu_to_be32 2077 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c port_cmd.action_to_len16 = cpu_to_be32( cpu_to_be32 2207 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_ACL_MAC_CMD) | cpu_to_be32 2210 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.en_to_len16 = cpu_to_be32((unsigned int)FW_LEN16(cmd)); cpu_to_be32 2254 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.en_to_len16 = cpu_to_be32((unsigned int)FW_LEN16(cmd)); cpu_to_be32 96 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_TID_RELEASE, tid)); cpu_to_be32 109 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_CLOSE_CON_REQ, tid)); cpu_to_be32 123 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_REQ, tid)); cpu_to_be32 137 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h OPCODE_TID(rpl) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_RPL, tid)); cpu_to_be32 151 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_RX_DATA_ACK, tid)); cpu_to_be32 152 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h req->credit_dack = cpu_to_be32(credit_dack); cpu_to_be32 1477 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fd->cmd |= cpu_to_be32(FM_FD_CMD_RPD | FM_FD_CMD_DTC); cpu_to_be32 1894 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fd->cmd |= cpu_to_be32(FM_FD_CMD_FCO); cpu_to_be32 2003 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fd->cmd |= cpu_to_be32(FM_FD_CMD_FCO); cpu_to_be32 2030 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fd->cmd |= cpu_to_be32(qman_fq_fqid(priv->conf_fqs[queue])); cpu_to_be32 2115 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fd.cmd |= cpu_to_be32(FM_FD_CMD_UPD); cpu_to_be32 215 drivers/net/ethernet/freescale/fec.h #define cpu_to_fec32 cpu_to_be32 cpu_to_be32 974 drivers/net/ethernet/freescale/fec_main.c writel((__force u32)cpu_to_be32(temp_mac[0]), cpu_to_be32 976 drivers/net/ethernet/freescale/fec_main.c writel((__force u32)cpu_to_be32(temp_mac[1]), cpu_to_be32 1737 drivers/net/ethernet/freescale/fec_main.c cpu_to_be32(readl(fep->hwp + FEC_ADDR_LOW)); cpu_to_be32 117 drivers/net/ethernet/freescale/gianfar.c bdp->bufPtr = cpu_to_be32(buf); cpu_to_be32 125 drivers/net/ethernet/freescale/gianfar.c bdp->lstatus = cpu_to_be32(lstatus); cpu_to_be32 1909 drivers/net/ethernet/freescale/gianfar.c txbdp_start->bufPtr = cpu_to_be32(bufaddr); cpu_to_be32 1945 drivers/net/ethernet/freescale/gianfar.c txbdp->bufPtr = cpu_to_be32(bufaddr); cpu_to_be32 1946 drivers/net/ethernet/freescale/gianfar.c txbdp->lstatus = cpu_to_be32(lstatus); cpu_to_be32 1968 drivers/net/ethernet/freescale/gianfar.c txbdp_tstamp->bufPtr = cpu_to_be32(bufaddr); cpu_to_be32 1969 drivers/net/ethernet/freescale/gianfar.c txbdp_tstamp->lstatus = cpu_to_be32(lstatus_ts); cpu_to_be32 1983 drivers/net/ethernet/freescale/gianfar.c txbdp_start->lstatus = cpu_to_be32(lstatus); cpu_to_be32 2031 drivers/net/ethernet/freescale/gianfar.c txbdp->lstatus = cpu_to_be32(lstatus); cpu_to_be32 1273 drivers/net/ethernet/freescale/gianfar.h bdp->lstatus = cpu_to_be32(lstatus); cpu_to_be32 1295 drivers/net/ethernet/freescale/gianfar_ethtool.c flow->m_ext.data[0] ^= cpu_to_be32(~0); cpu_to_be32 1296 drivers/net/ethernet/freescale/gianfar_ethtool.c flow->m_ext.data[1] ^= cpu_to_be32(~0); cpu_to_be32 168 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_CONFIGURE_DEVICE_RESOURCES); cpu_to_be32 172 drivers/net/ethernet/google/gve/gve_adminq.c .num_counters = cpu_to_be32(num_counters), cpu_to_be32 174 drivers/net/ethernet/google/gve/gve_adminq.c .num_irq_dbs = cpu_to_be32(num_ntfy_blks), cpu_to_be32 175 drivers/net/ethernet/google/gve/gve_adminq.c .irq_db_stride = cpu_to_be32(sizeof(priv->ntfy_blocks[0])), cpu_to_be32 177 drivers/net/ethernet/google/gve/gve_adminq.c cpu_to_be32(GVE_NTFY_BLK_BASE_MSIX_IDX), cpu_to_be32 188 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_DECONFIGURE_DEVICE_RESOURCES); cpu_to_be32 199 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_CREATE_TX_QUEUE); cpu_to_be32 201 drivers/net/ethernet/google/gve/gve_adminq.c .queue_id = cpu_to_be32(queue_index), cpu_to_be32 205 drivers/net/ethernet/google/gve/gve_adminq.c .queue_page_list_id = cpu_to_be32(tx->tx_fifo.qpl->id), cpu_to_be32 206 drivers/net/ethernet/google/gve/gve_adminq.c .ntfy_id = cpu_to_be32(tx->ntfy_id), cpu_to_be32 218 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_CREATE_RX_QUEUE); cpu_to_be32 220 drivers/net/ethernet/google/gve/gve_adminq.c .queue_id = cpu_to_be32(queue_index), cpu_to_be32 221 drivers/net/ethernet/google/gve/gve_adminq.c .index = cpu_to_be32(queue_index), cpu_to_be32 223 drivers/net/ethernet/google/gve/gve_adminq.c .ntfy_id = cpu_to_be32(rx->ntfy_id), cpu_to_be32 227 drivers/net/ethernet/google/gve/gve_adminq.c .queue_page_list_id = cpu_to_be32(rx->data.qpl->id), cpu_to_be32 238 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_DESTROY_TX_QUEUE); cpu_to_be32 240 drivers/net/ethernet/google/gve/gve_adminq.c .queue_id = cpu_to_be32(queue_index), cpu_to_be32 251 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_DESTROY_RX_QUEUE); cpu_to_be32 253 drivers/net/ethernet/google/gve/gve_adminq.c .queue_id = cpu_to_be32(queue_index), cpu_to_be32 273 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_DESCRIBE_DEVICE); cpu_to_be32 277 drivers/net/ethernet/google/gve/gve_adminq.c cpu_to_be32(GVE_ADMINQ_DEVICE_DESCRIPTOR_VERSION); cpu_to_be32 278 drivers/net/ethernet/google/gve/gve_adminq.c cmd.describe_device.available_length = cpu_to_be32(PAGE_SIZE); cpu_to_be32 350 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_REGISTER_PAGE_LIST); cpu_to_be32 352 drivers/net/ethernet/google/gve/gve_adminq.c .page_list_id = cpu_to_be32(qpl->id), cpu_to_be32 353 drivers/net/ethernet/google/gve/gve_adminq.c .num_pages = cpu_to_be32(num_entries), cpu_to_be32 367 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_UNREGISTER_PAGE_LIST); cpu_to_be32 369 drivers/net/ethernet/google/gve/gve_adminq.c .page_list_id = cpu_to_be32(page_list_id), cpu_to_be32 380 drivers/net/ethernet/google/gve/gve_adminq.c cmd.opcode = cpu_to_be32(GVE_ADMINQ_SET_DRIVER_PARAMETER); cpu_to_be32 382 drivers/net/ethernet/google/gve/gve_adminq.c .parameter_type = cpu_to_be32(GVE_SET_PARAM_MTU), cpu_to_be32 530 drivers/net/ethernet/hisilicon/hip04_eth.c desc->send_size = (__force u32)cpu_to_be32(skb->len); cpu_to_be32 532 drivers/net/ethernet/hisilicon/hip04_eth.c desc->cfg = (__force u32)cpu_to_be32(TX_CLEAR_WB | TX_FINISH_CACHE_INV cpu_to_be32 534 drivers/net/ethernet/hisilicon/hip04_eth.c desc->data_offset = (__force u32)cpu_to_be32(phys & CACHE_LINE_MASK); cpu_to_be32 535 drivers/net/ethernet/hisilicon/hip04_eth.c desc->send_addr = (__force u32)cpu_to_be32(phys & ~CACHE_LINE_MASK); cpu_to_be32 537 drivers/net/ethernet/hisilicon/hip04_eth.c desc->cfg = (__force u32)cpu_to_be32(TX_CLEAR_WB | TX_FINISH_CACHE_INV); cpu_to_be32 538 drivers/net/ethernet/hisilicon/hip04_eth.c desc->send_addr = (__force u32)cpu_to_be32(phys); cpu_to_be32 541 drivers/net/ethernet/hisilicon/hip04_eth.c desc->wb_addr = (__force u32)cpu_to_be32(phys + cpu_to_be32 5800 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cpu_to_be32(rule->tuples.src_ip[IPV4_INDEX]); cpu_to_be32 5803 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 0 : cpu_to_be32(rule->tuples_mask.src_ip[IPV4_INDEX]); cpu_to_be32 5806 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cpu_to_be32(rule->tuples.dst_ip[IPV4_INDEX]); cpu_to_be32 5809 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 0 : cpu_to_be32(rule->tuples_mask.dst_ip[IPV4_INDEX]); cpu_to_be32 5829 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cpu_to_be32(rule->tuples.src_ip[IPV4_INDEX]); cpu_to_be32 5832 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 0 : cpu_to_be32(rule->tuples_mask.src_ip[IPV4_INDEX]); cpu_to_be32 5835 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cpu_to_be32(rule->tuples.dst_ip[IPV4_INDEX]); cpu_to_be32 5838 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 0 : cpu_to_be32(rule->tuples_mask.dst_ip[IPV4_INDEX]); cpu_to_be32 26 drivers/net/ethernet/huawei/hinic/hinic_common.c *mem = cpu_to_be32(*mem); cpu_to_be32 333 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c db_info = cpu_to_be32(db_info); cpu_to_be32 538 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c aeqe->desc = cpu_to_be32(init_val); cpu_to_be32 556 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c *(ceqe) = cpu_to_be32(init_val); cpu_to_be32 244 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h writel(cpu_to_be32(val), hwif->cfg_regs_bar + reg); cpu_to_be32 620 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c return cpu_to_be32(HINIC_SQ_DB_INFO_SET(hi_prod_idx, PI_HI) | cpu_to_be32 906 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c cqe->status = cpu_to_be32(status); cpu_to_be32 606 drivers/net/ethernet/huawei/hinic/hinic_port.c indir_tbl->group_index = cpu_to_be32(tmpl_idx); cpu_to_be32 613 drivers/net/ethernet/huawei/hinic/hinic_port.c *temp = cpu_to_be32(*temp); cpu_to_be32 620 drivers/net/ethernet/huawei/hinic/hinic_port.c indir_tbl->size = cpu_to_be32(indir_size); cpu_to_be32 631 drivers/net/ethernet/huawei/hinic/hinic_port.c indir_tbl->offset = cpu_to_be32(indir_size); cpu_to_be32 632 drivers/net/ethernet/huawei/hinic/hinic_port.c indir_tbl->size = cpu_to_be32(indir_size); cpu_to_be32 716 drivers/net/ethernet/huawei/hinic/hinic_port.c ctx_tbl->group_index = cpu_to_be32(tmpl_idx); cpu_to_be32 719 drivers/net/ethernet/huawei/hinic/hinic_port.c ctx_tbl->size = cpu_to_be32(ctx_tbl->size); cpu_to_be32 721 drivers/net/ethernet/huawei/hinic/hinic_port.c ctx_tbl->ctx = cpu_to_be32(ctx); cpu_to_be32 296 drivers/net/ethernet/ibm/ibmvnic.c sub_crq.rx_add.ioba = cpu_to_be32(dma_addr); cpu_to_be32 307 drivers/net/ethernet/ibm/ibmvnic.c sub_crq.rx_add.len = cpu_to_be32(pool->buff_size << shift); cpu_to_be32 982 drivers/net/ethernet/ibm/ibmvnic.c crq.get_vpd.ioba = cpu_to_be32(adapter->vpd->dma_addr); cpu_to_be32 983 drivers/net/ethernet/ibm/ibmvnic.c crq.get_vpd.len = cpu_to_be32((u32)adapter->vpd->len); cpu_to_be32 1515 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be32(index | IBMVNIC_TSO_POOL_MASK); cpu_to_be32 1517 drivers/net/ethernet/ibm/ibmvnic.c tx_crq.v1.correlator = cpu_to_be32(index); cpu_to_be32 1519 drivers/net/ethernet/ibm/ibmvnic.c tx_crq.v1.sge_len = cpu_to_be32(skb->len); cpu_to_be32 2602 drivers/net/ethernet/ibm/ibmvnic.c crq.request_statistics.ioba = cpu_to_be32(adapter->stats_token); cpu_to_be32 2604 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be32(sizeof(struct ibmvnic_statistics)); cpu_to_be32 3581 drivers/net/ethernet/ibm/ibmvnic.c login_buffer->len = cpu_to_be32(buffer_size); cpu_to_be32 3582 drivers/net/ethernet/ibm/ibmvnic.c login_buffer->version = cpu_to_be32(INITIAL_VERSION_LB); cpu_to_be32 3583 drivers/net/ethernet/ibm/ibmvnic.c login_buffer->num_txcomp_subcrqs = cpu_to_be32(adapter->req_tx_queues); cpu_to_be32 3585 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be32(sizeof(struct ibmvnic_login_buffer)); cpu_to_be32 3586 drivers/net/ethernet/ibm/ibmvnic.c login_buffer->num_rxcomp_subcrqs = cpu_to_be32(adapter->req_rx_queues); cpu_to_be32 3588 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be32(sizeof(struct ibmvnic_login_buffer) + cpu_to_be32 3590 drivers/net/ethernet/ibm/ibmvnic.c login_buffer->login_rsp_ioba = cpu_to_be32(rsp_buffer_token); cpu_to_be32 3591 drivers/net/ethernet/ibm/ibmvnic.c login_buffer->login_rsp_len = cpu_to_be32(rsp_buffer_size); cpu_to_be32 3617 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be32((char *)vlcd - (char *)login_buffer); cpu_to_be32 3618 drivers/net/ethernet/ibm/ibmvnic.c login_buffer->client_data_len = cpu_to_be32(client_data_len); cpu_to_be32 3631 drivers/net/ethernet/ibm/ibmvnic.c crq.login.ioba = cpu_to_be32(buffer_token); cpu_to_be32 3632 drivers/net/ethernet/ibm/ibmvnic.c crq.login.len = cpu_to_be32(buffer_size); cpu_to_be32 3656 drivers/net/ethernet/ibm/ibmvnic.c crq.request_map.ioba = cpu_to_be32(addr); cpu_to_be32 3657 drivers/net/ethernet/ibm/ibmvnic.c crq.request_map.len = cpu_to_be32(len); cpu_to_be32 3930 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be32(sizeof(adapter->ip_offload_ctrl)); cpu_to_be32 3931 drivers/net/ethernet/ibm/ibmvnic.c adapter->ip_offload_ctrl.version = cpu_to_be32(INITIAL_VERSION_IOB); cpu_to_be32 3985 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be32(sizeof(adapter->ip_offload_ctrl)); cpu_to_be32 3986 drivers/net/ethernet/ibm/ibmvnic.c crq.control_ip_offload.ioba = cpu_to_be32(adapter->ip_offload_ctrl_tok); cpu_to_be32 4142 drivers/net/ethernet/ibm/ibmvnic.c newcrq.query_ip_offload.len = cpu_to_be32(buf_sz); cpu_to_be32 4144 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be32(adapter->ip_offload_tok); cpu_to_be32 4425 drivers/net/ethernet/ibm/ibmvnic.c __be32 rspeed = cpu_to_be32(crq->query_phys_parms_rsp.speed); cpu_to_be32 7850 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->dst == cpu_to_be32(0xffffffff)) { cpu_to_be32 7860 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->src == cpu_to_be32(0xffffffff)) { cpu_to_be32 2824 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->dst == cpu_to_be32(0xffffffff)) { cpu_to_be32 2834 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->src == cpu_to_be32(0xffffffff)) { cpu_to_be32 2848 drivers/net/ethernet/intel/iavf/iavf_main.c vf->mask.tcp_spec.dst_ip[0] |= cpu_to_be32(0xffffffff); cpu_to_be32 2852 drivers/net/ethernet/intel/iavf/iavf_main.c vf->mask.tcp_spec.src_ip[0] |= cpu_to_be32(0xffffffff); cpu_to_be32 2883 drivers/net/ethernet/intel/iavf/iavf_main.c vf->mask.tcp_spec.dst_ip[i] |= cpu_to_be32(0xffffffff); cpu_to_be32 2887 drivers/net/ethernet/intel/iavf/iavf_main.c vf->mask.tcp_spec.src_ip[i] |= cpu_to_be32(0xffffffff); cpu_to_be32 29 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c (__force u32)cpu_to_be32(key[3 - i])); cpu_to_be32 30 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c IXGBE_WRITE_REG(hw, IXGBE_IPSTXSALT, (__force u32)cpu_to_be32(salt)); cpu_to_be32 89 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c (__force u32)cpu_to_be32(key[3 - i])); cpu_to_be32 90 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c IXGBE_WRITE_REG(hw, IXGBE_IPSRXSALT, (__force u32)cpu_to_be32(salt)); cpu_to_be32 449 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c hic.cmd.data[i] = cpu_to_be32((*data)[i]); cpu_to_be32 804 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c write_cmd.write_data = cpu_to_be32(data); cpu_to_be32 881 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.address = (__force u32)cpu_to_be32((offset + cpu_to_be32 1093 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.address = (__force u32)cpu_to_be32(offset * 2); cpu_to_be32 1183 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.address = cpu_to_be32(offset * 2); cpu_to_be32 130 drivers/net/ethernet/mellanox/mlx4/catas.c __raw_writel((__force u32)cpu_to_be32(comm_flags), cpu_to_be32 282 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32(val), cpu_to_be32 482 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32(in_param >> 32), hcr + 0); cpu_to_be32 483 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), hcr + 1); cpu_to_be32 484 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32(in_modifier), hcr + 2); cpu_to_be32 485 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32(out_param >> 32), hcr + 3); cpu_to_be32 486 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), hcr + 4); cpu_to_be32 487 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32(token << 16), hcr + 5); cpu_to_be32 492 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) | cpu_to_be32 523 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_modifier = cpu_to_be32(in_modifier); cpu_to_be32 851 drivers/net/ethernet/mellanox/mlx4/cmd.c in_mad->attr_mod = cpu_to_be32(index / 32); cpu_to_be32 948 drivers/net/ethernet/mellanox/mlx4/cmd.c smp->attr_mod = cpu_to_be32(port); cpu_to_be32 2200 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32(reply), cpu_to_be32 2227 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32) cpu_to_be32(reply), cpu_to_be32 2568 drivers/net/ethernet/mellanox/mlx4/cmd.c __raw_writel((__force u32)cpu_to_be32(slave_read), cpu_to_be32 204 drivers/net/ethernet/mellanox/mlx4/cq.c cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24); cpu_to_be32 208 drivers/net/ethernet/mellanox/mlx4/cq.c cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); cpu_to_be32 376 drivers/net/ethernet/mellanox/mlx4/cq.c cq_context->flags = cpu_to_be32(!!collapsed << 18); cpu_to_be32 378 drivers/net/ethernet/mellanox/mlx4/cq.c cq_context->flags |= cpu_to_be32(1 << 19); cpu_to_be32 381 drivers/net/ethernet/mellanox/mlx4/cq.c cpu_to_be32((ilog2(nent) << 24) | cpu_to_be32 388 drivers/net/ethernet/mellanox/mlx4/cq.c cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); cpu_to_be32 634 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->modify_enable_high = cpu_to_be32( cpu_to_be32 636 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->modify_enable_low = cpu_to_be32(MODIFY_ENABLE_LOW_MASK); cpu_to_be32 638 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->extended_enable = cpu_to_be32(qcn->rpg_enable[i] << RPG_ENABLE_BIT); cpu_to_be32 639 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rppp_max_rps = cpu_to_be32(qcn->rppp_max_rps[i]); cpu_to_be32 640 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rpg_time_reset = cpu_to_be32(qcn->rpg_time_reset[i]); cpu_to_be32 641 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rpg_byte_reset = cpu_to_be32(qcn->rpg_byte_reset[i]); cpu_to_be32 642 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rpg_threshold = cpu_to_be32(qcn->rpg_threshold[i]); cpu_to_be32 643 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rpg_max_rate = cpu_to_be32(qcn->rpg_max_rate[i]); cpu_to_be32 644 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rpg_ai_rate = cpu_to_be32(qcn->rpg_ai_rate[i]); cpu_to_be32 645 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rpg_hai_rate = cpu_to_be32(qcn->rpg_hai_rate[i]); cpu_to_be32 646 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rpg_gd = cpu_to_be32(qcn->rpg_gd[i]); cpu_to_be32 647 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rpg_min_dec_fac = cpu_to_be32(qcn->rpg_min_dec_fac[i]); cpu_to_be32 648 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->rpg_min_rate = cpu_to_be32(qcn->rpg_min_rate[i]); cpu_to_be32 651 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c hw_qcn->extended_enable |= cpu_to_be32(1 << CN_TAG_BIT); cpu_to_be32 48 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c #define EN_ETHTOOL_WORD_MASK cpu_to_be32(0xffffffff) cpu_to_be32 907 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c proto_admin = cpu_to_be32(ptys_link_modes) & proto_cap; cpu_to_be32 962 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c proto_admin = cpu_to_be32(ptys_adv); cpu_to_be32 107 drivers/net/ethernet/mellanox/mlx4/en_main.c priv->ctrl_flags |= cpu_to_be32(MLX4_WQE_CTRL_FORCE_LOOPBACK); cpu_to_be32 109 drivers/net/ethernet/mellanox/mlx4/en_main.c priv->ctrl_flags &= cpu_to_be32(~MLX4_WQE_CTRL_FORCE_LOOPBACK); cpu_to_be32 3285 drivers/net/ethernet/mellanox/mlx4/en_netdev.c priv->ctrl_flags = cpu_to_be32(MLX4_WQE_CTRL_CQ_UPDATE | cpu_to_be32 64 drivers/net/ethernet/mellanox/mlx4/en_port.c filter->entry[i] = cpu_to_be32(entry); cpu_to_be32 48 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->flags = cpu_to_be32(7 << 16 | rss << MLX4_RSS_QPC_FLAG_OFFSET); cpu_to_be32 49 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->pd = cpu_to_be32(mdev->priv_pdn); cpu_to_be32 56 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->params2 |= cpu_to_be32(MLX4_QP_BIT_FPP); cpu_to_be32 61 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->usr_page = cpu_to_be32(mlx4_to_hw_uar_index(mdev->dev, cpu_to_be32 63 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->local_qpn = cpu_to_be32(qpn); cpu_to_be32 72 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->cqn_send = cpu_to_be32(cqn); cpu_to_be32 73 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->cqn_recv = cpu_to_be32(cqn); cpu_to_be32 85 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->param3 |= cpu_to_be32(1 << 30); cpu_to_be32 90 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->srqn = cpu_to_be32(7 << 28); /* this fills bits 30:28 */ cpu_to_be32 118 drivers/net/ethernet/mellanox/mlx4/en_rx.c cpu_to_be32(priv->frag_info[i].frag_size); cpu_to_be32 119 drivers/net/ethernet/mellanox/mlx4/en_rx.c rx_desc->data[i].lkey = cpu_to_be32(priv->mdev->mr.key); cpu_to_be32 128 drivers/net/ethernet/mellanox/mlx4/en_rx.c rx_desc->data[i].lkey = cpu_to_be32(MLX4_EN_MEMTYPE_PAD); cpu_to_be32 164 drivers/net/ethernet/mellanox/mlx4/en_rx.c *ring->wqres.db.db = cpu_to_be32(ring->prod & 0xffff); cpu_to_be32 347 drivers/net/ethernet/mellanox/mlx4/en_rx.c __be32 stamp = cpu_to_be32(1 << STAMP_SHIFT); cpu_to_be32 645 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (cqe->vlan_my_qpn & cpu_to_be32(MLX4_CQE_CVLAN_PRESENT_MASK) && cpu_to_be32 847 drivers/net/ethernet/mellanox/mlx4/en_rx.c (cqe->vlan_my_qpn & cpu_to_be32(MLX4_CQE_L2_TUNNEL)); cpu_to_be32 876 drivers/net/ethernet/mellanox/mlx4/en_rx.c cpu_to_be32(MLX4_CQE_CVLAN_PRESENT_MASK)) && cpu_to_be32 881 drivers/net/ethernet/mellanox/mlx4/en_rx.c cpu_to_be32(MLX4_CQE_SVLAN_PRESENT_MASK)) && cpu_to_be32 1083 drivers/net/ethernet/mellanox/mlx4/en_rx.c context->param3 |= cpu_to_be32(1 << 29); cpu_to_be32 1205 drivers/net/ethernet/mellanox/mlx4/en_rx.c rss_context->base_qpn = cpu_to_be32(ilog2(rss_rings) << 24 | cpu_to_be32 1207 drivers/net/ethernet/mellanox/mlx4/en_rx.c rss_context->default_qpn = cpu_to_be32(rss_map->base_qpn); cpu_to_be32 198 drivers/net/ethernet/mellanox/mlx4/en_tx.c ring->doorbell_qpn = cpu_to_be32(ring->sp_qp.qpn << 8); cpu_to_be32 199 drivers/net/ethernet/mellanox/mlx4/en_tx.c ring->mr_key = cpu_to_be32(mdev->mr.key); cpu_to_be32 205 drivers/net/ethernet/mellanox/mlx4/en_tx.c cpu_to_be32(mlx4_to_hw_uar_index(mdev->dev, cpu_to_be32 235 drivers/net/ethernet/mellanox/mlx4/en_tx.c __be32 stamp = cpu_to_be32(STAMP_VAL | (!!owner << STAMP_SHIFT)); cpu_to_be32 259 drivers/net/ethernet/mellanox/mlx4/en_tx.c stamp ^= cpu_to_be32(0x80000000); cpu_to_be32 661 drivers/net/ethernet/mellanox/mlx4/en_tx.c inl->byte_count = cpu_to_be32(1 << 31 | skb->len); cpu_to_be32 663 drivers/net/ethernet/mellanox/mlx4/en_tx.c inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); cpu_to_be32 673 drivers/net/ethernet/mellanox/mlx4/en_tx.c inl->byte_count = cpu_to_be32(1 << 31 | spc); cpu_to_be32 695 drivers/net/ethernet/mellanox/mlx4/en_tx.c inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); cpu_to_be32 798 drivers/net/ethernet/mellanox/mlx4/en_tx.c data->byte_count = cpu_to_be32(byte_count); cpu_to_be32 815 drivers/net/ethernet/mellanox/mlx4/en_tx.c data->byte_count = cpu_to_be32(byte_count); cpu_to_be32 966 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_desc->ctrl.srcrb_flags |= cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM | cpu_to_be32 969 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_desc->ctrl.srcrb_flags |= cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM); cpu_to_be32 989 drivers/net/ethernet/mellanox/mlx4/en_tx.c op_own = cpu_to_be32(MLX4_OPCODE_LSO | (1 << 6)) | cpu_to_be32 991 drivers/net/ethernet/mellanox/mlx4/en_tx.c cpu_to_be32(MLX4_EN_BIT_DESC_OWN) : 0); cpu_to_be32 994 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_desc->lso.mss_hdr_size = cpu_to_be32( cpu_to_be32 1008 drivers/net/ethernet/mellanox/mlx4/en_tx.c op_own = cpu_to_be32(MLX4_OPCODE_SEND) | cpu_to_be32 1010 drivers/net/ethernet/mellanox/mlx4/en_tx.c cpu_to_be32(MLX4_EN_BIT_DESC_OWN) : 0); cpu_to_be32 1033 drivers/net/ethernet/mellanox/mlx4/en_tx.c op_own |= cpu_to_be32(MLX4_WQE_CTRL_IIP | MLX4_WQE_CTRL_ILP); cpu_to_be32 1035 drivers/net/ethernet/mellanox/mlx4/en_tx.c op_own |= cpu_to_be32(MLX4_WQE_CTRL_IIP); cpu_to_be32 1062 drivers/net/ethernet/mellanox/mlx4/en_tx.c qpn_vlan.bf_qpn = ring->doorbell_qpn | cpu_to_be32(real_size); cpu_to_be32 1164 drivers/net/ethernet/mellanox/mlx4/en_tx.c data->byte_count = cpu_to_be32(length); cpu_to_be32 1168 drivers/net/ethernet/mellanox/mlx4/en_tx.c op_own = cpu_to_be32(MLX4_OPCODE_SEND) | cpu_to_be32 1170 drivers/net/ethernet/mellanox/mlx4/en_tx.c cpu_to_be32(MLX4_EN_BIT_DESC_OWN) : 0); cpu_to_be32 99 drivers/net/ethernet/mellanox/mlx4/eq.c __raw_writel((__force u32) cpu_to_be32((eq->cons_index & 0xffffff) | cpu_to_be32 303 drivers/net/ethernet/mellanox/mlx4/eq.c eqe.event.port_change.port = cpu_to_be32(slave_port << 28); cpu_to_be32 442 drivers/net/ethernet/mellanox/mlx4/eq.c cpu_to_be32((u32) attr); cpu_to_be32 628 drivers/net/ethernet/mellanox/mlx4/eq.c cpu_to_be32( cpu_to_be32 642 drivers/net/ethernet/mellanox/mlx4/eq.c cpu_to_be32( cpu_to_be32 669 drivers/net/ethernet/mellanox/mlx4/eq.c cpu_to_be32( cpu_to_be32 1036 drivers/net/ethernet/mellanox/mlx4/eq.c eq_context->flags = cpu_to_be32(MLX4_EQ_STATUS_OK | cpu_to_be32 1044 drivers/net/ethernet/mellanox/mlx4/eq.c eq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); cpu_to_be32 78 drivers/net/ethernet/mellanox/mlx4/fw.c case 4: *(__be32 *) __d = cpu_to_be32(source); break; \ cpu_to_be32 1904 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_FLAGS_OFFSET / 4) &= ~cpu_to_be32(1 << 1); cpu_to_be32 1906 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 1); cpu_to_be32 1911 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1); cpu_to_be32 1915 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 3); cpu_to_be32 1919 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 2); cpu_to_be32 1923 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 4); cpu_to_be32 1927 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 13); cpu_to_be32 1931 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_EQE_CQE_OFFSETS / 4) |= cpu_to_be32(1 << 29); cpu_to_be32 1940 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_EQE_CQE_OFFSETS / 4) |= cpu_to_be32(1 << 30); cpu_to_be32 1962 drivers/net/ethernet/mellanox/mlx4/fw.c *(inbox + INIT_HCA_RECOVERABLE_ERROR_EVENT_OFFSET / 4) |= cpu_to_be32(1 << 31); cpu_to_be32 1991 drivers/net/ethernet/mellanox/mlx4/fw.c cpu_to_be32(1 << cpu_to_be32 2517 drivers/net/ethernet/mellanox/mlx4/fw.c config_dev.update_flags = cpu_to_be32(MLX4_VXLAN_UDP_DPORT); cpu_to_be32 2530 drivers/net/ethernet/mellanox/mlx4/fw.c config_dev.update_flags = cpu_to_be32(MLX4_DISABLE_RX_PORT); cpu_to_be32 2533 drivers/net/ethernet/mellanox/mlx4/fw.c cpu_to_be32(CONFIG_DISABLE_RX_PORT); cpu_to_be32 2543 drivers/net/ethernet/mellanox/mlx4/fw.c config_dev.update_flags = cpu_to_be32(MLX4_ROCE_V2_UDP_DPORT); cpu_to_be32 2564 drivers/net/ethernet/mellanox/mlx4/fw.c v2p->v_port1 = cpu_to_be32(port1); cpu_to_be32 2565 drivers/net/ethernet/mellanox/mlx4/fw.c v2p->v_port2 = cpu_to_be32(port2); cpu_to_be32 2781 drivers/net/ethernet/mellanox/mlx4/fw.c (__force u32)cpu_to_be32(token) << 16), cpu_to_be32 208 drivers/net/ethernet/mellanox/mlx4/fw_qos.c in_param->vpp_p_up[i] = cpu_to_be32(vpp_p_up[i]); cpu_to_be32 273 drivers/net/ethernet/mellanox/mlx4/fw_qos.c ctx->qos_p_up[i].bw_share = cpu_to_be32(in_param[i].bw_share); cpu_to_be32 275 drivers/net/ethernet/mellanox/mlx4/fw_qos.c cpu_to_be32(in_param[i].max_avg_bw); cpu_to_be32 277 drivers/net/ethernet/mellanox/mlx4/fw_qos.c cpu_to_be32(in_param[i].enable << 31); cpu_to_be32 218 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32(pqp->qpn & MGM_QPN_MASK); cpu_to_be32 221 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->members_count = cpu_to_be32(members_count | (prot << 30)); cpu_to_be32 502 drivers/net/ethernet/mellanox/mlx4/mcg.c cpu_to_be32(qpn & MGM_QPN_MASK); cpu_to_be32 504 drivers/net/ethernet/mellanox/mlx4/mcg.c cpu_to_be32(members_count | cpu_to_be32 525 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32(dqp->qpn & MGM_QPN_MASK); cpu_to_be32 527 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->members_count = cpu_to_be32(members_count | MLX4_PROT_ETH << 30); cpu_to_be32 591 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32(dqp->qpn & MGM_QPN_MASK); cpu_to_be32 592 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->members_count = cpu_to_be32(members_count | MLX4_PROT_ETH << 30); cpu_to_be32 655 drivers/net/ethernet/mellanox/mlx4/mcg.c cpu_to_be32(--members_count | cpu_to_be32 784 drivers/net/ethernet/mellanox/mlx4/mcg.c hw->qpn = cpu_to_be32(ctrl->qpn); cpu_to_be32 888 drivers/net/ethernet/mellanox/mlx4/mcg.c cpu_to_be32(be32_to_cpu(spec->vxlan.vni) << 8); cpu_to_be32 890 drivers/net/ethernet/mellanox/mlx4/mcg.c cpu_to_be32(be32_to_cpu(spec->vxlan.vni_mask) << 8); cpu_to_be32 1166 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32((qp->qpn & MGM_QPN_MASK) | cpu_to_be32 1169 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32(qp->qpn & MGM_QPN_MASK); cpu_to_be32 1171 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->members_count = cpu_to_be32(members_count | (u32) prot << 30); cpu_to_be32 1184 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->next_gid_index = cpu_to_be32(index << 6); cpu_to_be32 1269 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->members_count = cpu_to_be32(--members_count | (u32) prot << 30); cpu_to_be32 1280 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->members_count = cpu_to_be32((u32) prot << 30); cpu_to_be32 1311 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->next_gid_index = cpu_to_be32(cur_next_index << 6); cpu_to_be32 398 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->pd_flags = cpu_to_be32(pd_flags | cpu_to_be32 412 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags = cpu_to_be32(flags); cpu_to_be32 601 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->entity_size = cpu_to_be32(page_shift); cpu_to_be32 602 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags &= ~(cpu_to_be32(MLX4_MPT_FLAG_FREE | cpu_to_be32 605 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_PHYSICAL); cpu_to_be32 611 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->mtt_sz = cpu_to_be32(1 << mr->mtt.order); cpu_to_be32 615 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_FREE); cpu_to_be32 616 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->pd_flags |= cpu_to_be32(MLX4_MPT_PD_FLAG_FAST_REG | cpu_to_be32 619 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_SW_OWNS); cpu_to_be32 643 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags = cpu_to_be32(MLX4_MPT_FLAG_MIO | cpu_to_be32 647 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->key = cpu_to_be32(key_to_hw_index(mr->key)); cpu_to_be32 648 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->pd_flags = cpu_to_be32(mr->pd | MLX4_MPT_PD_FLAG_EN_INV); cpu_to_be32 651 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->entity_size = cpu_to_be32(mr->mtt.page_shift); cpu_to_be32 654 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_PHYSICAL); cpu_to_be32 663 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_FREE); cpu_to_be32 664 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->pd_flags |= cpu_to_be32(MLX4_MPT_PD_FLAG_FAST_REG | cpu_to_be32 666 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->mtt_sz = cpu_to_be32(1 << mr->mtt.order); cpu_to_be32 668 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_SW_OWNS); cpu_to_be32 858 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->key = cpu_to_be32(key_to_hw_index(mw->key)); cpu_to_be32 859 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->pd_flags = cpu_to_be32(mw->pd); cpu_to_be32 861 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_FREE); cpu_to_be32 862 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->qpn = cpu_to_be32(MLX4_MPT_QP_FLAG_BOUND_QP); cpu_to_be32 863 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->pd_flags |= cpu_to_be32(MLX4_MPT_PD_FLAG_EN_INV); cpu_to_be32 1026 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mpt->key = cpu_to_be32(key); cpu_to_be32 1027 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mpt->lkey = cpu_to_be32(key); cpu_to_be32 699 drivers/net/ethernet/mellanox/mlx4/port.c table->entries[free] = cpu_to_be32(vlan | MLX4_VLAN_VALID); cpu_to_be32 712 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->entries[free] = cpu_to_be32(vlan | MLX4_VLAN_VALID); cpu_to_be32 1079 drivers/net/ethernet/mellanox/mlx4/port.c *(__be32 *) (&inbuf[20]) = cpu_to_be32(port); cpu_to_be32 1374 drivers/net/ethernet/mellanox/mlx4/port.c cpu_to_be32(port_info->base_qpn); cpu_to_be32 1378 drivers/net/ethernet/mellanox/mlx4/port.c qpn_context->promisc = cpu_to_be32( cpu_to_be32 1383 drivers/net/ethernet/mellanox/mlx4/port.c qpn_context->mcast = cpu_to_be32( cpu_to_be32 1589 drivers/net/ethernet/mellanox/mlx4/port.c ((__be32 *) mailbox->buf)[0] = cpu_to_be32( cpu_to_be32 1659 drivers/net/ethernet/mellanox/mlx4/port.c context->base_qpn = cpu_to_be32(base_qpn); cpu_to_be32 1661 drivers/net/ethernet/mellanox/mlx4/port.c context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIFT | cpu_to_be32 1663 drivers/net/ethernet/mellanox/mlx4/port.c context->mcast = cpu_to_be32(m_promisc << SET_PORT_MC_PROMISC_SHIFT | cpu_to_be32 1806 drivers/net/ethernet/mellanox/mlx4/port.c *((__be32 *)mailbox->buf) = cpu_to_be32(time); cpu_to_be32 166 drivers/net/ethernet/mellanox/mlx4/qp.c context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); cpu_to_be32 176 drivers/net/ethernet/mellanox/mlx4/qp.c *(__be32 *) mailbox->buf = cpu_to_be32(optpar); cpu_to_be32 180 drivers/net/ethernet/mellanox/mlx4/qp.c cpu_to_be32(qp->qpn); cpu_to_be32 482 drivers/net/ethernet/mellanox/mlx4/qp.c cmd->qp_context.param3 |= cpu_to_be32(MLX4_STRIP_VLAN); cpu_to_be32 928 drivers/net/ethernet/mellanox/mlx4/qp.c context->flags &= cpu_to_be32(~(0xf << 28)); cpu_to_be32 929 drivers/net/ethernet/mellanox/mlx4/qp.c context->flags |= cpu_to_be32(states[i + 1] << 28); cpu_to_be32 931 drivers/net/ethernet/mellanox/mlx4/qp.c context->params2 &= ~cpu_to_be32(MLX4_QP_BIT_FPP); cpu_to_be32 780 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c cpu_to_be32(be32_to_cpu(*(__be32 *)inbox->buf) | cpu_to_be32 782 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->param3 &= ~cpu_to_be32(MLX4_STRIP_VLAN); cpu_to_be32 2944 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c context->qkey = cpu_to_be32(qkey); cpu_to_be32 3199 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->params2 &= ~cpu_to_be32(MLX4_QP_BIT_FPP); cpu_to_be32 5369 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.param3 = qp->param3 & ~cpu_to_be32(MLX4_STRIP_VLAN); cpu_to_be32 188 drivers/net/ethernet/mellanox/mlx4/srq.c srq_context->state_logsize_srqn = cpu_to_be32((ilog2(srq->max) << 24) | cpu_to_be32 192 drivers/net/ethernet/mellanox/mlx4/srq.c srq_context->pg_offset_cqn = cpu_to_be32(cqn & 0xffffff); cpu_to_be32 197 drivers/net/ethernet/mellanox/mlx4/srq.c srq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); cpu_to_be32 198 drivers/net/ethernet/mellanox/mlx4/srq.c srq_context->pd = cpu_to_be32(pdn); cpu_to_be32 899 drivers/net/ethernet/mellanox/mlx5/core/cmd.c lay->inlen = cpu_to_be32(ent->in->len); cpu_to_be32 902 drivers/net/ethernet/mellanox/mlx5/core/cmd.c lay->outlen = cpu_to_be32(ent->out->len); cpu_to_be32 1240 drivers/net/ethernet/mellanox/mlx5/core/cmd.c block->block_num = cpu_to_be32(n - i - 1); cpu_to_be32 58 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h cseg->opmod_idx_opcode = cpu_to_be32((*pc << 8) | MLX5_OPCODE_NOP); cpu_to_be32 59 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); cpu_to_be32 75 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h cseg->opmod_idx_opcode = cpu_to_be32((*pc << 8) | MLX5_OPCODE_NOP); cpu_to_be32 76 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); cpu_to_be32 109 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h *wq->db = cpu_to_be32(pc); cpu_to_be32 215 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c cpu_to_be32((sq->pc << 8) | MLX5_OPCODE_ENHANCED_MPSW); cpu_to_be32 216 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); cpu_to_be32 342 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c dseg->byte_count = cpu_to_be32(dma_len); cpu_to_be32 344 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | MLX5_OPCODE_SEND); cpu_to_be32 175 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h inline_dseg->byte_count = cpu_to_be32(dma_len | MLX5_INLINE_SEG); cpu_to_be32 184 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h dseg->byte_count = cpu_to_be32(dma_len); cpu_to_be32 62 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c cseg->opmod_idx_opcode = cpu_to_be32((pc << 8) | MLX5_OPCODE_UMR | cpu_to_be32 64 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c cseg->qpn_ds = cpu_to_be32((sqn << MLX5_WQE_CTRL_QPN_SHIFT) | cpu_to_be32 67 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c cseg->tisn = cpu_to_be32(priv_tx->tisn << 8); cpu_to_be32 96 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c cpu_to_be32((pc << 8) | MLX5_OPCODE_SET_PSV | cpu_to_be32 98 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c cseg->qpn_ds = cpu_to_be32((sqn << MLX5_WQE_CTRL_QPN_SHIFT) | cpu_to_be32 288 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | MLX5_OPCODE_DUMP); cpu_to_be32 289 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); cpu_to_be32 290 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c cseg->tisn = cpu_to_be32(tisn << 8); cpu_to_be32 301 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c dseg->byte_count = cpu_to_be32(fsz); cpu_to_be32 478 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c cseg->tisn = cpu_to_be32(priv_tx->tisn << 8); cpu_to_be32 240 drivers/net/ethernet/mellanox/mlx5/core/en_main.c cseg->qpn_ds = cpu_to_be32((sq->sqn << MLX5_WQE_CTRL_QPN_SHIFT) | cpu_to_be32 478 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rq->mkey_be = cpu_to_be32(rq->umr_mkey.key); cpu_to_be32 581 drivers/net/ethernet/mellanox/mlx5/core/en_main.c wqe->data[0].byte_count = cpu_to_be32(byte_count); cpu_to_be32 592 drivers/net/ethernet/mellanox/mlx5/core/en_main.c wqe->data[f].byte_count = cpu_to_be32(frag_size); cpu_to_be32 598 drivers/net/ethernet/mellanox/mlx5/core/en_main.c wqe->data[f].lkey = cpu_to_be32(MLX5_INVALID_LKEY); cpu_to_be32 1501 drivers/net/ethernet/mellanox/mlx5/core/en_main.c cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); cpu_to_be32 1991 drivers/net/ethernet/mellanox/mlx5/core/en_main.c c->mkey_be = cpu_to_be32(priv->mdev->mlx5e_res.mkey.key); cpu_to_be32 524 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c cpu_to_be32((sq->pc << MLX5_WQE_CTRL_WQE_INDEX_SHIFT) | cpu_to_be32 205 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c dseg->byte_count = cpu_to_be32(headlen); cpu_to_be32 223 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c dseg->byte_count = cpu_to_be32(fsz); cpu_to_be32 251 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | opcode); cpu_to_be32 252 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); cpu_to_be32 584 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c dseg->av.dqp_dct = cpu_to_be32(dqpn | MLX5_EXTENDED_UD_AV); cpu_to_be32 585 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c dseg->av.key.qkey.qkey = cpu_to_be32(dqkey); cpu_to_be32 758 drivers/net/ethernet/mellanox/mlx5/core/eq.c __raw_writel((__force u32)cpu_to_be32(val), addr); cpu_to_be32 1456 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c *attr = cpu_to_be32(TSAR_ELEMENT_TSAR_TYPE_DWRR << 16); cpu_to_be32 117 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c data->byte_count = cpu_to_be32(buf->sg[0].size); cpu_to_be32 118 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c data->lkey = cpu_to_be32(conn->fdev->conn_res.mkey.key); cpu_to_be32 126 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c *conn->qp.wq.rq.db = cpu_to_be32(conn->qp.rq.pc & 0xffff); cpu_to_be32 135 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c *conn->qp.wq.sq.db = cpu_to_be32(conn->qp.sq.pc); cpu_to_be32 157 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c data->byte_count = cpu_to_be32(buf->sg[sgi].size); cpu_to_be32 158 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c data->lkey = cpu_to_be32(conn->fdev->conn_res.mkey.key); cpu_to_be32 166 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c ctrl->opmod_idx_opcode = cpu_to_be32(((conn->qp.sq.pc & 0xffff) << 8) | cpu_to_be32 168 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c ctrl->qpn_ds = cpu_to_be32(size | (conn->qp.mqp.qpn << 8)); cpu_to_be32 172 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c context->flags = cpu_to_be32(MLX5_QP_PM_MIGRATED << 11); cpu_to_be32 175 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c context->qkey = cpu_to_be32(IB_DEFAULT_Q_KEY); cpu_to_be32 67 drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h __raw_writel((__force u32)cpu_to_be32(val), addr); cpu_to_be32 126 drivers/net/ethernet/mellanox/mlx5/core/port.c in.caps_127_96 = cpu_to_be32(caps); cpu_to_be32 216 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c *dr_qp->wq.sq.db = cpu_to_be32(dr_qp->sq.pc & 0xfffff); cpu_to_be32 243 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c wq_ctrl->opmod_idx_opcode = cpu_to_be32(((dr_qp->sq.pc & 0xffff) << 8) | cpu_to_be32 245 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c wq_ctrl->qpn_ds = cpu_to_be32(size | dr_qp->mqp.qpn << 8); cpu_to_be32 248 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c wq_raddr->rkey = cpu_to_be32(rkey); cpu_to_be32 252 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c wq_dseg->byte_count = cpu_to_be32(data_seg->length); cpu_to_be32 253 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c wq_dseg->lkey = cpu_to_be32(data_seg->lkey); cpu_to_be32 775 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c *cq->mcq.arm_db = cpu_to_be32(2 << 28); cpu_to_be32 137 drivers/net/ethernet/mellanox/mlx5/core/wq.h *wq->db = cpu_to_be32(wq->wqe_ctr); cpu_to_be32 210 drivers/net/ethernet/mellanox/mlx5/core/wq.h *wq->db = cpu_to_be32(wq->cc & 0xffffff); cpu_to_be32 273 drivers/net/ethernet/mellanox/mlx5/core/wq.h *wq->db = cpu_to_be32(wq->wqe_ctr); cpu_to_be32 184 drivers/net/ethernet/mellanox/mlxsw/i2c.c 0, cpu_to_be32(MLXSW_I2C_PUSH_IMM_CMD) cpu_to_be32 188 drivers/net/ethernet/mellanox/mlxsw/i2c.c cpu_to_be32(client->adapter->nr & 0xffff), cpu_to_be32 189 drivers/net/ethernet/mellanox/mlxsw/i2c.c cpu_to_be32(MLXSW_I2C_SET_IMM_CMD) cpu_to_be32 199 drivers/net/ethernet/mellanox/mlxsw/i2c.c push_cmd_buf[1] = cpu_to_be32(MLXSW_I2C_PUSH_CMD); cpu_to_be32 200 drivers/net/ethernet/mellanox/mlxsw/i2c.c prep_cmd_buf[7] = cpu_to_be32(MLXSW_I2C_SET_CMD); cpu_to_be32 230 drivers/net/ethernet/mellanox/mlxsw/i2c.c 0, cpu_to_be32(MLXSW_I2C_PUSH_EVENT_CMD) cpu_to_be32 234 drivers/net/ethernet/mellanox/mlxsw/i2c.c cpu_to_be32(client->adapter->nr & 0xffff), cpu_to_be32 235 drivers/net/ethernet/mellanox/mlxsw/i2c.c cpu_to_be32(MLXSW_I2C_SET_EVENT_CMD) cpu_to_be32 245 drivers/net/ethernet/mellanox/mlxsw/i2c.c push_cmd_buf[1] = cpu_to_be32(MLXSW_I2C_PUSH_EVENT_CMD | opcode); cpu_to_be32 246 drivers/net/ethernet/mellanox/mlxsw/i2c.c prep_cmd_buf[3] = cpu_to_be32(in_mod); cpu_to_be32 247 drivers/net/ethernet/mellanox/mlxsw/i2c.c prep_cmd_buf[7] = cpu_to_be32(MLXSW_I2C_GO_BIT | opcode); cpu_to_be32 142 drivers/net/ethernet/mellanox/mlxsw/item.h b[offset] = cpu_to_be32(tmp); cpu_to_be32 1712 drivers/net/ethernet/mellanox/mlxsw/pci.c tmp = cpu_to_be32(mlxsw_pci_read32(mlxsw_pci, cpu_to_be32 1715 drivers/net/ethernet/mellanox/mlxsw/pci.c tmp = cpu_to_be32(mlxsw_pci_read32(mlxsw_pci, cpu_to_be32 183 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c addr->addr4 = cpu_to_be32(uip); cpu_to_be32 589 drivers/net/ethernet/mscc/ocelot.c ocelot_write_rix(ocelot, (__force u32)cpu_to_be32(ifh[i]), cpu_to_be32 95 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c req->key_size = cpu_to_be32(map->key_size); cpu_to_be32 96 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c req->value_size = cpu_to_be32(map->value_size); cpu_to_be32 97 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c req->max_entries = cpu_to_be32(map->max_entries); cpu_to_be32 98 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c req->map_type = cpu_to_be32(map->map_type); cpu_to_be32 134 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c req->tid = cpu_to_be32(nfp_map->tid); cpu_to_be32 322 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c req->tid = cpu_to_be32(nfp_map->tid); cpu_to_be32 323 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c req->count = cpu_to_be32(n_entries); cpu_to_be32 324 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c req->flags = cpu_to_be32(flags); cpu_to_be32 262 drivers/net/ethernet/netronome/nfp/bpf/offload.c word[i] = (__force u32)cpu_to_be32(word[i]); cpu_to_be32 276 drivers/net/ethernet/netronome/nfp/bpf/offload.c word[i] != (__force u32)cpu_to_be32(word[i])) cpu_to_be32 260 drivers/net/ethernet/netronome/nfp/ccm_mbox.c hdr.raw = cpu_to_be32(readl(data)); cpu_to_be32 316 drivers/net/ethernet/netronome/nfp/ccm_mbox.c skb_data[i] = cpu_to_be32(readl(data + i * 4)); cpu_to_be32 334 drivers/net/ethernet/netronome/nfp/crypto/tls.c back->tcp_seq = cpu_to_be32(start_offload_tcp_sn); cpu_to_be32 442 drivers/net/ethernet/netronome/nfp/crypto/tls.c req->tcp_seq = cpu_to_be32(seq); cpu_to_be32 57 drivers/net/ethernet/netronome/nfp/flower/action.c push_mpls->lse = cpu_to_be32(mpls_lse); cpu_to_be32 100 drivers/net/ethernet/netronome/nfp/flower/action.c set_mpls->lse = cpu_to_be32(mpls_lse); cpu_to_be32 101 drivers/net/ethernet/netronome/nfp/flower/action.c set_mpls->lse_mask = cpu_to_be32(mpls_mask); cpu_to_be32 165 drivers/net/ethernet/netronome/nfp/flower/action.c nfp_flow->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_NULL); cpu_to_be32 209 drivers/net/ethernet/netronome/nfp/flower/action.c output->port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); cpu_to_be32 220 drivers/net/ethernet/netronome/nfp/flower/action.c output->port = cpu_to_be32(NFP_FL_LAG_OUT | gid); cpu_to_be32 252 drivers/net/ethernet/netronome/nfp/flower/action.c output->port = cpu_to_be32(nfp_repr_get_port_id(out_dev)); cpu_to_be32 428 drivers/net/ethernet/netronome/nfp/flower/action.c set_tun->tun_type_index = cpu_to_be32(tmp_set_ip_tun_type_index); cpu_to_be32 970 drivers/net/ethernet/netronome/nfp/flower/action.c nfp_fl->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_DROP); cpu_to_be32 998 drivers/net/ethernet/netronome/nfp/flower/action.c nfp_fl->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_POPV); cpu_to_be32 1011 drivers/net/ethernet/netronome/nfp/flower/action.c nfp_fl->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_NULL); cpu_to_be32 1041 drivers/net/ethernet/netronome/nfp/flower/action.c nfp_fl->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_NULL); cpu_to_be32 1083 drivers/net/ethernet/netronome/nfp/flower/action.c nfp_fl->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_NULL); cpu_to_be32 1098 drivers/net/ethernet/netronome/nfp/flower/action.c nfp_fl->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_NULL); cpu_to_be32 1111 drivers/net/ethernet/netronome/nfp/flower/action.c nfp_fl->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_NULL); cpu_to_be32 1209 drivers/net/ethernet/netronome/nfp/flower/action.c nfp_flow->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_NULL); cpu_to_be32 87 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->portnum = cpu_to_be32(repr->dst->u.port_info.port_id); cpu_to_be32 113 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->portnum = cpu_to_be32(repr->dst->u.port_info.port_id); cpu_to_be32 95 drivers/net/ethernet/netronome/nfp/flower/cmsg.h #define IPV6_FLOW_LABEL_MASK cpu_to_be32(0x000fffff) cpu_to_be32 176 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c temp_vers = cpu_to_be32(priv->nfp_lag.batch_ver << cpu_to_be32 242 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c cmsg_payload->group_id = cpu_to_be32(NFP_FL_LAG_SYNC_ID); cpu_to_be32 245 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c cmsg_payload->group_id = cpu_to_be32(group->group_id); cpu_to_be32 246 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c cmsg_payload->group_inst = cpu_to_be32(group->group_inst); cpu_to_be32 253 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c cmsg_payload->batch_ver = cpu_to_be32(lag->batch_ver); cpu_to_be32 254 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c cmsg_payload->pkt_number = cpu_to_be32(nfp_fl_get_next_pkt_number(lag)); cpu_to_be32 258 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c cpu_to_be32(nfp_repr_get_port_id(active_members[i])); cpu_to_be32 52 drivers/net/ethernet/netronome/nfp/flower/match.c frame->nfp_flow_key_layer2 = cpu_to_be32(key_ext); cpu_to_be32 61 drivers/net/ethernet/netronome/nfp/flower/match.c frame->in_port = cpu_to_be32(~0); cpu_to_be32 66 drivers/net/ethernet/netronome/nfp/flower/match.c frame->in_port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); cpu_to_be32 72 drivers/net/ethernet/netronome/nfp/flower/match.c frame->in_port = cpu_to_be32(cmsg_port); cpu_to_be32 108 drivers/net/ethernet/netronome/nfp/flower/match.c ext->mpls_lse = cpu_to_be32(t_mpls); cpu_to_be32 113 drivers/net/ethernet/netronome/nfp/flower/match.c msk->mpls_lse = cpu_to_be32(t_mpls); cpu_to_be32 124 drivers/net/ethernet/netronome/nfp/flower/match.c ext->mpls_lse = cpu_to_be32(NFP_FLOWER_MASK_MPLS_Q); cpu_to_be32 125 drivers/net/ethernet/netronome/nfp/flower/match.c msk->mpls_lse = cpu_to_be32(NFP_FLOWER_MASK_MPLS_Q); cpu_to_be32 364 drivers/net/ethernet/netronome/nfp/flower/match.c ext->tun_id = cpu_to_be32(temp_vni); cpu_to_be32 366 drivers/net/ethernet/netronome/nfp/flower/match.c msk->tun_id = cpu_to_be32(temp_vni); cpu_to_be32 311 drivers/net/ethernet/netronome/nfp/flower/metadata.c nfp_flow->meta.host_ctx_id = cpu_to_be32(stats_cxt); cpu_to_be32 287 drivers/net/ethernet/netronome/nfp/flower/offload.c if (ipv4_addrs.mask->dst != cpu_to_be32(~0)) { cpu_to_be32 813 drivers/net/ethernet/netronome/nfp/flower/offload.c merge_flow->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_NULL); cpu_to_be32 118 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c config->head.port = cpu_to_be32(netdev_port_id); cpu_to_be32 119 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c config->bkt_tkn_p = cpu_to_be32(burst); cpu_to_be32 120 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c config->bkt_tkn_c = cpu_to_be32(burst); cpu_to_be32 121 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c config->pbs = cpu_to_be32(burst); cpu_to_be32 122 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c config->cbs = cpu_to_be32(burst); cpu_to_be32 123 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c config->pir = cpu_to_be32(rate); cpu_to_be32 124 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c config->cir = cpu_to_be32(rate); cpu_to_be32 175 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c config->head.port = cpu_to_be32(netdev_port_id); cpu_to_be32 238 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c head->port = cpu_to_be32(netdev_port_id); cpu_to_be32 315 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c payload.port_id = cpu_to_be32(port_id); cpu_to_be32 444 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c payload.count = cpu_to_be32(count); cpu_to_be32 988 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c payload.flags = cpu_to_be32(tmp_flags); cpu_to_be32 318 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c lev_sz.requested_level = cpu_to_be32(flag); cpu_to_be32 339 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c tl->type = cpu_to_be32(type); cpu_to_be32 340 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c tl->length = cpu_to_be32(total_tlv_sz - sizeof(*tl)); cpu_to_be32 363 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->error = cpu_to_be32(error); cpu_to_be32 489 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->error = cpu_to_be32(err); cpu_to_be32 490 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->error_offset = cpu_to_be32(cpp_rd_addr); cpu_to_be32 585 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->error = cpu_to_be32(err); cpu_to_be32 586 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->error_offset = cpu_to_be32(cpp_rd_addr); cpu_to_be32 632 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->cpp.dump_length = cpu_to_be32(sym_size); cpu_to_be32 640 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->cpp.offset = cpu_to_be32(sym->addr); cpu_to_be32 647 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->error = cpu_to_be32(bytes_read); cpu_to_be32 743 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump.requested_level = cpu_to_be32(dump_param->flag); cpu_to_be32 1118 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_ets->tc_bw_tbl[i] = cpu_to_be32(p_ets->tc_bw_tbl[i]); cpu_to_be32 1119 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_ets->tc_tsa_tbl[i] = cpu_to_be32(p_ets->tc_tsa_tbl[i]); cpu_to_be32 7991 drivers/net/ethernet/qlogic/qed/qed_debug.c val = cpu_to_be32(*(u32 *)(buffer + i)); cpu_to_be32 1993 drivers/net/ethernet/qlogic/qed/qed_main.c val = cpu_to_be32(*(u32 *)&buf[j]); cpu_to_be32 2000 drivers/net/ethernet/qlogic/qed/qed_main.c *crc = (~cpu_to_be32(crc32(0xffffffff, buf, nvm_image->length - 4))); cpu_to_be32 1862 drivers/net/ethernet/qlogic/qed/qed_mcp.c __be32 val = cpu_to_be32(((u32 *)info->mfw_mb_cur)[i]); cpu_to_be32 2497 drivers/net/ethernet/qlogic/qed/qed_mcp.c val = cpu_to_be32(*((u32 *)&p_ver->name[i * sizeof(u32)])); cpu_to_be32 1326 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c val = cpu_to_be32(val); cpu_to_be32 178 drivers/net/ethernet/qlogic/qed/qed_selftest.c val = cpu_to_be32(*(u32 *)&buf[j]); cpu_to_be32 187 drivers/net/ethernet/qlogic/qed/qed_selftest.c calc_crc = (__force u32)~cpu_to_be32(calc_crc); cpu_to_be32 1437 drivers/net/ethernet/sgi/ioc3-eth.c desc->cmd = cpu_to_be32(len | ETXD_INTWHENDONE | ETXD_D0V | w0); cpu_to_be32 1438 drivers/net/ethernet/sgi/ioc3-eth.c desc->bufcnt = cpu_to_be32(len); cpu_to_be32 1445 drivers/net/ethernet/sgi/ioc3-eth.c desc->cmd = cpu_to_be32(len | ETXD_INTWHENDONE | cpu_to_be32 1447 drivers/net/ethernet/sgi/ioc3-eth.c desc->bufcnt = cpu_to_be32((s1 << ETXD_B1CNT_SHIFT) | cpu_to_be32 1463 drivers/net/ethernet/sgi/ioc3-eth.c desc->cmd = cpu_to_be32(len | ETXD_INTWHENDONE | ETXD_B1V | w0); cpu_to_be32 1464 drivers/net/ethernet/sgi/ioc3-eth.c desc->bufcnt = cpu_to_be32(len << ETXD_B1CNT_SHIFT); cpu_to_be32 7083 drivers/net/ethernet/sun/niu.c fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); cpu_to_be32 7086 drivers/net/ethernet/sun/niu.c fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); cpu_to_be32 7089 drivers/net/ethernet/sun/niu.c fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); cpu_to_be32 7092 drivers/net/ethernet/sun/niu.c fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); cpu_to_be32 7123 drivers/net/ethernet/sun/niu.c fsp->h_u.ah_ip4_spec.spi = cpu_to_be32(tmp); cpu_to_be32 7127 drivers/net/ethernet/sun/niu.c fsp->m_u.ah_ip4_spec.spi = cpu_to_be32(tmp); cpu_to_be32 7132 drivers/net/ethernet/sun/niu.c fsp->h_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); cpu_to_be32 7136 drivers/net/ethernet/sun/niu.c fsp->m_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); cpu_to_be32 198 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->dmac_cmd_status = cpu_to_be32(status | cpu_to_be32 227 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->next_descr_addr = cpu_to_be32(descr->next->bus_addr); cpu_to_be32 339 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->next_descr_addr = cpu_to_be32(descr->next->bus_addr); cpu_to_be32 389 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->buf_size = cpu_to_be32(bufsize); cpu_to_be32 400 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->buf_addr = cpu_to_be32(dma_map_single(ctodev(card), cpu_to_be32 704 drivers/net/ethernet/toshiba/ps3_gelic_net.c cpu_to_be32(GELIC_DESCR_DMA_CMD_NO_CHKSUM | cpu_to_be32 712 drivers/net/ethernet/toshiba/ps3_gelic_net.c cpu_to_be32(GELIC_DESCR_DMA_CMD_TCP_CHKSUM | cpu_to_be32 717 drivers/net/ethernet/toshiba/ps3_gelic_net.c cpu_to_be32(GELIC_DESCR_DMA_CMD_UDP_CHKSUM | cpu_to_be32 724 drivers/net/ethernet/toshiba/ps3_gelic_net.c cpu_to_be32(GELIC_DESCR_DMA_CMD_NO_CHKSUM | cpu_to_be32 791 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->buf_addr = cpu_to_be32(buf); cpu_to_be32 792 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->buf_size = cpu_to_be32(skb->len); cpu_to_be32 873 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->prev->next_descr_addr = cpu_to_be32(descr->bus_addr); cpu_to_be32 886 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->data_status = cpu_to_be32(GELIC_DESCR_TX_TAIL); cpu_to_be32 1065 drivers/net/ethernet/toshiba/ps3_gelic_net.c descr->prev->next_descr_addr = cpu_to_be32(descr->bus_addr); cpu_to_be32 353 drivers/net/ethernet/xilinx/ll_temac_main.c lp->tx_bd_v[i].next = cpu_to_be32(lp->tx_bd_p cpu_to_be32 358 drivers/net/ethernet/xilinx/ll_temac_main.c lp->rx_bd_v[i].next = cpu_to_be32(lp->rx_bd_p cpu_to_be32 373 drivers/net/ethernet/xilinx/ll_temac_main.c lp->rx_bd_v[i].phys = cpu_to_be32(skb_dma_addr); cpu_to_be32 374 drivers/net/ethernet/xilinx/ll_temac_main.c lp->rx_bd_v[i].len = cpu_to_be32(XTE_MAX_JUMBO_FRAME_SIZE); cpu_to_be32 375 drivers/net/ethernet/xilinx/ll_temac_main.c lp->rx_bd_v[i].app0 = cpu_to_be32(STS_CTRL_APP0_IRQONEND); cpu_to_be32 860 drivers/net/ethernet/xilinx/ll_temac_main.c cur_p->app0 |= cpu_to_be32(0x000001); /* TX Checksum Enabled */ cpu_to_be32 861 drivers/net/ethernet/xilinx/ll_temac_main.c cur_p->app1 = cpu_to_be32((csum_start_off << 16) cpu_to_be32 866 drivers/net/ethernet/xilinx/ll_temac_main.c cur_p->app0 |= cpu_to_be32(STS_CTRL_APP0_SOP); cpu_to_be32 869 drivers/net/ethernet/xilinx/ll_temac_main.c cur_p->len = cpu_to_be32(skb_headlen(skb)); cpu_to_be32 875 drivers/net/ethernet/xilinx/ll_temac_main.c cur_p->phys = cpu_to_be32(skb_dma_addr); cpu_to_be32 908 drivers/net/ethernet/xilinx/ll_temac_main.c cur_p->phys = cpu_to_be32(skb_dma_addr); cpu_to_be32 909 drivers/net/ethernet/xilinx/ll_temac_main.c cur_p->len = cpu_to_be32(skb_frag_size(frag)); cpu_to_be32 913 drivers/net/ethernet/xilinx/ll_temac_main.c cur_p->app0 |= cpu_to_be32(STS_CTRL_APP0_EOP); cpu_to_be32 1059 drivers/net/ethernet/xilinx/ll_temac_main.c bd->phys = cpu_to_be32(skb_dma_addr); cpu_to_be32 1060 drivers/net/ethernet/xilinx/ll_temac_main.c bd->len = cpu_to_be32(XTE_MAX_JUMBO_FRAME_SIZE); cpu_to_be32 1061 drivers/net/ethernet/xilinx/ll_temac_main.c bd->app0 = cpu_to_be32(STS_CTRL_APP0_IRQONEND); cpu_to_be32 431 drivers/net/vxlan.c .remote_vni = cpu_to_be32(VXLAN_N_VID), cpu_to_be32 1086 drivers/net/vxlan.c *vni = cpu_to_be32(nla_get_u32(tb[NDA_VNI])); cpu_to_be32 1094 drivers/net/vxlan.c *src_vni = cpu_to_be32(nla_get_u32(tb[NDA_SRC_VNI])); cpu_to_be32 1264 drivers/net/vxlan.c vni = cpu_to_be32(nla_get_u32(tb[NDA_VNI])); cpu_to_be32 3702 drivers/net/vxlan.c __be32 vni = cpu_to_be32(nla_get_u32(data[IFLA_VXLAN_ID])); cpu_to_be32 3708 drivers/net/vxlan.c conf->vni = cpu_to_be32(nla_get_u32(data[IFLA_VXLAN_ID])); cpu_to_be32 193 drivers/net/wan/hdlc_cisco.c mask = ~cpu_to_be32(0); /* is the mask correct? */ cpu_to_be32 252 drivers/net/wireless/ath/ar5523/ar5523.c hdr->len = cpu_to_be32(xferlen); cpu_to_be32 253 drivers/net/wireless/ath/ar5523/ar5523.c hdr->code = cpu_to_be32(code); cpu_to_be32 257 drivers/net/wireless/ath/ar5523/ar5523.c hdr->magic = cpu_to_be32(1 << 24); cpu_to_be32 306 drivers/net/wireless/ath/ar5523/ar5523.c write.reg = cpu_to_be32(reg); cpu_to_be32 307 drivers/net/wireless/ath/ar5523/ar5523.c write.len = cpu_to_be32(0); /* 0 = single write */ cpu_to_be32 308 drivers/net/wireless/ath/ar5523/ar5523.c *(__be32 *)write.data = cpu_to_be32(val); cpu_to_be32 323 drivers/net/wireless/ath/ar5523/ar5523.c write.reg = cpu_to_be32(reg); cpu_to_be32 324 drivers/net/wireless/ath/ar5523/ar5523.c write.len = cpu_to_be32(len); cpu_to_be32 342 drivers/net/wireless/ath/ar5523/ar5523.c which_be = cpu_to_be32(which); cpu_to_be32 355 drivers/net/wireless/ath/ar5523/ar5523.c cap_be = cpu_to_be32(cap); cpu_to_be32 420 drivers/net/wireless/ath/ar5523/ar5523.c led.lednum = cpu_to_be32(lednum); cpu_to_be32 421 drivers/net/wireless/ath/ar5523/ar5523.c led.ledmode = cpu_to_be32(ledmode); cpu_to_be32 434 drivers/net/wireless/ath/ar5523/ar5523.c rxfilter.bits = cpu_to_be32(bits); cpu_to_be32 435 drivers/net/wireless/ath/ar5523/ar5523.c rxfilter.op = cpu_to_be32(op); cpu_to_be32 444 drivers/net/wireless/ath/ar5523/ar5523.c __be32 qid = cpu_to_be32(0); cpu_to_be32 458 drivers/net/wireless/ath/ar5523/ar5523.c reset.flags |= cpu_to_be32(UATH_CHAN_2GHZ); cpu_to_be32 459 drivers/net/wireless/ath/ar5523/ar5523.c reset.flags |= cpu_to_be32(UATH_CHAN_OFDM); cpu_to_be32 460 drivers/net/wireless/ath/ar5523/ar5523.c reset.freq = cpu_to_be32(conf->chandef.chan->center_freq); cpu_to_be32 461 drivers/net/wireless/ath/ar5523/ar5523.c reset.maxrdpower = cpu_to_be32(50); /* XXX */ cpu_to_be32 462 drivers/net/wireless/ath/ar5523/ar5523.c reset.channelchange = cpu_to_be32(1); cpu_to_be32 463 drivers/net/wireless/ath/ar5523/ar5523.c reset.keeprccontent = cpu_to_be32(0); cpu_to_be32 476 drivers/net/wireless/ath/ar5523/ar5523.c qinfo.qid = cpu_to_be32(0); cpu_to_be32 477 drivers/net/wireless/ath/ar5523/ar5523.c qinfo.len = cpu_to_be32(sizeof(qinfo.attr)); cpu_to_be32 478 drivers/net/wireless/ath/ar5523/ar5523.c qinfo.attr.priority = cpu_to_be32(0); /* XXX */ cpu_to_be32 479 drivers/net/wireless/ath/ar5523/ar5523.c qinfo.attr.aifs = cpu_to_be32(3); cpu_to_be32 480 drivers/net/wireless/ath/ar5523/ar5523.c qinfo.attr.logcwmin = cpu_to_be32(4); cpu_to_be32 481 drivers/net/wireless/ath/ar5523/ar5523.c qinfo.attr.logcwmax = cpu_to_be32(10); cpu_to_be32 482 drivers/net/wireless/ath/ar5523/ar5523.c qinfo.attr.bursttime = cpu_to_be32(0); cpu_to_be32 483 drivers/net/wireless/ath/ar5523/ar5523.c qinfo.attr.mode = cpu_to_be32(0); cpu_to_be32 484 drivers/net/wireless/ath/ar5523/ar5523.c qinfo.attr.qflags = cpu_to_be32(1); /* XXX? */ cpu_to_be32 840 drivers/net/wireless/ath/ar5523/ar5523.c desc->msglen = cpu_to_be32(skb->len); cpu_to_be32 842 drivers/net/wireless/ath/ar5523/ar5523.c desc->buflen = cpu_to_be32(paylen); cpu_to_be32 843 drivers/net/wireless/ath/ar5523/ar5523.c desc->type = cpu_to_be32(WDCMSG_SEND); cpu_to_be32 844 drivers/net/wireless/ath/ar5523/ar5523.c desc->flags = cpu_to_be32(UATH_TX_NOTIFY); cpu_to_be32 847 drivers/net/wireless/ath/ar5523/ar5523.c desc->connid = cpu_to_be32(AR5523_ID_BSS); cpu_to_be32 849 drivers/net/wireless/ath/ar5523/ar5523.c desc->connid = cpu_to_be32(AR5523_ID_BROADCAST); cpu_to_be32 854 drivers/net/wireless/ath/ar5523/ar5523.c desc->txqid = cpu_to_be32(txqid); cpu_to_be32 997 drivers/net/wireless/ath/ar5523/ar5523.c val = cpu_to_be32(0); cpu_to_be32 1031 drivers/net/wireless/ath/ar5523/ar5523.c val = cpu_to_be32(TARGET_DEVICE_AWAKE); cpu_to_be32 1225 drivers/net/wireless/ath/ar5523/ar5523.c rates.connid = cpu_to_be32(2); /* XXX */ cpu_to_be32 1226 drivers/net/wireless/ath/ar5523/ar5523.c rates.size = cpu_to_be32(sizeof(struct ar5523_cmd_rateset)); cpu_to_be32 1241 drivers/net/wireless/ath/ar5523/ar5523.c create.connid = cpu_to_be32(2); cpu_to_be32 1242 drivers/net/wireless/ath/ar5523/ar5523.c create.bssid = cpu_to_be32(0); cpu_to_be32 1244 drivers/net/wireless/ath/ar5523/ar5523.c create.size = cpu_to_be32(sizeof(struct ar5523_cmd_rateset)); cpu_to_be32 1249 drivers/net/wireless/ath/ar5523/ar5523.c create.connattr.wlanmode = cpu_to_be32(wlan_mode); cpu_to_be32 1261 drivers/net/wireless/ath/ar5523/ar5523.c associd.defaultrateix = cpu_to_be32(0); /* XXX */ cpu_to_be32 1262 drivers/net/wireless/ath/ar5523/ar5523.c associd.associd = cpu_to_be32(bss->aid); cpu_to_be32 1263 drivers/net/wireless/ath/ar5523/ar5523.c associd.timoffset = cpu_to_be32(0x3b); /* XXX */ cpu_to_be32 1368 drivers/net/wireless/ath/ar5523/ar5523.c setup.sw_ver_major = cpu_to_be32(ATH_SW_VER_MAJOR); cpu_to_be32 1369 drivers/net/wireless/ath/ar5523/ar5523.c setup.sw_ver_minor = cpu_to_be32(ATH_SW_VER_MINOR); cpu_to_be32 1370 drivers/net/wireless/ath/ar5523/ar5523.c setup.sw_ver_patch = cpu_to_be32(ATH_SW_VER_PATCH); cpu_to_be32 1371 drivers/net/wireless/ath/ar5523/ar5523.c setup.sw_ver_build = cpu_to_be32(ATH_SW_VER_BUILD); cpu_to_be32 1512 drivers/net/wireless/ath/ar5523/ar5523.c txblock->flags = cpu_to_be32(AR5523_WRITE_BLOCK); cpu_to_be32 1513 drivers/net/wireless/ath/ar5523/ar5523.c txblock->total = cpu_to_be32(fw->size); cpu_to_be32 1520 drivers/net/wireless/ath/ar5523/ar5523.c txblock->remain = cpu_to_be32(len - mlen); cpu_to_be32 1521 drivers/net/wireless/ath/ar5523/ar5523.c txblock->len = cpu_to_be32(mlen); cpu_to_be32 88 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c htc_imask = cpu_to_be32(ah->imask); cpu_to_be32 107 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c htc_imask = cpu_to_be32(imask); cpu_to_be32 239 drivers/net/wireless/ath/ath9k/htc_drv_init.c __be32 val, reg = cpu_to_be32(reg_offset); cpu_to_be32 266 drivers/net/wireless/ath/ath9k/htc_drv_init.c tmpaddr[i] = cpu_to_be32(addr[i]); cpu_to_be32 308 drivers/net/wireless/ath/ath9k/htc_drv_init.c cpu_to_be32(reg_offset), cpu_to_be32 309 drivers/net/wireless/ath/ath9k/htc_drv_init.c cpu_to_be32(val), cpu_to_be32 333 drivers/net/wireless/ath/ath9k/htc_drv_init.c cpu_to_be32(reg_offset); cpu_to_be32 335 drivers/net/wireless/ath/ath9k/htc_drv_init.c cpu_to_be32(val); cpu_to_be32 396 drivers/net/wireless/ath/ath9k/htc_drv_init.c cpu_to_be32(reg_offset); cpu_to_be32 398 drivers/net/wireless/ath/ath9k/htc_drv_init.c cpu_to_be32(set); cpu_to_be32 400 drivers/net/wireless/ath/ath9k/htc_drv_init.c cpu_to_be32(clr); cpu_to_be32 475 drivers/net/wireless/ath/ath9k/htc_drv_init.c buf.reg = cpu_to_be32(reg_offset); cpu_to_be32 476 drivers/net/wireless/ath/ath9k/htc_drv_init.c buf.set = cpu_to_be32(set); cpu_to_be32 477 drivers/net/wireless/ath/ath9k/htc_drv_init.c buf.clr = cpu_to_be32(clr); cpu_to_be32 583 drivers/net/wireless/ath/ath9k/htc_drv_main.c tcap.ampdu_limit = cpu_to_be32(0xffff); cpu_to_be32 640 drivers/net/wireless/ath/ath9k/htc_drv_main.c trate->capflags = cpu_to_be32(caps); cpu_to_be32 1775 drivers/net/wireless/ath/ath9k/htc_drv_main.c tmask.mask = cpu_to_be32(mask->control[NL80211_BAND_2GHZ].legacy); cpu_to_be32 1786 drivers/net/wireless/ath/ath9k/htc_drv_main.c tmask.mask = cpu_to_be32(mask->control[NL80211_BAND_5GHZ].legacy); cpu_to_be32 315 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c tx_hdr.flags = cpu_to_be32(flags); cpu_to_be32 100 drivers/net/wireless/ath/wcn36xx/wcn36xx.h buf[i] = cpu_to_be32(buf[i]); cpu_to_be32 1549 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c word_be = cpu_to_be32(word); cpu_to_be32 1470 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c attr->mask = cpu_to_be32(mask); cpu_to_be32 1471 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c attr->val = cpu_to_be32(value); cpu_to_be32 141 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c .val = cpu_to_be32(0x08060001), cpu_to_be32 142 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c .mask = cpu_to_be32(0xffffffff), cpu_to_be32 152 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c .mask = cpu_to_be32(0xffffffff), cpu_to_be32 167 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c .val = cpu_to_be32(0x00440000), cpu_to_be32 168 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c .mask = cpu_to_be32(0xffff0000), cpu_to_be32 174 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c .mask = cpu_to_be32(0xffffffff), cpu_to_be32 270 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->version = cpu_to_be32(P80211CAPTURE_VERSION); cpu_to_be32 271 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->length = cpu_to_be32(sizeof (struct avs_80211_1_header)); cpu_to_be32 274 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->phytype = cpu_to_be32(6); /*OFDM: 6 for (g), 8 for (a) */ cpu_to_be32 275 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->channel = cpu_to_be32(channel_of_freq(freq)); cpu_to_be32 276 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->datarate = cpu_to_be32(rate * 5); cpu_to_be32 277 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->antenna = cpu_to_be32(0); /*unknown */ cpu_to_be32 278 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->priority = cpu_to_be32(0); /*unknown */ cpu_to_be32 279 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->ssi_type = cpu_to_be32(3); /*2: dBm, 3: raw RSSI */ cpu_to_be32 280 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->ssi_signal = cpu_to_be32(rssi & 0x7f); cpu_to_be32 281 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->ssi_noise = cpu_to_be32(priv->local_iwstatistics.qual.noise); /*better than 'undefined', I assume */ cpu_to_be32 282 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->preamble = cpu_to_be32(0); /*unknown */ cpu_to_be32 283 drivers/net/wireless/intersil/prism54/islpci_eth.c avs->encoding = cpu_to_be32(0); /*unknown */ cpu_to_be32 64 drivers/net/wireless/intersil/prism54/islpci_mgt.c h->oid = cpu_to_be32(oid); cpu_to_be32 65 drivers/net/wireless/intersil/prism54/islpci_mgt.c h->length = cpu_to_be32(length); cpu_to_be32 927 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[0]), cpu_to_be32 928 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[1]), cpu_to_be32 929 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[2])); cpu_to_be32 1678 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[0]), cpu_to_be32(tmp[1]), cpu_to_be32 1679 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[2]), cpu_to_be32(tmp[3])); cpu_to_be32 2521 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[0]), cpu_to_be32(tmp[1]), cpu_to_be32 2522 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[2]), cpu_to_be32(tmp[3])); cpu_to_be32 2549 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[0]), cpu_to_be32(tmp[1]), cpu_to_be32 2550 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[2]), cpu_to_be32(tmp[3])); cpu_to_be32 1204 drivers/nvme/host/fc.c cpu_to_be32(sizeof(struct fcnvme_lsdesc_cr_assoc_cmd)); cpu_to_be32 1207 drivers/nvme/host/fc.c cpu_to_be32(FCNVME_LSDESC_CREATE_ASSOC_CMD); cpu_to_be32 1243 drivers/nvme/host/fc.c cpu_to_be32(FCNVME_LSDESC_RQST)) cpu_to_be32 1251 drivers/nvme/host/fc.c cpu_to_be32(FCNVME_LSDESC_ASSOC_ID)) cpu_to_be32 1258 drivers/nvme/host/fc.c cpu_to_be32(FCNVME_LSDESC_CONN_ID)) cpu_to_be32 1312 drivers/nvme/host/fc.c conn_rqst->desc_list_len = cpu_to_be32( cpu_to_be32 1316 drivers/nvme/host/fc.c conn_rqst->associd.desc_tag = cpu_to_be32(FCNVME_LSDESC_ASSOC_ID); cpu_to_be32 1322 drivers/nvme/host/fc.c cpu_to_be32(FCNVME_LSDESC_CREATE_CONN_CMD); cpu_to_be32 1349 drivers/nvme/host/fc.c else if (conn_acc->hdr.rqst.desc_tag != cpu_to_be32(FCNVME_LSDESC_RQST)) cpu_to_be32 1357 drivers/nvme/host/fc.c cpu_to_be32(FCNVME_LSDESC_CONN_ID)) cpu_to_be32 1438 drivers/nvme/host/fc.c discon_rqst->desc_list_len = cpu_to_be32( cpu_to_be32 1442 drivers/nvme/host/fc.c discon_rqst->associd.desc_tag = cpu_to_be32(FCNVME_LSDESC_ASSOC_ID); cpu_to_be32 1449 drivers/nvme/host/fc.c discon_rqst->discon_cmd.desc_tag = cpu_to_be32( cpu_to_be32 2227 drivers/nvme/host/fc.c cmdiu->data_len = cpu_to_be32(data_len); cpu_to_be32 2284 drivers/nvme/host/fc.c cmdiu->csn = cpu_to_be32(atomic_inc_return(&queue->csn)); cpu_to_be32 1231 drivers/nvme/target/fc.c acc->rqst.desc_tag = cpu_to_be32(FCNVME_LSDESC_RQST); cpu_to_be32 1246 drivers/nvme/target/fc.c rjt->rjt.desc_tag = cpu_to_be32(FCNVME_LSDESC_RJT); cpu_to_be32 1347 drivers/nvme/target/fc.c cpu_to_be32(FCNVME_LSDESC_CREATE_ASSOC_CMD)) cpu_to_be32 1393 drivers/nvme/target/fc.c acc->associd.desc_tag = cpu_to_be32(FCNVME_LSDESC_ASSOC_ID); cpu_to_be32 1399 drivers/nvme/target/fc.c acc->connectid.desc_tag = cpu_to_be32(FCNVME_LSDESC_CONN_ID); cpu_to_be32 1425 drivers/nvme/target/fc.c else if (rqst->associd.desc_tag != cpu_to_be32(FCNVME_LSDESC_ASSOC_ID)) cpu_to_be32 1432 drivers/nvme/target/fc.c cpu_to_be32(FCNVME_LSDESC_CREATE_CONN_CMD)) cpu_to_be32 1485 drivers/nvme/target/fc.c acc->connectid.desc_tag = cpu_to_be32(FCNVME_LSDESC_CONN_ID); cpu_to_be32 1513 drivers/nvme/target/fc.c else if (rqst->associd.desc_tag != cpu_to_be32(FCNVME_LSDESC_ASSOC_ID)) cpu_to_be32 1520 drivers/nvme/target/fc.c cpu_to_be32(FCNVME_LSDESC_DISCONN_CMD)) cpu_to_be32 1826 drivers/nvme/target/fc.c ersp->rsn = cpu_to_be32(rsn); cpu_to_be32 1827 drivers/nvme/target/fc.c ersp->xfrd_len = cpu_to_be32(xfr_length); cpu_to_be32 90 drivers/of/address.c addr[na - 2] = cpu_to_be32(a >> 32); cpu_to_be32 91 drivers/of/address.c addr[na - 1] = cpu_to_be32(a & 0xffffffffu); cpu_to_be32 392 drivers/of/address.c if ((addr[0] ^ range[0]) & cpu_to_be32(1)) cpu_to_be32 1627 drivers/of/base.c initial_match_array[i] = cpu_to_be32(out_args->args[i]); cpu_to_be32 1696 drivers/of/base.c val |= cpu_to_be32(out_args->args[i]) & pass[i]; cpu_to_be32 408 drivers/of/fdt.c *(__be32 *)(mem + size) = cpu_to_be32(0xdeadbeef); cpu_to_be32 98 drivers/of/irq.c const __be32 *tmp, *imap, *imask, dummy_imask[] = { [0 ... MAX_PHANDLE_ARGS] = cpu_to_be32(~0) }; cpu_to_be32 155 drivers/of/irq.c initial_match_array[addrsize + i] = cpu_to_be32(out_irq->args[i]); cpu_to_be32 65 drivers/of/resolver.c *(__be32 *)prop->value = cpu_to_be32(overlay->phandle); cpu_to_be32 130 drivers/of/resolver.c *(__be32 *)(prop->value + offset) = cpu_to_be32(phandle); cpu_to_be32 440 drivers/pci/of.c laddr[0] = cpu_to_be32((pdev->bus->number << 16) | (pdev->devfn << 8)); cpu_to_be32 441 drivers/pci/of.c laddr[1] = laddr[2] = cpu_to_be32(0); cpu_to_be32 1736 drivers/pinctrl/pinctrl-single.c *(__be32 *)p->value = cpu_to_be32(cells); cpu_to_be32 1175 drivers/rpmsg/qcom_glink_native.c __be32 defaults[] = { cpu_to_be32(SZ_1K), cpu_to_be32(5) }; cpu_to_be32 243 drivers/s390/scsi/zfcp_fc.h fcp->fc_dl = cpu_to_be32(datalen); cpu_to_be32 247 drivers/s390/scsi/zfcp_fc.h fcp->fc_dl = cpu_to_be32(datalen); cpu_to_be32 99 drivers/scsi/aic7xxx/aic79xx_osm.h #define ahd_htobe32(x) cpu_to_be32(x) cpu_to_be32 111 drivers/scsi/aic7xxx/aic7xxx_osm.h #define ahc_htobe32(x) cpu_to_be32(x) cpu_to_be32 1182 drivers/scsi/be2iscsi/be_main.c hdr->exp_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn); cpu_to_be32 1183 drivers/scsi/be2iscsi/be_main.c hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + cpu_to_be32 1207 drivers/scsi/be2iscsi/be_main.c hdr->exp_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn); cpu_to_be32 1208 drivers/scsi/be2iscsi/be_main.c hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + cpu_to_be32 1261 drivers/scsi/be2iscsi/be_main.c hdr->exp_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn); cpu_to_be32 1262 drivers/scsi/be2iscsi/be_main.c hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + cpu_to_be32 4491 drivers/scsi/be2iscsi/be_main.c itt = (itt_t) cpu_to_be32(((unsigned int)io_task->pwrb_handle-> cpu_to_be32 95 drivers/scsi/bfa/bfa_fcbuild.c plogi_tmpl.csp.e_d_tov = cpu_to_be32(2000); cpu_to_be32 255 drivers/scsi/bfa/bfa_fcbuild.c vvl_info[0] = cpu_to_be32(FLOGI_VVL_BRCD); cpu_to_be32 775 drivers/scsi/bfa/bfa_fcbuild.c rpsc2->token = cpu_to_be32(FC_BRCD_TOKEN); cpu_to_be32 1076 drivers/scsi/bfa/bfa_fcbuild.c rftid->fc4_type[index] = cpu_to_be32(type_value); cpu_to_be32 1306 drivers/scsi/bfa/bfa_fcbuild.c ptr[index] = cpu_to_be32(type_value); cpu_to_be32 2562 drivers/scsi/bfa/bfa_fcpim.c m->cmnd.fcp_dl = cpu_to_be32(fcp_dl); cpu_to_be32 648 drivers/scsi/bfa/bfa_fcs_lport.c gen_topo_data->asso_type = cpu_to_be32(RNID_ASSOCIATED_TYPE_HOST); cpu_to_be32 650 drivers/scsi/bfa/bfa_fcs_lport.c gen_topo_data->num_attached_nodes = cpu_to_be32(1); cpu_to_be32 1917 drivers/scsi/bfa/bfa_fcs_lport.c rhba->port_list.num_ports = cpu_to_be32(1); cpu_to_be32 2150 drivers/scsi/bfa/bfa_fcs_lport.c rhba->hba_attr_blk.attr_count = cpu_to_be32(count); cpu_to_be32 2454 drivers/scsi/bfa/bfa_fcs_lport.c port_attrib->attr_count = cpu_to_be32(count); cpu_to_be32 2662 drivers/scsi/bfa/bfa_fcs_lport.c cpu_to_be32(bfa_ioc_get_nports(&port->fcs->bfa->ioc)); cpu_to_be32 2695 drivers/scsi/bfa/bfa_fcs_lport.c cpu_to_be32(BFA_FCS_FDMI_SUPP_SPEEDS_16G); cpu_to_be32 2700 drivers/scsi/bfa/bfa_fcs_lport.c cpu_to_be32(BFA_FCS_FDMI_SUPP_SPEEDS_10G); cpu_to_be32 2705 drivers/scsi/bfa/bfa_fcs_lport.c cpu_to_be32(BFA_FCS_FDMI_SUPP_SPEEDS_8G); cpu_to_be32 2710 drivers/scsi/bfa/bfa_fcs_lport.c cpu_to_be32(BFA_FCS_FDMI_SUPP_SPEEDS_4G); cpu_to_be32 2720 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->curr_speed = cpu_to_be32( cpu_to_be32 2726 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->max_frm_size = cpu_to_be32(pport_attr.pport_cfg.maxfrsize); cpu_to_be32 2746 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->port_type = cpu_to_be32(lport_attr.port_type); cpu_to_be32 2750 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->port_state = cpu_to_be32(pport_attr.port_state); cpu_to_be32 2751 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->num_ports = cpu_to_be32(port->num_rports); cpu_to_be32 3039 drivers/scsi/bfa/bfa_fcs_rport.c cpu_to_be32(rport->bfa_rport->qos_attr.qos_flow_id); cpu_to_be32 2308 drivers/scsi/bfa/bfa_ioc.c msgp[i] = cpu_to_be32(r32); cpu_to_be32 4835 drivers/scsi/bfa/bfa_ioc.c fwping_req->count = cpu_to_be32(diag->fwping.count); cpu_to_be32 5012 drivers/scsi/bfa/bfa_ioc.c msg->period = cpu_to_be32(sec); cpu_to_be32 5373 drivers/scsi/bfa/bfa_ioc.c msg->offset = cpu_to_be32(phy->addr_off + phy->offset); cpu_to_be32 5376 drivers/scsi/bfa/bfa_ioc.c msg->length = cpu_to_be32(len); cpu_to_be32 5411 drivers/scsi/bfa/bfa_ioc.c msg->offset = cpu_to_be32(phy->addr_off + phy->offset); cpu_to_be32 5414 drivers/scsi/bfa/bfa_ioc.c msg->length = cpu_to_be32(len); cpu_to_be32 6227 drivers/scsi/bfa/bfa_ioc.c msg->offset = cpu_to_be32(fru->addr_off + fru->offset); cpu_to_be32 6230 drivers/scsi/bfa/bfa_ioc.c msg->length = cpu_to_be32(len); cpu_to_be32 6261 drivers/scsi/bfa/bfa_ioc.c msg->offset = cpu_to_be32(fru->addr_off + fru->offset); cpu_to_be32 6264 drivers/scsi/bfa/bfa_ioc.c msg->length = cpu_to_be32(len); cpu_to_be32 180 drivers/scsi/bfa/bfa_ioc.h dma_addr->a32.addr_lo = cpu_to_be32(pa); cpu_to_be32 181 drivers/scsi/bfa/bfa_ioc.h dma_addr->a32.addr_hi = cpu_to_be32(pa >> 32); cpu_to_be32 190 drivers/scsi/bfa/bfa_ioc.h alen->al_len = cpu_to_be32(len); cpu_to_be32 563 drivers/scsi/bfa/bfa_port.c buffer[i] = cpu_to_be32(buffer[i]); cpu_to_be32 821 drivers/scsi/bfa/bfa_svc.c send_req->req_len = cpu_to_be32(reqi->req_tot_len); cpu_to_be32 822 drivers/scsi/bfa/bfa_svc.c send_req->rsp_maxlen = cpu_to_be32(rspi->rsp_maxlen); cpu_to_be32 6496 drivers/scsi/bfa/bfa_svc.c m->lpcnt = cpu_to_be32(dport->lpcnt); cpu_to_be32 6497 drivers/scsi/bfa/bfa_svc.c m->payload = cpu_to_be32(dport->payload); cpu_to_be32 6519 drivers/scsi/bfa/bfa_svc.c msg->status = cpu_to_be32(msg->status); cpu_to_be32 6571 drivers/scsi/bfa/bfa_svc.c cpu_to_be32(msg->info.testcomp.latency); cpu_to_be32 6573 drivers/scsi/bfa/bfa_svc.c cpu_to_be32(msg->info.testcomp.distance); cpu_to_be32 6604 drivers/scsi/bfa/bfa_svc.c dport->lpcnt = cpu_to_be32(msg->info.teststart.numfrm); cpu_to_be32 1384 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->max_cmdsn = cpu_to_be32(resp_cqe->max_cmd_sn); cpu_to_be32 1385 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->exp_cmdsn = cpu_to_be32(resp_cqe->exp_cmd_sn); cpu_to_be32 1389 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->residual_count = cpu_to_be32(resp_cqe->residual_count); cpu_to_be32 1462 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->statsn = cpu_to_be32(login->stat_sn); cpu_to_be32 1463 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->exp_cmdsn = cpu_to_be32(login->exp_cmd_sn); cpu_to_be32 1464 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->max_cmdsn = cpu_to_be32(login->max_cmd_sn); cpu_to_be32 1525 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->ttt = cpu_to_be32(text->ttt); cpu_to_be32 1527 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->exp_cmdsn = cpu_to_be32(text->exp_cmd_sn); cpu_to_be32 1528 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->max_cmdsn = cpu_to_be32(text->max_cmd_sn); cpu_to_be32 1580 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->max_cmdsn = cpu_to_be32(tmf_cqe->max_cmd_sn); cpu_to_be32 1581 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->exp_cmdsn = cpu_to_be32(tmf_cqe->exp_cmd_sn); cpu_to_be32 1624 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->exp_cmdsn = cpu_to_be32(logout->exp_cmd_sn); cpu_to_be32 1625 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->max_cmdsn = cpu_to_be32(logout->max_cmd_sn); cpu_to_be32 1627 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->t2wait = cpu_to_be32(logout->time_to_wait); cpu_to_be32 1628 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->t2retain = cpu_to_be32(logout->time_to_retain); cpu_to_be32 1703 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->max_cmdsn = cpu_to_be32(nop_in->max_cmd_sn); cpu_to_be32 1704 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->exp_cmdsn = cpu_to_be32(nop_in->exp_cmd_sn); cpu_to_be32 1705 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->ttt = cpu_to_be32(nop_in->ttt); cpu_to_be32 1720 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->ttt = cpu_to_be32(nop_in->ttt); cpu_to_be32 1765 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->exp_cmdsn = cpu_to_be32(async_cqe->exp_cmd_sn); cpu_to_be32 1766 drivers/scsi/bnx2i/bnx2i_hwi.c resp_hdr->max_cmdsn = cpu_to_be32(async_cqe->max_cmd_sn); cpu_to_be32 1810 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->max_cmdsn = cpu_to_be32(reject->max_cmd_sn); cpu_to_be32 1811 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->exp_cmdsn = cpu_to_be32(reject->exp_cmd_sn); cpu_to_be32 1812 drivers/scsi/bnx2i/bnx2i_hwi.c hdr->ffffffff = cpu_to_be32(RESERVED_ITT); cpu_to_be32 1148 drivers/scsi/bnx2i/bnx2i_iscsi.c *dstp = cpu_to_be32(dword); cpu_to_be32 1154 drivers/scsi/bnx2i/bnx2i_iscsi.c *dstp = cpu_to_be32(dword); cpu_to_be32 1689 drivers/scsi/csiostor/csio_lnode.c wr->op_immdlen = cpu_to_be32(FW_WR_OP_V(FW_FCOE_ELS_CT_WR) | cpu_to_be32 1693 drivers/scsi/csiostor/csio_lnode.c wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID_V(flow_id) | cpu_to_be32 1709 drivers/scsi/csiostor/csio_lnode.c wr->rsp_dmalen = cpu_to_be32(io_req->dma_buf.len); cpu_to_be32 1780 drivers/scsi/csiostor/csio_lnode.c dsgl.len0 = cpu_to_be32(pld_len); cpu_to_be32 371 drivers/scsi/csiostor/csio_mb.c cmdp->u.l1cfg.rcap = cpu_to_be32(fwcaps32_to_caps16(fc)); cpu_to_be32 373 drivers/scsi/csiostor/csio_mb.c cmdp->u.l1cfg32.rcap32 = cpu_to_be32(fc); cpu_to_be32 176 drivers/scsi/csiostor/csio_scsi.c fcp_cmnd->fc_dl = cpu_to_be32(scsi_bufflen(scmnd)); cpu_to_be32 209 drivers/scsi/csiostor/csio_scsi.c wr->op_immdlen = cpu_to_be32(FW_WR_OP_V(FW_SCSI_CMD_WR) | cpu_to_be32 211 drivers/scsi/csiostor/csio_scsi.c wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID_V(rn->flowid) | cpu_to_be32 225 drivers/scsi/csiostor/csio_scsi.c wr->rsp_dmalen = cpu_to_be32(dma_buf->len); cpu_to_be32 308 drivers/scsi/csiostor/csio_scsi.c sgl->len0 = cpu_to_be32(sg_dma_len(sgel)); cpu_to_be32 315 drivers/scsi/csiostor/csio_scsi.c sge_pair->len[1] = cpu_to_be32( cpu_to_be32 321 drivers/scsi/csiostor/csio_scsi.c sge_pair->len[0] = cpu_to_be32( cpu_to_be32 332 drivers/scsi/csiostor/csio_scsi.c sgl->len0 = cpu_to_be32( cpu_to_be32 337 drivers/scsi/csiostor/csio_scsi.c sge_pair->len[1] = cpu_to_be32( cpu_to_be32 342 drivers/scsi/csiostor/csio_scsi.c sge_pair->len[0] = cpu_to_be32( cpu_to_be32 370 drivers/scsi/csiostor/csio_scsi.c wr->op_immdlen = cpu_to_be32(FW_WR_OP_V(FW_SCSI_READ_WR) | cpu_to_be32 372 drivers/scsi/csiostor/csio_scsi.c wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID_V(rn->flowid) | cpu_to_be32 378 drivers/scsi/csiostor/csio_scsi.c wr->xfer_cnt = cpu_to_be32(scsi_bufflen(scmnd)); cpu_to_be32 379 drivers/scsi/csiostor/csio_scsi.c wr->ini_xfer_cnt = cpu_to_be32(scsi_bufflen(scmnd)); cpu_to_be32 384 drivers/scsi/csiostor/csio_scsi.c wr->rsp_dmalen = cpu_to_be32(dma_buf->len); cpu_to_be32 423 drivers/scsi/csiostor/csio_scsi.c wr->op_immdlen = cpu_to_be32(FW_WR_OP_V(FW_SCSI_WRITE_WR) | cpu_to_be32 425 drivers/scsi/csiostor/csio_scsi.c wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID_V(rn->flowid) | cpu_to_be32 431 drivers/scsi/csiostor/csio_scsi.c wr->xfer_cnt = cpu_to_be32(scsi_bufflen(scmnd)); cpu_to_be32 432 drivers/scsi/csiostor/csio_scsi.c wr->ini_xfer_cnt = cpu_to_be32(scsi_bufflen(scmnd)); cpu_to_be32 437 drivers/scsi/csiostor/csio_scsi.c wr->rsp_dmalen = cpu_to_be32(dma_buf->len); cpu_to_be32 653 drivers/scsi/csiostor/csio_scsi.c wr->op_immdlen = cpu_to_be32(FW_WR_OP_V(FW_SCSI_ABRT_CLS_WR)); cpu_to_be32 654 drivers/scsi/csiostor/csio_scsi.c wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID_V(rn->flowid) | cpu_to_be32 231 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ, cpu_to_be32 238 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->params = cpu_to_be32(cxgb4_select_ntuple( cpu_to_be32 242 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->opt2 = cpu_to_be32(opt2); cpu_to_be32 255 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ, cpu_to_be32 266 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->rsvd = cpu_to_be32(isn); cpu_to_be32 270 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->opt2 = cpu_to_be32(opt2); cpu_to_be32 283 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ, cpu_to_be32 294 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->rsvd = cpu_to_be32(isn); cpu_to_be32 300 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->opt2 = cpu_to_be32(opt2); cpu_to_be32 301 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->rsvd2 = cpu_to_be32(0); cpu_to_be32 302 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->opt3 = cpu_to_be32(0); cpu_to_be32 350 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ6, cpu_to_be32 365 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->opt2 = cpu_to_be32(opt2); cpu_to_be32 367 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->params = cpu_to_be32(cxgb4_select_ntuple( cpu_to_be32 375 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ6, cpu_to_be32 388 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->opt2 = cpu_to_be32(opt2); cpu_to_be32 398 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ6, cpu_to_be32 413 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->opt2 = cpu_to_be32(opt2); cpu_to_be32 419 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->rsvd2 = cpu_to_be32(0); cpu_to_be32 420 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->opt3 = cpu_to_be32(0); cpu_to_be32 448 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_CLOSE_CON_REQ, tid)); cpu_to_be32 492 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_REQ, csk->tid)); cpu_to_be32 516 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(rpl) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_RPL, csk->tid)); cpu_to_be32 544 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_RX_DATA_ACK, cpu_to_be32 546 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->credit_dack = cpu_to_be32(RX_CREDITS_V(credits) cpu_to_be32 650 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c flowc->mnemval[9].val = cpu_to_be32(0); cpu_to_be32 652 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c flowc->mnemval[9].val = cpu_to_be32((vlan & VLAN_PRIO_MASK) >> cpu_to_be32 688 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cpu_to_be32(FW_WR_OP_V(FW_OFLD_TX_DATA_WR) | cpu_to_be32 692 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cpu_to_be32(FW_WR_FLOWID_V(csk->tid) | cpu_to_be32 1940 drivers/scsi/gdth.c rdc.last_block_no = cpu_to_be32(ha->hdr[t].size-1); cpu_to_be32 1941 drivers/scsi/gdth.c rdc.block_length = cpu_to_be32(SECTOR_SIZE); cpu_to_be32 1952 drivers/scsi/gdth.c rdc16.block_length = cpu_to_be32(SECTOR_SIZE); cpu_to_be32 1022 drivers/scsi/hptiop.c cpu_to_be32(((u32 *)scp->cmnd)[0]), cpu_to_be32 1023 drivers/scsi/hptiop.c cpu_to_be32(((u32 *)scp->cmnd)[1]), cpu_to_be32 1024 drivers/scsi/hptiop.c cpu_to_be32(((u32 *)scp->cmnd)[2]), cpu_to_be32 1025 drivers/scsi/hptiop.c cpu_to_be32(((u32 *)scp->cmnd)[3]), cpu_to_be32 1165 drivers/scsi/ibmvscsi/ibmvfc.c login_info->ostype = cpu_to_be32(IBMVFC_OS_LINUX); cpu_to_be32 1167 drivers/scsi/ibmvscsi/ibmvfc.c login_info->max_payload = cpu_to_be32(sizeof(struct ibmvfc_fcp_cmd_iu)); cpu_to_be32 1168 drivers/scsi/ibmvscsi/ibmvfc.c login_info->max_response = cpu_to_be32(sizeof(struct ibmvfc_fcp_rsp)); cpu_to_be32 1169 drivers/scsi/ibmvscsi/ibmvfc.c login_info->partition_num = cpu_to_be32(vhost->partition_number); cpu_to_be32 1170 drivers/scsi/ibmvscsi/ibmvfc.c login_info->vfc_frame_version = cpu_to_be32(1); cpu_to_be32 1176 drivers/scsi/ibmvscsi/ibmvfc.c login_info->max_cmds = cpu_to_be32(max_requests + IBMVFC_NUM_INTERNAL_REQ); cpu_to_be32 1179 drivers/scsi/ibmvscsi/ibmvfc.c login_info->async.len = cpu_to_be32(vhost->async_crq.size * sizeof(*vhost->async_crq.msgs)); cpu_to_be32 1305 drivers/scsi/ibmvscsi/ibmvfc.c md[i].len = cpu_to_be32(sg_dma_len(sg)); cpu_to_be32 1372 drivers/scsi/ibmvscsi/ibmvfc.c data->len = cpu_to_be32(sg_mapped * sizeof(struct srp_direct_buf)); cpu_to_be32 1628 drivers/scsi/ibmvscsi/ibmvfc.c vfc_cmd->resp.len = cpu_to_be32(sizeof(vfc_cmd->rsp)); cpu_to_be32 1629 drivers/scsi/ibmvscsi/ibmvfc.c vfc_cmd->frame_type = cpu_to_be32(IBMVFC_SCSI_FCP_TYPE); cpu_to_be32 1630 drivers/scsi/ibmvscsi/ibmvfc.c vfc_cmd->payload_len = cpu_to_be32(sizeof(vfc_cmd->iu)); cpu_to_be32 1631 drivers/scsi/ibmvscsi/ibmvfc.c vfc_cmd->resp_len = cpu_to_be32(sizeof(vfc_cmd->rsp)); cpu_to_be32 1632 drivers/scsi/ibmvscsi/ibmvfc.c vfc_cmd->cancel_key = cpu_to_be32((unsigned long)cmnd->device->hostdata); cpu_to_be32 1634 drivers/scsi/ibmvscsi/ibmvfc.c vfc_cmd->iu.xfer_len = cpu_to_be32(scsi_bufflen(cmnd)); cpu_to_be32 1719 drivers/scsi/ibmvscsi/ibmvfc.c tmf->common.version = cpu_to_be32(1); cpu_to_be32 1720 drivers/scsi/ibmvscsi/ibmvfc.c tmf->common.opcode = cpu_to_be32(IBMVFC_TMF_MAD); cpu_to_be32 1723 drivers/scsi/ibmvscsi/ibmvfc.c tmf->cancel_key = cpu_to_be32(IBMVFC_PASSTHRU_CANCEL_KEY); cpu_to_be32 1724 drivers/scsi/ibmvscsi/ibmvfc.c tmf->my_cancel_key = cpu_to_be32(IBMVFC_INTERNAL_CANCEL_KEY); cpu_to_be32 1776 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.version = cpu_to_be32(1); cpu_to_be32 1777 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.opcode = cpu_to_be32(IBMVFC_PORT_LOGIN); cpu_to_be32 1895 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.version = cpu_to_be32(1); cpu_to_be32 1896 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.opcode = cpu_to_be32(IBMVFC_PASSTHRU); cpu_to_be32 1901 drivers/scsi/ibmvscsi/ibmvfc.c mad->cmd_ioba.len = cpu_to_be32(sizeof(mad->iu)); cpu_to_be32 1903 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.cmd_len = cpu_to_be32(job->request_payload.payload_len); cpu_to_be32 1904 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.rsp_len = cpu_to_be32(job->reply_payload.payload_len); cpu_to_be32 1905 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.flags = cpu_to_be32(fc_flags); cpu_to_be32 1906 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.cancel_key = cpu_to_be32(IBMVFC_PASSTHRU_CANCEL_KEY); cpu_to_be32 1909 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.cmd.len = cpu_to_be32(sg_dma_len(job->request_payload.sg_list)); cpu_to_be32 1911 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.rsp.len = cpu_to_be32(sg_dma_len(job->reply_payload.sg_list)); cpu_to_be32 1979 drivers/scsi/ibmvscsi/ibmvfc.c tmf->resp.len = cpu_to_be32(sizeof(tmf->rsp)); cpu_to_be32 1980 drivers/scsi/ibmvscsi/ibmvfc.c tmf->frame_type = cpu_to_be32(IBMVFC_SCSI_FCP_TYPE); cpu_to_be32 1981 drivers/scsi/ibmvscsi/ibmvfc.c tmf->payload_len = cpu_to_be32(sizeof(tmf->iu)); cpu_to_be32 1982 drivers/scsi/ibmvscsi/ibmvfc.c tmf->resp_len = cpu_to_be32(sizeof(tmf->rsp)); cpu_to_be32 1983 drivers/scsi/ibmvscsi/ibmvfc.c tmf->cancel_key = cpu_to_be32((unsigned long)sdev->hostdata); cpu_to_be32 2177 drivers/scsi/ibmvscsi/ibmvfc.c tmf->common.version = cpu_to_be32(1); cpu_to_be32 2178 drivers/scsi/ibmvscsi/ibmvfc.c tmf->common.opcode = cpu_to_be32(IBMVFC_TMF_MAD); cpu_to_be32 2185 drivers/scsi/ibmvscsi/ibmvfc.c tmf->flags = cpu_to_be32((type | IBMVFC_TMF_LUA_VALID)); cpu_to_be32 2187 drivers/scsi/ibmvscsi/ibmvfc.c tmf->flags = cpu_to_be32(((type & IBMVFC_TMF_SUPPRESS_ABTS) | IBMVFC_TMF_LUA_VALID)); cpu_to_be32 2188 drivers/scsi/ibmvscsi/ibmvfc.c tmf->cancel_key = cpu_to_be32((unsigned long)sdev->hostdata); cpu_to_be32 2189 drivers/scsi/ibmvscsi/ibmvfc.c tmf->my_cancel_key = cpu_to_be32((unsigned long)starget->hostdata); cpu_to_be32 2309 drivers/scsi/ibmvscsi/ibmvfc.c tmf->resp.len = cpu_to_be32(sizeof(tmf->rsp)); cpu_to_be32 2310 drivers/scsi/ibmvscsi/ibmvfc.c tmf->frame_type = cpu_to_be32(IBMVFC_SCSI_FCP_TYPE); cpu_to_be32 2311 drivers/scsi/ibmvscsi/ibmvfc.c tmf->payload_len = cpu_to_be32(sizeof(tmf->iu)); cpu_to_be32 2312 drivers/scsi/ibmvscsi/ibmvfc.c tmf->resp_len = cpu_to_be32(sizeof(tmf->rsp)); cpu_to_be32 2313 drivers/scsi/ibmvscsi/ibmvfc.c tmf->cancel_key = cpu_to_be32((unsigned long)sdev->hostdata); cpu_to_be32 3372 drivers/scsi/ibmvscsi/ibmvfc.c prli->common.version = cpu_to_be32(1); cpu_to_be32 3373 drivers/scsi/ibmvscsi/ibmvfc.c prli->common.opcode = cpu_to_be32(IBMVFC_PROCESS_LOGIN); cpu_to_be32 3379 drivers/scsi/ibmvscsi/ibmvfc.c prli->parms.service_parms = cpu_to_be32(IBMVFC_PRLI_INITIATOR_FUNC); cpu_to_be32 3380 drivers/scsi/ibmvscsi/ibmvfc.c prli->parms.service_parms |= cpu_to_be32(IBMVFC_PRLI_READ_FCP_XFER_RDY_DISABLED); cpu_to_be32 3383 drivers/scsi/ibmvscsi/ibmvfc.c prli->parms.service_parms |= cpu_to_be32(IBMVFC_PRLI_RETRY); cpu_to_be32 3475 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.version = cpu_to_be32(1); cpu_to_be32 3476 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.opcode = cpu_to_be32(IBMVFC_PORT_LOGIN); cpu_to_be32 3548 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.version = cpu_to_be32(1); cpu_to_be32 3549 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.opcode = cpu_to_be32(IBMVFC_IMPLICIT_LOGOUT); cpu_to_be32 3635 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.version = cpu_to_be32(1); cpu_to_be32 3636 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.opcode = cpu_to_be32(IBMVFC_PASSTHRU); cpu_to_be32 3640 drivers/scsi/ibmvscsi/ibmvfc.c mad->cmd_ioba.len = cpu_to_be32(sizeof(mad->iu)); cpu_to_be32 3641 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.cmd_len = cpu_to_be32(sizeof(mad->fc_iu.payload)); cpu_to_be32 3642 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.rsp_len = cpu_to_be32(sizeof(mad->fc_iu.response)); cpu_to_be32 3646 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.cmd.len = cpu_to_be32(sizeof(mad->fc_iu.payload)); cpu_to_be32 3650 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.rsp.len = cpu_to_be32(sizeof(mad->fc_iu.response)); cpu_to_be32 3710 drivers/scsi/ibmvscsi/ibmvfc.c tmf->common.version = cpu_to_be32(1); cpu_to_be32 3711 drivers/scsi/ibmvscsi/ibmvfc.c tmf->common.opcode = cpu_to_be32(IBMVFC_TMF_MAD); cpu_to_be32 3714 drivers/scsi/ibmvscsi/ibmvfc.c tmf->cancel_key = cpu_to_be32(tgt->cancel_key); cpu_to_be32 3756 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.flags = cpu_to_be32(IBMVFC_FC_ELS); cpu_to_be32 3758 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.cancel_key = cpu_to_be32(tgt->cancel_key); cpu_to_be32 3760 drivers/scsi/ibmvscsi/ibmvfc.c mad->fc_iu.payload[0] = cpu_to_be32(IBMVFC_ADISC); cpu_to_be32 3765 drivers/scsi/ibmvscsi/ibmvfc.c mad->fc_iu.payload[6] = cpu_to_be32(be64_to_cpu(vhost->login_buf->resp.scsi_id) & 0x00ffffff); cpu_to_be32 3859 drivers/scsi/ibmvscsi/ibmvfc.c query_tgt->common.version = cpu_to_be32(1); cpu_to_be32 3860 drivers/scsi/ibmvscsi/ibmvfc.c query_tgt->common.opcode = cpu_to_be32(IBMVFC_QUERY_TARGET); cpu_to_be32 3982 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.version = cpu_to_be32(1); cpu_to_be32 3983 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.opcode = cpu_to_be32(IBMVFC_DISC_TARGETS); cpu_to_be32 3985 drivers/scsi/ibmvscsi/ibmvfc.c mad->bufflen = cpu_to_be32(vhost->disc_buf_sz); cpu_to_be32 3987 drivers/scsi/ibmvscsi/ibmvfc.c mad->buffer.len = cpu_to_be32(vhost->disc_buf_sz); cpu_to_be32 4098 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.version = cpu_to_be32(1); cpu_to_be32 4099 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.opcode = cpu_to_be32(IBMVFC_NPIV_LOGIN); cpu_to_be32 4102 drivers/scsi/ibmvscsi/ibmvfc.c mad->buffer.len = cpu_to_be32(sizeof(*vhost->login_buf)); cpu_to_be32 4159 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.version = cpu_to_be32(1); cpu_to_be32 4160 drivers/scsi/ibmvscsi/ibmvfc.c mad->common.opcode = cpu_to_be32(IBMVFC_NPIV_LOGOUT); cpu_to_be32 272 drivers/scsi/ibmvscsi/ibmvscsi.c cpu_to_be32(partition_number); cpu_to_be32 274 drivers/scsi/ibmvscsi/ibmvscsi.c hostdata->madapter_info.mad_version = cpu_to_be32(SRP_MAD_VERSION_1); cpu_to_be32 275 drivers/scsi/ibmvscsi/ibmvscsi.c hostdata->madapter_info.os_type = cpu_to_be32(SRP_MAD_OS_LINUX); cpu_to_be32 662 drivers/scsi/ibmvscsi/ibmvscsi.c descr->len = cpu_to_be32(sg_dma_len(sg)); cpu_to_be32 705 drivers/scsi/ibmvscsi/ibmvscsi.c indirect->table_desc.len = cpu_to_be32(sg_mapped * cpu_to_be32 712 drivers/scsi/ibmvscsi/ibmvscsi.c indirect->len = cpu_to_be32(total_length); cpu_to_be32 734 drivers/scsi/ibmvscsi/ibmvscsi.c indirect->len = cpu_to_be32(total_length); cpu_to_be32 736 drivers/scsi/ibmvscsi/ibmvscsi.c indirect->table_desc.len = cpu_to_be32(sg_mapped * cpu_to_be32 1192 drivers/scsi/ibmvscsi/ibmvscsi.c login->req_it_iu_len = cpu_to_be32(sizeof(union srp_iu)); cpu_to_be32 1261 drivers/scsi/ibmvscsi/ibmvscsi.c hostdata->caps.flags = cpu_to_be32(CAP_LIST_SUPPORTED); cpu_to_be32 1263 drivers/scsi/ibmvscsi/ibmvscsi.c hostdata->caps.flags |= cpu_to_be32(CLIENT_MIGRATED); cpu_to_be32 1272 drivers/scsi/ibmvscsi/ibmvscsi.c req->common.type = cpu_to_be32(VIOSRP_CAPABILITIES_TYPE); cpu_to_be32 1276 drivers/scsi/ibmvscsi/ibmvscsi.c cpu_to_be32(MIGRATION_CAPABILITIES); cpu_to_be32 1281 drivers/scsi/ibmvscsi/ibmvscsi.c hostdata->caps.migration.ecl = cpu_to_be32(1); cpu_to_be32 1285 drivers/scsi/ibmvscsi/ibmvscsi.c cpu_to_be32(RESERVATION_CAPABILITIES); cpu_to_be32 1291 drivers/scsi/ibmvscsi/ibmvscsi.c cpu_to_be32(CLIENT_RESERVE_SCSI_2); cpu_to_be32 1351 drivers/scsi/ibmvscsi/ibmvscsi.c fast_fail_mad->common.type = cpu_to_be32(VIOSRP_ENABLE_FAST_FAIL); cpu_to_be32 1431 drivers/scsi/ibmvscsi/ibmvscsi.c req->common.type = cpu_to_be32(VIOSRP_ADAPTER_INFO_TYPE); cpu_to_be32 69 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rsp->data_out_res_cnt = cpu_to_be32(residual_count); cpu_to_be32 73 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rsp->data_in_res_cnt = cpu_to_be32(residual_count); cpu_to_be32 79 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rsp->data_out_res_cnt = cpu_to_be32(residual_count); cpu_to_be32 83 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rsp->data_in_res_cnt = cpu_to_be32(residual_count); cpu_to_be32 1565 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c info->partition_number = cpu_to_be32(vscsi->dds.partition_num); cpu_to_be32 1566 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c info->mad_version = cpu_to_be32(MAD_VERSION_1); cpu_to_be32 1567 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c info->os_type = cpu_to_be32(LINUX); cpu_to_be32 1569 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c info->port_max_txu[0] = cpu_to_be32(MAX_TXU); cpu_to_be32 1676 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c flag = cpu_to_be32((u32)CAP_LIST_SUPPORTED); cpu_to_be32 2115 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rsp->req_lim_delta = cpu_to_be32(vscsi->request_limit); cpu_to_be32 2117 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rsp->max_it_iu_len = cpu_to_be32(SRP_MAX_IU_LEN); cpu_to_be32 2118 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rsp->max_ti_iu_len = cpu_to_be32(SRP_MAX_IU_LEN); cpu_to_be32 2175 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rej->reason = cpu_to_be32(reason); cpu_to_be32 3110 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rsp->req_lim_delta = cpu_to_be32(1 + vscsi->credit); cpu_to_be32 3122 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cpu_to_be32(se_cmd->scsi_sense_length); cpu_to_be32 3142 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rsp->resp_data_len = cpu_to_be32(4); cpu_to_be32 3168 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c *tsk_status = cpu_to_be32(rsp_code); cpu_to_be32 657 drivers/scsi/ipr.c cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, i.ioadl)); cpu_to_be32 917 drivers/scsi/ipr.c cpu_to_be32(IPR_IOASC_IOA_WAS_RESET); cpu_to_be32 919 drivers/scsi/ipr.c cpu_to_be32(IPR_DRIVER_ILID); cpu_to_be32 1036 drivers/scsi/ipr.c ioadl64->flags = cpu_to_be32(flags); cpu_to_be32 1037 drivers/scsi/ipr.c ioadl64->data_len = cpu_to_be32(len); cpu_to_be32 1041 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl64_desc)); cpu_to_be32 1042 drivers/scsi/ipr.c ipr_cmd->ioarcb.data_transfer_length = cpu_to_be32(len); cpu_to_be32 1044 drivers/scsi/ipr.c ioadl->flags_and_data_len = cpu_to_be32(flags | len); cpu_to_be32 1045 drivers/scsi/ipr.c ioadl->address = cpu_to_be32(dma_addr); cpu_to_be32 1049 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl_desc)); cpu_to_be32 1050 drivers/scsi/ipr.c ipr_cmd->ioarcb.read_data_transfer_length = cpu_to_be32(len); cpu_to_be32 1053 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl_desc)); cpu_to_be32 1054 drivers/scsi/ipr.c ipr_cmd->ioarcb.data_transfer_length = cpu_to_be32(len); cpu_to_be32 1122 drivers/scsi/ipr.c ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); cpu_to_be32 2552 drivers/scsi/ipr.c hostrcb->hcam.length = cpu_to_be32(sizeof(hostrcb->hcam.u.raw)); cpu_to_be32 2856 drivers/scsi/ipr.c *dest = cpu_to_be32(readl(ioa_cfg->regs.dump_data_reg)); cpu_to_be32 2917 drivers/scsi/ipr.c *dest = cpu_to_be32(readl(ioa_cfg->ioa_mailbox)); cpu_to_be32 3961 drivers/scsi/ipr.c ioarcb->data_transfer_length = cpu_to_be32(sglist->buffer_len); cpu_to_be32 3964 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl64_desc) * ipr_cmd->dma_use_sg); cpu_to_be32 3966 drivers/scsi/ipr.c ioadl64[i].flags = cpu_to_be32(IPR_IOADL_FLAGS_WRITE); cpu_to_be32 3967 drivers/scsi/ipr.c ioadl64[i].data_len = cpu_to_be32(sg_dma_len(sg)); cpu_to_be32 3971 drivers/scsi/ipr.c ioadl64[i-1].flags |= cpu_to_be32(IPR_IOADL_FLAGS_LAST); cpu_to_be32 3993 drivers/scsi/ipr.c ioarcb->data_transfer_length = cpu_to_be32(sglist->buffer_len); cpu_to_be32 3996 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl_desc) * ipr_cmd->dma_use_sg); cpu_to_be32 4000 drivers/scsi/ipr.c cpu_to_be32(IPR_IOADL_FLAGS_WRITE | sg_dma_len(sg)); cpu_to_be32 4002 drivers/scsi/ipr.c cpu_to_be32(sg_dma_address(sg)); cpu_to_be32 4006 drivers/scsi/ipr.c cpu_to_be32(IPR_IOADL_FLAGS_LAST); cpu_to_be32 5941 drivers/scsi/ipr.c ioarcb->data_transfer_length = cpu_to_be32(length); cpu_to_be32 5943 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl64_desc) * ipr_cmd->dma_use_sg); cpu_to_be32 5952 drivers/scsi/ipr.c ioadl64[i].flags = cpu_to_be32(ioadl_flags); cpu_to_be32 5953 drivers/scsi/ipr.c ioadl64[i].data_len = cpu_to_be32(sg_dma_len(sg)); cpu_to_be32 5957 drivers/scsi/ipr.c ioadl64[i-1].flags |= cpu_to_be32(IPR_IOADL_FLAGS_LAST); cpu_to_be32 5995 drivers/scsi/ipr.c ioarcb->data_transfer_length = cpu_to_be32(length); cpu_to_be32 5997 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl_desc) * ipr_cmd->dma_use_sg); cpu_to_be32 6000 drivers/scsi/ipr.c ioarcb->read_data_transfer_length = cpu_to_be32(length); cpu_to_be32 6002 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl_desc) * ipr_cmd->dma_use_sg); cpu_to_be32 6007 drivers/scsi/ipr.c ioarcb->write_ioadl_addr = cpu_to_be32((ipr_cmd->dma_addr) + cpu_to_be32 6014 drivers/scsi/ipr.c cpu_to_be32(ioadl_flags | sg_dma_len(sg)); cpu_to_be32 6015 drivers/scsi/ipr.c ioadl[i].address = cpu_to_be32(sg_dma_address(sg)); cpu_to_be32 6018 drivers/scsi/ipr.c ioadl[i-1].flags_and_data_len |= cpu_to_be32(IPR_IOADL_FLAGS_LAST); cpu_to_be32 6105 drivers/scsi/ipr.c cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, i.ioadl)); cpu_to_be32 6919 drivers/scsi/ipr.c ioarcb->data_transfer_length = cpu_to_be32(len); cpu_to_be32 6921 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl64_desc) * ipr_cmd->dma_use_sg); cpu_to_be32 6926 drivers/scsi/ipr.c ioadl64->flags = cpu_to_be32(ioadl_flags); cpu_to_be32 6927 drivers/scsi/ipr.c ioadl64->data_len = cpu_to_be32(sg_dma_len(sg)); cpu_to_be32 6935 drivers/scsi/ipr.c last_ioadl64->flags |= cpu_to_be32(IPR_IOADL_FLAGS_LAST); cpu_to_be32 6961 drivers/scsi/ipr.c ioarcb->data_transfer_length = cpu_to_be32(len); cpu_to_be32 6963 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl_desc) * ipr_cmd->dma_use_sg); cpu_to_be32 6966 drivers/scsi/ipr.c ioarcb->read_data_transfer_length = cpu_to_be32(len); cpu_to_be32 6968 drivers/scsi/ipr.c cpu_to_be32(sizeof(struct ipr_ioadl_desc) * ipr_cmd->dma_use_sg); cpu_to_be32 6972 drivers/scsi/ipr.c ioadl->flags_and_data_len = cpu_to_be32(ioadl_flags | sg_dma_len(sg)); cpu_to_be32 6973 drivers/scsi/ipr.c ioadl->address = cpu_to_be32(sg_dma_address(sg)); cpu_to_be32 6980 drivers/scsi/ipr.c last_ioadl->flags_and_data_len |= cpu_to_be32(IPR_IOADL_FLAGS_LAST); cpu_to_be32 7351 drivers/scsi/ipr.c ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); cpu_to_be32 7516 drivers/scsi/ipr.c bus->max_xfer_rate = cpu_to_be32(bus_attr->max_xfer_rate); cpu_to_be32 7575 drivers/scsi/ipr.c ipr_build_mode_select(ipr_cmd, cpu_to_be32(IPR_IOA_RES_HANDLE), 0x11, cpu_to_be32 7677 drivers/scsi/ipr.c ipr_build_mode_sense(ipr_cmd, cpu_to_be32(IPR_IOA_RES_HANDLE), cpu_to_be32 7717 drivers/scsi/ipr.c ipr_build_mode_select(ipr_cmd, cpu_to_be32(IPR_IOA_RES_HANDLE), 0x11, cpu_to_be32 7765 drivers/scsi/ipr.c ipr_build_mode_sense(ipr_cmd, cpu_to_be32(IPR_IOA_RES_HANDLE), cpu_to_be32 7896 drivers/scsi/ipr.c ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); cpu_to_be32 7954 drivers/scsi/ipr.c cpu_to_be32(IPR_IOA_RES_HANDLE), cpu_to_be32 7987 drivers/scsi/ipr.c ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); cpu_to_be32 8205 drivers/scsi/ipr.c ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); cpu_to_be32 8665 drivers/scsi/ipr.c ipr_cmd->s.ioasa.hdr.ioasc = cpu_to_be32(IPR_IOASC_PCI_ACCESS_ERROR); cpu_to_be32 8755 drivers/scsi/ipr.c ipr_cmd->s.ioasa.hdr.ioasc = cpu_to_be32(IPR_IOASC_PCI_ACCESS_ERROR); cpu_to_be32 9046 drivers/scsi/ipr.c ipr_cmd->ioarcb.res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); cpu_to_be32 9118 drivers/scsi/ipr.c ipr_cmd->ioarcb.res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); cpu_to_be32 9162 drivers/scsi/ipr.c ipr_cmd->ioarcb.res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); cpu_to_be32 9701 drivers/scsi/ipr.c ioarcb->a.ioarcb_host_pci_addr = cpu_to_be32(dma_addr); cpu_to_be32 9703 drivers/scsi/ipr.c ioarcb->host_response_handle = cpu_to_be32(i << 2); cpu_to_be32 9711 drivers/scsi/ipr.c cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, i.ioadl)); cpu_to_be32 9714 drivers/scsi/ipr.c cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, s.ioasa)); cpu_to_be32 10821 drivers/scsi/ipr.c ipr_cmd->ioarcb.res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); cpu_to_be32 4068 drivers/scsi/ips.c cpu_to_be32(le32_to_cpu cpu_to_be32 4071 drivers/scsi/ips.c cap.len = cpu_to_be32((uint32_t) IPS_BLKSIZE); cpu_to_be32 144 drivers/scsi/libiscsi.c hdr->datasn = cpu_to_be32(r2t->datasn); cpu_to_be32 150 drivers/scsi/libiscsi.c hdr->offset = cpu_to_be32(r2t->data_offset + r2t->sent); cpu_to_be32 343 drivers/scsi/libiscsi.c hdr->exp_statsn = cpu_to_be32(conn->exp_statsn); cpu_to_be32 360 drivers/scsi/libiscsi.c hdr->data_length = cpu_to_be32(transfer_length); cpu_to_be32 397 drivers/scsi/libiscsi.c r2t->ttt = cpu_to_be32(ISCSI_RESERVED_TAG); cpu_to_be32 398 drivers/scsi/libiscsi.c r2t->exp_statsn = cpu_to_be32(conn->exp_statsn); cpu_to_be32 420 drivers/scsi/libiscsi.c hdr->cmdsn = task->cmdsn = cpu_to_be32(session->cmdsn); cpu_to_be32 622 drivers/scsi/libiscsi.c nop->exp_statsn = cpu_to_be32(conn->exp_statsn); cpu_to_be32 626 drivers/scsi/libiscsi.c nop->cmdsn = cpu_to_be32(session->cmdsn); cpu_to_be32 1044 drivers/scsi/libiscsi.c if (rejected_pdu.itt == cpu_to_be32(ISCSI_RESERVED_TAG)) { cpu_to_be32 1155 drivers/scsi/libiscsi.c if (hdr->ttt == cpu_to_be32(ISCSI_RESERVED_TAG)) cpu_to_be32 1241 drivers/scsi/libiscsi.c if (hdr->ttt != cpu_to_be32(ISCSI_RESERVED_TAG) || datalen) { cpu_to_be32 2792 drivers/scsi/lpfc/lpfc_attr.c if (vvvl == 1 && cpu_to_be32(*fawwpn_key) == FAPWWN_KEY_VENDOR) { cpu_to_be32 629 drivers/scsi/lpfc/lpfc_ct.c if (CTentry & (cpu_to_be32(SLI_CT_LAST_ENTRY))) cpu_to_be32 1680 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.gff.PortId = cpu_to_be32(context); cpu_to_be32 1687 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.gft.PortId = cpu_to_be32(context); cpu_to_be32 1695 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rft.PortId = cpu_to_be32(vport->fc_myDID); cpu_to_be32 1709 drivers/scsi/lpfc/lpfc_ct.c cpu_to_be32(LPFC_FC4_TYPE_BITMASK); cpu_to_be32 1727 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rnn.PortId = cpu_to_be32(vport->fc_myDID); cpu_to_be32 1737 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rspn.PortId = cpu_to_be32(vport->fc_myDID); cpu_to_be32 1760 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.da_id.port_id = cpu_to_be32(vport->fc_myDID); cpu_to_be32 1767 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rff.PortId = cpu_to_be32(vport->fc_myDID); cpu_to_be32 2289 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(LPFC_MAX_CT_SIZE); cpu_to_be32 2325 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(0); cpu_to_be32 2342 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(1); cpu_to_be32 2399 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(0); cpu_to_be32 2501 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(ae->un.AttrInt); cpu_to_be32 2571 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(ae->un.AttrInt); cpu_to_be32 2591 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(ae->un.AttrInt); cpu_to_be32 2705 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(LPFC_FDMI_PORTTYPE_NLPORT); cpu_to_be32 2707 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(LPFC_FDMI_PORTTYPE_NPORT); cpu_to_be32 2722 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(FC_COS_CLASS2 | FC_COS_CLASS3); cpu_to_be32 2780 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(LPFC_FDMI_PORTSTATE_ONLINE); cpu_to_be32 2796 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(vport->fdmi_num_disc); cpu_to_be32 2811 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(vport->fc_myDID); cpu_to_be32 2913 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(2); /* NPIV */ cpu_to_be32 2915 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(1); /* Physical */ cpu_to_be32 2930 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(0); cpu_to_be32 2945 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(1); cpu_to_be32 3091 drivers/scsi/lpfc/lpfc_ct.c rh->rpl.EntryCnt = cpu_to_be32(1); cpu_to_be32 3126 drivers/scsi/lpfc/lpfc_ct.c ab->EntryCnt = cpu_to_be32(ab->EntryCnt); cpu_to_be32 3171 drivers/scsi/lpfc/lpfc_ct.c pab->ab.EntryCnt = cpu_to_be32(pab->ab.EntryCnt); cpu_to_be32 2203 drivers/scsi/lpfc/lpfc_els.c sp->un.vv.vid = cpu_to_be32(LPFC_VV_EMLX_ID); cpu_to_be32 2204 drivers/scsi/lpfc/lpfc_els.c sp->un.vv.flags = cpu_to_be32(LPFC_VV_SUPPRESS_RSP); cpu_to_be32 2466 drivers/scsi/lpfc/lpfc_els.c npr_nvme->word1 = cpu_to_be32(npr_nvme->word1); cpu_to_be32 2467 drivers/scsi/lpfc/lpfc_els.c npr_nvme->word4 = cpu_to_be32(npr_nvme->word4); cpu_to_be32 4586 drivers/scsi/lpfc/lpfc_els.c sp->un.vv.vid = cpu_to_be32(LPFC_VV_EMLX_ID); cpu_to_be32 4588 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(LPFC_VV_SUPPRESS_RSP); cpu_to_be32 4936 drivers/scsi/lpfc/lpfc_els.c npr_nvme->word1 = cpu_to_be32(npr_nvme->word1); cpu_to_be32 4937 drivers/scsi/lpfc/lpfc_els.c npr_nvme->word4 = cpu_to_be32(npr_nvme->word4); cpu_to_be32 4938 drivers/scsi/lpfc/lpfc_els.c npr_nvme->word5 = cpu_to_be32(npr_nvme->word5); cpu_to_be32 5289 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_LINK_SERVICE_DESC_TAG); cpu_to_be32 5291 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->payload)); cpu_to_be32 5310 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_SFP_DESC_TAG); cpu_to_be32 5356 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->sfp_info)); cpu_to_be32 5367 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_LINK_ERROR_STATUS_DESC_TAG); cpu_to_be32 5371 drivers/scsi/lpfc/lpfc_els.c desc->info.port_type = cpu_to_be32(type); cpu_to_be32 5374 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->linkFailureCnt); cpu_to_be32 5376 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->lossSyncCnt); cpu_to_be32 5378 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->lossSignalCnt); cpu_to_be32 5380 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->primSeqErrCnt); cpu_to_be32 5382 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->invalidXmitWord); cpu_to_be32 5383 drivers/scsi/lpfc/lpfc_els.c desc->info.link_status.invalid_crc_cnt = cpu_to_be32(stat->crcCnt); cpu_to_be32 5385 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->info)); cpu_to_be32 5396 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_BBC_DESC_TAG); cpu_to_be32 5400 drivers/scsi/lpfc/lpfc_els.c desc->bbc_info.port_bbc = cpu_to_be32(bbCredit); cpu_to_be32 5404 drivers/scsi/lpfc/lpfc_els.c desc->bbc_info.attached_port_bbc = cpu_to_be32(bbCredit); cpu_to_be32 5410 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->bbc_info)); cpu_to_be32 5421 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_OED_DESC_TAG); cpu_to_be32 5438 drivers/scsi/lpfc/lpfc_els.c desc->oed_info.function_flags = cpu_to_be32(flags); cpu_to_be32 5439 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->oed_info)); cpu_to_be32 5450 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_OED_DESC_TAG); cpu_to_be32 5467 drivers/scsi/lpfc/lpfc_els.c desc->oed_info.function_flags = cpu_to_be32(flags); cpu_to_be32 5468 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->oed_info)); cpu_to_be32 5479 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_OED_DESC_TAG); cpu_to_be32 5496 drivers/scsi/lpfc/lpfc_els.c desc->oed_info.function_flags = cpu_to_be32(flags); cpu_to_be32 5497 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->oed_info)); cpu_to_be32 5508 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_OED_DESC_TAG); cpu_to_be32 5525 drivers/scsi/lpfc/lpfc_els.c desc->oed_info.function_flags = cpu_to_be32(flags); cpu_to_be32 5526 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->oed_info)); cpu_to_be32 5538 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_OED_DESC_TAG); cpu_to_be32 5555 drivers/scsi/lpfc/lpfc_els.c desc->oed_info.function_flags = cpu_to_be32(flags); cpu_to_be32 5556 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->oed_info)); cpu_to_be32 5564 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_OPD_DESC_TAG); cpu_to_be32 5570 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->opd_info)); cpu_to_be32 5579 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_FEC_DESC_TAG); cpu_to_be32 5582 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->fecCorrBlkCount); cpu_to_be32 5584 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->fecUncorrBlkCount); cpu_to_be32 5586 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->info)); cpu_to_be32 5597 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_PORT_SPEED_DESC_TAG); cpu_to_be32 5656 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->info)); cpu_to_be32 5665 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_PORT_NAMES_DESC_TAG); cpu_to_be32 5673 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->port_names)); cpu_to_be32 5682 drivers/scsi/lpfc/lpfc_els.c desc->tag = cpu_to_be32(RDP_PORT_NAMES_DESC_TAG); cpu_to_be32 5697 drivers/scsi/lpfc/lpfc_els.c desc->length = cpu_to_be32(sizeof(desc->port_names)); cpu_to_be32 5789 drivers/scsi/lpfc/lpfc_els.c rdp_res->length = cpu_to_be32(len - 8); cpu_to_be32 6592 drivers/scsi/lpfc/lpfc_els.c *cmd |= cpu_to_be32(payload_len + length); cpu_to_be32 7106 drivers/scsi/lpfc/lpfc_els.c rls_rsp->linkFailureCnt = cpu_to_be32(mb->un.varRdLnk.linkFailureCnt); cpu_to_be32 7107 drivers/scsi/lpfc/lpfc_els.c rls_rsp->lossSyncCnt = cpu_to_be32(mb->un.varRdLnk.lossSyncCnt); cpu_to_be32 7108 drivers/scsi/lpfc/lpfc_els.c rls_rsp->lossSignalCnt = cpu_to_be32(mb->un.varRdLnk.lossSignalCnt); cpu_to_be32 7109 drivers/scsi/lpfc/lpfc_els.c rls_rsp->primSeqErrCnt = cpu_to_be32(mb->un.varRdLnk.primSeqErrCnt); cpu_to_be32 7110 drivers/scsi/lpfc/lpfc_els.c rls_rsp->invalidXmitWord = cpu_to_be32(mb->un.varRdLnk.invalidXmitWord); cpu_to_be32 7111 drivers/scsi/lpfc/lpfc_els.c rls_rsp->crcCnt = cpu_to_be32(mb->un.varRdLnk.crcCnt); cpu_to_be32 7202 drivers/scsi/lpfc/lpfc_els.c rps_rsp->linkFailureCnt = cpu_to_be32(mb->un.varRdLnk.linkFailureCnt); cpu_to_be32 7203 drivers/scsi/lpfc/lpfc_els.c rps_rsp->lossSyncCnt = cpu_to_be32(mb->un.varRdLnk.lossSyncCnt); cpu_to_be32 7204 drivers/scsi/lpfc/lpfc_els.c rps_rsp->lossSignalCnt = cpu_to_be32(mb->un.varRdLnk.lossSignalCnt); cpu_to_be32 7205 drivers/scsi/lpfc/lpfc_els.c rps_rsp->primSeqErrCnt = cpu_to_be32(mb->un.varRdLnk.primSeqErrCnt); cpu_to_be32 7206 drivers/scsi/lpfc/lpfc_els.c rps_rsp->invalidXmitWord = cpu_to_be32(mb->un.varRdLnk.invalidXmitWord); cpu_to_be32 7207 drivers/scsi/lpfc/lpfc_els.c rps_rsp->crcCnt = cpu_to_be32(mb->un.varRdLnk.crcCnt); cpu_to_be32 7339 drivers/scsi/lpfc/lpfc_els.c rtv_rsp->ratov = cpu_to_be32(phba->fc_ratov * 1000); /* report msecs */ cpu_to_be32 7340 drivers/scsi/lpfc/lpfc_els.c rtv_rsp->edtov = cpu_to_be32(phba->fc_edtov); cpu_to_be32 7343 drivers/scsi/lpfc/lpfc_els.c rtv_rsp->qtov = cpu_to_be32(rtv_rsp->qtov); cpu_to_be32 7494 drivers/scsi/lpfc/lpfc_els.c els_rrq->rrq = cpu_to_be32(els_rrq->rrq); cpu_to_be32 7495 drivers/scsi/lpfc/lpfc_els.c els_rrq->rrq_exchg = cpu_to_be32(els_rrq->rrq_exchg); cpu_to_be32 145 drivers/scsi/lpfc/lpfc_init.c *ptext = cpu_to_be32(*ptext); cpu_to_be32 383 drivers/scsi/lpfc/lpfc_init.c (vvvl == 1 && cpu_to_be32(*fawwpn_key) == FAPWWN_KEY_VENDOR) || cpu_to_be32 388 drivers/scsi/lpfc/lpfc_init.c if (vvvl == 1 && cpu_to_be32(*fawwpn_key) == FAPWWN_KEY_VENDOR) cpu_to_be32 1051 drivers/scsi/lpfc/lpfc_nvme.c ep->xfrd_len = cpu_to_be32(nCmd->payload_length); cpu_to_be32 2813 drivers/scsi/lpfc/lpfc_nvmet.c txrdy[1] = cpu_to_be32(rsp->transfer_length); cpu_to_be32 949 drivers/scsi/lpfc/lpfc_scsi.c fcp_cmnd->fcpDl = cpu_to_be32(scsi_bufflen(scsi_cmnd)); cpu_to_be32 1082 drivers/scsi/lpfc/lpfc_scsi.c src->ref_tag = cpu_to_be32(0xDEADBEEF); cpu_to_be32 3220 drivers/scsi/lpfc/lpfc_scsi.c fcp_cmnd->fcpDl = cpu_to_be32(scsi_bufflen(scsi_cmnd)); cpu_to_be32 4064 drivers/scsi/lpfc/lpfc_scsi.c ((uint32_t *)data)[j] = cpu_to_be32(((uint32_t *)fcp_cmnd)[j]); cpu_to_be32 2415 drivers/scsi/megaraid/megaraid_sas_fusion.c cpu_to_be32(ref_tag); cpu_to_be32 4577 drivers/scsi/mpt3sas/mpt3sas_scsih.c cpu_to_be32(t10_pi_ref_tag(scmd->request)); cpu_to_be32 352 drivers/scsi/ncr53c8xx.h #define cpu_to_scr(dw) cpu_to_be32(dw) cpu_to_be32 1051 drivers/scsi/pmcraid.c __be32 hrrq_size = cpu_to_be32(sizeof(u32) * PMCRAID_MAX_CMD); cpu_to_be32 5426 drivers/scsi/pmcraid.c __be32 time_stamp_len = cpu_to_be32(PMCRAID_TIMESTAMP_LEN); cpu_to_be32 5602 drivers/scsi/pmcraid.c __be32 cfg_table_size = cpu_to_be32(sizeof(struct pmcraid_config_table)); cpu_to_be32 668 drivers/scsi/qedf/qedf_io.c tmp_fcp_cmnd[i] = cpu_to_be32(tmp_fcp_cmnd[i]); cpu_to_be32 51 drivers/scsi/qedi/qedi_fw.c resp_hdr->statsn = cpu_to_be32(cqe_logout_response->stat_sn); cpu_to_be32 52 drivers/scsi/qedi/qedi_fw.c resp_hdr->exp_cmdsn = cpu_to_be32(cqe_logout_response->exp_cmd_sn); cpu_to_be32 53 drivers/scsi/qedi/qedi_fw.c resp_hdr->max_cmdsn = cpu_to_be32(cqe_logout_response->max_cmd_sn); cpu_to_be32 55 drivers/scsi/qedi/qedi_fw.c resp_hdr->t2wait = cpu_to_be32(cqe_logout_response->time_2_wait); cpu_to_be32 56 drivers/scsi/qedi/qedi_fw.c resp_hdr->t2retain = cpu_to_be32(cqe_logout_response->time_2_retain); cpu_to_be32 111 drivers/scsi/qedi/qedi_fw.c resp_hdr_ptr->statsn = cpu_to_be32(cqe_text_response->stat_sn); cpu_to_be32 112 drivers/scsi/qedi/qedi_fw.c resp_hdr_ptr->exp_cmdsn = cpu_to_be32(cqe_text_response->exp_cmd_sn); cpu_to_be32 113 drivers/scsi/qedi/qedi_fw.c resp_hdr_ptr->max_cmdsn = cpu_to_be32(cqe_text_response->max_cmd_sn); cpu_to_be32 219 drivers/scsi/qedi/qedi_fw.c resp_hdr_ptr->statsn = cpu_to_be32(cqe_tmp_response->stat_sn); cpu_to_be32 220 drivers/scsi/qedi/qedi_fw.c resp_hdr_ptr->exp_cmdsn = cpu_to_be32(cqe_tmp_response->exp_cmd_sn); cpu_to_be32 221 drivers/scsi/qedi/qedi_fw.c resp_hdr_ptr->max_cmdsn = cpu_to_be32(cqe_tmp_response->max_cmd_sn); cpu_to_be32 282 drivers/scsi/qedi/qedi_fw.c resp_hdr_ptr->statsn = cpu_to_be32(cqe_login_response->stat_sn); cpu_to_be32 283 drivers/scsi/qedi/qedi_fw.c resp_hdr_ptr->exp_cmdsn = cpu_to_be32(cqe_login_response->exp_cmd_sn); cpu_to_be32 284 drivers/scsi/qedi/qedi_fw.c resp_hdr_ptr->max_cmdsn = cpu_to_be32(cqe_login_response->max_cmd_sn); cpu_to_be32 428 drivers/scsi/qedi/qedi_fw.c hdr->max_cmdsn = cpu_to_be32(cqe_nop_in->max_cmd_sn); cpu_to_be32 429 drivers/scsi/qedi/qedi_fw.c hdr->exp_cmdsn = cpu_to_be32(cqe_nop_in->exp_cmd_sn); cpu_to_be32 430 drivers/scsi/qedi/qedi_fw.c hdr->statsn = cpu_to_be32(cqe_nop_in->stat_sn); cpu_to_be32 431 drivers/scsi/qedi/qedi_fw.c hdr->ttt = cpu_to_be32(cqe_nop_in->ttt); cpu_to_be32 508 drivers/scsi/qedi/qedi_fw.c lun[0] = cpu_to_be32(cqe_async_msg->lun.lo); cpu_to_be32 509 drivers/scsi/qedi/qedi_fw.c lun[1] = cpu_to_be32(cqe_async_msg->lun.hi); cpu_to_be32 511 drivers/scsi/qedi/qedi_fw.c resp_hdr->exp_cmdsn = cpu_to_be32(cqe_async_msg->exp_cmd_sn); cpu_to_be32 512 drivers/scsi/qedi/qedi_fw.c resp_hdr->max_cmdsn = cpu_to_be32(cqe_async_msg->max_cmd_sn); cpu_to_be32 513 drivers/scsi/qedi/qedi_fw.c resp_hdr->statsn = cpu_to_be32(cqe_async_msg->stat_sn); cpu_to_be32 560 drivers/scsi/qedi/qedi_fw.c hdr->max_cmdsn = cpu_to_be32(cqe_reject->max_cmd_sn); cpu_to_be32 561 drivers/scsi/qedi/qedi_fw.c hdr->exp_cmdsn = cpu_to_be32(cqe_reject->exp_cmd_sn); cpu_to_be32 562 drivers/scsi/qedi/qedi_fw.c hdr->statsn = cpu_to_be32(cqe_reject->stat_sn); cpu_to_be32 563 drivers/scsi/qedi/qedi_fw.c hdr->ffffffff = cpu_to_be32(0xffffffff); cpu_to_be32 625 drivers/scsi/qedi/qedi_fw.c hdr->max_cmdsn = cpu_to_be32(cqe_data_in->max_cmd_sn); cpu_to_be32 626 drivers/scsi/qedi/qedi_fw.c hdr->exp_cmdsn = cpu_to_be32(cqe_data_in->exp_cmd_sn); cpu_to_be32 631 drivers/scsi/qedi/qedi_fw.c hdr->residual_count = cpu_to_be32(cqe_data_in->residual_count); cpu_to_be32 649 drivers/scsi/qedi/qedi_fw.c hdr->residual_count = cpu_to_be32(scsi_bufflen(sc_cmd)); cpu_to_be32 1963 drivers/scsi/qedi/qedi_fw.c *dstp = cpu_to_be32(dword); cpu_to_be32 1969 drivers/scsi/qedi/qedi_fw.c *dstp = cpu_to_be32(dword); cpu_to_be32 2102 drivers/scsi/qedi/qedi_fw.c cmd_pdu_header.expected_transfer_length = cpu_to_be32(hdr->data_length); cpu_to_be32 509 drivers/scsi/qla2xxx/qla_dbg.c c->type = cpu_to_be32(DUMP_CHAIN_EXLOGIN); cpu_to_be32 510 drivers/scsi/qla2xxx/qla_dbg.c c->chain_size = cpu_to_be32(sizeof(struct qla2xxx_offld_chain) + cpu_to_be32 512 drivers/scsi/qla2xxx/qla_dbg.c c->size = cpu_to_be32(ha->exlogin_size); cpu_to_be32 518 drivers/scsi/qla2xxx/qla_dbg.c return (char *)ptr + cpu_to_be32(c->size); cpu_to_be32 531 drivers/scsi/qla2xxx/qla_dbg.c c->type = cpu_to_be32(DUMP_CHAIN_EXCHG); cpu_to_be32 532 drivers/scsi/qla2xxx/qla_dbg.c c->chain_size = cpu_to_be32(sizeof(struct qla2xxx_offld_chain) + cpu_to_be32 534 drivers/scsi/qla2xxx/qla_dbg.c c->size = cpu_to_be32(ha->exchoffld_size); cpu_to_be32 540 drivers/scsi/qla2xxx/qla_dbg.c return (char *)ptr + cpu_to_be32(c->size); cpu_to_be32 1534 drivers/scsi/qla2xxx/qla_gs.c ct_req->req.rhba.entry_count = cpu_to_be32(1); cpu_to_be32 1540 drivers/scsi/qla2xxx/qla_gs.c cpu_to_be32(FDMI_HBA_ATTR_COUNT); cpu_to_be32 1749 drivers/scsi/qla2xxx/qla_gs.c ct_req->req.rpa.attrs.count = cpu_to_be32(FDMI_PORT_ATTR_COUNT); cpu_to_be32 1769 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 1772 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 1777 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 1782 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 1788 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 1793 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 1797 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 1811 drivers/scsi/qla2xxx/qla_gs.c cpu_to_be32(FDMI_PORT_SPEED_1GB); cpu_to_be32 1815 drivers/scsi/qla2xxx/qla_gs.c cpu_to_be32(FDMI_PORT_SPEED_2GB); cpu_to_be32 1819 drivers/scsi/qla2xxx/qla_gs.c cpu_to_be32(FDMI_PORT_SPEED_4GB); cpu_to_be32 1823 drivers/scsi/qla2xxx/qla_gs.c cpu_to_be32(FDMI_PORT_SPEED_8GB); cpu_to_be32 1827 drivers/scsi/qla2xxx/qla_gs.c cpu_to_be32(FDMI_PORT_SPEED_10GB); cpu_to_be32 1831 drivers/scsi/qla2xxx/qla_gs.c cpu_to_be32(FDMI_PORT_SPEED_16GB); cpu_to_be32 1835 drivers/scsi/qla2xxx/qla_gs.c cpu_to_be32(FDMI_PORT_SPEED_32GB); cpu_to_be32 1839 drivers/scsi/qla2xxx/qla_gs.c cpu_to_be32(FDMI_PORT_SPEED_UNKNOWN); cpu_to_be32 1854 drivers/scsi/qla2xxx/qla_gs.c eiter->a.max_frame_size = cpu_to_be32(eiter->a.max_frame_size); cpu_to_be32 1957 drivers/scsi/qla2xxx/qla_gs.c ct_req->req.rhba2.entry_count = cpu_to_be32(1); cpu_to_be32 1962 drivers/scsi/qla2xxx/qla_gs.c ct_req->req.rhba2.attrs.count = cpu_to_be32(FDMIV2_HBA_ATTR_COUNT); cpu_to_be32 2122 drivers/scsi/qla2xxx/qla_gs.c eiter->a.max_ct_len = cpu_to_be32(ha->frame_payload_size); cpu_to_be32 2123 drivers/scsi/qla2xxx/qla_gs.c eiter->a.max_ct_len = cpu_to_be32(eiter->a.max_ct_len); cpu_to_be32 2146 drivers/scsi/qla2xxx/qla_gs.c eiter->a.vendor_id = cpu_to_be32(0x1077); cpu_to_be32 2156 drivers/scsi/qla2xxx/qla_gs.c eiter->a.num_ports = cpu_to_be32(1); cpu_to_be32 2321 drivers/scsi/qla2xxx/qla_gs.c ct_req->req.rpa2.attrs.count = cpu_to_be32(FDMIV2_PORT_ATTR_COUNT); cpu_to_be32 2348 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 2351 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 2356 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 2361 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 2367 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 2372 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 2376 drivers/scsi/qla2xxx/qla_gs.c eiter->a.sup_speed = cpu_to_be32( cpu_to_be32 2389 drivers/scsi/qla2xxx/qla_gs.c eiter->a.cur_speed = cpu_to_be32(FDMI_PORT_SPEED_1GB); cpu_to_be32 2392 drivers/scsi/qla2xxx/qla_gs.c eiter->a.cur_speed = cpu_to_be32(FDMI_PORT_SPEED_2GB); cpu_to_be32 2395 drivers/scsi/qla2xxx/qla_gs.c eiter->a.cur_speed = cpu_to_be32(FDMI_PORT_SPEED_4GB); cpu_to_be32 2398 drivers/scsi/qla2xxx/qla_gs.c eiter->a.cur_speed = cpu_to_be32(FDMI_PORT_SPEED_8GB); cpu_to_be32 2401 drivers/scsi/qla2xxx/qla_gs.c eiter->a.cur_speed = cpu_to_be32(FDMI_PORT_SPEED_10GB); cpu_to_be32 2404 drivers/scsi/qla2xxx/qla_gs.c eiter->a.cur_speed = cpu_to_be32(FDMI_PORT_SPEED_16GB); cpu_to_be32 2407 drivers/scsi/qla2xxx/qla_gs.c eiter->a.cur_speed = cpu_to_be32(FDMI_PORT_SPEED_32GB); cpu_to_be32 2410 drivers/scsi/qla2xxx/qla_gs.c eiter->a.cur_speed = cpu_to_be32(FDMI_PORT_SPEED_UNKNOWN); cpu_to_be32 2425 drivers/scsi/qla2xxx/qla_gs.c eiter->a.max_frame_size = cpu_to_be32(eiter->a.max_frame_size); cpu_to_be32 2499 drivers/scsi/qla2xxx/qla_gs.c eiter->a.port_type = cpu_to_be32(NS_NX_PORT_TYPE); cpu_to_be32 2509 drivers/scsi/qla2xxx/qla_gs.c eiter->a.port_supported_cos = cpu_to_be32(FC_CLASS_3); cpu_to_be32 2552 drivers/scsi/qla2xxx/qla_gs.c eiter->a.port_state = cpu_to_be32(1); cpu_to_be32 2562 drivers/scsi/qla2xxx/qla_gs.c eiter->a.num_ports = cpu_to_be32(1); cpu_to_be32 2572 drivers/scsi/qla2xxx/qla_gs.c eiter->a.port_id = cpu_to_be32(vha->d_id.b24); cpu_to_be32 5061 drivers/scsi/qla2xxx/qla_init.c *bp = cpu_to_be32(*bp); cpu_to_be32 2837 drivers/scsi/qla2xxx/qla_target.c cpu_to_be32(((uint32_t *)prm->sense_buffer)[i]); cpu_to_be32 52 drivers/scsi/ufs/ufs.h cpu_to_be32((byte3 << 24) | (byte2 << 16) |\ cpu_to_be32 2258 drivers/scsi/ufs/ufshcd.c cpu_to_be32(lrbp->cmd->sdb.length); cpu_to_be32 2875 drivers/scsi/ufs/ufshcd.c request->upiu_req.value = cpu_to_be32(*attr_val); cpu_to_be32 5681 drivers/scsi/ufs/ufshcd.c treq->req_header.dword_0 |= cpu_to_be32(task_tag); cpu_to_be32 5752 drivers/scsi/ufs/ufshcd.c treq.req_header.dword_0 = cpu_to_be32(lun_id << 8) | cpu_to_be32 5753 drivers/scsi/ufs/ufshcd.c cpu_to_be32(UPIU_TRANSACTION_TASK_REQ << 24); cpu_to_be32 5754 drivers/scsi/ufs/ufshcd.c treq.req_header.dword_1 = cpu_to_be32(tm_function << 16); cpu_to_be32 5760 drivers/scsi/ufs/ufshcd.c treq.input_param1 = cpu_to_be32(lun_id); cpu_to_be32 5761 drivers/scsi/ufs/ufshcd.c treq.input_param2 = cpu_to_be32(task_id); cpu_to_be32 5835 drivers/scsi/ufs/ufshcd.c req_upiu->header.dword_0 |= cpu_to_be32(tag); cpu_to_be32 127 drivers/sh/maple/maple.c dev->function = cpu_to_be32(function); cpu_to_be32 169 drivers/sh/maple/maple.c ((__be32 *)sendbuf)[0] = cpu_to_be32(function); cpu_to_be32 320 drivers/sh/maple/maple.c if (mdev->devinfo.function & cpu_to_be32(maple_drv->function)) cpu_to_be32 759 drivers/sh/maple/maple.c cpu_to_be32(maple_drv->function)) cpu_to_be32 75 drivers/soc/fsl/qbman/dpaa_sys.c res_array[0] = cpu_to_be32(upper_32_bits(*addr)); cpu_to_be32 76 drivers/soc/fsl/qbman/dpaa_sys.c res_array[1] = cpu_to_be32(lower_32_bits(*addr)); cpu_to_be32 77 drivers/soc/fsl/qbman/dpaa_sys.c res_array[2] = cpu_to_be32(upper_32_bits(*size)); cpu_to_be32 78 drivers/soc/fsl/qbman/dpaa_sys.c res_array[3] = cpu_to_be32(lower_32_bits(*size)); cpu_to_be32 1896 drivers/soc/fsl/qbman/qman.c mcc->initfq.fqd.context_b = cpu_to_be32(fq_to_tag(fq)); cpu_to_be32 2072 drivers/soc/fsl/qbman/qman.c msg.fq.context_b = cpu_to_be32(fq_to_tag(fq)); cpu_to_be32 2341 drivers/soc/fsl/qbman/qman.c eq->tag = cpu_to_be32(fq_to_tag(fq)); cpu_to_be32 2391 drivers/soc/fsl/qbman/qman.c cgr->cscn_targ = cpu_to_be32(val | QM_CGR_TARG_PORTAL(pi)); cpu_to_be32 2399 drivers/soc/fsl/qbman/qman.c cgr->cscn_targ = cpu_to_be32(val & ~QM_CGR_TARG_PORTAL(pi)); cpu_to_be32 68 drivers/soc/fsl/qbman/qman_test_api.c fd->cmd = cpu_to_be32(0xfeedf00d); cpu_to_be32 89 drivers/soc/fsl/qbman/qman_test_api.c fd->cmd = cpu_to_be32(be32_to_cpu(fd->cmd) + 1); cpu_to_be32 238 drivers/soc/fsl/qe/ucc_slow.c out_be32((u32 *) bd, cpu_to_be32(T_W)); cpu_to_be32 250 drivers/soc/fsl/qe/ucc_slow.c out_be32((u32*)bd, cpu_to_be32(R_W)); cpu_to_be32 624 drivers/spi/spi-fsl-qspi.c mask = (u32)cpu_to_be32(mask); cpu_to_be32 293 drivers/spi/spi-imx.c val = cpu_to_be32(val); cpu_to_be32 349 drivers/spi/spi-imx.c val = cpu_to_be32(val); cpu_to_be32 415 drivers/spi/spi-imx.c val = cpu_to_be32(val); cpu_to_be32 453 drivers/spi/spi-nxp-fspi.c mask = (u32)cpu_to_be32(mask); cpu_to_be32 471 drivers/spi/spi-sirf.c cmd = cpu_to_be32(cmd) >> cpu_to_be32 72 drivers/spi/spi-slave-time.c priv->buf[0] = cpu_to_be32(ts); cpu_to_be32 73 drivers/spi/spi-slave-time.c priv->buf[1] = cpu_to_be32(rem_us); cpu_to_be32 269 drivers/spi/spi-ti-qspi.c data = cpu_to_be32(*txp++); cpu_to_be32 272 drivers/spi/spi-ti-qspi.c data = cpu_to_be32(*txp++); cpu_to_be32 275 drivers/spi/spi-ti-qspi.c data = cpu_to_be32(*txp++); cpu_to_be32 278 drivers/spi/spi-ti-qspi.c data = cpu_to_be32(*txp++); cpu_to_be32 283 drivers/staging/comedi/drivers/ni_usb6501.c *((__be32 *)&tx[12]) = cpu_to_be32(*val); cpu_to_be32 1582 drivers/staging/fwserial/fwserial.c params->status_hi = cpu_to_be32(status_addr >> 32); cpu_to_be32 1583 drivers/staging/fwserial/fwserial.c params->status_lo = cpu_to_be32(status_addr); cpu_to_be32 1584 drivers/staging/fwserial/fwserial.c params->fifo_hi = cpu_to_be32(fifo_addr >> 32); cpu_to_be32 1585 drivers/staging/fwserial/fwserial.c params->fifo_lo = cpu_to_be32(fifo_addr); cpu_to_be32 1586 drivers/staging/fwserial/fwserial.c params->fifo_len = cpu_to_be32(fifo_len); cpu_to_be32 28 drivers/staging/gdm724x/gdm_endian.c return (__force __dev32)cpu_to_be32(x); cpu_to_be32 195 drivers/staging/iio/adc/ad7280a.c st->buf[0] = cpu_to_be32(AD7280A_READ_TXVAL); cpu_to_be32 213 drivers/staging/iio/adc/ad7280a.c st->buf[0] = cpu_to_be32(reg); cpu_to_be32 212 drivers/staging/iio/impedance-analyzer/ad5933.c dat.d32 = cpu_to_be32(freqreg); cpu_to_be32 1152 drivers/target/iscsi/cxgbit/cxgbit_cm.c OPCODE_TID(rpl5) = cpu_to_be32(MK_OPCODE_TID(CPL_PASS_ACCEPT_RPL, cpu_to_be32 1204 drivers/target/iscsi/cxgbit/cxgbit_cm.c rpl5->iss = cpu_to_be32((prandom_u32() & ~7UL) - 1); cpu_to_be32 1209 drivers/target/iscsi/cxgbit/cxgbit_cm.c rpl5->opt2 = cpu_to_be32(opt2); cpu_to_be32 1433 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->op_to_nparams = cpu_to_be32(FW_WR_OP_V(FW_FLOWC_WR) | cpu_to_be32 1435 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(flowclen16) | cpu_to_be32 1438 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[0].val = cpu_to_be32(FW_PFVF_CMD_PFN_V cpu_to_be32 1441 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[1].val = cpu_to_be32(csk->tx_chan); cpu_to_be32 1443 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[2].val = cpu_to_be32(csk->tx_chan); cpu_to_be32 1445 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[3].val = cpu_to_be32(csk->rss_qid); cpu_to_be32 1447 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[4].val = cpu_to_be32(csk->snd_nxt); cpu_to_be32 1449 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[5].val = cpu_to_be32(csk->rcv_nxt); cpu_to_be32 1451 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[6].val = cpu_to_be32(csk->snd_win); cpu_to_be32 1453 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[7].val = cpu_to_be32(csk->emss); cpu_to_be32 1457 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[8].val = cpu_to_be32(CXGBIT_MAX_ISO_PAYLOAD); cpu_to_be32 1459 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[8].val = cpu_to_be32(16384); cpu_to_be32 1465 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[index].val = cpu_to_be32(csk->snd_wscale); cpu_to_be32 1473 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[index].val = cpu_to_be32(0); cpu_to_be32 1475 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[index].val = cpu_to_be32( cpu_to_be32 184 drivers/target/iscsi/cxgbit/cxgbit_target.c req->op_to_immdlen = cpu_to_be32(FW_WR_OP_V(opcode) | cpu_to_be32 187 drivers/target/iscsi/cxgbit/cxgbit_target.c req->flowid_len16 = cpu_to_be32(FW_WR_FLOWID_V(csk->tid) | cpu_to_be32 1125 drivers/target/iscsi/cxgbit/cxgbit_target.c if (payload_length && hdr->ttt == cpu_to_be32(0xFFFFFFFF)) { cpu_to_be32 1231 drivers/target/iscsi/cxgbit/cxgbit_target.c if (hdr->ttt == cpu_to_be32(0xFFFFFFFF)) { cpu_to_be32 1248 drivers/target/iscsi/cxgbit/cxgbit_target.c if (hdr->ttt != cpu_to_be32(0xFFFFFFFF)) { cpu_to_be32 1751 drivers/target/iscsi/iscsi_target.c if (hdr->ttt == cpu_to_be32(0xFFFFFFFF)) { cpu_to_be32 1804 drivers/target/iscsi/iscsi_target.c if (hdr->ttt != cpu_to_be32(0xFFFFFFFF)) { cpu_to_be32 1844 drivers/target/iscsi/iscsi_target.c if (payload_length && hdr->ttt == cpu_to_be32(0xFFFFFFFF)) { cpu_to_be32 1991 drivers/target/iscsi/iscsi_target.c hdr->refcmdsn = cpu_to_be32(ISCSI_RESERVED_TAG); cpu_to_be32 2744 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(cmd->stat_sn); cpu_to_be32 2745 drivers/target/iscsi/iscsi_target.c hdr->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 2746 drivers/target/iscsi/iscsi_target.c hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 2779 drivers/target/iscsi/iscsi_target.c hdr->residual_count = cpu_to_be32(cmd->se_cmd.residual_count); cpu_to_be32 2782 drivers/target/iscsi/iscsi_target.c hdr->residual_count = cpu_to_be32(cmd->se_cmd.residual_count); cpu_to_be32 2795 drivers/target/iscsi/iscsi_target.c hdr->ttt = cpu_to_be32(cmd->targ_xfer_tag); cpu_to_be32 2797 drivers/target/iscsi/iscsi_target.c hdr->ttt = cpu_to_be32(0xFFFFFFFF); cpu_to_be32 2799 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(cmd->stat_sn); cpu_to_be32 2801 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(0xFFFFFFFF); cpu_to_be32 2803 drivers/target/iscsi/iscsi_target.c hdr->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 2804 drivers/target/iscsi/iscsi_target.c hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 2805 drivers/target/iscsi/iscsi_target.c hdr->datasn = cpu_to_be32(datain->data_sn); cpu_to_be32 2806 drivers/target/iscsi/iscsi_target.c hdr->offset = cpu_to_be32(datain->offset); cpu_to_be32 2955 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(cmd->stat_sn); cpu_to_be32 2958 drivers/target/iscsi/iscsi_target.c hdr->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 2959 drivers/target/iscsi/iscsi_target.c hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 2993 drivers/target/iscsi/iscsi_target.c hdr->ttt = cpu_to_be32(cmd->targ_xfer_tag); cpu_to_be32 2996 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(cmd->stat_sn); cpu_to_be32 3001 drivers/target/iscsi/iscsi_target.c hdr->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 3002 drivers/target/iscsi/iscsi_target.c hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 3080 drivers/target/iscsi/iscsi_target.c hdr->ttt = cpu_to_be32(r2t->targ_xfer_tag); cpu_to_be32 3081 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(conn->stat_sn); cpu_to_be32 3082 drivers/target/iscsi/iscsi_target.c hdr->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 3083 drivers/target/iscsi/iscsi_target.c hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 3084 drivers/target/iscsi/iscsi_target.c hdr->r2tsn = cpu_to_be32(r2t->r2t_sn); cpu_to_be32 3085 drivers/target/iscsi/iscsi_target.c hdr->data_offset = cpu_to_be32(r2t->offset); cpu_to_be32 3086 drivers/target/iscsi/iscsi_target.c hdr->data_length = cpu_to_be32(r2t->xfer_len); cpu_to_be32 3211 drivers/target/iscsi/iscsi_target.c hdr->residual_count = cpu_to_be32(cmd->se_cmd.residual_count); cpu_to_be32 3214 drivers/target/iscsi/iscsi_target.c hdr->residual_count = cpu_to_be32(cmd->se_cmd.residual_count); cpu_to_be32 3219 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(cmd->stat_sn); cpu_to_be32 3222 drivers/target/iscsi/iscsi_target.c hdr->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 3223 drivers/target/iscsi/iscsi_target.c hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 3299 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(cmd->stat_sn); cpu_to_be32 3302 drivers/target/iscsi/iscsi_target.c hdr->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 3303 drivers/target/iscsi/iscsi_target.c hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 3499 drivers/target/iscsi/iscsi_target.c hdr->ttt = cpu_to_be32(cmd->targ_xfer_tag); cpu_to_be32 3501 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(cmd->stat_sn); cpu_to_be32 3510 drivers/target/iscsi/iscsi_target.c hdr->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 3511 drivers/target/iscsi/iscsi_target.c hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 3548 drivers/target/iscsi/iscsi_target.c hdr->ffffffff = cpu_to_be32(0xffffffff); cpu_to_be32 3550 drivers/target/iscsi/iscsi_target.c hdr->statsn = cpu_to_be32(cmd->stat_sn); cpu_to_be32 3551 drivers/target/iscsi/iscsi_target.c hdr->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 3552 drivers/target/iscsi/iscsi_target.c hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 3870 drivers/target/iscsi/iscsi_target.c if (hdr->ttt == cpu_to_be32(0xFFFFFFFF)) { cpu_to_be32 3885 drivers/target/iscsi/iscsi_target.c if (hdr->ttt != cpu_to_be32(0xFFFFFFFF)) { cpu_to_be32 338 drivers/target/iscsi/iscsi_target_nego.c login_rsp->statsn = cpu_to_be32(conn->stat_sn++); cpu_to_be32 339 drivers/target/iscsi/iscsi_target_nego.c login_rsp->exp_cmdsn = cpu_to_be32(conn->sess->exp_cmd_sn); cpu_to_be32 340 drivers/target/iscsi/iscsi_target_nego.c login_rsp->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); cpu_to_be32 277 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 287 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 329 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 342 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 356 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 374 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 401 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 421 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 438 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 447 drivers/target/sbp/sbp_target.c response->misc = cpu_to_be32( cpu_to_be32 450 drivers/target/sbp/sbp_target.c response->reconnect_hold = cpu_to_be32(sess->reconnect_hold & 0xffff); cpu_to_be32 464 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 472 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 484 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 503 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 517 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 526 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 543 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 563 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 575 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 583 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 681 drivers/target/sbp/sbp_target.c *(__be32 *)data = cpu_to_be32(state); cpu_to_be32 874 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 884 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 952 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32(STATUS_BLOCK_ORB_OFFSET_HIGH( cpu_to_be32 954 drivers/target/sbp/sbp_target.c req->status.orb_low = cpu_to_be32( cpu_to_be32 963 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 983 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32(STATUS_BLOCK_SRC( cpu_to_be32 987 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32(STATUS_BLOCK_SRC( cpu_to_be32 1229 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 1382 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 1418 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 1432 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 1499 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 1512 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 1521 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 1530 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 1539 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 1549 drivers/target/sbp/sbp_target.c req->status.status = cpu_to_be32( cpu_to_be32 1556 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 1560 drivers/target/sbp/sbp_target.c req->status.orb_low = cpu_to_be32(agent->orb_offset); cpu_to_be32 1724 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 1757 drivers/target/sbp/sbp_target.c req->status.status |= cpu_to_be32( cpu_to_be32 196 drivers/target/sbp/sbp_target.h ptr->high = cpu_to_be32(addr >> 32); cpu_to_be32 197 drivers/target/sbp/sbp_target.h ptr->low = cpu_to_be32(addr); cpu_to_be32 1271 drivers/target/target_core_sbc.c sdt->ref_tag = cpu_to_be32(sector & 0xffffffff); cpu_to_be32 1258 drivers/target/target_core_spc.c len = cpu_to_be32(lun_count * 8); cpu_to_be32 143 drivers/target/tcm_fc/tfc_cmd.c fcp->ext.fr_resid = cpu_to_be32(se_cmd->residual_count); cpu_to_be32 296 drivers/thunderbolt/ctl.c return cpu_to_be32(~__crc32c_le(~0, data, len)); cpu_to_be32 592 drivers/tty/hvc/hvsi.c packet.mask = cpu_to_be32(HVSI_TSDTR); cpu_to_be32 595 drivers/tty/hvc/hvsi.c packet.word = cpu_to_be32(HVSI_TSDTR); cpu_to_be32 307 drivers/tty/hvc/hvsi_lib.c ctrl.mask = cpu_to_be32(HVSI_TSDTR); cpu_to_be32 308 drivers/tty/hvc/hvsi_lib.c ctrl.word = cpu_to_be32(dtr ? HVSI_TSDTR : 0); cpu_to_be32 231 drivers/tty/serial/ifx6x60.c *buf_32 = cpu_to_be32(*buf_32); cpu_to_be32 996 drivers/usb/atm/ueagle-atm.c bi.dwSize = cpu_to_be32(blocksize); cpu_to_be32 997 drivers/usb/atm/ueagle-atm.c bi.dwAddress = cpu_to_be32(le32_to_cpu(blockidx->PageAddress)); cpu_to_be32 1068 drivers/usb/atm/ueagle-atm.c bi.dwSize = cpu_to_be32(E4_PAGE_BYTES(p->page_header[0].PageSize)); cpu_to_be32 1069 drivers/usb/atm/ueagle-atm.c bi.dwAddress = cpu_to_be32(le32_to_cpu(p->page_header[0].PageAddress)); cpu_to_be32 1195 drivers/usb/atm/ueagle-atm.c cmv.dwData[0] = cpu_to_be32(data); cpu_to_be32 130 drivers/usb/gadget/udc/fsl_udc_core.c ? (__force u32)cpu_to_be32(x) cpu_to_be32 817 drivers/usb/host/ehci.h ? (__force __hc32)cpu_to_be32(x) cpu_to_be32 609 drivers/usb/host/ohci.h (__force __hc32)cpu_to_be32(x) : cpu_to_be32 689 drivers/usb/host/uhci-hcd.h ? (__force __hc32)cpu_to_be32(x) cpu_to_be32 1156 drivers/usb/storage/alauda.c ((__be32 *) ptr)[0] = cpu_to_be32(capacity - 1); cpu_to_be32 1157 drivers/usb/storage/alauda.c ((__be32 *) ptr)[1] = cpu_to_be32(512); cpu_to_be32 587 drivers/usb/storage/datafab.c ((__be32 *) ptr)[0] = cpu_to_be32(info->sectors - 1); cpu_to_be32 588 drivers/usb/storage/datafab.c ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize); cpu_to_be32 1297 drivers/usb/storage/isd200.c readCapacityData.LogicalBlockAddress = cpu_to_be32(capacity); cpu_to_be32 1298 drivers/usb/storage/isd200.c readCapacityData.BytesPerBlock = cpu_to_be32(0x200); cpu_to_be32 517 drivers/usb/storage/jumpshot.c ((__be32 *) ptr)[0] = cpu_to_be32(info->sectors - 1); cpu_to_be32 518 drivers/usb/storage/jumpshot.c ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize); cpu_to_be32 1617 drivers/usb/storage/sddr09.c ((__be32 *) ptr)[0] = cpu_to_be32(capacity); cpu_to_be32 1621 drivers/usb/storage/sddr09.c ((__be32 *) ptr)[1] = cpu_to_be32(info->pagesize); cpu_to_be32 886 drivers/usb/storage/sddr55.c ((__be32 *) ptr)[0] = cpu_to_be32(capacity); cpu_to_be32 887 drivers/usb/storage/sddr55.c ((__be32 *) ptr)[1] = cpu_to_be32(PAGESIZE); cpu_to_be32 1716 drivers/usb/storage/shuttle_usbat.c ((__be32 *) ptr)[0] = cpu_to_be32(info->sectors - 1); cpu_to_be32 1717 drivers/usb/storage/shuttle_usbat.c ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize); cpu_to_be32 418 drivers/usb/usbip/usbip_common.c base->command = cpu_to_be32(base->command); cpu_to_be32 419 drivers/usb/usbip/usbip_common.c base->seqnum = cpu_to_be32(base->seqnum); cpu_to_be32 420 drivers/usb/usbip/usbip_common.c base->devid = cpu_to_be32(base->devid); cpu_to_be32 421 drivers/usb/usbip/usbip_common.c base->direction = cpu_to_be32(base->direction); cpu_to_be32 422 drivers/usb/usbip/usbip_common.c base->ep = cpu_to_be32(base->ep); cpu_to_be32 436 drivers/usb/usbip/usbip_common.c pdu->transfer_flags = cpu_to_be32(pdu->transfer_flags); cpu_to_be32 474 drivers/usb/usbip/usbip_common.c pdu->seqnum = cpu_to_be32(pdu->seqnum); cpu_to_be32 526 drivers/usb/usbip/usbip_common.c iso->offset = cpu_to_be32(iso->offset); cpu_to_be32 527 drivers/usb/usbip/usbip_common.c iso->length = cpu_to_be32(iso->length); cpu_to_be32 528 drivers/usb/usbip/usbip_common.c iso->status = cpu_to_be32(iso->status); cpu_to_be32 529 drivers/usb/usbip/usbip_common.c iso->actual_length = cpu_to_be32(iso->actual_length); cpu_to_be32 174 drivers/video/fbdev/carminefb.c ((__be32 *)info->pseudo_palette)[regno] = cpu_to_be32(transp << 24 | cpu_to_be32 108 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cpu_to_be32(cmd[9 + i * step + k]); cpu_to_be32 1514 drivers/vme/bridges/vme_tsi148.c *attr = cpu_to_be32(val); cpu_to_be32 1614 drivers/vme/bridges/vme_tsi148.c *attr = cpu_to_be32(val); cpu_to_be32 1663 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dsal = cpu_to_be32(pattern_attr->pattern); cpu_to_be32 1674 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dsat = cpu_to_be32(val); cpu_to_be32 1681 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dsau = cpu_to_be32(address_high); cpu_to_be32 1682 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dsal = cpu_to_be32(address_low); cpu_to_be32 1683 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dsat = cpu_to_be32(TSI148_LCSR_DSAT_TYP_PCI); cpu_to_be32 1690 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dsau = cpu_to_be32(address_high); cpu_to_be32 1691 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dsal = cpu_to_be32(address_low); cpu_to_be32 1692 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dsat = cpu_to_be32(TSI148_LCSR_DSAT_TYP_VME); cpu_to_be32 1708 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dnlau = cpu_to_be32(0); cpu_to_be32 1709 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dnlal = cpu_to_be32(TSI148_LCSR_DNLAL_LLA); cpu_to_be32 1718 drivers/vme/bridges/vme_tsi148.c entry->descriptor.ddau = cpu_to_be32(address_high); cpu_to_be32 1719 drivers/vme/bridges/vme_tsi148.c entry->descriptor.ddal = cpu_to_be32(address_low); cpu_to_be32 1720 drivers/vme/bridges/vme_tsi148.c entry->descriptor.ddat = cpu_to_be32(TSI148_LCSR_DDAT_TYP_PCI); cpu_to_be32 1727 drivers/vme/bridges/vme_tsi148.c entry->descriptor.ddau = cpu_to_be32(address_high); cpu_to_be32 1728 drivers/vme/bridges/vme_tsi148.c entry->descriptor.ddal = cpu_to_be32(address_low); cpu_to_be32 1729 drivers/vme/bridges/vme_tsi148.c entry->descriptor.ddat = cpu_to_be32(TSI148_LCSR_DDAT_TYP_VME); cpu_to_be32 1745 drivers/vme/bridges/vme_tsi148.c entry->descriptor.dcnt = cpu_to_be32((u32)count); cpu_to_be32 1766 drivers/vme/bridges/vme_tsi148.c prev->descriptor.dnlau = cpu_to_be32(address_high); cpu_to_be32 1767 drivers/vme/bridges/vme_tsi148.c prev->descriptor.dnlal = cpu_to_be32(address_low); cpu_to_be32 49 drivers/zorro/proc.c cd.cd_BoardAddr = cpu_to_be32(zorro_resource_start(z)); cpu_to_be32 50 drivers/zorro/proc.c cd.cd_BoardSize = cpu_to_be32(zorro_resource_len(z)); cpu_to_be32 95 drivers/zorro/zorro-sysfs.c cd.cd_BoardAddr = cpu_to_be32(zorro_resource_start(z)); cpu_to_be32 96 drivers/zorro/zorro-sysfs.c cd.cd_BoardSize = cpu_to_be32(zorro_resource_len(z)); cpu_to_be32 284 fs/affs/affs.h ((__be32 *)bh->b_data)[5] = cpu_to_be32(tmp - val); cpu_to_be32 290 fs/affs/affs.h ((__be32 *)bh->b_data)[0] = cpu_to_be32(tmp - val); cpu_to_be32 50 fs/affs/amigaffs.c AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); cpu_to_be32 55 fs/affs/amigaffs.c AFFS_HEAD(dir_bh)->table[offset] = cpu_to_be32(ino); cpu_to_be32 57 fs/affs/amigaffs.c AFFS_TAIL(sb, dir_bh)->hash_chain = cpu_to_be32(ino); cpu_to_be32 368 fs/affs/amigaffs.c *checksumptr = cpu_to_be32(-checksum); cpu_to_be32 385 fs/affs/amigaffs.c ds->days = cpu_to_be32(days); cpu_to_be32 386 fs/affs/amigaffs.c ds->mins = cpu_to_be32(minute); cpu_to_be32 387 fs/affs/amigaffs.c ds->ticks = cpu_to_be32(rem * 50); cpu_to_be32 76 fs/affs/bitmap.c *data = cpu_to_be32(tmp | mask); cpu_to_be32 80 fs/affs/bitmap.c *(__be32 *)bh->b_data = cpu_to_be32(tmp - mask); cpu_to_be32 220 fs/affs/bitmap.c *data = cpu_to_be32(tmp & ~mask); cpu_to_be32 224 fs/affs/bitmap.c *(__be32 *)bh->b_data = cpu_to_be32(tmp + mask); cpu_to_be32 327 fs/affs/bitmap.c ((__be32 *)bh->b_data)[offset] = cpu_to_be32(new); cpu_to_be32 340 fs/affs/bitmap.c ((__be32 *)bh->b_data)[0] = cpu_to_be32(-affs_checksum_block(sb, bh)); cpu_to_be32 134 fs/affs/file.c AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); cpu_to_be32 135 fs/affs/file.c AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); cpu_to_be32 136 fs/affs/file.c AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE); cpu_to_be32 137 fs/affs/file.c AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino); cpu_to_be32 145 fs/affs/file.c AFFS_TAIL(sb, bh)->extension = cpu_to_be32(blocknr); cpu_to_be32 335 fs/affs/file.c AFFS_BLOCK(sb, ext_bh, block) = cpu_to_be32(blocknr); cpu_to_be32 336 fs/affs/file.c AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1); cpu_to_be32 345 fs/affs/file.c AFFS_HEAD(ext_bh)->first_data = cpu_to_be32(blocknr); cpu_to_be32 579 fs/affs/file.c AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); cpu_to_be32 580 fs/affs/file.c AFFS_DATA_HEAD(bh)->key = cpu_to_be32(inode->i_ino); cpu_to_be32 581 fs/affs/file.c AFFS_DATA_HEAD(bh)->sequence = cpu_to_be32(bidx); cpu_to_be32 582 fs/affs/file.c AFFS_DATA_HEAD(bh)->size = cpu_to_be32(tmp); cpu_to_be32 593 fs/affs/file.c AFFS_DATA_HEAD(prev_bh)->next = cpu_to_be32(bh->b_blocknr); cpu_to_be32 729 fs/affs/file.c AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); cpu_to_be32 730 fs/affs/file.c AFFS_DATA_HEAD(bh)->key = cpu_to_be32(inode->i_ino); cpu_to_be32 731 fs/affs/file.c AFFS_DATA_HEAD(bh)->sequence = cpu_to_be32(bidx); cpu_to_be32 732 fs/affs/file.c AFFS_DATA_HEAD(bh)->size = cpu_to_be32(bsize); cpu_to_be32 742 fs/affs/file.c AFFS_DATA_HEAD(prev_bh)->next = cpu_to_be32(bh->b_blocknr); cpu_to_be32 763 fs/affs/file.c AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); cpu_to_be32 764 fs/affs/file.c AFFS_DATA_HEAD(bh)->key = cpu_to_be32(inode->i_ino); cpu_to_be32 765 fs/affs/file.c AFFS_DATA_HEAD(bh)->sequence = cpu_to_be32(bidx); cpu_to_be32 766 fs/affs/file.c AFFS_DATA_HEAD(bh)->size = cpu_to_be32(tmp); cpu_to_be32 776 fs/affs/file.c AFFS_DATA_HEAD(prev_bh)->next = cpu_to_be32(bh->b_blocknr); cpu_to_be32 781 fs/affs/file.c AFFS_DATA_HEAD(bh)->size = cpu_to_be32(tmp); cpu_to_be32 902 fs/affs/file.c AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(i); cpu_to_be32 189 fs/affs/inode.c if (tail->stype == cpu_to_be32(ST_ROOT)) { cpu_to_be32 193 fs/affs/inode.c tail->protect = cpu_to_be32(AFFS_I(inode)->i_protect); cpu_to_be32 194 fs/affs/inode.c tail->size = cpu_to_be32(inode->i_size); cpu_to_be32 384 fs/affs/inode.c AFFS_HEAD(bh)->ptype = cpu_to_be32(T_SHORT); cpu_to_be32 385 fs/affs/inode.c AFFS_HEAD(bh)->key = cpu_to_be32(bh->b_blocknr); cpu_to_be32 387 fs/affs/inode.c AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); cpu_to_be32 388 fs/affs/inode.c AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); cpu_to_be32 393 fs/affs/inode.c AFFS_TAIL(sb, bh)->original = cpu_to_be32(inode->i_ino); cpu_to_be32 395 fs/affs/inode.c AFFS_TAIL(sb, inode_bh)->link_chain = cpu_to_be32(block); cpu_to_be32 60 fs/befs/befs_fs_types.h #define BEFS_BYTEORDER_NATIVE_BE ((__force fs32)cpu_to_be32(BEFS_BYTEORDER_NATIVE)) cpu_to_be32 64 fs/befs/befs_fs_types.h #define BEFS_SUPER_MAGIC1_BE ((__force fs32)cpu_to_be32(BEFS_SUPER_MAGIC1)) cpu_to_be32 48 fs/befs/endian.h return (__force fs32)cpu_to_be32(n); cpu_to_be32 98 fs/befs/endian.h run.allocation_group = cpu_to_be32(n.allocation_group); cpu_to_be32 3836 fs/cifs/connect.c smb_buf->smb_buf_length = cpu_to_be32(0x81000044); cpu_to_be32 5094 fs/cifs/connect.c pSMB->hdr.smb_buf_length = cpu_to_be32(be32_to_cpu( cpu_to_be32 251 fs/cifs/misc.c buffer->smb_buf_length = cpu_to_be32( cpu_to_be32 671 fs/cifs/sess.c cpu_to_be32(be32_to_cpu(smb_buf->smb_buf_length) + count); cpu_to_be32 34 fs/cifs/smb1ops.c in_buf->smb_buf_length = cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2); cpu_to_be32 354 fs/cifs/smb1ops.c target_hdr->smb_buf_length = cpu_to_be32(byte_count); cpu_to_be32 1901 fs/cifs/smbdirect.c *((__be32 *)buf) = cpu_to_be32(rfc1002_len); cpu_to_be32 353 fs/cifs/transport.c rfc1002_marker = cpu_to_be32(send_length); cpu_to_be32 285 fs/ecryptfs/miscdev.c if (put_user(cpu_to_be32(msg_ctx->counter), cpu_to_be32 240 fs/freevxfs/vxfs_super.c (__force __fs32)cpu_to_be32(VXFS_SUPER_MAGIC))) { cpu_to_be32 889 fs/gfs2/dir.c leaf->lf_dirent_format = cpu_to_be32(GFS2_FORMAT_DE); cpu_to_be32 892 fs/gfs2/dir.c leaf->lf_dist = cpu_to_be32(1); cpu_to_be32 893 fs/gfs2/dir.c leaf->lf_nsec = cpu_to_be32(tv.tv_nsec); cpu_to_be32 1757 fs/gfs2/dir.c leaf->lf_dist = cpu_to_be32(dist); cpu_to_be32 1822 fs/gfs2/dir.c leaf->lf_nsec = cpu_to_be32(tv.tv_nsec); cpu_to_be32 1906 fs/gfs2/dir.c leaf->lf_nsec = cpu_to_be32(tv.tv_nsec); cpu_to_be32 71 fs/gfs2/dir.h dent->de_hash = cpu_to_be32(name->hash); cpu_to_be32 43 fs/gfs2/export.c fh[0] = cpu_to_be32(ip->i_no_formal_ino >> 32); cpu_to_be32 44 fs/gfs2/export.c fh[1] = cpu_to_be32(ip->i_no_formal_ino & 0xFFFFFFFF); cpu_to_be32 45 fs/gfs2/export.c fh[2] = cpu_to_be32(ip->i_no_addr >> 32); cpu_to_be32 46 fs/gfs2/export.c fh[3] = cpu_to_be32(ip->i_no_addr & 0xFFFFFFFF); cpu_to_be32 54 fs/gfs2/export.c fh[4] = cpu_to_be32(ip->i_no_formal_ino >> 32); cpu_to_be32 55 fs/gfs2/export.c fh[5] = cpu_to_be32(ip->i_no_formal_ino & 0xFFFFFFFF); cpu_to_be32 56 fs/gfs2/export.c fh[6] = cpu_to_be32(ip->i_no_addr >> 32); cpu_to_be32 57 fs/gfs2/export.c fh[7] = cpu_to_be32(ip->i_no_addr & 0xFFFFFFFF); cpu_to_be32 442 fs/gfs2/inode.c ea->ea_rec_len = cpu_to_be32(sdp->sd_jbsize); cpu_to_be32 469 fs/gfs2/inode.c di->di_major = cpu_to_be32(MAJOR(ip->i_inode.i_rdev)); cpu_to_be32 470 fs/gfs2/inode.c di->di_minor = cpu_to_be32(MINOR(ip->i_inode.i_rdev)); cpu_to_be32 702 fs/gfs2/log.c lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC); cpu_to_be32 703 fs/gfs2/log.c lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH); cpu_to_be32 705 fs/gfs2/log.c lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH); cpu_to_be32 706 fs/gfs2/log.c lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); cpu_to_be32 708 fs/gfs2/log.c lh->lh_flags = cpu_to_be32(flags); cpu_to_be32 709 fs/gfs2/log.c lh->lh_tail = cpu_to_be32(tail); cpu_to_be32 710 fs/gfs2/log.c lh->lh_blkno = cpu_to_be32(lblock); cpu_to_be32 712 fs/gfs2/log.c lh->lh_hash = cpu_to_be32(hash); cpu_to_be32 715 fs/gfs2/log.c lh->lh_nsec = cpu_to_be32(tv.tv_nsec); cpu_to_be32 747 fs/gfs2/log.c lh->lh_crc = cpu_to_be32(crc); cpu_to_be32 601 fs/gfs2/lops.c ld->ld_header.mh_magic = cpu_to_be32(GFS2_MAGIC); cpu_to_be32 602 fs/gfs2/lops.c ld->ld_header.mh_type = cpu_to_be32(GFS2_METATYPE_LD); cpu_to_be32 603 fs/gfs2/lops.c ld->ld_header.mh_format = cpu_to_be32(GFS2_FORMAT_LD); cpu_to_be32 604 fs/gfs2/lops.c ld->ld_type = cpu_to_be32(ld_type); cpu_to_be32 605 fs/gfs2/lops.c ld->ld_length = cpu_to_be32(ld_length); cpu_to_be32 606 fs/gfs2/lops.c ld->ld_data1 = cpu_to_be32(ld_data1); cpu_to_be32 619 fs/gfs2/lops.c if (*ptr == cpu_to_be32(GFS2_MAGIC)) cpu_to_be32 786 fs/gfs2/lops.c if (mh->mh_type == cpu_to_be32(GFS2_METATYPE_RG)) { cpu_to_be32 881 fs/gfs2/lops.c mh->mh_magic = cpu_to_be32(GFS2_MAGIC); cpu_to_be32 882 fs/gfs2/lops.c mh->mh_type = cpu_to_be32(GFS2_METATYPE_LB); cpu_to_be32 883 fs/gfs2/lops.c mh->mh_format = cpu_to_be32(GFS2_FORMAT_LB); cpu_to_be32 1037 fs/gfs2/lops.c *eptr = cpu_to_be32(GFS2_MAGIC); cpu_to_be32 167 fs/gfs2/meta_io.c mh->mh_magic = cpu_to_be32(GFS2_MAGIC); cpu_to_be32 659 fs/gfs2/quota.c qc->qc_flags = cpu_to_be32(GFS2_QCF_USER); cpu_to_be32 660 fs/gfs2/quota.c qc->qc_id = cpu_to_be32(from_kqid(&init_user_ns, qd->qd_id)); cpu_to_be32 978 fs/gfs2/quota.c qlvb->qb_magic = cpu_to_be32(GFS2_MAGIC); cpu_to_be32 1006 fs/gfs2/quota.c if (force_refresh || qd->qd_qb.qb_magic != cpu_to_be32(GFS2_MAGIC)) { cpu_to_be32 125 fs/gfs2/recovery.c if (lh->lh_header.mh_magic != cpu_to_be32(GFS2_MAGIC) || cpu_to_be32 126 fs/gfs2/recovery.c lh->lh_header.mh_type != cpu_to_be32(GFS2_METATYPE_LH) || cpu_to_be32 1078 fs/gfs2/rgrp.c rgl->rl_magic = cpu_to_be32(GFS2_MAGIC); cpu_to_be32 1092 fs/gfs2/rgrp.c str->rg_flags = cpu_to_be32(rgd->rd_flags & ~GFS2_RDF_MASK); cpu_to_be32 1093 fs/gfs2/rgrp.c str->rg_free = cpu_to_be32(rgd->rd_free); cpu_to_be32 1094 fs/gfs2/rgrp.c str->rg_dinodes = cpu_to_be32(rgd->rd_dinodes); cpu_to_be32 1098 fs/gfs2/rgrp.c str->rg_skip = cpu_to_be32(next->rd_addr - rgd->rd_addr); cpu_to_be32 1101 fs/gfs2/rgrp.c str->rg_data = cpu_to_be32(rgd->rd_data); cpu_to_be32 1102 fs/gfs2/rgrp.c str->rg_bitbytes = cpu_to_be32(rgd->rd_bitbytes); cpu_to_be32 1105 fs/gfs2/rgrp.c str->rg_crc = cpu_to_be32(crc); cpu_to_be32 1222 fs/gfs2/rgrp.c if (cpu_to_be32(GFS2_MAGIC) != rgd->rd_rgl->rl_magic) { cpu_to_be32 1223 fs/gfs2/rgrp.c rgd->rd_rgl->rl_unlinked = cpu_to_be32(count_unlinked(rgd)); cpu_to_be32 1256 fs/gfs2/rgrp.c if (cpu_to_be32(GFS2_MAGIC) != rgd->rd_rgl->rl_magic) cpu_to_be32 460 fs/gfs2/super.c str->di_header.mh_magic = cpu_to_be32(GFS2_MAGIC); cpu_to_be32 461 fs/gfs2/super.c str->di_header.mh_type = cpu_to_be32(GFS2_METATYPE_DI); cpu_to_be32 462 fs/gfs2/super.c str->di_header.mh_format = cpu_to_be32(GFS2_FORMAT_DI); cpu_to_be32 465 fs/gfs2/super.c str->di_mode = cpu_to_be32(ip->i_inode.i_mode); cpu_to_be32 466 fs/gfs2/super.c str->di_uid = cpu_to_be32(i_uid_read(&ip->i_inode)); cpu_to_be32 467 fs/gfs2/super.c str->di_gid = cpu_to_be32(i_gid_read(&ip->i_inode)); cpu_to_be32 468 fs/gfs2/super.c str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); cpu_to_be32 479 fs/gfs2/super.c str->di_flags = cpu_to_be32(ip->i_diskflags); cpu_to_be32 481 fs/gfs2/super.c str->di_payload_format = cpu_to_be32(S_ISDIR(ip->i_inode.i_mode) && cpu_to_be32 485 fs/gfs2/super.c str->di_entries = cpu_to_be32(ip->i_entries); cpu_to_be32 488 fs/gfs2/super.c str->di_atime_nsec = cpu_to_be32(ip->i_inode.i_atime.tv_nsec); cpu_to_be32 489 fs/gfs2/super.c str->di_mtime_nsec = cpu_to_be32(ip->i_inode.i_mtime.tv_nsec); cpu_to_be32 490 fs/gfs2/super.c str->di_ctime_nsec = cpu_to_be32(ip->i_inode.i_ctime.tv_nsec); cpu_to_be32 222 fs/gfs2/trans.c if (unlikely(mh->mh_magic != cpu_to_be32(GFS2_MAGIC))) { cpu_to_be32 234 fs/gfs2/trans.c mh->mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); cpu_to_be32 124 fs/gfs2/util.h mh->mh_type = cpu_to_be32(type); cpu_to_be32 125 fs/gfs2/util.h mh->mh_format = cpu_to_be32(format); cpu_to_be32 298 fs/gfs2/xattr.c prev->ea_rec_len = cpu_to_be32(len); cpu_to_be32 638 fs/gfs2/xattr.c ea->ea_rec_len = cpu_to_be32(sdp->sd_jbsize); cpu_to_be32 666 fs/gfs2/xattr.c ea->ea_data_len = cpu_to_be32(er->er_data_len); cpu_to_be32 817 fs/gfs2/xattr.c ea->ea_rec_len = cpu_to_be32(ea_size); cpu_to_be32 820 fs/gfs2/xattr.c new->ea_rec_len = cpu_to_be32(new_size); cpu_to_be32 844 fs/gfs2/xattr.c prev->ea_rec_len = cpu_to_be32(len); cpu_to_be32 1090 fs/gfs2/xattr.c prev->ea_rec_len = cpu_to_be32(len); cpu_to_be32 85 fs/hfs/bitmap.c *curr++ = cpu_to_be32(n); cpu_to_be32 95 fs/hfs/bitmap.c *curr++ = cpu_to_be32(0xffffffff); cpu_to_be32 107 fs/hfs/bitmap.c *curr = cpu_to_be32(n); cpu_to_be32 220 fs/hfs/bitmap.c *curr &= cpu_to_be32(mask); cpu_to_be32 223 fs/hfs/bitmap.c *curr++ &= cpu_to_be32(mask); cpu_to_be32 235 fs/hfs/bitmap.c *curr &= cpu_to_be32(mask); cpu_to_be32 183 fs/hfs/bnode.c cnid = cpu_to_be32(tmp->next); cpu_to_be32 194 fs/hfs/bnode.c cnid = cpu_to_be32(tmp->prev); cpu_to_be32 154 fs/hfs/brec.c cnid = cpu_to_be32(new_node->this); cpu_to_be32 317 fs/hfs/brec.c node_desc.next = cpu_to_be32(new_node->next); cpu_to_be32 318 fs/hfs/brec.c node_desc.prev = cpu_to_be32(new_node->prev); cpu_to_be32 328 fs/hfs/brec.c node_desc.next = cpu_to_be32(node->next); cpu_to_be32 336 fs/hfs/brec.c node_desc.prev = cpu_to_be32(next_node->prev); cpu_to_be32 435 fs/hfs/brec.c cnid = cpu_to_be32(new_node->this); cpu_to_be32 491 fs/hfs/brec.c node_desc.next = cpu_to_be32(new_node->next); cpu_to_be32 492 fs/hfs/brec.c node_desc.prev = cpu_to_be32(new_node->prev); cpu_to_be32 517 fs/hfs/brec.c cnid = cpu_to_be32(node->this); cpu_to_be32 174 fs/hfs/btree.c head->root = cpu_to_be32(tree->root); cpu_to_be32 175 fs/hfs/btree.c head->leaf_count = cpu_to_be32(tree->leaf_count); cpu_to_be32 176 fs/hfs/btree.c head->leaf_head = cpu_to_be32(tree->leaf_head); cpu_to_be32 177 fs/hfs/btree.c head->leaf_tail = cpu_to_be32(tree->leaf_tail); cpu_to_be32 178 fs/hfs/btree.c head->node_count = cpu_to_be32(tree->node_count); cpu_to_be32 179 fs/hfs/btree.c head->free_nodes = cpu_to_be32(tree->free_nodes); cpu_to_be32 180 fs/hfs/btree.c head->attributes = cpu_to_be32(tree->attributes); cpu_to_be32 203 fs/hfs/btree.c cnid = cpu_to_be32(idx); cpu_to_be32 26 fs/hfs/catalog.c key->cat.ParID = cpu_to_be32(parent); cpu_to_be32 43 fs/hfs/catalog.c rec->dir.DirID = cpu_to_be32(cnid); cpu_to_be32 55 fs/hfs/catalog.c rec->file.FlNum = cpu_to_be32(cnid); cpu_to_be32 71 fs/hfs/catalog.c rec->thread.ParID = cpu_to_be32(parentid); cpu_to_be32 25 fs/hfs/extent.c key->ext.FNum = cpu_to_be32(cnid); cpu_to_be32 249 fs/hfs/hfs_fs.h #define __hfs_u_to_mtime(sec) cpu_to_be32(sec + 2082844800U - sys_tz.tz_minuteswest * 60) cpu_to_be32 246 fs/hfs/inode.c if (HFS_I(inode)->cat_key.ParID == cpu_to_be32(HFS_ROOT_CNID)) cpu_to_be32 253 fs/hfs/inode.c if (HFS_I(inode)->cat_key.ParID == cpu_to_be32(HFS_ROOT_CNID)) cpu_to_be32 412 fs/hfs/inode.c *log_size = cpu_to_be32(inode->i_size); cpu_to_be32 414 fs/hfs/inode.c *phys_size = cpu_to_be32(HFS_I(inode)->alloc_blocks * cpu_to_be32 270 fs/hfs/mdb.c mdb->drNxtCNID = cpu_to_be32(HFS_SB(sb)->next_id); cpu_to_be32 273 fs/hfs/mdb.c mdb->drFilCnt = cpu_to_be32(HFS_SB(sb)->file_count); cpu_to_be32 274 fs/hfs/mdb.c mdb->drDirCnt = cpu_to_be32(HFS_SB(sb)->folder_count); cpu_to_be32 81 fs/hfs/part_tbl.c p->pdFSID == cpu_to_be32(0x54465331)/*"TFS1"*/ && cpu_to_be32 138 fs/hfs/super.c if (sbi->s_creator != cpu_to_be32(0x3f3f3f3f)) cpu_to_be32 140 fs/hfs/super.c if (sbi->s_type != cpu_to_be32(0x3f3f3f3f)) cpu_to_be32 235 fs/hfs/super.c hsb->s_type = hsb->s_creator = cpu_to_be32(0x3f3f3f3f); /* == '????' */ cpu_to_be32 56 fs/hfsplus/attributes.c key->attr.cnid = cpu_to_be32(cnid); cpu_to_be32 117 fs/hfsplus/attributes.c entry->inline_data.record_type = cpu_to_be32(record_type); cpu_to_be32 115 fs/hfsplus/bitmap.c *curr++ = cpu_to_be32(n); cpu_to_be32 126 fs/hfsplus/bitmap.c *curr++ = cpu_to_be32(0xffffffff); cpu_to_be32 152 fs/hfsplus/bitmap.c *curr = cpu_to_be32(n); cpu_to_be32 200 fs/hfsplus/bitmap.c *curr++ &= cpu_to_be32(mask); cpu_to_be32 203 fs/hfsplus/bitmap.c *curr++ &= cpu_to_be32(mask); cpu_to_be32 230 fs/hfsplus/bitmap.c *curr &= cpu_to_be32(mask); cpu_to_be32 347 fs/hfsplus/bnode.c cnid = cpu_to_be32(tmp->next); cpu_to_be32 359 fs/hfsplus/bnode.c cnid = cpu_to_be32(tmp->prev); cpu_to_be32 154 fs/hfsplus/brec.c cnid = cpu_to_be32(new_node->this); cpu_to_be32 321 fs/hfsplus/brec.c node_desc.next = cpu_to_be32(new_node->next); cpu_to_be32 322 fs/hfsplus/brec.c node_desc.prev = cpu_to_be32(new_node->prev); cpu_to_be32 332 fs/hfsplus/brec.c node_desc.next = cpu_to_be32(node->next); cpu_to_be32 340 fs/hfsplus/brec.c node_desc.prev = cpu_to_be32(next_node->prev); cpu_to_be32 439 fs/hfsplus/brec.c cnid = cpu_to_be32(new_node->this); cpu_to_be32 495 fs/hfsplus/brec.c node_desc.next = cpu_to_be32(new_node->next); cpu_to_be32 496 fs/hfsplus/brec.c node_desc.prev = cpu_to_be32(new_node->prev); cpu_to_be32 522 fs/hfsplus/brec.c cnid = cpu_to_be32(node->this); cpu_to_be32 297 fs/hfsplus/btree.c head->root = cpu_to_be32(tree->root); cpu_to_be32 298 fs/hfsplus/btree.c head->leaf_count = cpu_to_be32(tree->leaf_count); cpu_to_be32 299 fs/hfsplus/btree.c head->leaf_head = cpu_to_be32(tree->leaf_head); cpu_to_be32 300 fs/hfsplus/btree.c head->leaf_tail = cpu_to_be32(tree->leaf_tail); cpu_to_be32 301 fs/hfsplus/btree.c head->node_count = cpu_to_be32(tree->node_count); cpu_to_be32 302 fs/hfsplus/btree.c head->free_nodes = cpu_to_be32(tree->free_nodes); cpu_to_be32 303 fs/hfsplus/btree.c head->attributes = cpu_to_be32(tree->attributes); cpu_to_be32 325 fs/hfsplus/btree.c cnid = cpu_to_be32(idx); cpu_to_be32 48 fs/hfsplus/catalog.c key->cat.parent = cpu_to_be32(parent); cpu_to_be32 63 fs/hfsplus/catalog.c key->cat.parent = cpu_to_be32(parent); cpu_to_be32 74 fs/hfsplus/catalog.c key->cat.parent = cpu_to_be32(parent); cpu_to_be32 94 fs/hfsplus/catalog.c perms->owner = cpu_to_be32(i_uid_read(inode)); cpu_to_be32 95 fs/hfsplus/catalog.c perms->group = cpu_to_be32(i_gid_read(inode)); cpu_to_be32 98 fs/hfsplus/catalog.c perms->dev = cpu_to_be32(inode->i_nlink); cpu_to_be32 100 fs/hfsplus/catalog.c perms->dev = cpu_to_be32(inode->i_rdev); cpu_to_be32 118 fs/hfsplus/catalog.c folder->id = cpu_to_be32(inode->i_ino); cpu_to_be32 136 fs/hfsplus/catalog.c file->id = cpu_to_be32(cnid); cpu_to_be32 146 fs/hfsplus/catalog.c cpu_to_be32(HFSP_SYMLINK_TYPE); cpu_to_be32 148 fs/hfsplus/catalog.c cpu_to_be32(HFSP_SYMLINK_CREATOR); cpu_to_be32 151 fs/hfsplus/catalog.c cpu_to_be32(sbi->type); cpu_to_be32 153 fs/hfsplus/catalog.c cpu_to_be32(sbi->creator); cpu_to_be32 162 fs/hfsplus/catalog.c cpu_to_be32(HFSP_HARDLINK_TYPE); cpu_to_be32 164 fs/hfsplus/catalog.c cpu_to_be32(HFSP_HFSPLUS_CREATOR); cpu_to_be32 170 fs/hfsplus/catalog.c cpu_to_be32(HFSPLUS_I(inode)->linkid); cpu_to_be32 184 fs/hfsplus/catalog.c entry->thread.parentID = cpu_to_be32(parentid); cpu_to_be32 362 fs/hfsplus/catalog.c fd.search_key->cat.parent = cpu_to_be32(dir->i_ino); cpu_to_be32 77 fs/hfsplus/dir.c cpu_to_be32(HFSP_HARDLINK_TYPE) && cpu_to_be32 79 fs/hfsplus/dir.c cpu_to_be32(HFSP_HFSPLUS_CREATOR) && cpu_to_be32 45 fs/hfsplus/extents.c key->ext.cnid = cpu_to_be32(cnid); cpu_to_be32 46 fs/hfsplus/extents.c key->ext.start_block = cpu_to_be32(block); cpu_to_be32 324 fs/hfsplus/extents.c extent->start_block = cpu_to_be32(alloc_block); cpu_to_be32 327 fs/hfsplus/extents.c extent->block_count = cpu_to_be32(block_count); cpu_to_be32 380 fs/hfsplus/extents.c extent->block_count = cpu_to_be32(count); cpu_to_be32 489 fs/hfsplus/extents.c hip->first_extents[0].start_block = cpu_to_be32(start); cpu_to_be32 490 fs/hfsplus/extents.c hip->first_extents[0].block_count = cpu_to_be32(len); cpu_to_be32 532 fs/hfsplus/extents.c hip->cached_extents[0].start_block = cpu_to_be32(start); cpu_to_be32 533 fs/hfsplus/extents.c hip->cached_extents[0].block_count = cpu_to_be32(len); cpu_to_be32 538 fs/hfsplus/hfsplus_fs.h #define __hfsp_ut2mt(t) (cpu_to_be32(t + 2082844800U)) cpu_to_be32 485 fs/hfsplus/inode.c fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode)->alloc_blocks); cpu_to_be32 588 fs/hfsplus/inode.c folder->valence = cpu_to_be32(inode->i_size - 2); cpu_to_be32 591 fs/hfsplus/inode.c cpu_to_be32(HFSPLUS_I(inode)->subfolders); cpu_to_be32 43 fs/hfsplus/ioctl.c cpu_to_be32(parent_ino(dentry)); cpu_to_be32 50 fs/hfsplus/ioctl.c vh->finder_info[1] = bvh->finder_info[1] = cpu_to_be32(cnid); cpu_to_be32 54 fs/hfsplus/ioctl.c cpu_to_be32(parent_ino(dentry)); cpu_to_be32 80 fs/hfsplus/part_tbl.c p->pdFSID == cpu_to_be32(0x54465331)/*"TFS1"*/ && cpu_to_be32 212 fs/hfsplus/super.c vhdr->free_blocks = cpu_to_be32(sbi->free_blocks); cpu_to_be32 213 fs/hfsplus/super.c vhdr->next_cnid = cpu_to_be32(sbi->next_cnid); cpu_to_be32 214 fs/hfsplus/super.c vhdr->folder_count = cpu_to_be32(sbi->folder_count); cpu_to_be32 215 fs/hfsplus/super.c vhdr->file_count = cpu_to_be32(sbi->file_count); cpu_to_be32 292 fs/hfsplus/super.c vhdr->attributes |= cpu_to_be32(HFSPLUS_VOL_UNMNT); cpu_to_be32 293 fs/hfsplus/super.c vhdr->attributes &= cpu_to_be32(~HFSPLUS_VOL_INCNSTNT); cpu_to_be32 342 fs/hfsplus/super.c if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) { cpu_to_be32 349 fs/hfsplus/super.c cpu_to_be32(HFSPLUS_VOL_SOFTLOCK)) { cpu_to_be32 354 fs/hfsplus/super.c cpu_to_be32(HFSPLUS_VOL_JOURNALED)) { cpu_to_be32 457 fs/hfsplus/super.c if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) { cpu_to_be32 462 fs/hfsplus/super.c } else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_SOFTLOCK)) { cpu_to_be32 465 fs/hfsplus/super.c } else if ((vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_JOURNALED)) && cpu_to_be32 546 fs/hfsplus/super.c vhdr->last_mount_vers = cpu_to_be32(HFSP_MOUNT_VERSION); cpu_to_be32 549 fs/hfsplus/super.c vhdr->attributes &= cpu_to_be32(~HFSPLUS_VOL_UNMNT); cpu_to_be32 550 fs/hfsplus/super.c vhdr->attributes |= cpu_to_be32(HFSPLUS_VOL_INCNSTNT); cpu_to_be32 83 fs/hfsplus/xattr.c head->node_count = cpu_to_be32(tmp); cpu_to_be32 84 fs/hfsplus/xattr.c head->free_nodes = cpu_to_be32(be32_to_cpu(head->node_count) - 1); cpu_to_be32 85 fs/hfsplus/xattr.c head->clump_size = cpu_to_be32(clump_size); cpu_to_be32 86 fs/hfsplus/xattr.c head->attributes |= cpu_to_be32(HFS_TREE_BIGKEYS | HFS_TREE_VARIDXKEYS); cpu_to_be32 98 fs/hfsplus/xattr.c desc->next = cpu_to_be32(be32_to_cpu(head->leaf_tail) + 1); cpu_to_be32 105 fs/jbd2/commit.c h->h_chksum[0] = cpu_to_be32(csum); cpu_to_be32 139 fs/jbd2/commit.c tmp->h_commit_nsec = cpu_to_be32(now.tv_nsec); cpu_to_be32 144 fs/jbd2/commit.c tmp->h_chksum[0] = cpu_to_be32(crc32_sum); cpu_to_be32 320 fs/jbd2/commit.c tag->t_blocknr = cpu_to_be32(block & (u32)~0); cpu_to_be32 322 fs/jbd2/commit.c tag->t_blocknr_high = cpu_to_be32((block >> 31) >> 1); cpu_to_be32 337 fs/jbd2/commit.c seq = cpu_to_be32(sequence); cpu_to_be32 345 fs/jbd2/commit.c tag3->t_checksum = cpu_to_be32(csum32); cpu_to_be32 139 fs/jbd2/journal.c return cpu_to_be32(csum); cpu_to_be32 396 fs/jbd2/journal.c cpu_to_be32(JBD2_MAGIC_NUMBER)) { cpu_to_be32 846 fs/jbd2/journal.c header->h_magic = cpu_to_be32(JBD2_MAGIC_NUMBER); cpu_to_be32 847 fs/jbd2/journal.c header->h_blocktype = cpu_to_be32(type); cpu_to_be32 848 fs/jbd2/journal.c header->h_sequence = cpu_to_be32(transaction->t_tid); cpu_to_be32 867 fs/jbd2/journal.c tail->t_checksum = cpu_to_be32(csum); cpu_to_be32 1418 fs/jbd2/journal.c sb->s_sequence = cpu_to_be32(tail_tid); cpu_to_be32 1419 fs/jbd2/journal.c sb->s_start = cpu_to_be32(tail_block); cpu_to_be32 1457 fs/jbd2/journal.c sb->s_sequence = cpu_to_be32(journal->j_tail_sequence); cpu_to_be32 1458 fs/jbd2/journal.c sb->s_start = cpu_to_be32(0); cpu_to_be32 1486 fs/jbd2/journal.c sb->s_errno = cpu_to_be32(errcode); cpu_to_be32 1522 fs/jbd2/journal.c if (sb->s_header.h_magic != cpu_to_be32(JBD2_MAGIC_NUMBER) || cpu_to_be32 1523 fs/jbd2/journal.c sb->s_blocksize != cpu_to_be32(journal->j_blocksize)) { cpu_to_be32 1658 fs/jbd2/journal.c ~cpu_to_be32(JBD2_KNOWN_ROCOMPAT_FEATURES)) || cpu_to_be32 1660 fs/jbd2/journal.c ~cpu_to_be32(JBD2_KNOWN_INCOMPAT_FEATURES))) { cpu_to_be32 1864 fs/jbd2/journal.c ((incompat & (f)) && !(sb->s_feature_incompat & cpu_to_be32(f))) cpu_to_be32 1866 fs/jbd2/journal.c ((compat & (f)) && !(sb->s_feature_compat & cpu_to_be32(f))) cpu_to_be32 1911 fs/jbd2/journal.c ~cpu_to_be32(JBD2_FEATURE_COMPAT_CHECKSUM); cpu_to_be32 1917 fs/jbd2/journal.c ~cpu_to_be32(JBD2_FEATURE_INCOMPAT_CSUM_V2 | cpu_to_be32 1920 fs/jbd2/journal.c sb->s_feature_compat |= cpu_to_be32(compat); cpu_to_be32 1921 fs/jbd2/journal.c sb->s_feature_ro_compat |= cpu_to_be32(ro); cpu_to_be32 1922 fs/jbd2/journal.c sb->s_feature_incompat |= cpu_to_be32(incompat); cpu_to_be32 1951 fs/jbd2/journal.c sb->s_feature_compat &= ~cpu_to_be32(compat); cpu_to_be32 1952 fs/jbd2/journal.c sb->s_feature_ro_compat &= ~cpu_to_be32(ro); cpu_to_be32 1953 fs/jbd2/journal.c sb->s_feature_incompat &= ~cpu_to_be32(incompat); cpu_to_be32 190 fs/jbd2/recovery.c return provided == cpu_to_be32(calculated); cpu_to_be32 393 fs/jbd2/recovery.c return provided == cpu_to_be32(calculated); cpu_to_be32 406 fs/jbd2/recovery.c seq = cpu_to_be32(sequence); cpu_to_be32 411 fs/jbd2/recovery.c return tag3->t_checksum == cpu_to_be32(csum32); cpu_to_be32 495 fs/jbd2/recovery.c if (tmp->h_magic != cpu_to_be32(JBD2_MAGIC_NUMBER)) { cpu_to_be32 629 fs/jbd2/recovery.c cpu_to_be32(JBD2_MAGIC_NUMBER); cpu_to_be32 622 fs/jbd2/revoke.c cpu_to_be32(record->blocknr); cpu_to_be32 645 fs/jbd2/revoke.c header->r_count = cpu_to_be32(offset); cpu_to_be32 48 fs/jffs2/nodelist.h #define cpu_to_je32(x) ((jint32_t){cpu_to_be32(x)}) cpu_to_be32 49 fs/jffs2/nodelist.h #define cpu_to_jemode(x) ((jmode_t){cpu_to_be32(os_to_jffs2_mode(x))}) cpu_to_be32 102 fs/lockd/clnt4xdr.c *p = cpu_to_be32(value); cpu_to_be32 336 fs/lockd/clnt4xdr.c *p++ = cpu_to_be32(lock->svid); cpu_to_be32 99 fs/lockd/clntxdr.c *p = cpu_to_be32(value); cpu_to_be32 247 fs/lockd/clntxdr.c *p++ = cpu_to_be32(l_offset); cpu_to_be32 248 fs/lockd/clntxdr.c *p = cpu_to_be32(l_len); cpu_to_be32 330 fs/lockd/clntxdr.c *p++ = cpu_to_be32(lock->svid); cpu_to_be32 333 fs/lockd/clntxdr.c *p++ = cpu_to_be32(l_offset); cpu_to_be32 334 fs/lockd/clntxdr.c *p = cpu_to_be32(l_len); cpu_to_be32 453 fs/lockd/mon.c *p++ = cpu_to_be32(argp->prog); cpu_to_be32 454 fs/lockd/mon.c *p++ = cpu_to_be32(argp->vers); cpu_to_be32 455 fs/lockd/mon.c *p = cpu_to_be32(argp->proc); cpu_to_be32 513 fs/nfs/blocklayout/extent_tree.c *p++ = cpu_to_be32(PNFS_BLOCK_READWRITE_DATA); cpu_to_be32 594 fs/nfs/blocklayout/extent_tree.c *start_p = cpu_to_be32(count); cpu_to_be32 42 fs/nfs/blocklayout/rpc_pipefs.c *p++ = cpu_to_be32(1); cpu_to_be32 43 fs/nfs/blocklayout/rpc_pipefs.c *p++ = cpu_to_be32(b->type); cpu_to_be32 44 fs/nfs/blocklayout/rpc_pipefs.c *p++ = cpu_to_be32(b->simple.nr_sigs); cpu_to_be32 349 fs/nfs/callback_proc.c return cpu_to_be32(res); cpu_to_be32 373 fs/nfs/callback_proc.c res = cpu_to_be32(NFS4ERR_OP_NOT_IN_SESSION); cpu_to_be32 421 fs/nfs/callback_proc.c ret = cpu_to_be32(NFS4ERR_BADSLOT); cpu_to_be32 427 fs/nfs/callback_proc.c ret = cpu_to_be32(NFS4ERR_DELAY); cpu_to_be32 432 fs/nfs/callback_proc.c ret = cpu_to_be32(NFS4ERR_RETRY_UNCACHED_REP); cpu_to_be32 437 fs/nfs/callback_proc.c ret = cpu_to_be32(NFS4ERR_SEQ_FALSE_RETRY); cpu_to_be32 443 fs/nfs/callback_proc.c ret = cpu_to_be32(NFS4ERR_SEQ_MISORDERED); cpu_to_be32 447 fs/nfs/callback_proc.c return cpu_to_be32(NFS4_OK); cpu_to_be32 613 fs/nfs/callback_proc.c status = cpu_to_be32(NFS4ERR_OP_NOT_IN_SESSION); cpu_to_be32 620 fs/nfs/callback_proc.c status = cpu_to_be32(NFS4ERR_INVAL); cpu_to_be32 624 fs/nfs/callback_proc.c status = cpu_to_be32(NFS4_OK); cpu_to_be32 82 fs/nfs/callback_xdr.c return cpu_to_be32(NFS4ERR_RESOURCE); cpu_to_be32 593 fs/nfs/callback_xdr.c return cpu_to_be32(NFS4ERR_RESOURCE); cpu_to_be32 600 fs/nfs/callback_xdr.c return cpu_to_be32(NFS4ERR_RESOURCE); cpu_to_be32 696 fs/nfs/callback_xdr.c status = cpu_to_be32(NFS4ERR_RESOURCE); cpu_to_be32 2021 fs/nfs/flexfilelayout/flexfilelayout.c *start = cpu_to_be32(ff_args->num_errors); cpu_to_be32 2070 fs/nfs/flexfilelayout/flexfilelayout.c *p = cpu_to_be32(ff_args->num_dev); cpu_to_be32 2130 fs/nfs/flexfilelayout/flexfilelayout.c *start = cpu_to_be32(tmp_buf.len); cpu_to_be32 2336 fs/nfs/flexfilelayout/flexfilelayout.c *p++ = cpu_to_be32(ts.tv_nsec); cpu_to_be32 2383 fs/nfs/flexfilelayout/flexfilelayout.c *p = cpu_to_be32(false); cpu_to_be32 2398 fs/nfs/flexfilelayout/flexfilelayout.c *start = cpu_to_be32((xdr->p - start - 1) * 4); cpu_to_be32 492 fs/nfs/flexfilelayout/flexfilelayoutdev.c *p++ = cpu_to_be32(1); cpu_to_be32 495 fs/nfs/flexfilelayout/flexfilelayoutdev.c *p++ = cpu_to_be32(err->status); cpu_to_be32 496 fs/nfs/flexfilelayout/flexfilelayoutdev.c *p++ = cpu_to_be32(err->opnum); cpu_to_be32 148 fs/nfs/nfs2xdr.c if (unlikely(*p != cpu_to_be32(NFS_OK))) cpu_to_be32 214 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(timep->tv_sec); cpu_to_be32 216 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(timep->tv_nsec / NSEC_PER_USEC); cpu_to_be32 218 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 232 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(timep->tv_sec); cpu_to_be32 233 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(1000000); cpu_to_be32 334 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(NFS2_SATTR_NOT_SET); cpu_to_be32 335 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(NFS2_SATTR_NOT_SET); cpu_to_be32 348 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(attr->ia_mode); cpu_to_be32 350 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(NFS2_SATTR_NOT_SET); cpu_to_be32 352 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(from_kuid_munged(userns, attr->ia_uid)); cpu_to_be32 354 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(NFS2_SATTR_NOT_SET); cpu_to_be32 356 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(from_kgid_munged(userns, attr->ia_gid)); cpu_to_be32 358 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(NFS2_SATTR_NOT_SET); cpu_to_be32 360 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32((u32)attr->ia_size); cpu_to_be32 362 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(NFS2_SATTR_NOT_SET); cpu_to_be32 430 fs/nfs/nfs2xdr.c *p = cpu_to_be32(length); cpu_to_be32 624 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(offset); cpu_to_be32 625 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(count); cpu_to_be32 626 fs/nfs/nfs2xdr.c *p = cpu_to_be32(count); cpu_to_be32 662 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(offset); cpu_to_be32 663 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(offset); cpu_to_be32 664 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(count); cpu_to_be32 667 fs/nfs/nfs2xdr.c *p = cpu_to_be32(count); cpu_to_be32 783 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(args->cookie); cpu_to_be32 784 fs/nfs/nfs2xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 327 fs/nfs/nfs3proc.c data->arg.create.verifier[0] = cpu_to_be32(jiffies); cpu_to_be32 328 fs/nfs/nfs3proc.c data->arg.create.verifier[1] = cpu_to_be32(current->pid); cpu_to_be32 135 fs/nfs/nfs3xdr.c *p = cpu_to_be32(value); cpu_to_be32 340 fs/nfs/nfs3xdr.c if (unlikely(*p != cpu_to_be32(NFS3_OK))) cpu_to_be32 392 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(MAJOR(rdev)); cpu_to_be32 393 fs/nfs/nfs3xdr.c *p = cpu_to_be32(MINOR(rdev)); cpu_to_be32 461 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(timep->tv_sec); cpu_to_be32 462 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(timep->tv_nsec); cpu_to_be32 563 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(attr->ia_mode & S_IALLUGO); cpu_to_be32 569 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(from_kuid_munged(userns, attr->ia_uid)); cpu_to_be32 575 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(from_kgid_munged(userns, attr->ia_gid)); cpu_to_be32 938 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 980 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(args->count); cpu_to_be32 981 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(args->stable); cpu_to_be32 982 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 1236 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 1276 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(args->count >> 3); cpu_to_be32 1278 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 1310 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 232 fs/nfs/nfs42xdr.c *p++ = cpu_to_be32(devinfo->layout_type); cpu_to_be32 263 fs/nfs/nfs42xdr.c *p++ = cpu_to_be32(error->status); cpu_to_be32 264 fs/nfs/nfs42xdr.c *p = cpu_to_be32(error->opnum); cpu_to_be32 279 fs/nfs/nfs42xdr.c *p = cpu_to_be32(1); cpu_to_be32 312 fs/nfs/nfs42xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 579 fs/nfs/nfs4_fs.h s1->seqid = cpu_to_be32(seqid); cpu_to_be32 1545 fs/nfs/nfs4proc.c if (stateid->seqid == cpu_to_be32(1)) cpu_to_be32 3400 fs/nfs/nfs4proc.c dst->seqid = cpu_to_be32(dst_seqid + 1); cpu_to_be32 5920 fs/nfs/nfs4proc.c verf[0] = cpu_to_be32(U32_MAX); cpu_to_be32 5921 fs/nfs/nfs4proc.c verf[1] = cpu_to_be32(U32_MAX); cpu_to_be32 5926 fs/nfs/nfs4proc.c verf[0] = cpu_to_be32(ns >> 32); cpu_to_be32 5927 fs/nfs/nfs4proc.c verf[1] = cpu_to_be32(ns); cpu_to_be32 1031 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(hdr->minorversion); cpu_to_be32 1033 fs/nfs/nfs4xdr.c *p = cpu_to_be32(hdr->nops); cpu_to_be32 1065 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(t->tv_nsec); cpu_to_be32 1156 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(iap->ia_mode & S_IALLUGO); cpu_to_be32 1163 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(NFS4_SET_TO_CLIENT_TIME); cpu_to_be32 1167 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(NFS4_SET_TO_SERVER_TIME); cpu_to_be32 1171 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(NFS4_SET_TO_CLIENT_TIME); cpu_to_be32 1175 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(NFS4_SET_TO_SERVER_TIME); cpu_to_be32 1178 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(label->lfs); cpu_to_be32 1179 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(label->pi); cpu_to_be32 1180 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(label->len); cpu_to_be32 1184 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(iap->ia_mode & S_IALLUGO); cpu_to_be32 1185 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(*umask); cpu_to_be32 1211 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 1224 fs/nfs/nfs4xdr.c *p = cpu_to_be32(create->u.symlink.len); cpu_to_be32 1232 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(create->u.device.specdata1); cpu_to_be32 1233 fs/nfs/nfs4xdr.c *p = cpu_to_be32(create->u.device.specdata2); cpu_to_be32 1317 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(20); cpu_to_be32 1319 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(lowner->s_dev); cpu_to_be32 1333 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(nfs4_lock_type(args->fl, args->block)); cpu_to_be32 1334 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->reclaim); cpu_to_be32 1337 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->new_lock_owner); cpu_to_be32 1356 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(nfs4_lock_type(args->fl, 0)); cpu_to_be32 1397 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(share_access); cpu_to_be32 1398 fs/nfs/nfs4xdr.c *p = cpu_to_be32(0); /* for linux, share_deny = 0 always */ cpu_to_be32 1412 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(24); cpu_to_be32 1414 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(arg->server->s_dev); cpu_to_be32 1415 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(arg->id.uniquifier); cpu_to_be32 1426 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_CREATE_UNCHECKED); cpu_to_be32 1431 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_CREATE_GUARDED); cpu_to_be32 1436 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_CREATE_EXCLUSIVE); cpu_to_be32 1440 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_CREATE_EXCLUSIVE4_1); cpu_to_be32 1454 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_NOCREATE); cpu_to_be32 1457 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_CREATE); cpu_to_be32 1469 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_DELEGATE_NONE); cpu_to_be32 1472 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_DELEGATE_READ); cpu_to_be32 1475 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_DELEGATE_WRITE); cpu_to_be32 1487 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_CLAIM_NULL); cpu_to_be32 1496 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_CLAIM_PREVIOUS); cpu_to_be32 1505 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_CLAIM_DELEGATE_CUR); cpu_to_be32 1515 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_CLAIM_FH); cpu_to_be32 1523 fs/nfs/nfs4xdr.c *p = cpu_to_be32(NFS4_OPEN_CLAIM_DELEG_CUR_FH); cpu_to_be32 1590 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 1627 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(dircount); cpu_to_be32 1628 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(readdir->count); cpu_to_be32 1629 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(attrlen); cpu_to_be32 1631 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(attrs[i]); cpu_to_be32 1683 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 1684 fs/nfs/nfs4xdr.c *p = cpu_to_be32(FATTR4_WORD0_ACL); cpu_to_be32 1686 fs/nfs/nfs4xdr.c *p = cpu_to_be32(arg->acl_len); cpu_to_be32 1714 fs/nfs/nfs4xdr.c *p = cpu_to_be32(setclientid->sc_prog); cpu_to_be32 1718 fs/nfs/nfs4xdr.c *p = cpu_to_be32(setclientid->sc_clnt->cl_cb_ident); cpu_to_be32 1739 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->stable); cpu_to_be32 1740 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->count); cpu_to_be32 1769 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->dir); cpu_to_be32 1770 fs/nfs/nfs4xdr.c *p = (args->use_conn_in_rdma_mode) ? cpu_to_be32(1) : cpu_to_be32(0); cpu_to_be32 1828 fs/nfs/nfs4xdr.c *p = cpu_to_be32(0); cpu_to_be32 1853 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->seqid); /*Sequence id */ cpu_to_be32 1854 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->flags); /*flags */ cpu_to_be32 1857 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* header padding size */ cpu_to_be32 1858 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->fc_attrs.max_rqst_sz); /* max req size */ cpu_to_be32 1859 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->fc_attrs.max_resp_sz); /* max resp size */ cpu_to_be32 1860 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(max_resp_sz_cached); /* Max resp sz cached */ cpu_to_be32 1861 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->fc_attrs.max_ops); /* max operations */ cpu_to_be32 1862 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->fc_attrs.max_reqs); /* max requests */ cpu_to_be32 1863 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* rdmachannel_attrs */ cpu_to_be32 1866 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* header padding size */ cpu_to_be32 1867 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_rqst_sz); /* max req size */ cpu_to_be32 1868 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_resp_sz); /* max resp size */ cpu_to_be32 1869 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_resp_sz_cached); /* Max resp sz cached */ cpu_to_be32 1870 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_ops); /* max operations */ cpu_to_be32 1871 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_reqs); /* max requests */ cpu_to_be32 1872 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* rdmachannel_attrs */ cpu_to_be32 1874 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->cb_program); /* cb_program */ cpu_to_be32 1875 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 1876 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(RPC_AUTH_UNIX); /* auth_sys */ cpu_to_be32 1879 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(ktime_to_ns(nn->boot_time)); /* stamp */ cpu_to_be32 1881 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* UID */ cpu_to_be32 1882 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* GID */ cpu_to_be32 1883 fs/nfs/nfs4xdr.c *p = cpu_to_be32(0); /* No more gids */ cpu_to_be32 1942 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(slot->seq_nr); cpu_to_be32 1943 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(slot->slot_nr); cpu_to_be32 1944 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(tp->highest_used_slotid); cpu_to_be32 1945 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->sa_cache_this); cpu_to_be32 1961 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->pdev->layout_type); cpu_to_be32 1962 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->pdev->maxcount); /* gdia_maxcount */ cpu_to_be32 1965 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(1); /* bitmap length */ cpu_to_be32 1966 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->notify_types); cpu_to_be32 1978 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* Signal layout available */ cpu_to_be32 1979 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->type); cpu_to_be32 1980 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->range.iomode); cpu_to_be32 2012 fs/nfs/nfs4xdr.c *p = cpu_to_be32(0); /* reclaim */ cpu_to_be32 2016 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(1); /* newoffset = TRUE */ cpu_to_be32 2020 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* newoffset = FALSE */ cpu_to_be32 2022 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* Never send time_modify_changed */ cpu_to_be32 2023 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(NFS_SERVER(args->inode)->pnfs_curr_ld->id);/* type */ cpu_to_be32 2042 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(0); /* reclaim. always 0 for now */ cpu_to_be32 2043 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->layout_type); cpu_to_be32 2044 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->range.iomode); cpu_to_be32 2045 fs/nfs/nfs4xdr.c *p = cpu_to_be32(RETURN_FILE); cpu_to_be32 3190 fs/nfs/nfs4xdr.c if (unlikely(*p != cpu_to_be32(NFS_OK))) cpu_to_be32 1138 fs/nfs/pnfs.c stateid->seqid = cpu_to_be32(lo->plh_return_seq); cpu_to_be32 28 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(len); cpu_to_be32 29 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(1); /* we always return a single extent */ cpu_to_be32 36 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(b->es); cpu_to_be32 53 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(b->type); cpu_to_be32 54 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(1); /* single signature */ cpu_to_be32 64 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(b->type); cpu_to_be32 65 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(b->scsi.code_set); cpu_to_be32 66 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(b->scsi.designator_type); cpu_to_be32 100 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(len); cpu_to_be32 101 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(dev->nr_volumes); cpu_to_be32 51 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(len); cpu_to_be32 54 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(1); /* single mirror */ cpu_to_be32 55 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(1); /* single data server */ cpu_to_be32 60 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(1); /* efficiency */ cpu_to_be32 62 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(fl->stateid.si_generation); cpu_to_be32 66 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(1); /* single file handle */ cpu_to_be32 72 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(fl->flags); cpu_to_be32 73 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(0); /* No stats collect hint */ cpu_to_be32 102 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(len); cpu_to_be32 103 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(1); /* 1 netaddr */ cpu_to_be32 107 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(1); /* 1 versions */ cpu_to_be32 109 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(da->version); cpu_to_be32 110 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(da->minor_version); cpu_to_be32 111 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(da->rsize); cpu_to_be32 112 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(da->wsize); cpu_to_be32 113 fs/nfsd/flexfilelayoutxdr.c *p++ = cpu_to_be32(da->tightly_coupled); cpu_to_be32 108 fs/nfsd/nfs4callback.c *p = cpu_to_be32(op); cpu_to_be32 139 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(sid->si_generation); cpu_to_be32 257 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(hdr->minorversion); cpu_to_be32 258 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(hdr->ident); cpu_to_be32 261 fs/nfsd/nfs4callback.c *p = cpu_to_be32(hdr->nops); /* argarray element count */ cpu_to_be32 270 fs/nfsd/nfs4callback.c *hdr->nops_p = cpu_to_be32(hdr->nops); cpu_to_be32 356 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(session->se_cb_seq_nr); /* csa_sequenceid */ cpu_to_be32 558 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(OP_CB_LAYOUTRECALL); cpu_to_be32 559 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(ls->ls_layout_type); cpu_to_be32 560 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(IOMODE_ANY); cpu_to_be32 561 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(1); cpu_to_be32 562 fs/nfsd/nfs4callback.c *p = cpu_to_be32(RETURN_FILE); cpu_to_be32 643 fs/nfsd/nfs4callback.c *p = cpu_to_be32(OP_CB_NOTIFY_LOCK); cpu_to_be32 701 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(cp->cp_res.wr_stable_how); cpu_to_be32 720 fs/nfsd/nfs4callback.c *p++ = cpu_to_be32(OP_CB_OFFLOAD); cpu_to_be32 2003 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(convert_to_wallclock(exp->cd->flush_time)); cpu_to_be32 2008 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat->ctime.tv_sec); cpu_to_be32 2009 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat->ctime.tv_nsec); cpu_to_be32 2034 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(ts.tv_nsec); cpu_to_be32 2041 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(c->atomic); cpu_to_be32 2046 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(c->before_ctime_sec); cpu_to_be32 2047 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(c->before_ctime_nsec); cpu_to_be32 2048 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(c->after_ctime_sec); cpu_to_be32 2049 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(c->after_ctime_nsec); cpu_to_be32 2184 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(ncomponents); cpu_to_be32 2245 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(fslocs->locations_count); cpu_to_be32 2290 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(i); cpu_to_be32 2294 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(i); cpu_to_be32 2319 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); /* lfs */ cpu_to_be32 2320 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); /* pi */ cpu_to_be32 2373 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(3); cpu_to_be32 2374 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(bmval0); cpu_to_be32 2375 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(bmval1); cpu_to_be32 2376 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(bmval2); cpu_to_be32 2381 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(2); cpu_to_be32 2382 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(bmval0); cpu_to_be32 2383 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(bmval1); cpu_to_be32 2388 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 2389 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(bmval0); cpu_to_be32 2519 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(2); cpu_to_be32 2520 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(supp[0]); cpu_to_be32 2521 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(supp[1]); cpu_to_be32 2526 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(3); cpu_to_be32 2527 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(supp[0]); cpu_to_be32 2528 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(supp[1]); cpu_to_be32 2529 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(supp[2]); cpu_to_be32 2541 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(dummy); cpu_to_be32 2548 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(NFS4_FH_PERSISTENT); cpu_to_be32 2550 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(NFS4_FH_PERSISTENT| cpu_to_be32 2569 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 2575 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 2581 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 2596 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 2597 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(MAJOR(stat.dev)); cpu_to_be32 2598 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 2599 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(MINOR(stat.dev)); cpu_to_be32 2611 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 2617 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(nn->nfsd4_lease); cpu_to_be32 2623 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(rdattr_err); cpu_to_be32 2633 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 2639 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(acl->naces); cpu_to_be32 2645 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(ace->type); cpu_to_be32 2646 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(ace->flag); cpu_to_be32 2647 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(ace->access_mask & cpu_to_be32 2659 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(IS_POSIXACL(dentry->d_inode) ? cpu_to_be32 2666 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 2672 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 2678 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 2684 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 2726 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 2738 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(255); cpu_to_be32 2744 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(statfs.f_namelen); cpu_to_be32 2762 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.mode & S_IALLUGO); cpu_to_be32 2768 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 2774 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.nlink); cpu_to_be32 2790 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32((u32) MAJOR(stat.rdev)); cpu_to_be32 2791 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32((u32) MINOR(stat.rdev)); cpu_to_be32 2826 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.atime.tv_nsec); cpu_to_be32 2839 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.ctime.tv_nsec); cpu_to_be32 2846 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.mtime.tv_nsec); cpu_to_be32 2885 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.blksize); cpu_to_be32 2906 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(NFS4_CHANGE_TYPE_IS_MONOTONIC_INCR); cpu_to_be32 2908 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(NFS4_CHANGE_TYPE_IS_TIME_METADATA); cpu_to_be32 3162 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sid->si_generation); cpu_to_be32 3177 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(access->ac_supported); cpu_to_be32 3178 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(access->ac_resp_access); cpu_to_be32 3192 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(bcts->dir); cpu_to_be32 3194 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3288 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(ld->ld_type); cpu_to_be32 3295 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); /* length of owner name */ cpu_to_be32 3359 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(open->op_rflags); cpu_to_be32 3370 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(open->op_delegate_type); cpu_to_be32 3381 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(open->op_recall); cpu_to_be32 3386 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(NFS4_ACE_ACCESS_ALLOWED_ACE_TYPE); cpu_to_be32 3387 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3388 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3389 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); /* XXX: is NULL principal ok? */ cpu_to_be32 3398 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3403 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(NFS4_LIMIT_SIZE); cpu_to_be32 3404 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(~(u32)0); cpu_to_be32 3405 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(~(u32)0); cpu_to_be32 3410 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(NFS4_ACE_ACCESS_ALLOWED_ACE_TYPE); cpu_to_be32 3411 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3412 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3413 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); /* XXX: is NULL principal ok? */ cpu_to_be32 3422 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(open->op_why_no_deleg); cpu_to_be32 3424 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3430 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(open->op_why_no_deleg); cpu_to_be32 3677 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3678 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3824 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(RPC_AUTH_GSS); cpu_to_be32 3826 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(info.qop); cpu_to_be32 3827 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(info.service); cpu_to_be32 3833 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(pf); cpu_to_be32 3879 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(3); cpu_to_be32 3880 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3881 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3882 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3885 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(3); cpu_to_be32 3886 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(setattr->sa_bmval[0]); cpu_to_be32 3887 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(setattr->sa_bmval[1]); cpu_to_be32 3888 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(setattr->sa_bmval[2]); cpu_to_be32 3911 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3912 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 3926 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(write->wr_bytes_written); cpu_to_be32 3927 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(write->wr_how_written); cpu_to_be32 3959 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(exid->seqid); cpu_to_be32 3960 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(exid->flags); cpu_to_be32 3962 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(exid->spa_how); cpu_to_be32 4006 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); /* zero length nfs_impl_id4 array */ cpu_to_be32 4022 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->seqid); cpu_to_be32 4023 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->flags); cpu_to_be32 4028 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); /* headerpadsz */ cpu_to_be32 4029 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->fore_channel.maxreq_sz); cpu_to_be32 4030 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->fore_channel.maxresp_sz); cpu_to_be32 4031 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->fore_channel.maxresp_cached); cpu_to_be32 4032 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->fore_channel.maxops); cpu_to_be32 4033 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->fore_channel.maxreqs); cpu_to_be32 4034 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->fore_channel.nr_rdma_attrs); cpu_to_be32 4040 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->fore_channel.rdma_attrs); cpu_to_be32 4046 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); /* headerpadsz */ cpu_to_be32 4047 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->back_channel.maxreq_sz); cpu_to_be32 4048 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->back_channel.maxresp_sz); cpu_to_be32 4049 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->back_channel.maxresp_cached); cpu_to_be32 4050 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->back_channel.maxops); cpu_to_be32 4051 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->back_channel.maxreqs); cpu_to_be32 4052 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->back_channel.nr_rdma_attrs); cpu_to_be32 4058 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(sess->back_channel.rdma_attrs); cpu_to_be32 4075 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(seq->seqid); cpu_to_be32 4076 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(seq->slotid); cpu_to_be32 4078 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(seq->maxslots - 1); /* sr_highest_slotid */ cpu_to_be32 4079 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(seq->maxslots - 1); /* sr_target_highest_slotid */ cpu_to_be32 4080 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(seq->status_flags); cpu_to_be32 4120 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(gdev->gd_layout_type); cpu_to_be32 4142 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); /* bitmap length */ cpu_to_be32 4143 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(gdev->gd_notify_types); cpu_to_be32 4159 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(needed_len); cpu_to_be32 4175 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); /* we always set return-on-close */ cpu_to_be32 4176 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(lgp->lg_sid.si_generation); cpu_to_be32 4180 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); /* we always return a single layout */ cpu_to_be32 4183 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(lgp->lg_seg.iomode); cpu_to_be32 4184 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(lgp->lg_layout_type); cpu_to_be32 4200 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(lcp->lc_size_chg); cpu_to_be32 4221 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(lrp->lrs_present); cpu_to_be32 4238 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 4241 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(1); cpu_to_be32 4251 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(write->wr_stable_how); cpu_to_be32 4270 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(copy->cp_synchronous); cpu_to_be32 4285 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(0); cpu_to_be32 4297 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(seek->seek_eof); cpu_to_be32 4445 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(op->opnum); cpu_to_be32 4521 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(op->opnum); cpu_to_be32 175 fs/nfsd/nfsd.h #define nfs_ok cpu_to_be32(NFS_OK) cpu_to_be32 176 fs/nfsd/nfsd.h #define nfserr_perm cpu_to_be32(NFSERR_PERM) cpu_to_be32 177 fs/nfsd/nfsd.h #define nfserr_noent cpu_to_be32(NFSERR_NOENT) cpu_to_be32 178 fs/nfsd/nfsd.h #define nfserr_io cpu_to_be32(NFSERR_IO) cpu_to_be32 179 fs/nfsd/nfsd.h #define nfserr_nxio cpu_to_be32(NFSERR_NXIO) cpu_to_be32 180 fs/nfsd/nfsd.h #define nfserr_eagain cpu_to_be32(NFSERR_EAGAIN) cpu_to_be32 181 fs/nfsd/nfsd.h #define nfserr_acces cpu_to_be32(NFSERR_ACCES) cpu_to_be32 182 fs/nfsd/nfsd.h #define nfserr_exist cpu_to_be32(NFSERR_EXIST) cpu_to_be32 183 fs/nfsd/nfsd.h #define nfserr_xdev cpu_to_be32(NFSERR_XDEV) cpu_to_be32 184 fs/nfsd/nfsd.h #define nfserr_nodev cpu_to_be32(NFSERR_NODEV) cpu_to_be32 185 fs/nfsd/nfsd.h #define nfserr_notdir cpu_to_be32(NFSERR_NOTDIR) cpu_to_be32 186 fs/nfsd/nfsd.h #define nfserr_isdir cpu_to_be32(NFSERR_ISDIR) cpu_to_be32 187 fs/nfsd/nfsd.h #define nfserr_inval cpu_to_be32(NFSERR_INVAL) cpu_to_be32 188 fs/nfsd/nfsd.h #define nfserr_fbig cpu_to_be32(NFSERR_FBIG) cpu_to_be32 189 fs/nfsd/nfsd.h #define nfserr_nospc cpu_to_be32(NFSERR_NOSPC) cpu_to_be32 190 fs/nfsd/nfsd.h #define nfserr_rofs cpu_to_be32(NFSERR_ROFS) cpu_to_be32 191 fs/nfsd/nfsd.h #define nfserr_mlink cpu_to_be32(NFSERR_MLINK) cpu_to_be32 192 fs/nfsd/nfsd.h #define nfserr_opnotsupp cpu_to_be32(NFSERR_OPNOTSUPP) cpu_to_be32 193 fs/nfsd/nfsd.h #define nfserr_nametoolong cpu_to_be32(NFSERR_NAMETOOLONG) cpu_to_be32 194 fs/nfsd/nfsd.h #define nfserr_notempty cpu_to_be32(NFSERR_NOTEMPTY) cpu_to_be32 195 fs/nfsd/nfsd.h #define nfserr_dquot cpu_to_be32(NFSERR_DQUOT) cpu_to_be32 196 fs/nfsd/nfsd.h #define nfserr_stale cpu_to_be32(NFSERR_STALE) cpu_to_be32 197 fs/nfsd/nfsd.h #define nfserr_remote cpu_to_be32(NFSERR_REMOTE) cpu_to_be32 198 fs/nfsd/nfsd.h #define nfserr_wflush cpu_to_be32(NFSERR_WFLUSH) cpu_to_be32 199 fs/nfsd/nfsd.h #define nfserr_badhandle cpu_to_be32(NFSERR_BADHANDLE) cpu_to_be32 200 fs/nfsd/nfsd.h #define nfserr_notsync cpu_to_be32(NFSERR_NOT_SYNC) cpu_to_be32 201 fs/nfsd/nfsd.h #define nfserr_badcookie cpu_to_be32(NFSERR_BAD_COOKIE) cpu_to_be32 202 fs/nfsd/nfsd.h #define nfserr_notsupp cpu_to_be32(NFSERR_NOTSUPP) cpu_to_be32 203 fs/nfsd/nfsd.h #define nfserr_toosmall cpu_to_be32(NFSERR_TOOSMALL) cpu_to_be32 204 fs/nfsd/nfsd.h #define nfserr_serverfault cpu_to_be32(NFSERR_SERVERFAULT) cpu_to_be32 205 fs/nfsd/nfsd.h #define nfserr_badtype cpu_to_be32(NFSERR_BADTYPE) cpu_to_be32 206 fs/nfsd/nfsd.h #define nfserr_jukebox cpu_to_be32(NFSERR_JUKEBOX) cpu_to_be32 207 fs/nfsd/nfsd.h #define nfserr_denied cpu_to_be32(NFSERR_DENIED) cpu_to_be32 208 fs/nfsd/nfsd.h #define nfserr_deadlock cpu_to_be32(NFSERR_DEADLOCK) cpu_to_be32 209 fs/nfsd/nfsd.h #define nfserr_expired cpu_to_be32(NFSERR_EXPIRED) cpu_to_be32 210 fs/nfsd/nfsd.h #define nfserr_bad_cookie cpu_to_be32(NFSERR_BAD_COOKIE) cpu_to_be32 211 fs/nfsd/nfsd.h #define nfserr_same cpu_to_be32(NFSERR_SAME) cpu_to_be32 212 fs/nfsd/nfsd.h #define nfserr_clid_inuse cpu_to_be32(NFSERR_CLID_INUSE) cpu_to_be32 213 fs/nfsd/nfsd.h #define nfserr_stale_clientid cpu_to_be32(NFSERR_STALE_CLIENTID) cpu_to_be32 214 fs/nfsd/nfsd.h #define nfserr_resource cpu_to_be32(NFSERR_RESOURCE) cpu_to_be32 215 fs/nfsd/nfsd.h #define nfserr_moved cpu_to_be32(NFSERR_MOVED) cpu_to_be32 216 fs/nfsd/nfsd.h #define nfserr_nofilehandle cpu_to_be32(NFSERR_NOFILEHANDLE) cpu_to_be32 217 fs/nfsd/nfsd.h #define nfserr_minor_vers_mismatch cpu_to_be32(NFSERR_MINOR_VERS_MISMATCH) cpu_to_be32 218 fs/nfsd/nfsd.h #define nfserr_share_denied cpu_to_be32(NFSERR_SHARE_DENIED) cpu_to_be32 219 fs/nfsd/nfsd.h #define nfserr_stale_stateid cpu_to_be32(NFSERR_STALE_STATEID) cpu_to_be32 220 fs/nfsd/nfsd.h #define nfserr_old_stateid cpu_to_be32(NFSERR_OLD_STATEID) cpu_to_be32 221 fs/nfsd/nfsd.h #define nfserr_bad_stateid cpu_to_be32(NFSERR_BAD_STATEID) cpu_to_be32 222 fs/nfsd/nfsd.h #define nfserr_bad_seqid cpu_to_be32(NFSERR_BAD_SEQID) cpu_to_be32 223 fs/nfsd/nfsd.h #define nfserr_symlink cpu_to_be32(NFSERR_SYMLINK) cpu_to_be32 224 fs/nfsd/nfsd.h #define nfserr_not_same cpu_to_be32(NFSERR_NOT_SAME) cpu_to_be32 225 fs/nfsd/nfsd.h #define nfserr_lock_range cpu_to_be32(NFSERR_LOCK_RANGE) cpu_to_be32 226 fs/nfsd/nfsd.h #define nfserr_restorefh cpu_to_be32(NFSERR_RESTOREFH) cpu_to_be32 227 fs/nfsd/nfsd.h #define nfserr_attrnotsupp cpu_to_be32(NFSERR_ATTRNOTSUPP) cpu_to_be32 228 fs/nfsd/nfsd.h #define nfserr_bad_xdr cpu_to_be32(NFSERR_BAD_XDR) cpu_to_be32 229 fs/nfsd/nfsd.h #define nfserr_openmode cpu_to_be32(NFSERR_OPENMODE) cpu_to_be32 230 fs/nfsd/nfsd.h #define nfserr_badowner cpu_to_be32(NFSERR_BADOWNER) cpu_to_be32 231 fs/nfsd/nfsd.h #define nfserr_locks_held cpu_to_be32(NFSERR_LOCKS_HELD) cpu_to_be32 232 fs/nfsd/nfsd.h #define nfserr_op_illegal cpu_to_be32(NFSERR_OP_ILLEGAL) cpu_to_be32 233 fs/nfsd/nfsd.h #define nfserr_grace cpu_to_be32(NFSERR_GRACE) cpu_to_be32 234 fs/nfsd/nfsd.h #define nfserr_no_grace cpu_to_be32(NFSERR_NO_GRACE) cpu_to_be32 235 fs/nfsd/nfsd.h #define nfserr_reclaim_bad cpu_to_be32(NFSERR_RECLAIM_BAD) cpu_to_be32 236 fs/nfsd/nfsd.h #define nfserr_badname cpu_to_be32(NFSERR_BADNAME) cpu_to_be32 237 fs/nfsd/nfsd.h #define nfserr_cb_path_down cpu_to_be32(NFSERR_CB_PATH_DOWN) cpu_to_be32 238 fs/nfsd/nfsd.h #define nfserr_locked cpu_to_be32(NFSERR_LOCKED) cpu_to_be32 239 fs/nfsd/nfsd.h #define nfserr_wrongsec cpu_to_be32(NFSERR_WRONGSEC) cpu_to_be32 240 fs/nfsd/nfsd.h #define nfserr_badiomode cpu_to_be32(NFS4ERR_BADIOMODE) cpu_to_be32 241 fs/nfsd/nfsd.h #define nfserr_badlayout cpu_to_be32(NFS4ERR_BADLAYOUT) cpu_to_be32 242 fs/nfsd/nfsd.h #define nfserr_bad_session_digest cpu_to_be32(NFS4ERR_BAD_SESSION_DIGEST) cpu_to_be32 243 fs/nfsd/nfsd.h #define nfserr_badsession cpu_to_be32(NFS4ERR_BADSESSION) cpu_to_be32 244 fs/nfsd/nfsd.h #define nfserr_badslot cpu_to_be32(NFS4ERR_BADSLOT) cpu_to_be32 245 fs/nfsd/nfsd.h #define nfserr_complete_already cpu_to_be32(NFS4ERR_COMPLETE_ALREADY) cpu_to_be32 246 fs/nfsd/nfsd.h #define nfserr_conn_not_bound_to_session cpu_to_be32(NFS4ERR_CONN_NOT_BOUND_TO_SESSION) cpu_to_be32 247 fs/nfsd/nfsd.h #define nfserr_deleg_already_wanted cpu_to_be32(NFS4ERR_DELEG_ALREADY_WANTED) cpu_to_be32 248 fs/nfsd/nfsd.h #define nfserr_back_chan_busy cpu_to_be32(NFS4ERR_BACK_CHAN_BUSY) cpu_to_be32 249 fs/nfsd/nfsd.h #define nfserr_layouttrylater cpu_to_be32(NFS4ERR_LAYOUTTRYLATER) cpu_to_be32 250 fs/nfsd/nfsd.h #define nfserr_layoutunavailable cpu_to_be32(NFS4ERR_LAYOUTUNAVAILABLE) cpu_to_be32 251 fs/nfsd/nfsd.h #define nfserr_nomatching_layout cpu_to_be32(NFS4ERR_NOMATCHING_LAYOUT) cpu_to_be32 252 fs/nfsd/nfsd.h #define nfserr_recallconflict cpu_to_be32(NFS4ERR_RECALLCONFLICT) cpu_to_be32 253 fs/nfsd/nfsd.h #define nfserr_unknown_layouttype cpu_to_be32(NFS4ERR_UNKNOWN_LAYOUTTYPE) cpu_to_be32 254 fs/nfsd/nfsd.h #define nfserr_seq_misordered cpu_to_be32(NFS4ERR_SEQ_MISORDERED) cpu_to_be32 255 fs/nfsd/nfsd.h #define nfserr_sequence_pos cpu_to_be32(NFS4ERR_SEQUENCE_POS) cpu_to_be32 256 fs/nfsd/nfsd.h #define nfserr_req_too_big cpu_to_be32(NFS4ERR_REQ_TOO_BIG) cpu_to_be32 257 fs/nfsd/nfsd.h #define nfserr_rep_too_big cpu_to_be32(NFS4ERR_REP_TOO_BIG) cpu_to_be32 258 fs/nfsd/nfsd.h #define nfserr_rep_too_big_to_cache cpu_to_be32(NFS4ERR_REP_TOO_BIG_TO_CACHE) cpu_to_be32 259 fs/nfsd/nfsd.h #define nfserr_retry_uncached_rep cpu_to_be32(NFS4ERR_RETRY_UNCACHED_REP) cpu_to_be32 260 fs/nfsd/nfsd.h #define nfserr_unsafe_compound cpu_to_be32(NFS4ERR_UNSAFE_COMPOUND) cpu_to_be32 261 fs/nfsd/nfsd.h #define nfserr_too_many_ops cpu_to_be32(NFS4ERR_TOO_MANY_OPS) cpu_to_be32 262 fs/nfsd/nfsd.h #define nfserr_op_not_in_session cpu_to_be32(NFS4ERR_OP_NOT_IN_SESSION) cpu_to_be32 263 fs/nfsd/nfsd.h #define nfserr_hash_alg_unsupp cpu_to_be32(NFS4ERR_HASH_ALG_UNSUPP) cpu_to_be32 264 fs/nfsd/nfsd.h #define nfserr_clientid_busy cpu_to_be32(NFS4ERR_CLIENTID_BUSY) cpu_to_be32 265 fs/nfsd/nfsd.h #define nfserr_pnfs_io_hole cpu_to_be32(NFS4ERR_PNFS_IO_HOLE) cpu_to_be32 266 fs/nfsd/nfsd.h #define nfserr_seq_false_retry cpu_to_be32(NFS4ERR_SEQ_FALSE_RETRY) cpu_to_be32 267 fs/nfsd/nfsd.h #define nfserr_bad_high_slot cpu_to_be32(NFS4ERR_BAD_HIGH_SLOT) cpu_to_be32 268 fs/nfsd/nfsd.h #define nfserr_deadsession cpu_to_be32(NFS4ERR_DEADSESSION) cpu_to_be32 269 fs/nfsd/nfsd.h #define nfserr_encr_alg_unsupp cpu_to_be32(NFS4ERR_ENCR_ALG_UNSUPP) cpu_to_be32 270 fs/nfsd/nfsd.h #define nfserr_pnfs_no_layout cpu_to_be32(NFS4ERR_PNFS_NO_LAYOUT) cpu_to_be32 271 fs/nfsd/nfsd.h #define nfserr_not_only_op cpu_to_be32(NFS4ERR_NOT_ONLY_OP) cpu_to_be32 272 fs/nfsd/nfsd.h #define nfserr_wrong_cred cpu_to_be32(NFS4ERR_WRONG_CRED) cpu_to_be32 273 fs/nfsd/nfsd.h #define nfserr_wrong_type cpu_to_be32(NFS4ERR_WRONG_TYPE) cpu_to_be32 274 fs/nfsd/nfsd.h #define nfserr_dirdeleg_unavail cpu_to_be32(NFS4ERR_DIRDELEG_UNAVAIL) cpu_to_be32 275 fs/nfsd/nfsd.h #define nfserr_reject_deleg cpu_to_be32(NFS4ERR_REJECT_DELEG) cpu_to_be32 276 fs/nfsd/nfsd.h #define nfserr_returnconflict cpu_to_be32(NFS4ERR_RETURNCONFLICT) cpu_to_be32 277 fs/nfsd/nfsd.h #define nfserr_deleg_revoked cpu_to_be32(NFS4ERR_DELEG_REVOKED) cpu_to_be32 278 fs/nfsd/nfsd.h #define nfserr_partner_notsupp cpu_to_be32(NFS4ERR_PARTNER_NOTSUPP) cpu_to_be32 279 fs/nfsd/nfsd.h #define nfserr_partner_no_auth cpu_to_be32(NFS4ERR_PARTNER_NO_AUTH) cpu_to_be32 280 fs/nfsd/nfsd.h #define nfserr_union_notsupp cpu_to_be32(NFS4ERR_UNION_NOTSUPP) cpu_to_be32 281 fs/nfsd/nfsd.h #define nfserr_offload_denied cpu_to_be32(NFS4ERR_OFFLOAD_DENIED) cpu_to_be32 282 fs/nfsd/nfsd.h #define nfserr_wrong_lfs cpu_to_be32(NFS4ERR_WRONG_LFS) cpu_to_be32 283 fs/nfsd/nfsd.h #define nfserr_badlabel cpu_to_be32(NFS4ERR_BADLABEL) cpu_to_be32 289 fs/nfsd/nfsd.h #define nfserr_dropit cpu_to_be32(30000) cpu_to_be32 291 fs/nfsd/nfsd.h #define nfserr_eof cpu_to_be32(30001) cpu_to_be32 293 fs/nfsd/nfsd.h #define nfserr_replay_me cpu_to_be32(11001) cpu_to_be32 295 fs/nfsd/nfsd.h #define nfserr_replay_cache cpu_to_be32(11002) cpu_to_be32 966 fs/ocfs2/cluster/tcp.c msg->sys_status = cpu_to_be32(O2NET_ERR_NONE); cpu_to_be32 968 fs/ocfs2/cluster/tcp.c msg->key = cpu_to_be32(key); cpu_to_be32 1089 fs/ocfs2/cluster/tcp.c msg->msg_num = cpu_to_be32(nsw.ns_id); cpu_to_be32 1156 fs/ocfs2/cluster/tcp.c hdr->sys_status = cpu_to_be32(syserr); cpu_to_be32 1157 fs/ocfs2/cluster/tcp.c hdr->status = cpu_to_be32(err); cpu_to_be32 1462 fs/ocfs2/cluster/tcp.c o2net_hand->o2hb_heartbeat_timeout_ms = cpu_to_be32( cpu_to_be32 1464 fs/ocfs2/cluster/tcp.c o2net_hand->o2net_idle_timeout_ms = cpu_to_be32(o2net_idle_timeout()); cpu_to_be32 1465 fs/ocfs2/cluster/tcp.c o2net_hand->o2net_keepalive_delay_ms = cpu_to_be32( cpu_to_be32 1467 fs/ocfs2/cluster/tcp.c o2net_hand->o2net_reconnect_delay_ms = cpu_to_be32( cpu_to_be32 373 fs/ocfs2/dlm/dlmconvert.c convert.flags = cpu_to_be32(flags); cpu_to_be32 787 fs/ocfs2/dlm/dlmdomain.c response.intval = cpu_to_be32(wire); cpu_to_be32 298 fs/ocfs2/dlm/dlmlock.c create.flags = cpu_to_be32(flags); cpu_to_be32 1685 fs/ocfs2/dlm/dlmmaster.c assert.flags = cpu_to_be32(flags); cpu_to_be32 1174 fs/ocfs2/dlm/dlmrecovery.c mres->total_locks = cpu_to_be32(total_locks); cpu_to_be32 337 fs/ocfs2/dlm/dlmunlock.c unlock.flags = cpu_to_be32(flags); cpu_to_be32 2175 fs/ocfs2/dlmglue.c lvb->lvb_iclusters = cpu_to_be32(oi->ip_clusters); cpu_to_be32 2176 fs/ocfs2/dlmglue.c lvb->lvb_iuid = cpu_to_be32(i_uid_read(inode)); cpu_to_be32 2177 fs/ocfs2/dlmglue.c lvb->lvb_igid = cpu_to_be32(i_gid_read(inode)); cpu_to_be32 2186 fs/ocfs2/dlmglue.c lvb->lvb_iattr = cpu_to_be32(oi->ip_attr); cpu_to_be32 2188 fs/ocfs2/dlmglue.c lvb->lvb_igeneration = cpu_to_be32(inode->i_generation); cpu_to_be32 2770 fs/ocfs2/dlmglue.c lvb->lvb_os_seqno = cpu_to_be32(seqno); cpu_to_be32 2932 fs/ocfs2/dlmglue.c lvb->lvb_nodenum = cpu_to_be32(info->tf_nodenum); cpu_to_be32 4136 fs/ocfs2/dlmglue.c lvb->lvb_bgrace = cpu_to_be32(info->dqi_bgrace); cpu_to_be32 4137 fs/ocfs2/dlmglue.c lvb->lvb_igrace = cpu_to_be32(info->dqi_igrace); cpu_to_be32 4138 fs/ocfs2/dlmglue.c lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); cpu_to_be32 4139 fs/ocfs2/dlmglue.c lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); cpu_to_be32 4140 fs/ocfs2/dlmglue.c lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); cpu_to_be32 4141 fs/ocfs2/dlmglue.c lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); cpu_to_be32 25 fs/omfs/file.c oe->e_extent_count = cpu_to_be32(1), cpu_to_be32 26 fs/omfs/file.c oe->e_fill = cpu_to_be32(0x22), cpu_to_be32 130 fs/omfs/inode.c oi->i_head.h_body_size = cpu_to_be32(sbi->s_sys_blocksize - cpu_to_be32 493 fs/omfs/inode.c if (omfs_sb->s_magic != cpu_to_be32(OMFS_MAGIC)) { cpu_to_be32 107 fs/qnx6/qnx6.h return (__force __fs32)cpu_to_be32(n); cpu_to_be32 184 fs/sysv/super.c else if (*(__be32 *)&sbd->s_magic == cpu_to_be32(0x2b5544)) cpu_to_be32 210 fs/sysv/super.c else if (*(__be32 *)&sbd->s_magic == cpu_to_be32(0xfd187e20)) cpu_to_be32 205 fs/sysv/sysv.h return (__force __fs32)cpu_to_be32(n); cpu_to_be32 59 fs/ufs/swab.h return (__force __fs32)cpu_to_be32(n); cpu_to_be32 76 fs/xfs/libxfs/xfs_ag.c arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); cpu_to_be32 88 fs/xfs/libxfs/xfs_ag.c arec->ar_blockcount = cpu_to_be32(start - cpu_to_be32 96 fs/xfs/libxfs/xfs_ag.c nrec->ar_startblock = cpu_to_be32( cpu_to_be32 114 fs/xfs/libxfs/xfs_ag.c arec->ar_blockcount = cpu_to_be32(id->agsize - cpu_to_be32 168 fs/xfs/libxfs/xfs_ag.c rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); cpu_to_be32 174 fs/xfs/libxfs/xfs_ag.c rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); cpu_to_be32 175 fs/xfs/libxfs/xfs_ag.c rrec->rm_blockcount = cpu_to_be32(2); cpu_to_be32 181 fs/xfs/libxfs/xfs_ag.c rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); cpu_to_be32 182 fs/xfs/libxfs/xfs_ag.c rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - cpu_to_be32 189 fs/xfs/libxfs/xfs_ag.c rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); cpu_to_be32 190 fs/xfs/libxfs/xfs_ag.c rrec->rm_blockcount = cpu_to_be32(1); cpu_to_be32 197 fs/xfs/libxfs/xfs_ag.c rrec->rm_startblock = cpu_to_be32(xfs_refc_block(mp)); cpu_to_be32 198 fs/xfs/libxfs/xfs_ag.c rrec->rm_blockcount = cpu_to_be32(1); cpu_to_be32 208 fs/xfs/libxfs/xfs_ag.c rrec->rm_startblock = cpu_to_be32( cpu_to_be32 210 fs/xfs/libxfs/xfs_ag.c rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); cpu_to_be32 246 fs/xfs/libxfs/xfs_ag.c agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); cpu_to_be32 247 fs/xfs/libxfs/xfs_ag.c agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); cpu_to_be32 248 fs/xfs/libxfs/xfs_ag.c agf->agf_seqno = cpu_to_be32(id->agno); cpu_to_be32 249 fs/xfs/libxfs/xfs_ag.c agf->agf_length = cpu_to_be32(id->agsize); cpu_to_be32 250 fs/xfs/libxfs/xfs_ag.c agf->agf_roots[XFS_BTNUM_BNOi] = cpu_to_be32(XFS_BNO_BLOCK(mp)); cpu_to_be32 251 fs/xfs/libxfs/xfs_ag.c agf->agf_roots[XFS_BTNUM_CNTi] = cpu_to_be32(XFS_CNT_BLOCK(mp)); cpu_to_be32 252 fs/xfs/libxfs/xfs_ag.c agf->agf_levels[XFS_BTNUM_BNOi] = cpu_to_be32(1); cpu_to_be32 253 fs/xfs/libxfs/xfs_ag.c agf->agf_levels[XFS_BTNUM_CNTi] = cpu_to_be32(1); cpu_to_be32 256 fs/xfs/libxfs/xfs_ag.c cpu_to_be32(XFS_RMAP_BLOCK(mp)); cpu_to_be32 257 fs/xfs/libxfs/xfs_ag.c agf->agf_levels[XFS_BTNUM_RMAPi] = cpu_to_be32(1); cpu_to_be32 258 fs/xfs/libxfs/xfs_ag.c agf->agf_rmap_blocks = cpu_to_be32(1); cpu_to_be32 261 fs/xfs/libxfs/xfs_ag.c agf->agf_flfirst = cpu_to_be32(1); cpu_to_be32 265 fs/xfs/libxfs/xfs_ag.c agf->agf_freeblks = cpu_to_be32(tmpsize); cpu_to_be32 266 fs/xfs/libxfs/xfs_ag.c agf->agf_longest = cpu_to_be32(tmpsize); cpu_to_be32 270 fs/xfs/libxfs/xfs_ag.c agf->agf_refcount_root = cpu_to_be32( cpu_to_be32 272 fs/xfs/libxfs/xfs_ag.c agf->agf_refcount_level = cpu_to_be32(1); cpu_to_be32 273 fs/xfs/libxfs/xfs_ag.c agf->agf_refcount_blocks = cpu_to_be32(1); cpu_to_be32 280 fs/xfs/libxfs/xfs_ag.c agf->agf_longest = cpu_to_be32(id->agsize - cpu_to_be32 296 fs/xfs/libxfs/xfs_ag.c agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); cpu_to_be32 297 fs/xfs/libxfs/xfs_ag.c agfl->agfl_seqno = cpu_to_be32(id->agno); cpu_to_be32 303 fs/xfs/libxfs/xfs_ag.c agfl_bno[bucket] = cpu_to_be32(NULLAGBLOCK); cpu_to_be32 315 fs/xfs/libxfs/xfs_ag.c agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); cpu_to_be32 316 fs/xfs/libxfs/xfs_ag.c agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); cpu_to_be32 317 fs/xfs/libxfs/xfs_ag.c agi->agi_seqno = cpu_to_be32(id->agno); cpu_to_be32 318 fs/xfs/libxfs/xfs_ag.c agi->agi_length = cpu_to_be32(id->agsize); cpu_to_be32 320 fs/xfs/libxfs/xfs_ag.c agi->agi_root = cpu_to_be32(XFS_IBT_BLOCK(mp)); cpu_to_be32 321 fs/xfs/libxfs/xfs_ag.c agi->agi_level = cpu_to_be32(1); cpu_to_be32 323 fs/xfs/libxfs/xfs_ag.c agi->agi_newino = cpu_to_be32(NULLAGINO); cpu_to_be32 324 fs/xfs/libxfs/xfs_ag.c agi->agi_dirino = cpu_to_be32(NULLAGINO); cpu_to_be32 328 fs/xfs/libxfs/xfs_ag.c agi->agi_free_root = cpu_to_be32(XFS_FIBT_BLOCK(mp)); cpu_to_be32 329 fs/xfs/libxfs/xfs_ag.c agi->agi_free_level = cpu_to_be32(1); cpu_to_be32 332 fs/xfs/libxfs/xfs_ag.c agi->agi_unlinked[bucket] = cpu_to_be32(NULLAGINO); cpu_to_be32 199 fs/xfs/libxfs/xfs_alloc.c rec.alloc.ar_startblock = cpu_to_be32(bno); cpu_to_be32 200 fs/xfs/libxfs/xfs_alloc.c rec.alloc.ar_blockcount = cpu_to_be32(len); cpu_to_be32 642 fs/xfs/libxfs/xfs_alloc.c .magic = { cpu_to_be32(XFS_AGFL_MAGIC), cpu_to_be32(XFS_AGFL_MAGIC) }, cpu_to_be32 2175 fs/xfs/libxfs/xfs_alloc.c agf->agf_fllast = cpu_to_be32(xfs_agfl_size(mp) - 1); cpu_to_be32 2565 fs/xfs/libxfs/xfs_alloc.c *blockp = cpu_to_be32(bno); cpu_to_be32 2676 fs/xfs/libxfs/xfs_alloc.c .magic = { cpu_to_be32(XFS_AGF_MAGIC), cpu_to_be32(XFS_AGF_MAGIC) }, cpu_to_be32 3158 fs/xfs/libxfs/xfs_alloc.c if (agf->agf_flcount == cpu_to_be32(0)) cpu_to_be32 78 fs/xfs/libxfs/xfs_alloc_btree.c new->s = cpu_to_be32(bno); cpu_to_be32 202 fs/xfs/libxfs/xfs_alloc_btree.c key->alloc.ar_startblock = cpu_to_be32(x); cpu_to_be32 220 fs/xfs/libxfs/xfs_alloc_btree.c rec->alloc.ar_startblock = cpu_to_be32(cur->bc_rec.a.ar_startblock); cpu_to_be32 221 fs/xfs/libxfs/xfs_alloc_btree.c rec->alloc.ar_blockcount = cpu_to_be32(cur->bc_rec.a.ar_blockcount); cpu_to_be32 320 fs/xfs/libxfs/xfs_alloc_btree.c if (bp->b_ops->magic[0] == cpu_to_be32(XFS_ABTC_MAGIC)) cpu_to_be32 367 fs/xfs/libxfs/xfs_alloc_btree.c .magic = { cpu_to_be32(XFS_ABTB_MAGIC), cpu_to_be32 368 fs/xfs/libxfs/xfs_alloc_btree.c cpu_to_be32(XFS_ABTB_CRC_MAGIC) }, cpu_to_be32 376 fs/xfs/libxfs/xfs_alloc_btree.c .magic = { cpu_to_be32(XFS_ABTC_MAGIC), cpu_to_be32 377 fs/xfs/libxfs/xfs_alloc_btree.c cpu_to_be32(XFS_ABTC_CRC_MAGIC) }, cpu_to_be32 205 fs/xfs/libxfs/xfs_attr_leaf.c hdr3->info.hdr.forw = cpu_to_be32(from->forw); cpu_to_be32 206 fs/xfs/libxfs/xfs_attr_leaf.c hdr3->info.hdr.back = cpu_to_be32(from->back); cpu_to_be32 220 fs/xfs/libxfs/xfs_attr_leaf.c to->hdr.info.forw = cpu_to_be32(from->forw); cpu_to_be32 221 fs/xfs/libxfs/xfs_attr_leaf.c to->hdr.info.back = cpu_to_be32(from->back); cpu_to_be32 1132 fs/xfs/libxfs/xfs_attr_leaf.c btree[0].before = cpu_to_be32(blkno); cpu_to_be32 1389 fs/xfs/libxfs/xfs_attr_leaf.c entry->hashval = cpu_to_be32(args->hashval); cpu_to_be32 2698 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt->valueblk = cpu_to_be32(args->rmtblkno); cpu_to_be32 2699 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); cpu_to_be32 2856 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt->valueblk = cpu_to_be32(args->rmtblkno); cpu_to_be32 2857 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); cpu_to_be32 216 fs/xfs/libxfs/xfs_attr_remote.c .magic = { 0, cpu_to_be32(XFS_ATTR3_RMT_MAGIC) }, cpu_to_be32 236 fs/xfs/libxfs/xfs_attr_remote.c rmt->rm_magic = cpu_to_be32(XFS_ATTR3_RMT_MAGIC); cpu_to_be32 237 fs/xfs/libxfs/xfs_attr_remote.c rmt->rm_offset = cpu_to_be32(offset); cpu_to_be32 238 fs/xfs/libxfs/xfs_attr_remote.c rmt->rm_bytes = cpu_to_be32(size); cpu_to_be32 140 fs/xfs/libxfs/xfs_bmap_btree.c ASSERT(rblock->bb_magic == cpu_to_be32(XFS_BMAP_CRC_MAGIC)); cpu_to_be32 146 fs/xfs/libxfs/xfs_bmap_btree.c ASSERT(rblock->bb_magic == cpu_to_be32(XFS_BMAP_MAGIC)); cpu_to_be32 490 fs/xfs/libxfs/xfs_bmap_btree.c .magic = { cpu_to_be32(XFS_BMAP_MAGIC), cpu_to_be32 491 fs/xfs/libxfs/xfs_bmap_btree.c cpu_to_be32(XFS_BMAP_CRC_MAGIC) }, cpu_to_be32 73 fs/xfs/libxfs/xfs_btree.c if (block->bb_u.l.bb_pad != cpu_to_be32(0)) cpu_to_be32 148 fs/xfs/libxfs/xfs_btree.c if (block->bb_u.s.bb_leftsib != cpu_to_be32(NULLAGBLOCK) && cpu_to_be32 152 fs/xfs/libxfs/xfs_btree.c if (block->bb_u.s.bb_rightsib != cpu_to_be32(NULLAGBLOCK) && cpu_to_be32 735 fs/xfs/libxfs/xfs_btree.c return block->bb_u.s.bb_rightsib == cpu_to_be32(NULLAGBLOCK); cpu_to_be32 1056 fs/xfs/libxfs/xfs_btree.c if (b->bb_u.s.bb_leftsib == cpu_to_be32(NULLAGBLOCK)) cpu_to_be32 1058 fs/xfs/libxfs/xfs_btree.c if (b->bb_u.s.bb_rightsib == cpu_to_be32(NULLAGBLOCK)) cpu_to_be32 1071 fs/xfs/libxfs/xfs_btree.c return ptr->s == cpu_to_be32(NULLAGBLOCK); cpu_to_be32 1082 fs/xfs/libxfs/xfs_btree.c ptr->s = cpu_to_be32(NULLAGBLOCK); cpu_to_be32 1146 fs/xfs/libxfs/xfs_btree.c buf->bb_magic = cpu_to_be32(magic); cpu_to_be32 1164 fs/xfs/libxfs/xfs_btree.c buf->bb_u.s.bb_leftsib = cpu_to_be32(NULLAGBLOCK); cpu_to_be32 1165 fs/xfs/libxfs/xfs_btree.c buf->bb_u.s.bb_rightsib = cpu_to_be32(NULLAGBLOCK); cpu_to_be32 1168 fs/xfs/libxfs/xfs_btree.c buf->bb_u.s.bb_owner = cpu_to_be32(__owner); cpu_to_be32 1247 fs/xfs/libxfs/xfs_btree.c ptr->s = cpu_to_be32(xfs_daddr_to_agbno(cur->bc_mp, cpu_to_be32 4374 fs/xfs/libxfs/xfs_btree.c if (block->bb_u.s.bb_owner == cpu_to_be32(bbcoi->new_owner)) cpu_to_be32 4376 fs/xfs/libxfs/xfs_btree.c block->bb_u.s.bb_owner = cpu_to_be32(bbcoi->new_owner); cpu_to_be32 4510 fs/xfs/libxfs/xfs_btree.c if (block->bb_u.s.bb_leftsib != cpu_to_be32(NULLAGBLOCK) && cpu_to_be32 4513 fs/xfs/libxfs/xfs_btree.c if (block->bb_u.s.bb_rightsib != cpu_to_be32(NULLAGBLOCK) && cpu_to_be32 4931 fs/xfs/libxfs/xfs_btree.c return block->bb_u.s.bb_rightsib != cpu_to_be32(NULLAGBLOCK); cpu_to_be32 511 fs/xfs/libxfs/xfs_da_btree.c node->hdr.info.back = cpu_to_be32(oldblk->blkno); cpu_to_be32 523 fs/xfs/libxfs/xfs_da_btree.c node->hdr.info.forw = cpu_to_be32(oldblk->blkno); cpu_to_be32 642 fs/xfs/libxfs/xfs_da_btree.c btree[0].hashval = cpu_to_be32(blk1->hashval); cpu_to_be32 643 fs/xfs/libxfs/xfs_da_btree.c btree[0].before = cpu_to_be32(blk1->blkno); cpu_to_be32 644 fs/xfs/libxfs/xfs_da_btree.c btree[1].hashval = cpu_to_be32(blk2->hashval); cpu_to_be32 645 fs/xfs/libxfs/xfs_da_btree.c btree[1].before = cpu_to_be32(blk2->blkno); cpu_to_be32 941 fs/xfs/libxfs/xfs_da_btree.c btree[oldblk->index].hashval = cpu_to_be32(newblk->hashval); cpu_to_be32 942 fs/xfs/libxfs/xfs_da_btree.c btree[oldblk->index].before = cpu_to_be32(newblk->blkno); cpu_to_be32 1336 fs/xfs/libxfs/xfs_da_btree.c btree[blk->index].hashval = cpu_to_be32(lasthash); cpu_to_be32 1744 fs/xfs/libxfs/xfs_da_btree.c new_info->forw = cpu_to_be32(old_blk->blkno); cpu_to_be32 1756 fs/xfs/libxfs/xfs_da_btree.c tmp_info->forw = cpu_to_be32(new_blk->blkno); cpu_to_be32 1759 fs/xfs/libxfs/xfs_da_btree.c old_info->back = cpu_to_be32(new_blk->blkno); cpu_to_be32 1766 fs/xfs/libxfs/xfs_da_btree.c new_info->back = cpu_to_be32(old_blk->blkno); cpu_to_be32 1777 fs/xfs/libxfs/xfs_da_btree.c tmp_info->back = cpu_to_be32(new_blk->blkno); cpu_to_be32 1780 fs/xfs/libxfs/xfs_da_btree.c old_info->forw = cpu_to_be32(new_blk->blkno); cpu_to_be32 1836 fs/xfs/libxfs/xfs_da_btree.c tmp_info->forw = cpu_to_be32(save_blk->blkno); cpu_to_be32 1853 fs/xfs/libxfs/xfs_da_btree.c tmp_info->back = cpu_to_be32(save_blk->blkno); cpu_to_be32 2273 fs/xfs/libxfs/xfs_da_btree.c sib_info->forw = cpu_to_be32(dead_blkno); cpu_to_be32 2295 fs/xfs/libxfs/xfs_da_btree.c sib_info->back = cpu_to_be32(dead_blkno); cpu_to_be32 2375 fs/xfs/libxfs/xfs_da_btree.c btree[entno].before = cpu_to_be32(dead_blkno); cpu_to_be32 455 fs/xfs/libxfs/xfs_da_format.c to->hdr.info.forw = cpu_to_be32(from->forw); cpu_to_be32 456 fs/xfs/libxfs/xfs_da_format.c to->hdr.info.back = cpu_to_be32(from->back); cpu_to_be32 489 fs/xfs/libxfs/xfs_da_format.c hdr3->info.hdr.forw = cpu_to_be32(from->forw); cpu_to_be32 490 fs/xfs/libxfs/xfs_da_format.c hdr3->info.hdr.back = cpu_to_be32(from->back); cpu_to_be32 531 fs/xfs/libxfs/xfs_da_format.c to->hdr.info.forw = cpu_to_be32(from->forw); cpu_to_be32 532 fs/xfs/libxfs/xfs_da_format.c to->hdr.info.back = cpu_to_be32(from->back); cpu_to_be32 561 fs/xfs/libxfs/xfs_da_format.c hdr3->info.hdr.forw = cpu_to_be32(from->forw); cpu_to_be32 562 fs/xfs/libxfs/xfs_da_format.c hdr3->info.hdr.back = cpu_to_be32(from->back); cpu_to_be32 655 fs/xfs/libxfs/xfs_da_format.c to->hdr.magic = cpu_to_be32(from->magic); cpu_to_be32 656 fs/xfs/libxfs/xfs_da_format.c to->hdr.firstdb = cpu_to_be32(from->firstdb); cpu_to_be32 657 fs/xfs/libxfs/xfs_da_format.c to->hdr.nvalid = cpu_to_be32(from->nvalid); cpu_to_be32 658 fs/xfs/libxfs/xfs_da_format.c to->hdr.nused = cpu_to_be32(from->nused); cpu_to_be32 685 fs/xfs/libxfs/xfs_da_format.c hdr3->hdr.magic = cpu_to_be32(from->magic); cpu_to_be32 686 fs/xfs/libxfs/xfs_da_format.c hdr3->firstdb = cpu_to_be32(from->firstdb); cpu_to_be32 687 fs/xfs/libxfs/xfs_da_format.c hdr3->nvalid = cpu_to_be32(from->nvalid); cpu_to_be32 688 fs/xfs/libxfs/xfs_da_format.c hdr3->nused = cpu_to_be32(from->nused); cpu_to_be32 110 fs/xfs/libxfs/xfs_dir2_block.c .magic = { cpu_to_be32(XFS_DIR2_BLOCK_MAGIC), cpu_to_be32 111 fs/xfs/libxfs/xfs_dir2_block.c cpu_to_be32(XFS_DIR3_BLOCK_MAGIC) }, cpu_to_be32 147 fs/xfs/libxfs/xfs_dir2_block.c hdr3->magic = cpu_to_be32(XFS_DIR3_BLOCK_MAGIC); cpu_to_be32 154 fs/xfs/libxfs/xfs_dir2_block.c hdr3->magic = cpu_to_be32(XFS_DIR2_BLOCK_MAGIC); cpu_to_be32 288 fs/xfs/libxfs/xfs_dir2_block.c if (blp[fromidx].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) { cpu_to_be32 308 fs/xfs/libxfs/xfs_dir2_block.c btp->stale = cpu_to_be32(1); cpu_to_be32 483 fs/xfs/libxfs/xfs_dir2_block.c cpu_to_be32(XFS_DIR2_NULL_DATAPTR); cpu_to_be32 489 fs/xfs/libxfs/xfs_dir2_block.c cpu_to_be32(XFS_DIR2_NULL_DATAPTR) && cpu_to_be32 526 fs/xfs/libxfs/xfs_dir2_block.c blp[mid].hashval = cpu_to_be32(args->hashval); cpu_to_be32 527 fs/xfs/libxfs/xfs_dir2_block.c blp[mid].address = cpu_to_be32(xfs_dir2_byte_to_dataptr( cpu_to_be32 803 fs/xfs/libxfs/xfs_dir2_block.c blp[ent].address = cpu_to_be32(XFS_DIR2_NULL_DATAPTR); cpu_to_be32 961 fs/xfs/libxfs/xfs_dir2_block.c ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || cpu_to_be32 962 fs/xfs/libxfs/xfs_dir2_block.c hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC)); cpu_to_be32 999 fs/xfs/libxfs/xfs_dir2_block.c btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); cpu_to_be32 1007 fs/xfs/libxfs/xfs_dir2_block.c if (ents[from].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) cpu_to_be32 1137 fs/xfs/libxfs/xfs_dir2_block.c btp->count = cpu_to_be32(sfp->count + 2); /* ., .. */ cpu_to_be32 1160 fs/xfs/libxfs/xfs_dir2_block.c blp[0].hashval = cpu_to_be32(xfs_dir_hash_dot); cpu_to_be32 1161 fs/xfs/libxfs/xfs_dir2_block.c blp[0].address = cpu_to_be32(xfs_dir2_byte_to_dataptr( cpu_to_be32 1174 fs/xfs/libxfs/xfs_dir2_block.c blp[1].hashval = cpu_to_be32(xfs_dir_hash_dotdot); cpu_to_be32 1175 fs/xfs/libxfs/xfs_dir2_block.c blp[1].address = cpu_to_be32(xfs_dir2_byte_to_dataptr( cpu_to_be32 1227 fs/xfs/libxfs/xfs_dir2_block.c blp[2 + i].hashval = cpu_to_be32(mp->m_dirnameops-> cpu_to_be32 1229 fs/xfs/libxfs/xfs_dir2_block.c blp[2 + i].address = cpu_to_be32(xfs_dir2_byte_to_dataptr( cpu_to_be32 77 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR3_BLOCK_MAGIC): cpu_to_be32 78 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR2_BLOCK_MAGIC): cpu_to_be32 93 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR3_DATA_MAGIC): cpu_to_be32 94 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR2_DATA_MAGIC): cpu_to_be32 185 fs/xfs/libxfs/xfs_dir2_data.c if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || cpu_to_be32 186 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { cpu_to_be32 208 fs/xfs/libxfs/xfs_dir2_data.c if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || cpu_to_be32 209 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { cpu_to_be32 212 fs/xfs/libxfs/xfs_dir2_data.c cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) cpu_to_be32 277 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR2_BLOCK_MAGIC): cpu_to_be32 278 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR3_BLOCK_MAGIC): cpu_to_be32 282 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR2_DATA_MAGIC): cpu_to_be32 283 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR3_DATA_MAGIC): cpu_to_be32 336 fs/xfs/libxfs/xfs_dir2_data.c .magic = { cpu_to_be32(XFS_DIR2_DATA_MAGIC), cpu_to_be32 337 fs/xfs/libxfs/xfs_dir2_data.c cpu_to_be32(XFS_DIR3_DATA_MAGIC) }, cpu_to_be32 345 fs/xfs/libxfs/xfs_dir2_data.c .magic = { cpu_to_be32(XFS_DIR2_DATA_MAGIC), cpu_to_be32 346 fs/xfs/libxfs/xfs_dir2_data.c cpu_to_be32(XFS_DIR3_DATA_MAGIC) }, cpu_to_be32 487 fs/xfs/libxfs/xfs_dir2_data.c ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || cpu_to_be32 488 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || cpu_to_be32 489 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || cpu_to_be32 490 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); cpu_to_be32 530 fs/xfs/libxfs/xfs_dir2_data.c ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || cpu_to_be32 531 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || cpu_to_be32 532 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || cpu_to_be32 533 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); cpu_to_be32 576 fs/xfs/libxfs/xfs_dir2_data.c ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || cpu_to_be32 577 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || cpu_to_be32 578 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || cpu_to_be32 579 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); cpu_to_be32 670 fs/xfs/libxfs/xfs_dir2_data.c hdr3->magic = cpu_to_be32(XFS_DIR3_DATA_MAGIC); cpu_to_be32 676 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC); cpu_to_be32 715 fs/xfs/libxfs/xfs_dir2_data.c ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || cpu_to_be32 716 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || cpu_to_be32 717 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || cpu_to_be32 718 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); cpu_to_be32 736 fs/xfs/libxfs/xfs_dir2_data.c ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || cpu_to_be32 737 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || cpu_to_be32 738 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || cpu_to_be32 739 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); cpu_to_be32 757 fs/xfs/libxfs/xfs_dir2_data.c ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || cpu_to_be32 758 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || cpu_to_be32 759 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || cpu_to_be32 760 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); cpu_to_be32 963 fs/xfs/libxfs/xfs_dir2_data.c if (hdr->magic != cpu_to_be32(XFS_DIR2_DATA_MAGIC) && cpu_to_be32 964 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic != cpu_to_be32(XFS_DIR3_DATA_MAGIC) && cpu_to_be32 965 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic != cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) && cpu_to_be32 966 fs/xfs/libxfs/xfs_dir2_data.c hdr->magic != cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) cpu_to_be32 1158 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR3_BLOCK_MAGIC): cpu_to_be32 1159 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR2_BLOCK_MAGIC): cpu_to_be32 1161 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR3_DATA_MAGIC): cpu_to_be32 1162 fs/xfs/libxfs/xfs_dir2_data.c case cpu_to_be32(XFS_DIR2_DATA_MAGIC): cpu_to_be32 127 fs/xfs/libxfs/xfs_dir2_leaf.c if (ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) cpu_to_be32 412 fs/xfs/libxfs/xfs_dir2_leaf.c if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC)) cpu_to_be32 413 fs/xfs/libxfs/xfs_dir2_leaf.c hdr->magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC); cpu_to_be32 415 fs/xfs/libxfs/xfs_dir2_leaf.c hdr->magic = cpu_to_be32(XFS_DIR3_DATA_MAGIC); cpu_to_be32 423 fs/xfs/libxfs/xfs_dir2_leaf.c ltp->bestcount = cpu_to_be32(1); cpu_to_be32 450 fs/xfs/libxfs/xfs_dir2_leaf.c cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) cpu_to_be32 461 fs/xfs/libxfs/xfs_dir2_leaf.c cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) cpu_to_be32 521 fs/xfs/libxfs/xfs_dir2_leaf.c cpu_to_be32(XFS_DIR2_NULL_DATAPTR)); cpu_to_be32 542 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)); cpu_to_be32 848 fs/xfs/libxfs/xfs_dir2_leaf.c lep->hashval = cpu_to_be32(args->hashval); cpu_to_be32 849 fs/xfs/libxfs/xfs_dir2_leaf.c lep->address = cpu_to_be32( cpu_to_be32 889 fs/xfs/libxfs/xfs_dir2_leaf.c if (ents[from].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) cpu_to_be32 965 fs/xfs/libxfs/xfs_dir2_leaf.c ents[from].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) { cpu_to_be32 1361 fs/xfs/libxfs/xfs_dir2_leaf.c lep->address = cpu_to_be32(XFS_DIR2_NULL_DATAPTR); cpu_to_be32 1581 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || cpu_to_be32 1582 fs/xfs/libxfs/xfs_dir2_leaf.c hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC)); cpu_to_be32 1741 fs/xfs/libxfs/xfs_dir2_leaf.c ltp->bestcount = cpu_to_be32(freehdr.nvalid); cpu_to_be32 148 fs/xfs/libxfs/xfs_dir2_node.c .magic = { cpu_to_be32(XFS_DIR2_FREE_MAGIC), cpu_to_be32 149 fs/xfs/libxfs/xfs_dir2_node.c cpu_to_be32(XFS_DIR3_FREE_MAGIC) }, cpu_to_be32 301 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(free->hdr.magic == cpu_to_be32(XFS_DIR2_FREE_MAGIC) || cpu_to_be32 302 fs/xfs/libxfs/xfs_dir2_node.c free->hdr.magic == cpu_to_be32(XFS_DIR3_FREE_MAGIC)); cpu_to_be32 321 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(free->hdr.magic == cpu_to_be32(XFS_DIR2_FREE_MAGIC) || cpu_to_be32 322 fs/xfs/libxfs/xfs_dir2_node.c free->hdr.magic == cpu_to_be32(XFS_DIR3_FREE_MAGIC)); cpu_to_be32 492 fs/xfs/libxfs/xfs_dir2_node.c lep->hashval = cpu_to_be32(args->hashval); cpu_to_be32 493 fs/xfs/libxfs/xfs_dir2_node.c lep->address = cpu_to_be32(xfs_dir2_db_off_to_dataptr(args->geo, cpu_to_be32 604 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(free->hdr.magic == cpu_to_be32(XFS_DIR2_FREE_MAGIC) || cpu_to_be32 605 fs/xfs/libxfs/xfs_dir2_node.c free->hdr.magic == cpu_to_be32(XFS_DIR3_FREE_MAGIC)); cpu_to_be32 926 fs/xfs/libxfs/xfs_dir2_node.c cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) cpu_to_be32 1249 fs/xfs/libxfs/xfs_dir2_node.c lep->address = cpu_to_be32(XFS_DIR2_NULL_DATAPTR); cpu_to_be32 2205 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || cpu_to_be32 2206 fs/xfs/libxfs/xfs_dir2_node.c hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC)); cpu_to_be32 127 fs/xfs/libxfs/xfs_dquot_buf.c dqb->dd_diskdq.d_id = cpu_to_be32(id); cpu_to_be32 1004 fs/xfs/libxfs/xfs_format.h *(__be32 *)XFS_DFORK_DPTR(dip) = cpu_to_be32(rdev); cpu_to_be32 60 fs/xfs/libxfs/xfs_ialloc.c rec.inobt.ir_startino = cpu_to_be32(irec->ir_startino); cpu_to_be32 67 fs/xfs/libxfs/xfs_ialloc.c rec.inobt.ir_u.f.ir_freecount = cpu_to_be32(irec->ir_freecount); cpu_to_be32 347 fs/xfs/libxfs/xfs_ialloc.c free->di_gen = cpu_to_be32(gen); cpu_to_be32 348 fs/xfs/libxfs/xfs_ialloc.c free->di_next_unlinked = cpu_to_be32(NULLAGINO); cpu_to_be32 886 fs/xfs/libxfs/xfs_ialloc.c agi->agi_newino = cpu_to_be32(newino); cpu_to_be32 1297 fs/xfs/libxfs/xfs_ialloc.c if (agi->agi_newino != cpu_to_be32(NULLAGINO)) { cpu_to_be32 1466 fs/xfs/libxfs/xfs_ialloc.c if (agi->agi_newino != cpu_to_be32(NULLAGINO)) { cpu_to_be32 1916 fs/xfs/libxfs/xfs_ialloc.c ASSERT(agi->agi_magicnum == cpu_to_be32(XFS_AGI_MAGIC)); cpu_to_be32 2440 fs/xfs/libxfs/xfs_ialloc.c ASSERT(agi->agi_magicnum == cpu_to_be32(XFS_AGI_MAGIC)); cpu_to_be32 2509 fs/xfs/libxfs/xfs_ialloc.c if (agi->agi_unlinked[i] == cpu_to_be32(NULLAGINO)) cpu_to_be32 2559 fs/xfs/libxfs/xfs_ialloc.c .magic = { cpu_to_be32(XFS_AGI_MAGIC), cpu_to_be32(XFS_AGI_MAGIC) }, cpu_to_be32 103 fs/xfs/libxfs/xfs_ialloc_btree.c new->s = cpu_to_be32(XFS_FSB_TO_AGBNO(args.mp, args.fsbno)); cpu_to_be32 185 fs/xfs/libxfs/xfs_ialloc_btree.c key->inobt.ir_startino = cpu_to_be32(x); cpu_to_be32 193 fs/xfs/libxfs/xfs_ialloc_btree.c rec->inobt.ir_startino = cpu_to_be32(cur->bc_rec.i.ir_startino); cpu_to_be32 202 fs/xfs/libxfs/xfs_ialloc_btree.c cpu_to_be32(cur->bc_rec.i.ir_freecount); cpu_to_be32 325 fs/xfs/libxfs/xfs_ialloc_btree.c .magic = { cpu_to_be32(XFS_IBT_MAGIC), cpu_to_be32(XFS_IBT_CRC_MAGIC) }, cpu_to_be32 333 fs/xfs/libxfs/xfs_ialloc_btree.c .magic = { cpu_to_be32(XFS_FIBT_MAGIC), cpu_to_be32 334 fs/xfs/libxfs/xfs_ialloc_btree.c cpu_to_be32(XFS_FIBT_CRC_MAGIC) }, cpu_to_be32 280 fs/xfs/libxfs/xfs_inode_buf.c to->di_uid = cpu_to_be32(from->di_uid); cpu_to_be32 281 fs/xfs/libxfs/xfs_inode_buf.c to->di_gid = cpu_to_be32(from->di_gid); cpu_to_be32 286 fs/xfs/libxfs/xfs_inode_buf.c to->di_atime.t_sec = cpu_to_be32(inode->i_atime.tv_sec); cpu_to_be32 287 fs/xfs/libxfs/xfs_inode_buf.c to->di_atime.t_nsec = cpu_to_be32(inode->i_atime.tv_nsec); cpu_to_be32 288 fs/xfs/libxfs/xfs_inode_buf.c to->di_mtime.t_sec = cpu_to_be32(inode->i_mtime.tv_sec); cpu_to_be32 289 fs/xfs/libxfs/xfs_inode_buf.c to->di_mtime.t_nsec = cpu_to_be32(inode->i_mtime.tv_nsec); cpu_to_be32 290 fs/xfs/libxfs/xfs_inode_buf.c to->di_ctime.t_sec = cpu_to_be32(inode->i_ctime.tv_sec); cpu_to_be32 291 fs/xfs/libxfs/xfs_inode_buf.c to->di_ctime.t_nsec = cpu_to_be32(inode->i_ctime.tv_nsec); cpu_to_be32 292 fs/xfs/libxfs/xfs_inode_buf.c to->di_nlink = cpu_to_be32(inode->i_nlink); cpu_to_be32 293 fs/xfs/libxfs/xfs_inode_buf.c to->di_gen = cpu_to_be32(inode->i_generation); cpu_to_be32 298 fs/xfs/libxfs/xfs_inode_buf.c to->di_extsize = cpu_to_be32(from->di_extsize); cpu_to_be32 299 fs/xfs/libxfs/xfs_inode_buf.c to->di_nextents = cpu_to_be32(from->di_nextents); cpu_to_be32 303 fs/xfs/libxfs/xfs_inode_buf.c to->di_dmevmask = cpu_to_be32(from->di_dmevmask); cpu_to_be32 309 fs/xfs/libxfs/xfs_inode_buf.c to->di_crtime.t_sec = cpu_to_be32(from->di_crtime.t_sec); cpu_to_be32 310 fs/xfs/libxfs/xfs_inode_buf.c to->di_crtime.t_nsec = cpu_to_be32(from->di_crtime.t_nsec); cpu_to_be32 312 fs/xfs/libxfs/xfs_inode_buf.c to->di_cowextsize = cpu_to_be32(from->di_cowextsize); cpu_to_be32 333 fs/xfs/libxfs/xfs_inode_buf.c to->di_uid = cpu_to_be32(from->di_uid); cpu_to_be32 334 fs/xfs/libxfs/xfs_inode_buf.c to->di_gid = cpu_to_be32(from->di_gid); cpu_to_be32 335 fs/xfs/libxfs/xfs_inode_buf.c to->di_nlink = cpu_to_be32(from->di_nlink); cpu_to_be32 340 fs/xfs/libxfs/xfs_inode_buf.c to->di_atime.t_sec = cpu_to_be32(from->di_atime.t_sec); cpu_to_be32 341 fs/xfs/libxfs/xfs_inode_buf.c to->di_atime.t_nsec = cpu_to_be32(from->di_atime.t_nsec); cpu_to_be32 342 fs/xfs/libxfs/xfs_inode_buf.c to->di_mtime.t_sec = cpu_to_be32(from->di_mtime.t_sec); cpu_to_be32 343 fs/xfs/libxfs/xfs_inode_buf.c to->di_mtime.t_nsec = cpu_to_be32(from->di_mtime.t_nsec); cpu_to_be32 344 fs/xfs/libxfs/xfs_inode_buf.c to->di_ctime.t_sec = cpu_to_be32(from->di_ctime.t_sec); cpu_to_be32 345 fs/xfs/libxfs/xfs_inode_buf.c to->di_ctime.t_nsec = cpu_to_be32(from->di_ctime.t_nsec); cpu_to_be32 349 fs/xfs/libxfs/xfs_inode_buf.c to->di_extsize = cpu_to_be32(from->di_extsize); cpu_to_be32 350 fs/xfs/libxfs/xfs_inode_buf.c to->di_nextents = cpu_to_be32(from->di_nextents); cpu_to_be32 354 fs/xfs/libxfs/xfs_inode_buf.c to->di_dmevmask = cpu_to_be32(from->di_dmevmask); cpu_to_be32 357 fs/xfs/libxfs/xfs_inode_buf.c to->di_gen = cpu_to_be32(from->di_gen); cpu_to_be32 361 fs/xfs/libxfs/xfs_inode_buf.c to->di_crtime.t_sec = cpu_to_be32(from->di_crtime.t_sec); cpu_to_be32 362 fs/xfs/libxfs/xfs_inode_buf.c to->di_crtime.t_nsec = cpu_to_be32(from->di_crtime.t_nsec); cpu_to_be32 364 fs/xfs/libxfs/xfs_inode_buf.c to->di_cowextsize = cpu_to_be32(from->di_cowextsize); cpu_to_be32 173 fs/xfs/libxfs/xfs_refcount.c rec.refc.rc_startblock = cpu_to_be32(irec->rc_startblock); cpu_to_be32 174 fs/xfs/libxfs/xfs_refcount.c rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); cpu_to_be32 175 fs/xfs/libxfs/xfs_refcount.c rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); cpu_to_be32 87 fs/xfs/libxfs/xfs_refcount_btree.c new->s = cpu_to_be32(args.agbno); cpu_to_be32 154 fs/xfs/libxfs/xfs_refcount_btree.c key->refc.rc_startblock = cpu_to_be32(x); cpu_to_be32 162 fs/xfs/libxfs/xfs_refcount_btree.c rec->refc.rc_startblock = cpu_to_be32(cur->bc_rec.rc.rc_startblock); cpu_to_be32 163 fs/xfs/libxfs/xfs_refcount_btree.c rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); cpu_to_be32 164 fs/xfs/libxfs/xfs_refcount_btree.c rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); cpu_to_be32 265 fs/xfs/libxfs/xfs_refcount_btree.c .magic = { 0, cpu_to_be32(XFS_REFC_CRC_MAGIC) }, cpu_to_be32 86 fs/xfs/libxfs/xfs_rmap.c rec.rmap.rm_startblock = cpu_to_be32(irec->rm_startblock); cpu_to_be32 87 fs/xfs/libxfs/xfs_rmap.c rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount); cpu_to_be32 108 fs/xfs/libxfs/xfs_rmap_btree.c new->s = cpu_to_be32(bno); cpu_to_be32 206 fs/xfs/libxfs/xfs_rmap_btree.c rec->rmap.rm_startblock = cpu_to_be32(cur->bc_rec.r.rm_startblock); cpu_to_be32 207 fs/xfs/libxfs/xfs_rmap_btree.c rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); cpu_to_be32 364 fs/xfs/libxfs/xfs_rmap_btree.c .magic = { 0, cpu_to_be32(XFS_RMAP_CRC_MAGIC) }, cpu_to_be32 598 fs/xfs/libxfs/xfs_sb.c to->sb_magicnum = cpu_to_be32(from->sb_magicnum); cpu_to_be32 599 fs/xfs/libxfs/xfs_sb.c to->sb_blocksize = cpu_to_be32(from->sb_blocksize); cpu_to_be32 608 fs/xfs/libxfs/xfs_sb.c to->sb_rextsize = cpu_to_be32(from->sb_rextsize); cpu_to_be32 609 fs/xfs/libxfs/xfs_sb.c to->sb_agblocks = cpu_to_be32(from->sb_agblocks); cpu_to_be32 610 fs/xfs/libxfs/xfs_sb.c to->sb_agcount = cpu_to_be32(from->sb_agcount); cpu_to_be32 611 fs/xfs/libxfs/xfs_sb.c to->sb_rbmblocks = cpu_to_be32(from->sb_rbmblocks); cpu_to_be32 612 fs/xfs/libxfs/xfs_sb.c to->sb_logblocks = cpu_to_be32(from->sb_logblocks); cpu_to_be32 633 fs/xfs/libxfs/xfs_sb.c to->sb_inoalignmt = cpu_to_be32(from->sb_inoalignmt); cpu_to_be32 634 fs/xfs/libxfs/xfs_sb.c to->sb_unit = cpu_to_be32(from->sb_unit); cpu_to_be32 635 fs/xfs/libxfs/xfs_sb.c to->sb_width = cpu_to_be32(from->sb_width); cpu_to_be32 639 fs/xfs/libxfs/xfs_sb.c to->sb_logsunit = cpu_to_be32(from->sb_logsunit); cpu_to_be32 647 fs/xfs/libxfs/xfs_sb.c to->sb_features2 = cpu_to_be32(from->sb_features2); cpu_to_be32 648 fs/xfs/libxfs/xfs_sb.c to->sb_bad_features2 = cpu_to_be32(from->sb_bad_features2); cpu_to_be32 651 fs/xfs/libxfs/xfs_sb.c to->sb_features_compat = cpu_to_be32(from->sb_features_compat); cpu_to_be32 653 fs/xfs/libxfs/xfs_sb.c cpu_to_be32(from->sb_features_ro_compat); cpu_to_be32 655 fs/xfs/libxfs/xfs_sb.c cpu_to_be32(from->sb_features_incompat); cpu_to_be32 657 fs/xfs/libxfs/xfs_sb.c cpu_to_be32(from->sb_features_log_incompat); cpu_to_be32 658 fs/xfs/libxfs/xfs_sb.c to->sb_spino_align = cpu_to_be32(from->sb_spino_align); cpu_to_be32 690 fs/xfs/libxfs/xfs_sb.c if (dsb->sb_magicnum == cpu_to_be32(XFS_SB_MAGIC) && cpu_to_be32 734 fs/xfs/libxfs/xfs_sb.c if (dsb->sb_magicnum == cpu_to_be32(XFS_SB_MAGIC)) { cpu_to_be32 779 fs/xfs/libxfs/xfs_sb.c .magic = { cpu_to_be32(XFS_SB_MAGIC), cpu_to_be32(XFS_SB_MAGIC) }, cpu_to_be32 786 fs/xfs/libxfs/xfs_sb.c .magic = { cpu_to_be32(XFS_SB_MAGIC), cpu_to_be32(XFS_SB_MAGIC) }, cpu_to_be32 49 fs/xfs/libxfs/xfs_symlink_remote.c dsl->sl_magic = cpu_to_be32(XFS_SYMLINK_MAGIC); cpu_to_be32 50 fs/xfs/libxfs/xfs_symlink_remote.c dsl->sl_offset = cpu_to_be32(offset); cpu_to_be32 51 fs/xfs/libxfs/xfs_symlink_remote.c dsl->sl_bytes = cpu_to_be32(size); cpu_to_be32 158 fs/xfs/libxfs/xfs_symlink_remote.c .magic = { 0, cpu_to_be32(XFS_SYMLINK_MAGIC) }, cpu_to_be32 103 fs/xfs/scrub/agheader.c if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) cpu_to_be32 130 fs/xfs/scrub/agheader.c if (sb->sb_rextsize != cpu_to_be32(mp->m_sb.sb_rextsize)) cpu_to_be32 133 fs/xfs/scrub/agheader.c if (sb->sb_agblocks != cpu_to_be32(mp->m_sb.sb_agblocks)) cpu_to_be32 136 fs/xfs/scrub/agheader.c if (sb->sb_agcount != cpu_to_be32(mp->m_sb.sb_agcount)) cpu_to_be32 139 fs/xfs/scrub/agheader.c if (sb->sb_rbmblocks != cpu_to_be32(mp->m_sb.sb_rbmblocks)) cpu_to_be32 142 fs/xfs/scrub/agheader.c if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) cpu_to_be32 222 fs/xfs/scrub/agheader.c if (sb->sb_inoalignmt != cpu_to_be32(mp->m_sb.sb_inoalignmt)) cpu_to_be32 225 fs/xfs/scrub/agheader.c if (sb->sb_unit != cpu_to_be32(mp->m_sb.sb_unit)) cpu_to_be32 228 fs/xfs/scrub/agheader.c if (sb->sb_width != cpu_to_be32(mp->m_sb.sb_width)) cpu_to_be32 240 fs/xfs/scrub/agheader.c if (sb->sb_logsunit != cpu_to_be32(mp->m_sb.sb_logsunit)) cpu_to_be32 252 fs/xfs/scrub/agheader.c if (!!(sb->sb_features2 & cpu_to_be32(~v2_ok))) cpu_to_be32 260 fs/xfs/scrub/agheader.c features_mask = cpu_to_be32(XFS_SB_VERSION2_LAZYSBCOUNTBIT | cpu_to_be32 265 fs/xfs/scrub/agheader.c (cpu_to_be32(mp->m_sb.sb_features2) & features_mask)) cpu_to_be32 269 fs/xfs/scrub/agheader.c features_mask = cpu_to_be32(XFS_SB_VERSION2_ATTR2BIT); cpu_to_be32 271 fs/xfs/scrub/agheader.c (cpu_to_be32(mp->m_sb.sb_features2) & features_mask)) cpu_to_be32 282 fs/xfs/scrub/agheader.c features_mask = cpu_to_be32(XFS_SB_FEAT_COMPAT_UNKNOWN); cpu_to_be32 284 fs/xfs/scrub/agheader.c (cpu_to_be32(mp->m_sb.sb_features_compat) & features_mask)) cpu_to_be32 288 fs/xfs/scrub/agheader.c features_mask = cpu_to_be32(XFS_SB_FEAT_RO_COMPAT_UNKNOWN | cpu_to_be32 293 fs/xfs/scrub/agheader.c (cpu_to_be32(mp->m_sb.sb_features_ro_compat) & cpu_to_be32 298 fs/xfs/scrub/agheader.c features_mask = cpu_to_be32(XFS_SB_FEAT_INCOMPAT_UNKNOWN | cpu_to_be32 303 fs/xfs/scrub/agheader.c (cpu_to_be32(mp->m_sb.sb_features_incompat) & cpu_to_be32 308 fs/xfs/scrub/agheader.c features_mask = cpu_to_be32(XFS_SB_FEAT_INCOMPAT_LOG_UNKNOWN); cpu_to_be32 310 fs/xfs/scrub/agheader.c (cpu_to_be32(mp->m_sb.sb_features_log_incompat) & cpu_to_be32 316 fs/xfs/scrub/agheader.c if (sb->sb_spino_align != cpu_to_be32(mp->m_sb.sb_spino_align)) cpu_to_be32 395 fs/xfs/scrub/agheader.c if (agf->agf_freeblks != cpu_to_be32(0)) cpu_to_be32 886 fs/xfs/scrub/agheader.c if (agi->agi_pad32 != cpu_to_be32(0)) cpu_to_be32 188 fs/xfs/scrub/agheader_repair.c agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); cpu_to_be32 189 fs/xfs/scrub/agheader_repair.c agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); cpu_to_be32 190 fs/xfs/scrub/agheader_repair.c agf->agf_seqno = cpu_to_be32(sc->sa.agno); cpu_to_be32 191 fs/xfs/scrub/agheader_repair.c agf->agf_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); cpu_to_be32 211 fs/xfs/scrub/agheader_repair.c cpu_to_be32(fab[XREP_AGF_BNOBT].root); cpu_to_be32 213 fs/xfs/scrub/agheader_repair.c cpu_to_be32(fab[XREP_AGF_BNOBT].height); cpu_to_be32 216 fs/xfs/scrub/agheader_repair.c cpu_to_be32(fab[XREP_AGF_CNTBT].root); cpu_to_be32 218 fs/xfs/scrub/agheader_repair.c cpu_to_be32(fab[XREP_AGF_CNTBT].height); cpu_to_be32 221 fs/xfs/scrub/agheader_repair.c cpu_to_be32(fab[XREP_AGF_RMAPBT].root); cpu_to_be32 223 fs/xfs/scrub/agheader_repair.c cpu_to_be32(fab[XREP_AGF_RMAPBT].height); cpu_to_be32 227 fs/xfs/scrub/agheader_repair.c cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].root); cpu_to_be32 229 fs/xfs/scrub/agheader_repair.c cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].height); cpu_to_be32 258 fs/xfs/scrub/agheader_repair.c agf->agf_freeblks = cpu_to_be32(raa.freeblks); cpu_to_be32 259 fs/xfs/scrub/agheader_repair.c agf->agf_longest = cpu_to_be32(raa.longest); cpu_to_be32 276 fs/xfs/scrub/agheader_repair.c agf->agf_rmap_blocks = cpu_to_be32(blocks); cpu_to_be32 279 fs/xfs/scrub/agheader_repair.c agf->agf_btreeblks = cpu_to_be32(btreeblks); cpu_to_be32 289 fs/xfs/scrub/agheader_repair.c agf->agf_refcount_blocks = cpu_to_be32(blocks); cpu_to_be32 563 fs/xfs/scrub/agheader_repair.c agf->agf_flfirst = cpu_to_be32(0); cpu_to_be32 564 fs/xfs/scrub/agheader_repair.c agf->agf_flcount = cpu_to_be32(flcount); cpu_to_be32 565 fs/xfs/scrub/agheader_repair.c agf->agf_fllast = cpu_to_be32(flcount - 1); cpu_to_be32 595 fs/xfs/scrub/agheader_repair.c agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); cpu_to_be32 596 fs/xfs/scrub/agheader_repair.c agfl->agfl_seqno = cpu_to_be32(sc->sa.agno); cpu_to_be32 612 fs/xfs/scrub/agheader_repair.c agfl_bno[fl_off] = cpu_to_be32(agbno); cpu_to_be32 773 fs/xfs/scrub/agheader_repair.c agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); cpu_to_be32 774 fs/xfs/scrub/agheader_repair.c agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); cpu_to_be32 775 fs/xfs/scrub/agheader_repair.c agi->agi_seqno = cpu_to_be32(sc->sa.agno); cpu_to_be32 776 fs/xfs/scrub/agheader_repair.c agi->agi_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); cpu_to_be32 777 fs/xfs/scrub/agheader_repair.c agi->agi_newino = cpu_to_be32(NULLAGINO); cpu_to_be32 778 fs/xfs/scrub/agheader_repair.c agi->agi_dirino = cpu_to_be32(NULLAGINO); cpu_to_be32 798 fs/xfs/scrub/agheader_repair.c agi->agi_root = cpu_to_be32(fab[XREP_AGI_INOBT].root); cpu_to_be32 799 fs/xfs/scrub/agheader_repair.c agi->agi_level = cpu_to_be32(fab[XREP_AGI_INOBT].height); cpu_to_be32 802 fs/xfs/scrub/agheader_repair.c agi->agi_free_root = cpu_to_be32(fab[XREP_AGI_FINOBT].root); cpu_to_be32 803 fs/xfs/scrub/agheader_repair.c agi->agi_free_level = cpu_to_be32(fab[XREP_AGI_FINOBT].height); cpu_to_be32 827 fs/xfs/scrub/agheader_repair.c agi->agi_count = cpu_to_be32(count); cpu_to_be32 828 fs/xfs/scrub/agheader_repair.c agi->agi_freecount = cpu_to_be32(freecount); cpu_to_be32 510 fs/xfs/scrub/dir.c if (hdr3->pad != cpu_to_be32(0)) cpu_to_be32 541 fs/xfs/scrub/dir.c if (ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) cpu_to_be32 593 fs/xfs/scrub/dir.c if (hdr3->pad != cpu_to_be32(0)) cpu_to_be32 266 fs/xfs/scrub/inode.c if (dip->di_uid == cpu_to_be32(-1U) || cpu_to_be32 267 fs/xfs/scrub/inode.c dip->di_gid == cpu_to_be32(-1U)) cpu_to_be32 111 fs/xfs/scrub/quota.c if (d->d_pad0 != cpu_to_be32(0) || d->d_pad != cpu_to_be16(0)) cpu_to_be32 809 fs/xfs/scrub/repair.c if (btblock->bb_u.s.bb_leftsib == cpu_to_be32(NULLAGBLOCK) && cpu_to_be32 810 fs/xfs/scrub/repair.c btblock->bb_u.s.bb_rightsib == cpu_to_be32(NULLAGBLOCK)) cpu_to_be32 88 fs/xfs/xfs_acl.c aclp->acl_cnt = cpu_to_be32(acl->a_count); cpu_to_be32 93 fs/xfs/xfs_acl.c ace->ae_tag = cpu_to_be32(acl_e->e_tag); cpu_to_be32 96 fs/xfs/xfs_acl.c ace->ae_id = cpu_to_be32(xfs_kuid_to_uid(acl_e->e_uid)); cpu_to_be32 99 fs/xfs/xfs_acl.c ace->ae_id = cpu_to_be32(xfs_kgid_to_gid(acl_e->e_gid)); cpu_to_be32 102 fs/xfs/xfs_acl.c ace->ae_id = cpu_to_be32(ACL_UNDEFINED_ID); cpu_to_be32 140 fs/xfs/xfs_dquot.c d->d_btimer = cpu_to_be32(get_seconds() + cpu_to_be32 163 fs/xfs/xfs_dquot.c d->d_itimer = cpu_to_be32(get_seconds() + cpu_to_be32 186 fs/xfs/xfs_dquot.c d->d_rtbtimer = cpu_to_be32(get_seconds() + cpu_to_be32 232 fs/xfs/xfs_dquot.c d->dd_diskdq.d_id = cpu_to_be32(curid); cpu_to_be32 446 fs/xfs/xfs_dquot.c dqp->q_core.d_id = cpu_to_be32(id); cpu_to_be32 99 fs/xfs/xfs_icreate_item.c icp->ic_format.icl_ag = cpu_to_be32(agno); cpu_to_be32 100 fs/xfs/xfs_icreate_item.c icp->ic_format.icl_agbno = cpu_to_be32(agbno); cpu_to_be32 101 fs/xfs/xfs_icreate_item.c icp->ic_format.icl_count = cpu_to_be32(count); cpu_to_be32 102 fs/xfs/xfs_icreate_item.c icp->ic_format.icl_isize = cpu_to_be32(inode_size); cpu_to_be32 103 fs/xfs/xfs_icreate_item.c icp->ic_format.icl_length = cpu_to_be32(length); cpu_to_be32 104 fs/xfs/xfs_icreate_item.c icp->ic_format.icl_gen = cpu_to_be32(generation); cpu_to_be32 2136 fs/xfs/xfs_inode.c agi->agi_unlinked[bucket_index] = cpu_to_be32(new_agino); cpu_to_be32 2162 fs/xfs/xfs_inode.c dip->di_next_unlinked = cpu_to_be32(next_agino); cpu_to_be32 1454 fs/xfs/xfs_log.c head->h_magicno = cpu_to_be32(XLOG_HEADER_MAGIC_NUM); cpu_to_be32 1455 fs/xfs/xfs_log.c head->h_version = cpu_to_be32( cpu_to_be32 1457 fs/xfs/xfs_log.c head->h_size = cpu_to_be32(log->l_iclog_size); cpu_to_be32 1459 fs/xfs/xfs_log.c head->h_fmt = cpu_to_be32(XLOG_FMT); cpu_to_be32 1885 fs/xfs/xfs_log.c iclog->ic_header.h_len = cpu_to_be32(size); cpu_to_be32 2162 fs/xfs/xfs_log.c ophdr->oh_tid = cpu_to_be32(ticket->t_tid); cpu_to_be32 2180 fs/xfs/xfs_log.c ophdr->oh_tid = cpu_to_be32(ticket->t_tid); cpu_to_be32 2232 fs/xfs/xfs_log.c ophdr->oh_len = cpu_to_be32(*copy_len); cpu_to_be32 2242 fs/xfs/xfs_log.c ophdr->oh_len = cpu_to_be32(*copy_len); cpu_to_be32 3021 fs/xfs/xfs_log.c head->h_cycle = cpu_to_be32(log->l_curr_cycle); cpu_to_be32 3236 fs/xfs/xfs_log.c iclog->ic_header.h_prev_block = cpu_to_be32(log->l_prev_block); cpu_to_be32 3827 fs/xfs/xfs_log.c if (iclog->ic_header.h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) cpu_to_be32 3833 fs/xfs/xfs_log.c if (*(__be32 *)ptr == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) cpu_to_be32 240 fs/xfs/xfs_log_recover.c ASSERT(head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)); cpu_to_be32 247 fs/xfs/xfs_log_recover.c if (unlikely(head->h_fmt != cpu_to_be32(XLOG_FMT))) { cpu_to_be32 273 fs/xfs/xfs_log_recover.c ASSERT(head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)); cpu_to_be32 486 fs/xfs/xfs_log_recover.c if (head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) cpu_to_be32 843 fs/xfs/xfs_log_recover.c if (*(__be32 *) offset == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) { cpu_to_be32 863 fs/xfs/xfs_log_recover.c cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) { cpu_to_be32 917 fs/xfs/xfs_log_recover.c if (*(__be32 *) offset == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) { cpu_to_be32 936 fs/xfs/xfs_log_recover.c cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) { cpu_to_be32 1563 fs/xfs/xfs_log_recover.c recp->h_magicno = cpu_to_be32(XLOG_HEADER_MAGIC_NUM); cpu_to_be32 1564 fs/xfs/xfs_log_recover.c recp->h_cycle = cpu_to_be32(cycle); cpu_to_be32 1565 fs/xfs/xfs_log_recover.c recp->h_version = cpu_to_be32( cpu_to_be32 1569 fs/xfs/xfs_log_recover.c recp->h_fmt = cpu_to_be32(XLOG_FMT); cpu_to_be32 4951 fs/xfs/xfs_log_recover.c agi->agi_unlinked[bucket] = cpu_to_be32(NULLAGINO); cpu_to_be32 5193 fs/xfs/xfs_log_recover.c if (unlikely(rhead->h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM))) { cpu_to_be32 503 fs/xfs/xfs_qm_syscalls.c ddq->d_btimer = cpu_to_be32(newlim->d_spc_timer); cpu_to_be32 507 fs/xfs/xfs_qm_syscalls.c ddq->d_itimer = cpu_to_be32(newlim->d_ino_timer); cpu_to_be32 511 fs/xfs/xfs_qm_syscalls.c ddq->d_rtbtimer = cpu_to_be32(newlim->d_rt_spc_timer); cpu_to_be32 183 include/linux/byteorder/generic.h *var = cpu_to_be32(be32_to_cpu(*var) + val); cpu_to_be32 196 include/linux/byteorder/generic.h dst[i] = cpu_to_be32(src[i]); cpu_to_be32 276 include/linux/jbd2.h ((j)->j_superblock->s_feature_compat & cpu_to_be32((mask)))) cpu_to_be32 279 include/linux/jbd2.h ((j)->j_superblock->s_feature_ro_compat & cpu_to_be32((mask)))) cpu_to_be32 282 include/linux/jbd2.h ((j)->j_superblock->s_feature_incompat & cpu_to_be32((mask)))) cpu_to_be32 1182 include/linux/jbd2.h cpu_to_be32(JBD2_FEATURE_COMPAT_##flagname)) != 0); \ cpu_to_be32 1187 include/linux/jbd2.h cpu_to_be32(JBD2_FEATURE_COMPAT_##flagname); \ cpu_to_be32 1192 include/linux/jbd2.h ~cpu_to_be32(JBD2_FEATURE_COMPAT_##flagname); \ cpu_to_be32 1200 include/linux/jbd2.h cpu_to_be32(JBD2_FEATURE_RO_COMPAT_##flagname)) != 0); \ cpu_to_be32 1205 include/linux/jbd2.h cpu_to_be32(JBD2_FEATURE_RO_COMPAT_##flagname); \ cpu_to_be32 1210 include/linux/jbd2.h ~cpu_to_be32(JBD2_FEATURE_RO_COMPAT_##flagname); \ cpu_to_be32 1218 include/linux/jbd2.h cpu_to_be32(JBD2_FEATURE_INCOMPAT_##flagname)) != 0); \ cpu_to_be32 1223 include/linux/jbd2.h cpu_to_be32(JBD2_FEATURE_INCOMPAT_##flagname); \ cpu_to_be32 1228 include/linux/jbd2.h ~cpu_to_be32(JBD2_FEATURE_INCOMPAT_##flagname); \ cpu_to_be32 18 include/linux/libfdt_env.h #define cpu_to_fdt32(x) cpu_to_be32(x) cpu_to_be32 29 include/linux/lockd/xdr.h #define nlm_granted cpu_to_be32(NLM_LCK_GRANTED) cpu_to_be32 30 include/linux/lockd/xdr.h #define nlm_lck_denied cpu_to_be32(NLM_LCK_DENIED) cpu_to_be32 31 include/linux/lockd/xdr.h #define nlm_lck_denied_nolocks cpu_to_be32(NLM_LCK_DENIED_NOLOCKS) cpu_to_be32 32 include/linux/lockd/xdr.h #define nlm_lck_blocked cpu_to_be32(NLM_LCK_BLOCKED) cpu_to_be32 33 include/linux/lockd/xdr.h #define nlm_lck_denied_grace_period cpu_to_be32(NLM_LCK_DENIED_GRACE_PERIOD) cpu_to_be32 35 include/linux/lockd/xdr.h #define nlm_drop_reply cpu_to_be32(30000) cpu_to_be32 19 include/linux/lockd/xdr4.h #define nlm4_deadlock cpu_to_be32(NLM_DEADLCK) cpu_to_be32 20 include/linux/lockd/xdr4.h #define nlm4_rofs cpu_to_be32(NLM_ROFS) cpu_to_be32 21 include/linux/lockd/xdr4.h #define nlm4_stale_fh cpu_to_be32(NLM_STALE_FH) cpu_to_be32 22 include/linux/lockd/xdr4.h #define nlm4_fbig cpu_to_be32(NLM_FBIG) cpu_to_be32 23 include/linux/lockd/xdr4.h #define nlm4_failed cpu_to_be32(NLM_FAILED) cpu_to_be32 153 include/linux/mlx4/cq.h *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); cpu_to_be32 161 include/linux/mlx4/cq.h doorbell[0] = cpu_to_be32(sn << 28 | cmd | cq->cqn); cpu_to_be32 162 include/linux/mlx4/cq.h doorbell[1] = cpu_to_be32(ci); cpu_to_be32 169 include/linux/mlx4/cq.h *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); cpu_to_be32 825 include/linux/mlx4/device.h counter = cpu_to_be32(U32_MAX); \ cpu_to_be32 827 include/linux/mlx4/device.h counter = cpu_to_be32(value); \ cpu_to_be32 144 include/linux/mlx5/cq.h *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); cpu_to_be32 163 include/linux/mlx5/cq.h *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); cpu_to_be32 170 include/linux/mlx5/cq.h doorbell[0] = cpu_to_be32(sn << 28 | cmd | ci); cpu_to_be32 171 include/linux/mlx5/cq.h doorbell[1] = cpu_to_be32(cq->cqn); cpu_to_be32 77 include/linux/mlx5/device.h cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ cpu_to_be32 90 include/linux/mlx5/device.h cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ cpu_to_be32 155 include/linux/mlx5/device.h tmp = (__force type_t)cpu_to_be32(MLX5_GET(typ, p, fld)); \ cpu_to_be32 679 include/linux/netfilter/ipset/ip_set.h cpu_to_be32(skbinfo->skbprio))) || cpu_to_be32 87 include/linux/nvme-fc.h return cpu_to_be32(sz - (2 * sizeof(u32))); cpu_to_be32 9 include/linux/pim.h #define PIM_V1_VERSION cpu_to_be32(0x10000000) cpu_to_be32 45 include/linux/pim.h #define PIM_NULL_REGISTER cpu_to_be32(0x40000000) cpu_to_be32 49 include/linux/sunrpc/rpc_rdma.h #define rpcrdma_version cpu_to_be32(RPCRDMA_VERSION) cpu_to_be32 83 include/linux/sunrpc/rpc_rdma.h #define rdma_msg cpu_to_be32(RDMA_MSG) cpu_to_be32 84 include/linux/sunrpc/rpc_rdma.h #define rdma_nomsg cpu_to_be32(RDMA_NOMSG) cpu_to_be32 85 include/linux/sunrpc/rpc_rdma.h #define rdma_msgp cpu_to_be32(RDMA_MSGP) cpu_to_be32 86 include/linux/sunrpc/rpc_rdma.h #define rdma_done cpu_to_be32(RDMA_DONE) cpu_to_be32 87 include/linux/sunrpc/rpc_rdma.h #define rdma_error cpu_to_be32(RDMA_ERROR) cpu_to_be32 89 include/linux/sunrpc/rpc_rdma.h #define err_vers cpu_to_be32(ERR_VERS) cpu_to_be32 90 include/linux/sunrpc/rpc_rdma.h #define err_chunk cpu_to_be32(ERR_CHUNK) cpu_to_be32 86 include/linux/sunrpc/xdr.h #define xdr_zero cpu_to_be32(0) cpu_to_be32 87 include/linux/sunrpc/xdr.h #define xdr_one cpu_to_be32(1) cpu_to_be32 88 include/linux/sunrpc/xdr.h #define xdr_two cpu_to_be32(2) cpu_to_be32 90 include/linux/sunrpc/xdr.h #define rpc_auth_null cpu_to_be32(RPC_AUTH_NULL) cpu_to_be32 91 include/linux/sunrpc/xdr.h #define rpc_auth_unix cpu_to_be32(RPC_AUTH_UNIX) cpu_to_be32 92 include/linux/sunrpc/xdr.h #define rpc_auth_short cpu_to_be32(RPC_AUTH_SHORT) cpu_to_be32 93 include/linux/sunrpc/xdr.h #define rpc_auth_gss cpu_to_be32(RPC_AUTH_GSS) cpu_to_be32 95 include/linux/sunrpc/xdr.h #define rpc_call cpu_to_be32(RPC_CALL) cpu_to_be32 96 include/linux/sunrpc/xdr.h #define rpc_reply cpu_to_be32(RPC_REPLY) cpu_to_be32 98 include/linux/sunrpc/xdr.h #define rpc_msg_accepted cpu_to_be32(RPC_MSG_ACCEPTED) cpu_to_be32 100 include/linux/sunrpc/xdr.h #define rpc_success cpu_to_be32(RPC_SUCCESS) cpu_to_be32 101 include/linux/sunrpc/xdr.h #define rpc_prog_unavail cpu_to_be32(RPC_PROG_UNAVAIL) cpu_to_be32 102 include/linux/sunrpc/xdr.h #define rpc_prog_mismatch cpu_to_be32(RPC_PROG_MISMATCH) cpu_to_be32 103 include/linux/sunrpc/xdr.h #define rpc_proc_unavail cpu_to_be32(RPC_PROC_UNAVAIL) cpu_to_be32 104 include/linux/sunrpc/xdr.h #define rpc_garbage_args cpu_to_be32(RPC_GARBAGE_ARGS) cpu_to_be32 105 include/linux/sunrpc/xdr.h #define rpc_system_err cpu_to_be32(RPC_SYSTEM_ERR) cpu_to_be32 106 include/linux/sunrpc/xdr.h #define rpc_drop_reply cpu_to_be32(RPC_DROP_REPLY) cpu_to_be32 108 include/linux/sunrpc/xdr.h #define rpc_mismatch cpu_to_be32(RPC_MISMATCH) cpu_to_be32 109 include/linux/sunrpc/xdr.h #define rpc_auth_error cpu_to_be32(RPC_AUTH_ERROR) cpu_to_be32 111 include/linux/sunrpc/xdr.h #define rpc_auth_ok cpu_to_be32(RPC_AUTH_OK) cpu_to_be32 112 include/linux/sunrpc/xdr.h #define rpc_autherr_badcred cpu_to_be32(RPC_AUTH_BADCRED) cpu_to_be32 113 include/linux/sunrpc/xdr.h #define rpc_autherr_rejectedcred cpu_to_be32(RPC_AUTH_REJECTEDCRED) cpu_to_be32 114 include/linux/sunrpc/xdr.h #define rpc_autherr_badverf cpu_to_be32(RPC_AUTH_BADVERF) cpu_to_be32 115 include/linux/sunrpc/xdr.h #define rpc_autherr_rejectedverf cpu_to_be32(RPC_AUTH_REJECTEDVERF) cpu_to_be32 116 include/linux/sunrpc/xdr.h #define rpc_autherr_tooweak cpu_to_be32(RPC_AUTH_TOOWEAK) cpu_to_be32 117 include/linux/sunrpc/xdr.h #define rpcsec_gsserr_credproblem cpu_to_be32(RPCSEC_GSS_CREDPROBLEM) cpu_to_be32 118 include/linux/sunrpc/xdr.h #define rpcsec_gsserr_ctxproblem cpu_to_be32(RPCSEC_GSS_CTXPROBLEM) cpu_to_be32 323 include/linux/sunrpc/xdr.h *p = cpu_to_be32(n); cpu_to_be32 435 include/linux/sunrpc/xdr.h *p++ = cpu_to_be32(array_size); cpu_to_be32 38 include/linux/t10-pi.h #define T10_PI_REF_ESCAPE cpu_to_be32(0xffffffff) cpu_to_be32 60 include/linux/unaligned/access_ok.h *((__be32 *)p) = cpu_to_be32(val); cpu_to_be32 45 include/linux/virtio_byteorder.h return (__force __virtio32)cpu_to_be32(val); cpu_to_be32 330 include/net/ipv6.h #define IPV6_FLOWINFO_MASK cpu_to_be32(0x0FFFFFFF) cpu_to_be32 331 include/net/ipv6.h #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) cpu_to_be32 332 include/net/ipv6.h #define IPV6_FLOWLABEL_STATELESS_FLAG cpu_to_be32(0x00080000) cpu_to_be32 679 include/net/ipv6.h a->s6_addr32[2] | (a->s6_addr32[3] ^ cpu_to_be32(1))) == 0; cpu_to_be32 696 include/net/ipv6.h cpu_to_be32(0x0000ffff))) == 0UL; cpu_to_be32 57 include/net/transp_v6.h #define LOOPBACK4_IPV6 cpu_to_be32(0x7f000006) cpu_to_be32 28 include/net/vxlan.h #define VXLAN_HF_VNI cpu_to_be32(BIT(27)) cpu_to_be32 32 include/net/vxlan.h #define VXLAN_VNI_MASK cpu_to_be32(VXLAN_VID_MASK << 8) cpu_to_be32 59 include/net/vxlan.h #define VXLAN_HF_RCO cpu_to_be32(BIT(21)) cpu_to_be32 62 include/net/vxlan.h #define VXLAN_RCO_MASK cpu_to_be32(0x7f) /* Last byte of vni field */ cpu_to_be32 63 include/net/vxlan.h #define VXLAN_RCO_UDP cpu_to_be32(0x80) /* Indicate UDP RCO (TCP when not set *) */ cpu_to_be32 109 include/net/vxlan.h #define VXLAN_HF_GBP cpu_to_be32(BIT(31)) cpu_to_be32 111 include/net/vxlan.h #define VXLAN_GBP_USED_BITS (VXLAN_HF_GBP | cpu_to_be32(0xFFFFFF)) cpu_to_be32 168 include/net/vxlan.h #define VXLAN_HF_VER cpu_to_be32(BIT(29) | BIT(28)) cpu_to_be32 169 include/net/vxlan.h #define VXLAN_HF_NP cpu_to_be32(BIT(26)) cpu_to_be32 170 include/net/vxlan.h #define VXLAN_HF_OAM cpu_to_be32(BIT(24)) cpu_to_be32 173 include/net/vxlan.h cpu_to_be32(0xff)) cpu_to_be32 368 include/net/vxlan.h __be32 vni_field = cpu_to_be32(start >> VXLAN_RCO_SHIFT); cpu_to_be32 330 include/rdma/ib_hdrs.h return (ohdr->bth[1]) & cpu_to_be32(IB_BECN_SMASK); cpu_to_be32 335 include/rdma/ib_hdrs.h return (ohdr->bth[1]) & cpu_to_be32(IB_FECN_SMASK); cpu_to_be32 346 include/rdma/ib_hdrs.h return ohdr->bth[0] & cpu_to_be32(IB_BTH_SOLICITED); cpu_to_be32 351 include/rdma/ib_hdrs.h return ohdr->bth[0] & cpu_to_be32(IB_BTH_MIG_REQ); cpu_to_be32 80 include/rdma/ib_mad.h #define IB_BM_ATTR_MOD_RESP cpu_to_be32(1) cpu_to_be32 123 include/rdma/ib_mad.h #define IB_QP1 cpu_to_be32(1) cpu_to_be32 357 include/rdma/ib_mad.h cpu_to_be32(~IB_CLASS_PORT_INFO_RESP_TIME_MASK)) | cpu_to_be32 358 include/rdma/ib_mad.h cpu_to_be32(rtime & IB_CLASS_PORT_INFO_RESP_TIME_MASK); cpu_to_be32 383 include/rdma/ib_mad.h cpu_to_be32(IB_CLASS_PORT_INFO_RESP_TIME_MASK)) | cpu_to_be32 384 include/rdma/ib_mad.h cpu_to_be32(capmask2 << cpu_to_be32 597 include/rdma/ib_sa.h rec->opa.slid = cpu_to_be32(slid); cpu_to_be32 605 include/rdma/ib_sa.h rec->opa.dlid = cpu_to_be32(dlid); cpu_to_be32 47 include/rdma/opa_smi.h #define OPA_LID_PERMISSIVE cpu_to_be32(0xFFFFFFFF) cpu_to_be32 62 include/soc/fsl/bman.h buf->lo = cpu_to_be32(lower_32_bits(addr)); cpu_to_be32 128 include/soc/fsl/qman.h fd->addr_lo = cpu_to_be32(lower_32_bits(addr)); cpu_to_be32 161 include/soc/fsl/qman.h fd->cfg = cpu_to_be32(fmt | (len & QM_FD_LEN_BIG_MASK) | cpu_to_be32 214 include/soc/fsl/qman.h sg->addr_lo = cpu_to_be32(lower_32_bits(addr)); cpu_to_be32 234 include/soc/fsl/qman.h sg->cfg = cpu_to_be32(len & QM_SG_LEN_MASK); cpu_to_be32 239 include/soc/fsl/qman.h sg->cfg = cpu_to_be32(QM_SG_FIN | (len & QM_SG_LEN_MASK)); cpu_to_be32 271 include/soc/fsl/qman.h #define qm_fqid_set(p, v) ((p)->fqid = cpu_to_be32((v) & QM_FQID_MASK)) cpu_to_be32 417 include/soc/fsl/qman.h fqd->context_a.context_lo = cpu_to_be32(lower_32_bits(addr)); cpu_to_be32 422 include/soc/fsl/qman.h fqd->context_a.hi = cpu_to_be32(upper_32_bits(addr)); cpu_to_be32 423 include/soc/fsl/qman.h fqd->context_a.lo = cpu_to_be32(lower_32_bits(addr)); cpu_to_be32 19 include/uapi/linux/romfs_fs.h #define __mk4(a,b,c,d) cpu_to_be32(__mkl(__mkw(a,b),__mkw(c,d))) cpu_to_be32 329 kernel/bpf/core.c result[i] = cpu_to_be32(digest[i]); cpu_to_be32 1420 kernel/bpf/core.c DST = (__force u32) cpu_to_be32(DST); cpu_to_be32 1035 kernel/trace/blktrace.c r.device_from = cpu_to_be32(dev); cpu_to_be32 1036 kernel/trace/blktrace.c r.device_to = cpu_to_be32(bio_dev(bio)); cpu_to_be32 1073 kernel/trace/blktrace.c r.device_from = cpu_to_be32(dev); cpu_to_be32 1074 kernel/trace/blktrace.c r.device_to = cpu_to_be32(disk_devt(rq->rq_disk)); cpu_to_be32 199 lib/842/842_compress.c put_unaligned(cpu_to_be32(o << 24 | d << 8), (__be32 *)out); cpu_to_be32 201 lib/842/842_compress.c put_unaligned(cpu_to_be32(o << 24 | d), (__be32 *)out); cpu_to_be32 148 lib/842/842_decompress.c put_unaligned(cpu_to_be32((u32)v), (__be32 *)p->out); cpu_to_be32 243 lib/bch.c w = r[0]^cpu_to_be32(*pdata++); cpu_to_be32 43 lib/crc32.c # define tobe(x) ((__force u32) cpu_to_be32(x)) cpu_to_be32 177 lib/mpi/mpicoder.c alimb = cpu_to_be32(a->d[i]); cpu_to_be32 294 lib/mpi/mpicoder.c alimb = a->d[i] ? cpu_to_be32(a->d[i]) : 0; cpu_to_be32 4069 lib/test_bpf.c { { 0, cpu_to_be32(0x89abcdef) } }, cpu_to_be32 421 lib/test_printf.c sa.sin_addr.s_addr = cpu_to_be32(0x7f000001); cpu_to_be32 425 lib/test_printf.c sa.sin_addr.s_addr = cpu_to_be32(0x01020304); cpu_to_be32 60 net/bridge/br_vlan_tunnel.c __be64 key = key32_to_tunnel_id(cpu_to_be32(tun_id)); cpu_to_be32 3986 net/core/filter.c info->key.label = cpu_to_be32(from->tunnel_label) & cpu_to_be32 3989 net/core/filter.c info->key.u.ipv4.dst = cpu_to_be32(from->remote_ipv4); cpu_to_be32 5629 net/core/skbuff.c return skb_mpls_update_lse(skb, cpu_to_be32(lse)); cpu_to_be32 744 net/ieee802154/nl-mac.c params.frame_counter = cpu_to_be32(fc); cpu_to_be32 942 net/ipv4/esp4.c param->enckeylen = cpu_to_be32((x->ealg->alg_key_len + 7) / 8); cpu_to_be32 139 net/ipv4/gre_demux.c tpi->key = cpu_to_be32(get_session_id(ershdr)); cpu_to_be32 100 net/ipv4/ipconfig.c #define NONE cpu_to_be32(INADDR_NONE) cpu_to_be32 101 net/ipv4/ipconfig.c #define ANY cpu_to_be32(INADDR_ANY) cpu_to_be32 837 net/ipv6/esp6.c param->enckeylen = cpu_to_be32((x->ealg->alg_key_len + 7) / 8); cpu_to_be32 165 net/ipv6/seg6_hmac.c __be32 hmackeyid = cpu_to_be32(hinfo->hmackeyid); cpu_to_be32 606 net/ipv6/tcp_ipv6.c bp->protocol = cpu_to_be32(IPPROTO_TCP); cpu_to_be32 607 net/ipv6/tcp_ipv6.c bp->len = cpu_to_be32(nbytes); cpu_to_be32 1000 net/ipv6/tcp_ipv6.c label = cpu_to_be32(inet_twsk(sk)->tw_flowlabel); cpu_to_be32 1035 net/ipv6/tcp_ipv6.c tw->tw_tclass, cpu_to_be32(tw->tw_flowlabel), tw->tw_priority); cpu_to_be32 752 net/mac802154/llsec.c sec->params.frame_counter = cpu_to_be32(frame_ctr + 1); cpu_to_be32 179 net/mpls/internal.h cpu_to_be32((label << MPLS_LS_LABEL_SHIFT) | cpu_to_be32 1789 net/netfilter/ipvs/ip_vs_sync.c c->mcast_group.ip = cpu_to_be32(IP_VS_SYNC_GROUP); cpu_to_be32 91 net/netfilter/nf_conntrack_irc.c *ip = cpu_to_be32(simple_strtoul(data, &data, 10)); cpu_to_be32 257 net/rds/ib_cm.c dp->ricp_v6.dp_credit = cpu_to_be32(credits); cpu_to_be32 259 net/rds/ib_cm.c dp->ricp_v4.dp_credit = cpu_to_be32(credits); cpu_to_be32 581 net/rds/ib_send.c ext_hdr.h_rdma_rkey = cpu_to_be32(rm->rdma.op_rkey); cpu_to_be32 273 net/rds/message.c ext_hdr.h_rdma_rkey = cpu_to_be32(r_key); cpu_to_be32 274 net/rds/message.c ext_hdr.h_rdma_offset = cpu_to_be32(offset); cpu_to_be32 346 net/rds/message.c rm->m_inc.i_hdr.h_len = cpu_to_be32(total_len); cpu_to_be32 371 net/rds/message.c rm->m_inc.i_hdr.h_len = cpu_to_be32(iov_iter_count(from)); cpu_to_be32 429 net/rds/message.c rm->m_inc.i_hdr.h_len = cpu_to_be32(iov_iter_count(from)); cpu_to_be32 1463 net/rds/send.c u32 my_gen_num = cpu_to_be32(cp->cp_conn->c_my_gen_num); cpu_to_be32 50 net/sched/act_mpls.c return cpu_to_be32(new_lse); cpu_to_be32 2110 net/sched/cls_flower.c _key = cpu_to_be32(key); cpu_to_be32 2111 net/sched/cls_flower.c _mask = cpu_to_be32(mask); cpu_to_be32 1058 net/sched/sch_cake.c cpu_to_be32(0x0F3F0000)) != TCP_FLAG_ACK)) cpu_to_be32 239 net/smc/smc.h t = cpu_to_be32(host); cpu_to_be32 1556 net/sunrpc/auth_gss/auth_gss.c *p++ = cpu_to_be32(RPC_GSS_VERSION); cpu_to_be32 1557 net/sunrpc/auth_gss/auth_gss.c *p++ = cpu_to_be32(ctx->gc_proc); cpu_to_be32 1558 net/sunrpc/auth_gss/auth_gss.c *p++ = cpu_to_be32(req->rq_seqno); cpu_to_be32 1559 net/sunrpc/auth_gss/auth_gss.c *p++ = cpu_to_be32(gss_cred->gc_service); cpu_to_be32 1561 net/sunrpc/auth_gss/auth_gss.c *cred_len = cpu_to_be32((p - (cred_len + 1)) << 2); cpu_to_be32 1698 net/sunrpc/auth_gss/auth_gss.c *seq = cpu_to_be32(task->tk_rqstp->rq_seqno); cpu_to_be32 1741 net/sunrpc/auth_gss/auth_gss.c *p = cpu_to_be32(rqstp->rq_seqno); cpu_to_be32 1750 net/sunrpc/auth_gss/auth_gss.c *integ_len = cpu_to_be32(integ_buf.len); cpu_to_be32 1837 net/sunrpc/auth_gss/auth_gss.c *p = cpu_to_be32(rqstp->rq_seqno); cpu_to_be32 1874 net/sunrpc/auth_gss/auth_gss.c *opaque_len = cpu_to_be32(snd_buf->len - offset); cpu_to_be32 53 net/sunrpc/auth_gss/gss_rpc_xdr.c *p = cpu_to_be32(in->page_len); cpu_to_be32 358 net/sunrpc/auth_gss/gss_rpc_xdr.c *p = cpu_to_be32(2); cpu_to_be32 127 net/sunrpc/auth_unix.c *p++ = cpu_to_be32(from_kuid_munged(userns, cred->cr_cred->fsuid)); cpu_to_be32 128 net/sunrpc/auth_unix.c *p++ = cpu_to_be32(from_kgid_munged(userns, cred->cr_cred->fsgid)); cpu_to_be32 133 net/sunrpc/auth_unix.c *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); cpu_to_be32 134 net/sunrpc/auth_unix.c *gidarr_len = cpu_to_be32(p - gidarr_len - 1); cpu_to_be32 135 net/sunrpc/auth_unix.c *cred_len = cpu_to_be32((p - cred_len - 1) << 2); cpu_to_be32 2570 net/sunrpc/clnt.c *p++ = cpu_to_be32(RPC_VERSION); cpu_to_be32 2571 net/sunrpc/clnt.c *p++ = cpu_to_be32(clnt->cl_prog); cpu_to_be32 2572 net/sunrpc/clnt.c *p++ = cpu_to_be32(clnt->cl_vers); cpu_to_be32 2573 net/sunrpc/clnt.c *p = cpu_to_be32(task->tk_msg.rpc_proc->p_proc); cpu_to_be32 873 net/sunrpc/rpcb_clnt.c *p++ = cpu_to_be32(rpcb->r_prog); cpu_to_be32 874 net/sunrpc/rpcb_clnt.c *p++ = cpu_to_be32(rpcb->r_vers); cpu_to_be32 875 net/sunrpc/rpcb_clnt.c *p++ = cpu_to_be32(rpcb->r_prot); cpu_to_be32 876 net/sunrpc/rpcb_clnt.c *p = cpu_to_be32(rpcb->r_port); cpu_to_be32 951 net/sunrpc/rpcb_clnt.c *p++ = cpu_to_be32(rpcb->r_prog); cpu_to_be32 952 net/sunrpc/rpcb_clnt.c *p = cpu_to_be32(rpcb->r_vers); cpu_to_be32 31 net/sunrpc/xdr.c *p++ = cpu_to_be32(obj->len); cpu_to_be32 90 net/sunrpc/xdr.c *p++ = cpu_to_be32(nbytes); cpu_to_be32 1273 net/sunrpc/xdr.c __be32 raw = cpu_to_be32(obj); cpu_to_be32 75 net/sunrpc/xprtrdma/backchannel.c *p++ = cpu_to_be32(r_xprt->rx_buf.rb_bc_srv_max_requests); cpu_to_be32 311 net/sunrpc/xprtrdma/rpc_rdma.c *iptr++ = cpu_to_be32(mr->mr_handle); cpu_to_be32 312 net/sunrpc/xprtrdma/rpc_rdma.c *iptr++ = cpu_to_be32(mr->mr_length); cpu_to_be32 340 net/sunrpc/xprtrdma/rpc_rdma.c *p++ = cpu_to_be32(position); cpu_to_be32 485 net/sunrpc/xprtrdma/rpc_rdma.c *segcount = cpu_to_be32(nchunks); cpu_to_be32 546 net/sunrpc/xprtrdma/rpc_rdma.c *segcount = cpu_to_be32(nchunks); cpu_to_be32 814 net/sunrpc/xprtrdma/rpc_rdma.c *p++ = cpu_to_be32(r_xprt->rx_buf.rb_max_requests); cpu_to_be32 1043 net/sunrpc/xprtrdma/rpc_rdma.c if (*p != cpu_to_be32(RPC_CALL)) cpu_to_be32 187 net/sunrpc/xprtrdma/svc_rdma_backchannel.c *p++ = cpu_to_be32(r_xprt->rx_buf.rb_bc_max_requests); cpu_to_be32 734 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c if (*p == cpu_to_be32(RPC_CALL)) cpu_to_be32 386 net/sunrpc/xprtrdma/svc_rdma_sendto.c *dst = cpu_to_be32(remaining); cpu_to_be32 439 net/sunrpc/xprtrdma/svc_rdma_transport.c newxprt->sc_fc_credits = cpu_to_be32(newxprt->sc_max_requests); cpu_to_be32 482 net/sunrpc/xprtsock.c return transport->recv.fraghdr & cpu_to_be32(RPC_LAST_STREAM_FRAGMENT); cpu_to_be32 647 net/sunrpc/xprtsock.c transport->recv.calldir = cpu_to_be32(-1); cpu_to_be32 940 net/sunrpc/xprtsock.c return cpu_to_be32(RPC_LAST_STREAM_FRAGMENT | (u32)xdr->len); cpu_to_be32 2655 net/sunrpc/xprtsock.c rpc_fraghdr marker = cpu_to_be32(RPC_LAST_STREAM_FRAGMENT | cpu_to_be32 836 net/wireless/reg.c if (hdr->magic != cpu_to_be32(FWDB_MAGIC)) cpu_to_be32 839 net/wireless/reg.c if (hdr->version != cpu_to_be32(FWDB_VERSION)) cpu_to_be32 24 samples/bpf/xdp_fwd_kern.c #define IPV6_FLOWINFO_MASK cpu_to_be32(0x0FFFFFFF) cpu_to_be32 150 security/keys/dh.c __be32 counter = cpu_to_be32(1); cpu_to_be32 189 security/keys/dh.c counter = cpu_to_be32(be32_to_cpu(counter) + 1); cpu_to_be32 1215 security/smack/smackfs.c mask.s_addr = cpu_to_be32(temp_mask); cpu_to_be32 145 sound/core/oss/linear.c data->flip = (__force u32)cpu_to_be32(0x80000000); cpu_to_be32 171 sound/firewire/amdtp-am824.c cpu_to_be32((*src >> 8) | 0x40000000); cpu_to_be32 218 sound/firewire/amdtp-am824.c buffer[p->pcm_positions[c]] = cpu_to_be32(0x40000000); cpu_to_be32 481 sound/firewire/amdtp-stream.c cip_header[0] = cpu_to_be32(READ_ONCE(s->source_node_id_field) | cpu_to_be32 485 sound/firewire/amdtp-stream.c cip_header[1] = cpu_to_be32(CIP_EOH | cpu_to_be32 100 sound/firewire/bebob/bebob_focusrite.c __be32 data = cpu_to_be32(value); cpu_to_be32 82 sound/firewire/bebob/bebob_hwdep.c *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); cpu_to_be32 83 sound/firewire/bebob/bebob_hwdep.c *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); cpu_to_be32 145 sound/firewire/cmp.c c->last_pcr_value = cpu_to_be32(0x80000000); cpu_to_be32 169 sound/firewire/cmp.c *used = !!(pcr & cpu_to_be32(PCR_BCAST_CONN | cpu_to_be32 222 sound/firewire/cmp.c ipcr &= ~cpu_to_be32(PCR_BCAST_CONN | cpu_to_be32 225 sound/firewire/cmp.c ipcr |= cpu_to_be32(1 << PCR_P2P_CONN_SHIFT); cpu_to_be32 226 sound/firewire/cmp.c ipcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); cpu_to_be32 263 sound/firewire/cmp.c opcr &= ~cpu_to_be32(PCR_BCAST_CONN | cpu_to_be32 269 sound/firewire/cmp.c opcr |= cpu_to_be32(1 << PCR_P2P_CONN_SHIFT); cpu_to_be32 270 sound/firewire/cmp.c opcr |= cpu_to_be32(xspd << OPCR_XSPEED_SHIFT); cpu_to_be32 271 sound/firewire/cmp.c opcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); cpu_to_be32 272 sound/firewire/cmp.c opcr |= cpu_to_be32(spd << OPCR_SPEED_SHIFT); cpu_to_be32 273 sound/firewire/cmp.c opcr |= cpu_to_be32(get_overhead_id(c) << OPCR_OVERHEAD_ID_SHIFT); cpu_to_be32 280 sound/firewire/cmp.c if (pcr & cpu_to_be32(PCR_BCAST_CONN | cpu_to_be32 285 sound/firewire/cmp.c if (!(pcr & cpu_to_be32(PCR_ONLINE))) { cpu_to_be32 386 sound/firewire/cmp.c return pcr & ~cpu_to_be32(PCR_BCAST_CONN | PCR_P2P_CONN_MASK); cpu_to_be32 80 sound/firewire/dice/dice-hwdep.c *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); cpu_to_be32 81 sound/firewire/dice/dice-hwdep.c *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); cpu_to_be32 90 sound/firewire/dice/dice-stream.c reg = cpu_to_be32(data); cpu_to_be32 155 sound/firewire/dice/dice-stream.c reg = cpu_to_be32((u32)-1); cpu_to_be32 355 sound/firewire/dice/dice-stream.c reg = cpu_to_be32(resources->channel); cpu_to_be32 369 sound/firewire/dice/dice-stream.c reg = cpu_to_be32(max_speed); cpu_to_be32 104 sound/firewire/dice/dice-transaction.c value = cpu_to_be32(1); cpu_to_be32 315 sound/firewire/dice/dice-transaction.c if ((version & cpu_to_be32(0xff000000)) != cpu_to_be32 316 sound/firewire/dice/dice-transaction.c cpu_to_be32(0x01000000)) { cpu_to_be32 167 sound/firewire/digi00x/amdtp-dot.c buffer[c] = cpu_to_be32((*src >> 8) | 0x40000000); cpu_to_be32 219 sound/firewire/digi00x/amdtp-dot.c buffer[c] = cpu_to_be32(0x40000000); cpu_to_be32 88 sound/firewire/digi00x/digi00x-hwdep.c *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); cpu_to_be32 89 sound/firewire/digi00x/digi00x-hwdep.c *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); cpu_to_be32 63 sound/firewire/digi00x/digi00x-stream.c reg = cpu_to_be32(i); cpu_to_be32 129 sound/firewire/digi00x/digi00x-stream.c data = cpu_to_be32(0x00000003); cpu_to_be32 152 sound/firewire/digi00x/digi00x-stream.c data = cpu_to_be32((dg00x->tx_resources.channel << 16) | cpu_to_be32 172 sound/firewire/digi00x/digi00x-stream.c data = cpu_to_be32(curr); cpu_to_be32 43 sound/firewire/digi00x/digi00x-transaction.c data[0] = cpu_to_be32((device->card->node_id << 16) | cpu_to_be32 45 sound/firewire/digi00x/digi00x-transaction.c data[1] = cpu_to_be32(dg00x->async_handler.offset); cpu_to_be32 80 sound/firewire/fireface/ff-hwdep.c *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); cpu_to_be32 81 sound/firewire/fireface/ff-hwdep.c *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); cpu_to_be32 134 sound/firewire/fireworks/fireworks_command.c header->length = cpu_to_be32(cmd_bytes / sizeof(__be32)); cpu_to_be32 135 sound/firewire/fireworks/fireworks_command.c header->version = cpu_to_be32(1); cpu_to_be32 136 sound/firewire/fireworks/fireworks_command.c header->seqnum = cpu_to_be32(seqnum); cpu_to_be32 137 sound/firewire/fireworks/fireworks_command.c header->category = cpu_to_be32(category); cpu_to_be32 138 sound/firewire/fireworks/fireworks_command.c header->command = cpu_to_be32(command); cpu_to_be32 186 sound/firewire/fireworks/fireworks_command.c addr[0] = cpu_to_be32(addr_high); cpu_to_be32 187 sound/firewire/fireworks/fireworks_command.c addr[1] = cpu_to_be32(addr_low); cpu_to_be32 205 sound/firewire/fireworks/fireworks_command.c __be32 param = cpu_to_be32(mode); cpu_to_be32 213 sound/firewire/fireworks/fireworks_hwdep.c *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); cpu_to_be32 214 sound/firewire/fireworks/fireworks_hwdep.c *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); cpu_to_be32 180 sound/firewire/isight.c payload->signature == cpu_to_be32(0x73676874/*"sght"*/))) { cpu_to_be32 226 sound/firewire/isight.c value = cpu_to_be32(ch | (isight->device->max_speed << SPEED_SHIFT)); cpu_to_be32 355 sound/firewire/isight.c err = reg_write(isight, REG_SAMPLE_RATE, cpu_to_be32(RATE_48000)); cpu_to_be32 363 sound/firewire/isight.c err = reg_write(isight, REG_AUDIO_ENABLE, cpu_to_be32(AUDIO_ENABLE)); cpu_to_be32 511 sound/firewire/isight.c cpu_to_be32(value->value.integer.value[0])); cpu_to_be32 395 sound/firewire/motu/amdtp-motu.c *buffer = cpu_to_be32(sph); cpu_to_be32 87 sound/firewire/motu/motu-hwdep.c *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); cpu_to_be32 88 sound/firewire/motu/motu-hwdep.c *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); cpu_to_be32 77 sound/firewire/motu/motu-protocol-v2.c reg = cpu_to_be32(data); cpu_to_be32 162 sound/firewire/motu/motu-protocol-v2.c reg = cpu_to_be32(data); cpu_to_be32 73 sound/firewire/motu/motu-protocol-v3.c reg = cpu_to_be32(data); cpu_to_be32 151 sound/firewire/motu/motu-protocol-v3.c reg = cpu_to_be32(data); cpu_to_be32 80 sound/firewire/motu/motu-stream.c reg = cpu_to_be32(data); cpu_to_be32 104 sound/firewire/motu/motu-stream.c reg = cpu_to_be32(data); cpu_to_be32 200 sound/firewire/motu/motu-stream.c reg = cpu_to_be32(data); cpu_to_be32 85 sound/firewire/motu/motu-transaction.c data = cpu_to_be32((device->card->node_id << 16) | cpu_to_be32 92 sound/firewire/motu/motu-transaction.c data = cpu_to_be32(motu->async_handler.offset); cpu_to_be32 133 sound/firewire/motu/motu-transaction.c data = cpu_to_be32(0x00000000); cpu_to_be32 80 sound/firewire/oxfw/oxfw-hwdep.c *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); cpu_to_be32 81 sound/firewire/oxfw/oxfw-hwdep.c *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); cpu_to_be32 56 sound/firewire/tascam/amdtp-tascam.c buffer[c] = cpu_to_be32(*src); cpu_to_be32 149 sound/firewire/tascam/amdtp-tascam.c mask = cpu_to_be32(~0x0000ffff); cpu_to_be32 151 sound/firewire/tascam/amdtp-tascam.c mask = cpu_to_be32(~0x0000ffff); cpu_to_be32 153 sound/firewire/tascam/amdtp-tascam.c mask = cpu_to_be32(~0x000f0f00); cpu_to_be32 155 sound/firewire/tascam/amdtp-tascam.c mask = cpu_to_be32(~0x00000000); cpu_to_be32 153 sound/firewire/tascam/tascam-hwdep.c *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); cpu_to_be32 154 sound/firewire/tascam/tascam-hwdep.c *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); cpu_to_be32 79 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(data); cpu_to_be32 88 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x0000001a); cpu_to_be32 90 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x0000000d); cpu_to_be32 156 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(data); cpu_to_be32 171 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(data); cpu_to_be32 183 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x00200000); cpu_to_be32 208 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x00000000); cpu_to_be32 212 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x00000000); cpu_to_be32 216 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x00000000); cpu_to_be32 228 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(tscm->tx_resources.channel); cpu_to_be32 236 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x00000002); cpu_to_be32 244 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(tscm->rx_resources.channel); cpu_to_be32 251 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x00000001); cpu_to_be32 258 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x00000001); cpu_to_be32 266 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x00002000); cpu_to_be32 274 sound/firewire/tascam/tascam-stream.c reg = cpu_to_be32(0x00000001); cpu_to_be32 340 sound/firewire/tascam/tascam-transaction.c reg = cpu_to_be32((device->card->node_id << 16) | cpu_to_be32 348 sound/firewire/tascam/tascam-transaction.c reg = cpu_to_be32(tscm->async_handler.offset); cpu_to_be32 356 sound/firewire/tascam/tascam-transaction.c reg = cpu_to_be32(0x00000001); cpu_to_be32 364 sound/firewire/tascam/tascam-transaction.c reg = cpu_to_be32(0x0001008e); cpu_to_be32 378 sound/firewire/tascam/tascam-transaction.c reg = cpu_to_be32(0x0000008e); cpu_to_be32 384 sound/firewire/tascam/tascam-transaction.c reg = cpu_to_be32(0x00000000); cpu_to_be32 509 sound/pci/mixart/mixart_core.c ((__be32*)mixart_msg_data)[i] = cpu_to_be32((mixart_msg_data)[i]); cpu_to_be32 20 sound/pci/mixart/mixart_hwdep.h #define writel_be(data,addr) __raw_writel((__force u32)cpu_to_be32(data),addr) cpu_to_be32 80 sound/soc/codecs/rl6347a.c be_reg = cpu_to_be32(reg); cpu_to_be32 974 sound/soc/codecs/wm_adsp.c u32 val = cpu_to_be32(event_id); cpu_to_be32 3595 sound/soc/codecs/wm_adsp.c data = cpu_to_be32(data & 0x00ffffffu); cpu_to_be32 170 sound/soc/fsl/fsl_dma.c link->source_addr = cpu_to_be32(dma_private->dma_buf_next); cpu_to_be32 172 sound/soc/fsl/fsl_dma.c link->source_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | cpu_to_be32 176 sound/soc/fsl/fsl_dma.c link->dest_addr = cpu_to_be32(dma_private->dma_buf_next); cpu_to_be32 178 sound/soc/fsl/fsl_dma.c link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | cpu_to_be32 646 sound/soc/fsl/fsl_dma.c link->count = cpu_to_be32(period_size); cpu_to_be32 666 sound/soc/fsl/fsl_dma.c link->source_addr = cpu_to_be32(temp_addr); cpu_to_be32 667 sound/soc/fsl/fsl_dma.c link->source_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | cpu_to_be32 670 sound/soc/fsl/fsl_dma.c link->dest_addr = cpu_to_be32(ssi_sxx_phys); cpu_to_be32 671 sound/soc/fsl/fsl_dma.c link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_NOSNOOP | cpu_to_be32 674 sound/soc/fsl/fsl_dma.c link->source_addr = cpu_to_be32(ssi_sxx_phys); cpu_to_be32 675 sound/soc/fsl/fsl_dma.c link->source_attr = cpu_to_be32(CCSR_DMA_ATR_NOSNOOP | cpu_to_be32 678 sound/soc/fsl/fsl_dma.c link->dest_addr = cpu_to_be32(temp_addr); cpu_to_be32 679 sound/soc/fsl/fsl_dma.c link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | cpu_to_be32 661 sound/soc/soc-ops.c &= cpu_to_be32(~params->mask); cpu_to_be32 50 tools/testing/selftests/powerpc/vphn/vphn.c cpu_to_be32(last << 16 | new); cpu_to_be32 58 tools/testing/selftests/powerpc/vphn/vphn.c cpu_to_be32(new & VPHN_FIELD_MASK); cpu_to_be32 70 tools/testing/selftests/powerpc/vphn/vphn.c unpacked[0] = cpu_to_be32(nr_assoc_doms);