Searched refs:modulo (Results 1 – 3 of 3) sorted by relevance
/u-boot/board/xilinx/common/ |
A D | fru_ops.c | 89 u8 len, pad, modulo; in fru_generate() local 138 modulo = len % 8; in fru_generate() 140 if (modulo) { in fru_generate() 142 for (pad = 0; pad < 8 - modulo; pad++) in fru_generate() 146 len += 8 - modulo; in fru_generate()
|
/u-boot/drivers/video/meson/ |
A D | meson_venc.c | 689 static unsigned long modulo(unsigned long a, unsigned long b) in modulo() function 964 de_h_begin = modulo(readl(priv->io_base + in meson_venc_hdmi_mode_set() 968 de_h_end = modulo(de_h_begin + active_pixels_venc, in meson_venc_hdmi_mode_set() 1002 hs_end = modulo(hs_begin + hsync_pixels_venc, in meson_venc_hdmi_mode_set() 1073 vso_begin_odd = modulo(hs_begin in meson_venc_hdmi_mode_set() 1088 vso_begin_evn = modulo(hs_begin in meson_venc_hdmi_mode_set() 1211 de_h_begin = modulo(readl(priv->io_base + in meson_venc_hdmi_mode_set() 1215 de_h_end = modulo(de_h_begin + active_pixels_venc, in meson_venc_hdmi_mode_set() 1267 hs_end = modulo(hs_begin + hsync_pixels_venc, in meson_venc_hdmi_mode_set() 1291 vs_eline_evn = modulo(vs_bline_evn + vsync_lines, in meson_venc_hdmi_mode_set() [all …]
|
/u-boot/lib/ |
A D | bch.c | 305 static inline int modulo(struct bch_control *bch, unsigned int v) in modulo() function 370 return bch->a_pow_tab[modulo(bch, i)]; in a_pow() 639 roots[n++] = modulo(bch, 2*GF_N(bch)-l1- in find_poly_deg2_roots() 641 roots[n++] = modulo(bch, 2*GF_N(bch)-l1- in find_poly_deg2_roots()
|
Completed in 8 milliseconds