Home
last modified time | relevance | path

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

12

/linux/drivers/soc/samsung/
H A 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()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c186 unsigned long long samples, calc; in main() local
261 ESTIMATE("total seccomp overhead for 1 bitmapped filter", calc, in main()
263 ESTIMATE("total seccomp overhead for 2 bitmapped filters", calc, in main()
265 ESTIMATE("total seccomp overhead for 3 full filters", calc, in main()
267 ESTIMATE("total seccomp overhead for 4 full filters", calc, in main()
/linux/fs/ubifs/
H A Dauth.c143 u8 calc[UBIFS_HASH_ARR_SZ]; in ubifs_bad_hash() local
145 __ubifs_node_calc_hash(c, node, calc); in ubifs_bad_hash()
149 ubifs_err(c, "hash calculated: %*ph%s", len, calc, cont); in ubifs_bad_hash()
165 u8 calc[UBIFS_HASH_ARR_SZ]; in __ubifs_node_check_hash() local
168 err = __ubifs_node_calc_hash(c, node, calc); in __ubifs_node_check_hash()
172 if (ubifs_check_hash(c, expected, calc)) in __ubifs_node_check_hash()
H A Dmaster.c68 u8 calc[UBIFS_MAX_HASH_LEN]; in mst_node_check_hash() local
74 calc); in mst_node_check_hash()
78 if (ubifs_check_hash(c, expected, calc)) in mst_node_check_hash()
/linux/drivers/nvmem/layouts/
H A Du-boot-env.c100 uint32_t calc; in u_boot_env_parse() local
151 calc = crc32(~0, buf + crc32_data_offset, crc32_data_len) ^ ~0L; in u_boot_env_parse()
152 if (calc != crc32) { in u_boot_env_parse()
153 dev_err(dev, "Invalid calculated CRC32: 0x%08x (expected: 0x%08x)\n", calc, crc32); in u_boot_env_parse()
/linux/tools/testing/selftests/power_supply/
H A Dhelpers.sh7 calc() { function
52 value_converted=$(calc "$VALUE"/"$div")
/linux/scripts/
H A Dbloat-o-meter52 def calc(oldfile, newfile, format): function
88 calc(args.file1, args.file2, symbolformat)
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dg84.c29 .calc = nv50_clk_calc,
H A Dpriv.h11 int (*calc)(struct nvkm_clk *, struct nvkm_cstate *); member
H A 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()
H A 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,
H A Dnv40.c207 .calc = nv40_clk_calc,
H A Dgk20a.c585 base->func->calc(base, &base->func->pstates[0].base); in gk20a_clk_init()
600 .calc = gk20a_clk_calc,
H A Dmcp77.c398 .calc = mcp77_clk_calc,
H A Dgf100.c451 .calc = gf100_clk_calc,
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgm107.c42 .calc = gk104_ram_calc,
H A Dramgf108.c51 .calc = gf100_ram_calc,
H A Dramgm200.c57 .calc = gk104_ram_calc,
H A Dramnv40.c185 .calc = nv40_ram_calc,
H A 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,
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dnv50.c1193 u32 calc, diff; in nv50_disp_super_2_2_dp() local
1197 calc = VTUi * symbol; in nv50_disp_super_2_2_dp()
1198 diff = tu_valid - calc; in nv50_disp_super_2_2_dp()
1207 calc += symbol - (symbol / VTUf); in nv50_disp_super_2_2_dp()
1211 calc += symbol; in nv50_disp_super_2_2_dp()
1216 calc += symbol / VTUf; in nv50_disp_super_2_2_dp()
1219 diff = calc - tu_valid; in nv50_disp_super_2_2_dp()
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dfb.h175 int (*calc)(struct nvkm_ram *, u32 freq); member
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c70 calc(int blanks, int blanke, int total, int line) in calc() function
109 *vpos = calc(args.vblanks, args.vblanke, args.vtotal, args.vline); in nouveau_display_scanoutpos_head()
/linux/arch/m68k/fpsp040/
H A Dsint.S147 bgt in_rnge |if 63 >= exp > 0, do calc
/linux/arch/sparc/lib/
H A DM7memset.S308 and %o2, 7, %o2 ! calc bytes left after long words

12