calc 41 arch/arm/mach-s3c24xx/pm-s3c2410.c unsigned long calc = 0; calc 46 arch/arm/mach-s3c24xx/pm-s3c2410.c calc += __raw_readl(base+ptr); calc 48 arch/arm/mach-s3c24xx/pm-s3c2410.c __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); calc 57 arch/arm/mach-s3c24xx/pm-s3c2410.c unsigned long calc = 0; calc 62 arch/arm/mach-s3c24xx/pm-s3c2410.c calc += __raw_readl(base+ptr); calc 64 arch/arm/mach-s3c24xx/pm-s3c2410.c __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); calc 167 arch/arm/plat-samsung/pm-check.c u32 calc; calc 169 arch/arm/plat-samsung/pm-check.c stkpage = (void *)((u32)&calc & ~PAGE_MASK); calc 192 arch/arm/plat-samsung/pm-check.c calc = crc32_le(~0, ptr, left); calc 193 arch/arm/plat-samsung/pm-check.c if (calc != *val) { calc 195 arch/arm/plat-samsung/pm-check.c "%08lx (%08x vs %08x)\n", addr, calc, *val); calc 198 arch/arm/plat-samsung/pm-check.c addr, calc, *val); calc 76 arch/x86/kernel/ftrace.c static union ftrace_code_union calc; calc 78 arch/x86/kernel/ftrace.c calc.op = op; calc 79 arch/x86/kernel/ftrace.c calc.offset = ftrace_calc_offset(ip + MCOUNT_INSN_SIZE, addr); calc 81 arch/x86/kernel/ftrace.c return calc.code; calc 904 arch/x86/kernel/ftrace.c union ftrace_code_union calc; calc 907 arch/x86/kernel/ftrace.c ret = probe_kernel_read(&calc, ptr, MCOUNT_INSN_SIZE); calc 912 arch/x86/kernel/ftrace.c if (WARN_ON_ONCE(calc.op != 0xe8)) { calc 913 arch/x86/kernel/ftrace.c pr_warn("Expected e8, got %x\n", calc.op); calc 917 arch/x86/kernel/ftrace.c return ptr + MCOUNT_INSN_SIZE + calc.offset; calc 156 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h int (*calc)(struct nvkm_ram *, u32 freq); calc 130 drivers/gpu/drm/nouveau/nouveau_display.c *vpos = calc(args.scan.vblanks, args.scan.vblanke, calc 361 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u32 calc, diff; calc 365 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c calc = VTUi * symbol; calc 366 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c diff = tu_valid - calc; calc 375 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c calc += symbol - (symbol / VTUf); calc 379 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c calc += symbol; calc 384 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c calc += symbol / VTUf; calc 387 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c diff = calc - tu_valid; calc 193 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = clk->func->calc(clk, cstate); calc 283 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (fb && fb->ram && fb->ram->func->calc) { calc 287 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = ram->func->calc(ram, khz); calc 29 drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c .calc = nv50_clk_calc, calc 451 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c .calc = gf100_clk_calc, calc 488 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c .calc = gk104_clk_calc, calc 585 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c base->func->calc(base, &base->func->pstates[0].base); calc 600 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .calc = gk20a_clk_calc, calc 865 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c base->func->calc(base, &base->func->pstates[0].base); calc 880 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .calc = gk20a_clk_calc, calc 898 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .calc = gm20b_clk_calc, calc 523 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c .calc = gt215_clk_calc, calc 401 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c .calc = mcp77_clk_calc, calc 207 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c .calc = nv40_clk_calc, calc 544 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c .calc = nv50_clk_calc, calc 11 drivers/gpu/drm/nouveau/nvkm/subdev/clk/priv.h int (*calc)(struct nvkm_clk *, struct nvkm_cstate *); calc 663 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c .calc = gf100_ram_calc, calc 51 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf108.c .calc = gf100_ram_calc, calc 1707 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c .calc = gk104_ram_calc, calc 42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm107.c .calc = gk104_ram_calc, calc 57 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm200.c .calc = gk104_ram_calc, calc 194 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c ret = ram->base.func->calc(&ram->base, (u32) M0205T.freq * 1000); calc 237 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c ram->base.func->calc(&ram->base, clk_current); calc 934 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c .calc = gt215_ram_calc, calc 185 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c .calc = nv40_ram_calc, calc 498 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c .calc = nv50_ram_calc, calc 874 drivers/i2c/busses/i2c-rk3x.c struct rk3x_i2c_calced_timings calc; calc 880 drivers/i2c/busses/i2c-rk3x.c ret = i2c->soc_data->calc_timings(clk_rate, t, &calc); calc 888 drivers/i2c/busses/i2c-rk3x.c val |= calc.tuning; calc 890 drivers/i2c/busses/i2c-rk3x.c i2c_writel(i2c, (calc.div_high << 16) | (calc.div_low & 0xffff), calc 896 drivers/i2c/busses/i2c-rk3x.c t_low_ns = div_u64(((u64)calc.div_low + 1) * 8 * 1000000000, clk_rate); calc 897 drivers/i2c/busses/i2c-rk3x.c t_high_ns = div_u64(((u64)calc.div_high + 1) * 8 * 1000000000, calc 928 drivers/i2c/busses/i2c-rk3x.c struct rk3x_i2c_calced_timings calc; calc 938 drivers/i2c/busses/i2c-rk3x.c &calc) != 0) calc 2045 drivers/net/usb/smsc95xx.c __wsum calc = csum_partial(skb->data + csstart, calc 2048 drivers/net/usb/smsc95xx.c + skb->csum_offset)) = csum_fold(calc); calc 159 fs/ubifs/auth.c u8 calc[UBIFS_HASH_ARR_SZ]; calc 161 fs/ubifs/auth.c __ubifs_node_calc_hash(c, node, calc); calc 165 fs/ubifs/auth.c ubifs_err(c, "hash calculated: %*ph%s", len, calc, cont); calc 181 fs/ubifs/auth.c u8 calc[UBIFS_HASH_ARR_SZ]; calc 184 fs/ubifs/auth.c err = __ubifs_node_calc_hash(c, node, calc); calc 188 fs/ubifs/auth.c if (ubifs_check_hash(c, expected, calc)) calc 1715 fs/ubifs/debug.c long long calc = 0; calc 1720 fs/ubifs/debug.c err = dbg_walk_index(c, NULL, add_size, &calc); calc 1726 fs/ubifs/debug.c if (calc != idx_size) { calc 1728 fs/ubifs/debug.c calc, idx_size); calc 68 fs/ubifs/master.c u8 calc[UBIFS_MAX_HASH_LEN]; calc 76 fs/ubifs/master.c UBIFS_MST_NODE_SZ - sizeof(struct ubifs_ch), calc); calc 78 fs/ubifs/master.c if (ubifs_check_hash(c, expected, calc))