Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-rk3x.c876 struct rk3x_i2c_calced_timings calc; in rk3x_i2c_adapt_div() local
882 ret = i2c->soc_data->calc_timings(clk_rate, t, &calc); in rk3x_i2c_adapt_div()
890 val |= calc.tuning; in rk3x_i2c_adapt_div()
892 i2c_writel(i2c, (calc.div_high << 16) | (calc.div_low & 0xffff), in rk3x_i2c_adapt_div()
898 t_low_ns = div_u64(((u64)calc.div_low + 1) * 8 * 1000000000, clk_rate); in rk3x_i2c_adapt_div()
899 t_high_ns = div_u64(((u64)calc.div_high + 1) * 8 * 1000000000, in rk3x_i2c_adapt_div()
930 struct rk3x_i2c_calced_timings calc; in rk3x_i2c_clk_notifier_cb() local
940 &calc) != 0) in rk3x_i2c_clk_notifier_cb()
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dnv50.c661 u32 calc, diff; in nv50_disp_intr_unk20_2_dp() local
665 calc = VTUi * symbol; in nv50_disp_intr_unk20_2_dp()
666 diff = tu_valid - calc; in nv50_disp_intr_unk20_2_dp()
675 calc += symbol - (symbol / VTUf); in nv50_disp_intr_unk20_2_dp()
679 calc += symbol; in nv50_disp_intr_unk20_2_dp()
684 calc += symbol / VTUf; in nv50_disp_intr_unk20_2_dp()
687 diff = calc - tu_valid; in nv50_disp_intr_unk20_2_dp()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dg84.c29 .calc = nv50_clk_calc,
Dpriv.h10 int (*calc)(struct nvkm_clk *, struct nvkm_cstate *); member
Dbase.c109 ret = clk->func->calc(clk, cstate); in nvkm_cstate_prog()
193 if (ram && ram->func->calc) { in nvkm_pstate_prog()
196 ret = ram->func->calc(ram, khz); in nvkm_pstate_prog()
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,
Dnv40.c207 .calc = nv40_clk_calc,
Dgk20a.c585 base->func->calc(base, &base->func->pstates[0].base); in gk20a_clk_init()
600 .calc = gk20a_clk_calc,
Dmcp77.c400 .calc = mcp77_clk_calc,
Dgf100.c451 .calc = gf100_clk_calc,
Dnv50.c544 .calc = nv50_clk_calc,
Dgt215.c520 .calc = gt215_clk_calc,
Dgk104.c488 .calc = gk104_clk_calc,
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dfb.h155 int (*calc)(struct nvkm_ram *, u32 freq); member
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv40.c191 .calc = nv40_ram_calc,
Dramgt215.c193 ret = ram->base.func->calc(&ram->base, (u32) M0205T.freq * 1000); in gt215_link_train()
236 ram->base.func->calc(&ram->base, clk_current); in gt215_link_train()
936 .calc = gt215_ram_calc,
Dramgf100.c553 .calc = gf100_ram_calc,
Dramnv50.c593 .calc = nv50_ram_calc,
Dramgk104.c1525 .calc = gk104_ram_calc,
/drivers/gpu/drm/nouveau/
Dnouveau_display.c83 calc(int blanks, int blanke, int total, int line) in calc() function
126 *vpos = calc(args.scan.vblanks, args.scan.vblanke, in nouveau_display_scanoutpos_head()
/drivers/net/usb/
Dsmsc95xx.c2018 __wsum calc = csum_partial(skb->data + csstart, in smsc95xx_tx_fixup() local
2021 + skb->csum_offset)) = csum_fold(calc); in smsc95xx_tx_fixup()