Home
last modified time | relevance | path

Searched refs:calc (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dpm-s3c2410.c40 unsigned long calc = 0; in s3c2410_pm_prepare() local
45 calc += __raw_readl(base+ptr); in s3c2410_pm_prepare()
47 __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); in s3c2410_pm_prepare()
56 unsigned long calc = 0; in s3c2410_pm_prepare() local
61 calc += __raw_readl(base+ptr); in s3c2410_pm_prepare()
63 __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); in s3c2410_pm_prepare()
/kernel/linux/linux-5.10/drivers/soc/samsung/
Ds3c-pm-check.c167 u32 calc; in s3c_pm_runcheck() local
169 stkpage = (void *)((u32)&calc & ~PAGE_MASK); in s3c_pm_runcheck()
192 calc = crc32_le(~0, ptr, left); in s3c_pm_runcheck()
193 if (calc != *val) { in s3c_pm_runcheck()
195 "%08lx (%08x vs %08x)\n", addr, calc, *val); in s3c_pm_runcheck()
198 addr, calc, *val); in s3c_pm_runcheck()
/kernel/linux/linux-5.10/fs/ubifs/
Dauth.c145 u8 calc[UBIFS_HASH_ARR_SZ]; in ubifs_bad_hash() local
147 __ubifs_node_calc_hash(c, node, calc); in ubifs_bad_hash()
151 ubifs_err(c, "hash calculated: %*ph%s", len, calc, cont); in ubifs_bad_hash()
167 u8 calc[UBIFS_HASH_ARR_SZ]; in __ubifs_node_check_hash() local
170 err = __ubifs_node_calc_hash(c, node, calc); in __ubifs_node_check_hash()
174 if (ubifs_check_hash(c, expected, calc)) in __ubifs_node_check_hash()
Dmaster.c68 u8 calc[UBIFS_MAX_HASH_LEN]; in mst_node_check_hash() local
73 calc); in mst_node_check_hash()
75 if (ubifs_check_hash(c, expected, calc)) in mst_node_check_hash()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-rk3x.c875 struct rk3x_i2c_calced_timings calc; in rk3x_i2c_adapt_div() local
881 ret = i2c->soc_data->calc_timings(clk_rate, t, &calc); in rk3x_i2c_adapt_div()
889 val |= calc.tuning; in rk3x_i2c_adapt_div()
891 i2c_writel(i2c, (calc.div_high << 16) | (calc.div_low & 0xffff), in rk3x_i2c_adapt_div()
897 t_low_ns = div_u64(((u64)calc.div_low + 1) * 8 * 1000000000, clk_rate); in rk3x_i2c_adapt_div()
898 t_high_ns = div_u64(((u64)calc.div_high + 1) * 8 * 1000000000, in rk3x_i2c_adapt_div()
929 struct rk3x_i2c_calced_timings calc; in rk3x_i2c_clk_notifier_cb() local
939 &calc) != 0) in rk3x_i2c_clk_notifier_cb()
/kernel/linux/linux-5.10/scripts/
Dbloat-o-meter44 def calc(oldfile, newfile, format): function
81 calc(sys.argv[argc - 1], sys.argv[argc], symbolformat)
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dnv50.c361 u32 calc, diff; in nv50_disp_super_2_2_dp() local
365 calc = VTUi * symbol; in nv50_disp_super_2_2_dp()
366 diff = tu_valid - calc; in nv50_disp_super_2_2_dp()
375 calc += symbol - (symbol / VTUf); in nv50_disp_super_2_2_dp()
379 calc += symbol; in nv50_disp_super_2_2_dp()
384 calc += symbol / VTUf; in nv50_disp_super_2_2_dp()
387 diff = calc - tu_valid; in nv50_disp_super_2_2_dp()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dg84.c29 .calc = nv50_clk_calc,
Dpriv.h11 int (*calc)(struct nvkm_clk *, struct nvkm_cstate *); member
Dbase.c195 ret = clk->func->calc(clk, cstate); in nvkm_cstate_prog()
285 if (fb && fb->ram && fb->ram->func->calc) { in nvkm_pstate_prog()
289 ret = ram->func->calc(ram, khz); in nvkm_pstate_prog()
Dnv40.c207 .calc = nv40_clk_calc,
Dgm20b.c865 base->func->calc(base, &base->func->pstates[0].base); in gm20b_clk_init()
880 .calc = gk20a_clk_calc,
898 .calc = gm20b_clk_calc,
Dgk20a.c585 base->func->calc(base, &base->func->pstates[0].base); in gk20a_clk_init()
600 .calc = gk20a_clk_calc,
Dmcp77.c401 .calc = mcp77_clk_calc,
Dgt215.c523 .calc = gt215_clk_calc,
Dnv50.c544 .calc = nv50_clk_calc,
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgm107.c42 .calc = gk104_ram_calc,
Dramgf108.c51 .calc = gf100_ram_calc,
Dramgm200.c57 .calc = gk104_ram_calc,
Dramnv40.c185 .calc = nv40_ram_calc,
Dramgt215.c194 ret = ram->base.func->calc(&ram->base, (u32) M0205T.freq * 1000); in gt215_link_train()
237 ram->base.func->calc(&ram->base, clk_current); in gt215_link_train()
934 .calc = gt215_ram_calc,
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dfb.h158 int (*calc)(struct nvkm_ram *, u32 freq); member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_display.c70 calc(int blanks, int blanke, int total, int line) in calc() function
113 *vpos = calc(args.scan.vblanks, args.scan.vblanke, in nouveau_display_scanoutpos_head()
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
Dsint.S147 bgt in_rnge |if 63 >= exp > 0, do calc
/kernel/linux/linux-5.10/arch/sparc/lib/
DM7memset.S308 and %o2, 7, %o2 ! calc bytes left after long words

12