Home
last modified time | relevance | path

Searched refs:poly (Results 1 – 25 of 76) sorted by relevance

1234

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Domap_elm.c33 static void elm_load_syndromes(u8 *syndrome, enum bch_level bch_type, u8 poly) in elm_load_syndromes() argument
39 ptr = &elm_cfg->syndrome_fragments[poly].syndrome_fragment_x[0]; in elm_load_syndromes()
44 ptr = &elm_cfg->syndrome_fragments[poly].syndrome_fragment_x[1]; in elm_load_syndromes()
51 ptr = &elm_cfg->syndrome_fragments[poly].syndrome_fragment_x[2]; in elm_load_syndromes()
56 ptr = &elm_cfg->syndrome_fragments[poly].syndrome_fragment_x[3]; in elm_load_syndromes()
64 ptr = &elm_cfg->syndrome_fragments[poly].syndrome_fragment_x[4]; in elm_load_syndromes()
70 ptr = &elm_cfg->syndrome_fragments[poly].syndrome_fragment_x[5]; in elm_load_syndromes()
76 ptr = &elm_cfg->syndrome_fragments[poly].syndrome_fragment_x[6]; in elm_load_syndromes()
97 u8 poly = ELM_DEFAULT_POLY; in elm_check_error() local
101 elm_load_syndromes(syndrome, bch_type, poly); in elm_check_error()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Dchacha20poly1305.c21 struct crypto_ahash_spawn poly; member
27 struct crypto_ahash *poly; member
65 struct poly_req poly; member
174 struct poly_req *preq = &rctx->u.poly; in poly_tail()
183 ahash_request_set_tfm(&preq->req, ctx->poly); in poly_tail()
203 struct poly_req *preq = &rctx->u.poly; in poly_cipherpad()
213 ahash_request_set_tfm(&preq->req, ctx->poly); in poly_cipherpad()
232 struct poly_req *preq = &rctx->u.poly; in poly_cipher()
243 ahash_request_set_tfm(&preq->req, ctx->poly); in poly_cipher()
262 struct poly_req *preq = &rctx->u.poly; in poly_adpad()
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dbch.c113 struct gf_poly poly; member
342 static inline int deg(unsigned int poly) in deg() argument
345 return fls(poly)-1; in deg()
409 uint32_t poly; in compute_syndromes() local
422 poly = *ecc++; in compute_syndromes()
424 while (poly) { in compute_syndromes()
425 i = deg(poly); in compute_syndromes()
429 poly ^= (1 << i); in compute_syndromes()
612 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg1_roots() argument
617 if (poly->c[0]) in find_poly_deg1_roots()
[all …]
/OK3568_Linux_fs/u-boot/lib/
H A Dbch.c115 struct gf_poly poly; member
315 static inline int deg(unsigned int poly) in deg() argument
318 return fls(poly)-1; in deg()
382 uint32_t poly; in compute_syndromes() local
395 poly = *ecc++; in compute_syndromes()
397 while (poly) { in compute_syndromes()
398 i = deg(poly); in compute_syndromes()
402 poly ^= (1 << i); in compute_syndromes()
585 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg1_roots() argument
590 if (poly->c[0]) in find_poly_deg1_roots()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/labs/
H A Dqmappolygonobject.cpp74 QGeoPolygon poly(other.geoShape()); // to handle holes in QMapPolygonObjectPrivateDefault() local
75 for (int i = 0; i < poly.holesCount(); i++) in QMapPolygonObjectPrivateDefault()
76 m_path.addHole(poly.holePath(i)); in QMapPolygonObjectPrivateDefault()
147 const QGeoPolygon poly(shape); in setGeoShape() local
148 for (int i = 0; i < poly.holesCount(); i++) in setGeoShape()
149 m_path.addHole(poly.holePath(i)); in setGeoShape()
150 …setPath(poly.path()); // to handle overrides. Last as it normally emits static_cast<QMapPolygonObj… in setGeoShape()
176 const QGeoPolygon poly(shape); in setGeoShape() local
177 setPath(poly.path()); // to handle overrides in setGeoShape()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativepolygonmapitem.cpp301 std::vector<Point> &poly = polygon.front(); in updateScreenPoints() local
307 || (qAbs(e.x - poly.front()[0]) < 0.1 in updateScreenPoints()
308 && qAbs(e.y - poly.front()[1]) < 0.1)) { in updateScreenPoints()
310 poly.push_back( p ); in updateScreenPoints()
313 poly.push_back( p ); in updateScreenPoints()
319 if (poly.size() > 2) { in updateScreenPoints()
325 for (const auto &p : poly) in updateScreenPoints()
352 static void wrapPath(const QGeoPolygon &poly in wrapPath() argument
359 for (int i = 0; i < 1+poly.holesCount(); ++i) { in wrapPath()
362 for (const QGeoCoordinate &c : poly.path()) in wrapPath()
[all …]
H A Dqdeclarativepolylinemapitem.cpp152 const QList<QDoubleVector2D> &poly) in clipLine() argument
155 if (poly.size() < 2 || l.size() < 2) in clipLine()
160 for (int i = 1; i < poly.size(); i++) in clipLine()
161 edges.push_back({ { poly.at(i-1).x(), poly.at(i-1).y(), poly.at(i).x(), poly.at(i).y() } }); in clipLine()
162 …edges.push_back({ { poly.at(poly.size()-1).x(), poly.at(poly.size()-1).y(), poly.at(0).x(), poly.a… in clipLine()
168 for (const auto &v: poly) in clipLine()
773 void QGeoMapPolylineGeometryOpenGL::updateSourcePoints(const QGeoMap &map, const QGeoPolygon &poly) in updateSourcePoints() argument
777 QGeoPath p(poly.path()); in updateSourcePoints()
778 if (poly.path().size() && poly.path().last() != poly.path().first()) in updateSourcePoints()
779 p.addCoordinate(poly.path().first()); in updateSourcePoints()
[all …]
H A Dqdeclarativepolylinemapitem_p_p.h286 const QGeoPolygon &poly);
289 const QGeoPath &poly);
575 QDeclarativePolylineMapItemPrivate(QDeclarativePolylineMapItem &poly) : m_poly(poly) in QDeclarativePolylineMapItemPrivate() argument
603 …lylineMapItemPrivateCPU(QDeclarativePolylineMapItem &poly) : QDeclarativePolylineMapItemPrivate(po… in QDeclarativePolylineMapItemPrivateCPU() argument
730 …mPrivateOpenGLLineStrip(QDeclarativePolylineMapItem &poly) : QDeclarativePolylineMapItemPrivate(po… in QDeclarativePolylineMapItemPrivateOpenGLLineStrip() argument
839 QDeclarativePolylineMapItemPrivateOpenGLExtruded(QDeclarativePolylineMapItem &poly) in QDeclarativePolylineMapItemPrivateOpenGLExtruded() argument
840 : QDeclarativePolylineMapItemPrivateOpenGLLineStrip(poly) in QDeclarativePolylineMapItemPrivateOpenGLExtruded()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dmath_config.h326 double poly[EXP2F_POLY_ORDER]; member
341 double poly[LOGF_POLY_ORDER - 1]; /* First order coefficient is 1. */ member
352 double poly[LOG2F_POLY_ORDER]; member
369 double poly[POWF_LOG2_POLY_ORDER]; member
388 double poly[4]; /* Last four coefficients. */ member
401 double poly[LOG_POLY_ORDER - 1]; /* First coefficient is 1. */ member
416 double poly[LOG2_POLY_ORDER - 1]; member
430 double poly[POW_LOG_POLY_ORDER - 1]; /* First coefficient is 1. */ member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dmath_config.h326 double poly[EXP2F_POLY_ORDER]; member
341 double poly[LOGF_POLY_ORDER - 1]; /* First order coefficient is 1. */ member
352 double poly[LOG2F_POLY_ORDER]; member
369 double poly[POWF_LOG2_POLY_ORDER]; member
388 double poly[4]; /* Last four coefficients. */ member
401 double poly[LOG_POLY_ORDER - 1]; /* First coefficient is 1. */ member
416 double poly[LOG2_POLY_ORDER - 1]; member
430 double poly[POW_LOG_POLY_ORDER - 1]; /* First coefficient is 1. */ member
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include/mapbox/geometry/wagyu/
H A Dutil.hpp14 double area(mapbox::geometry::linear_ring<T> const& poly) { in area() argument
15 std::size_t size = poly.size(); in area()
21 auto itr = poly.begin(); in area()
22 auto itr_prev = poly.end(); in area()
26 itr_prev = poly.begin(); in area()
27 for (; itr != poly.end(); ++itr, ++itr_prev) { in area()
H A Dquick_clip.hpp99 mapbox::geometry::multi_polygon<T> clip(mapbox::geometry::polygon<T> const& poly, in clip() argument
104 for (auto const& lr : poly) { in clip()
120 for (auto const& poly : mp) { in clip() local
121 for (auto const& lr : poly) { in clip()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/tools/
H A Drational.hpp171 U evaluate_polynomial(const T* poly, U const& z, std::size_t count) BOOST_MATH_NOEXCEPT(U);
189 inline U evaluate_polynomial(const T* poly, U const& z, std::size_t count) BOOST_MATH_NOEXCEPT(U) in evaluate_polynomial() argument
192 U sum = static_cast<U>(poly[count - 1]); in evaluate_polynomial()
196 sum += static_cast<U>(poly[i]); in evaluate_polynomial()
221 inline U evaluate_even_polynomial(const T* poly, U z, std::size_t count) BOOST_MATH_NOEXCEPT(U) in evaluate_even_polynomial() argument
223 return evaluate_polynomial(poly, U(z*z), count); in evaluate_even_polynomial()
241 inline U evaluate_odd_polynomial(const T* poly, U z, std::size_t count) BOOST_MATH_NOEXCEPT(U) in evaluate_odd_polynomial() argument
243 return poly[0] + z * evaluate_polynomial(poly+1, U(z*z), count-1); in evaluate_odd_polynomial()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/geometries/concepts/
H A Dpolygon_concept.hpp60 polygon_type* poly = 0; in apply() local
61 polygon_type const* cpoly = poly; in apply()
63 ring_mutable_type e = traits::exterior_ring<PolygonType>::get(*poly); in apply()
64 interior_mutable_type i = traits::interior_rings<PolygonType>::get(*poly); in apply()
72 boost::ignore_unused_variable_warning(poly); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/labs/qsg/
H A Dqmaprouteobjectqsg.cpp44 QScopedPointer<QMapPolylineObjectPrivateQSG> poly(new QMapPolylineObjectPrivateQSG(q)); in QMapRouteObjectPrivateQSG() local
45 m_polyline.swap(poly); in QMapRouteObjectPrivateQSG()
52 QScopedPointer<QMapPolylineObjectPrivateQSG> poly(new QMapPolylineObjectPrivateQSG(other.q)); in QMapRouteObjectPrivateQSG() local
53 m_polyline.swap(poly); in QMapRouteObjectPrivateQSG()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/
H A Dfor_each.hpp161 static inline void apply(Polygon& poly, Functor& f) in apply()
163 fe_range_per_point::apply(exterior_ring(poly), f); in apply()
166 rings = interior_rings(poly); in apply()
180 static inline void apply(Polygon& poly, Functor& f) in apply()
182 fe_range_per_segment::apply(exterior_ring(poly), f); in apply()
185 rings = interior_rings(poly); in apply()
H A Dcentroid.hpp281 static inline void apply(Polygon const& poly, in apply()
289 per_ring::apply(exterior_ring(poly), transformer, strategy, state); in apply()
292 rings = interior_rings(poly); in apply()
305 static inline bool apply(Polygon const& poly, Point& centroid, in apply()
308 if (range_ok(exterior_ring(poly), centroid)) in apply()
312 transformer(*boost::begin(exterior_ring(poly))); in apply()
315 centroid_polygon_state::apply(poly, transformer, strategy, state); in apply()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Daxp20x.txt126 DCDC2 : DC-DC buck : vin2-supply : poly-phase capable
127 DCDC3 : DC-DC buck : vin3-supply : poly-phase capable
129 DCDC5 : DC-DC buck : vin5-supply : poly-phase capable
130 DCDC6 : DC-DC buck : vin6-supply : poly-phase capable
153 DCDCA : DC-DC buck : vina-supply : poly-phase capable
154 DCDCB : DC-DC buck : vinb-supply : poly-phase capable
155 DCDCC : DC-DC buck : vinc-supply : poly-phase capable
156 DCDCD : DC-DC buck : vind-supply : poly-phase capable
157 DCDCE : DC-DC buck : vine-supply : poly-phase capable
170 Additionally, the AXP806 DC-DC regulators support poly-phase arrangements
[all …]
/OK3568_Linux_fs/u-boot/tools/
H A Dpbl_crc32.c17 uint32_t poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
26 poly = 0x04c11db7; in make_crc_table()
32 mask = (mask << 1) ^ poly; in make_crc_table()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/
H A Dcalculate_sum.hpp48 static inline ReturnType apply(Polygon const& poly, Strategy const& strategy) in apply() argument
50 return Policy::apply(exterior_ring(poly), strategy) in apply()
51 + sum_interior_rings<ReturnType, Policy>(interior_rings(poly), strategy) in apply()
H A Dcounting.hpp65 static inline std::size_t apply(Polygon const& poly) in apply()
67 std::size_t n = RangeCount::apply(exterior_ring(poly)); in apply()
70 rings = interior_rings(poly); in apply()
/OK3568_Linux_fs/external/xserver/Xext/
H A Dxselinux_label.c103 obj->poly = 1; in SELinuxAtomToSIDLookup()
107 obj->poly = 0; in SELinuxAtomToSIDLookup()
193 if (obj->poly && avc_compute_member(subj->sid, obj->sid, in SELinuxSelectionToSID()
201 *poly_rtn = obj->poly; in SELinuxSelectionToSID()
234 if (obj->poly) { in SELinuxPropertyToSID()
245 *poly_rtn = obj->poly; in SELinuxPropertyToSID()
/OK3568_Linux_fs/kernel/drivers/crypto/stm32/
H A Dstm32-crc32.c65 u32 poly; member
77 mctx->poly = CRC32_POLY_LE; in stm32_crc32_cra_init()
86 mctx->poly = CRC32C_POLY_LE; in stm32_crc32c_cra_init()
132 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL); in stm32_crc_init()
162 if (mctx->poly == CRC32_POLY_LE) in burst_update()
177 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL); in burst_update()
248 put_unaligned_le32(mctx->poly == CRC32C_POLY_LE ? in stm32_crc_final()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dbiquads.c147 double const * roots, size_t num_roots, double * poly) in make_poly_from_roots() argument
150 poly[0] = 1; in make_poly_from_roots()
151 poly[1] = -roots[0]; in make_poly_from_roots()
152 memset(poly + 2, 0, (num_roots + 1 - 2) * sizeof(*poly)); in make_poly_from_roots()
155 poly[j] -= poly[j - 1] * roots[i]; in make_poly_from_roots()
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_display_helper.c21 unsigned long poly; /* polynomial exclusive-or pattern */ in rockchip_display_make_crc32_table() local
26 poly = 0L; in rockchip_display_make_crc32_table()
28 poly |= 1L << (31 - p[n]); in rockchip_display_make_crc32_table()
33 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in rockchip_display_make_crc32_table()

1234