| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/ |
| H A D | qdoublevector3d_p.h | 98 { return v1.xp * v2.xp + v1.yp * v2.yp + v1.zp * v2.zp; } in dotProduct() 102 v1.zp * v2.xp - v1.xp * v2.zp, in crossProduct() 103 v1.xp * v2.yp - v1.yp * v2.xp); } in crossProduct() 128 double xp, yp, zp; 135 Q_DECL_CONSTEXPR inline QDoubleVector3D::QDoubleVector3D() : xp(0.0), yp(0.0), zp(0.0) {} in QDoubleVector3D() 137 … QDoubleVector3D::QDoubleVector3D(double xpos, double ypos, double zpos) : xp(xpos), yp(ypos), zp(… in QDoubleVector3D() 140 : xp(v.xp), yp(v.yp), zp(0.0) {} in QDoubleVector3D() 143 : xp(v.xp), yp(v.yp), zp(zpos) {} in QDoubleVector3D() 147 return qIsNull(xp) && qIsNull(yp) && qIsNull(zp); in isNull() 150 Q_DECL_CONSTEXPR inline double QDoubleVector3D::x() const { return xp; } in x() [all …]
|
| H A D | qdoublevector2d_p.h | 98 { return v1.xp * v2.xp + v1.yp * v2.yp; } in dotProduct() 117 double xp, yp; 124 Q_DECL_CONSTEXPR inline QDoubleVector2D::QDoubleVector2D() : xp(0.0), yp(0.0) {} in QDoubleVector2D() 126 Q_DECL_CONSTEXPR inline QDoubleVector2D::QDoubleVector2D(double xpos, double ypos) : xp(xpos), yp(y… in QDoubleVector2D() 128 Q_DECL_CONSTEXPR inline QDoubleVector2D::QDoubleVector2D(const QPointF &p) : xp(p.x()), yp(p.y()) {… in QDoubleVector2D() 137 return qIsNull(xp) && qIsNull(yp); in isNull() 142 return qIsFinite(xp) && qIsFinite(yp); in isFinite() 145 Q_DECL_CONSTEXPR inline double QDoubleVector2D::x() const { return xp; } in x() 148 inline void QDoubleVector2D::setX(double aX) { xp = aX; } in setX() 152 { return xp * xp + yp * yp; } in lengthSquared() [all …]
|
| H A D | qdoublevector2d.cpp | 49 xp(vector.xp), yp(vector.yp) in QDoubleVector2D() 55 return qSqrt(xp * xp + yp * yp); in length() 61 double len = double(xp) * double(xp) + in normalized() 74 double len = double(xp) * double(xp) + in normalize() 81 xp /= len; in normalize() 87 return QDoubleVector3D(xp, yp, 0.0); in toVector3D()
|
| H A D | qdoublevector3d.cpp | 50 double len = double(xp) * double(xp) + in normalized() 64 double len = double(xp) * double(xp) + in normalize() 72 xp /= len; in normalize() 106 return qSqrt(xp * xp + yp * yp + zp * zp); in length()
|
| /OK3568_Linux_fs/kernel/net/ipv6/ila/ |
| H A D | ila_xlat.c | 19 struct ila_xlat_params xp; member 58 return (ila->xp.ifindex && ila->xp.ifindex != ifindex); in ila_cmp_wildcards() 62 struct ila_xlat_params *xp) in ila_cmp_params() argument 64 return (ila->xp.ifindex != xp->ifindex); in ila_cmp_params() 72 return (ila->xp.ip.locator_match.v64 != *(__be64 *)arg->key); in ila_cmpfn() 79 if (ila->xp.ifindex) in ila_order() 88 .key_offset = offsetof(struct ila_map, xp.ip.locator_match), 97 struct ila_xlat_params *xp) in parse_nl_config() argument 99 memset(xp, 0, sizeof(*xp)); in parse_nl_config() 102 xp->ip.locator.v64 = (__force __be64)nla_get_u64( in parse_nl_config() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | pgtable-2level.h | 44 unsigned long addr, pte_t *xp) in native_pte_clear() argument 46 *xp = native_make_pte(0); in native_pte_clear() 50 static inline pte_t native_ptep_get_and_clear(pte_t *xp) in native_ptep_get_and_clear() argument 52 return __pte(xchg(&xp->pte_low, 0)); in native_ptep_get_and_clear() 55 #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp) argument 59 static inline pmd_t native_pmdp_get_and_clear(pmd_t *xp) in native_pmdp_get_and_clear() argument 61 return __pmd(xchg((pmdval_t *)xp, 0)); in native_pmdp_get_and_clear() 64 #define native_pmdp_get_and_clear(xp) native_local_pmdp_get_and_clear(xp) argument 68 static inline pud_t native_pudp_get_and_clear(pud_t *xp) in native_pudp_get_and_clear() argument 70 return __pud(xchg((pudval_t *)xp, 0)); in native_pudp_get_and_clear() [all …]
|
| H A D | pgtable_64.h | 91 static inline pte_t native_ptep_get_and_clear(pte_t *xp) in native_ptep_get_and_clear() argument 94 return native_make_pte(xchg(&xp->pte, 0)); in native_ptep_get_and_clear() 98 pte_t ret = *xp; in native_ptep_get_and_clear() 99 native_pte_clear(NULL, 0, xp); in native_ptep_get_and_clear() 104 static inline pmd_t native_pmdp_get_and_clear(pmd_t *xp) in native_pmdp_get_and_clear() argument 107 return native_make_pmd(xchg(&xp->pmd, 0)); in native_pmdp_get_and_clear() 111 pmd_t ret = *xp; in native_pmdp_get_and_clear() 112 native_pmd_clear(xp); in native_pmdp_get_and_clear() 127 static inline pud_t native_pudp_get_and_clear(pud_t *xp) in native_pudp_get_and_clear() argument 130 return native_make_pud(xchg(&xp->pud, 0)); in native_pudp_get_and_clear() [all …]
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | jfs_extent.c | 60 * xp - pointer to an xad. on entry, xad describes an 73 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument 94 if ((hint = addressXAD(xp))) { in extAlloc() 96 nxlen = lengthXAD(xp); in extAlloc() 106 if (offsetXAD(xp) + nxlen == xoff && in extAlloc() 107 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc() 161 XADaddress(xp, nxaddr); in extAlloc() 162 XADlength(xp, nxlen); in extAlloc() 163 XADoffset(xp, xoff); in extAlloc() 164 xp->flag = xflag; in extAlloc() [all …]
|
| /OK3568_Linux_fs/kernel/net/xfrm/ |
| H A D | xfrm_user.c | 1502 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates() argument 1507 xp->xfrm_nr = nr; in copy_templates() 1509 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates() 1620 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) in copy_from_user_policy() argument 1622 xp->priority = p->priority; in copy_from_user_policy() 1623 xp->index = p->index; in copy_from_user_policy() 1624 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy() 1625 memcpy(&xp->lft, &p->lft, sizeof(xp->lft)); in copy_from_user_policy() 1626 xp->action = p->action; in copy_from_user_policy() 1627 xp->flags = p->flags; in copy_from_user_policy() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | armada-xp.dtsi | 3 * Device Tree Include file for Marvell Armada XP family SoC 12 * Contains definitions specific to the Armada XP SoC that are not 16 #include "armada-370-xp.dtsi" 22 model = "Marvell Armada XP family SoC"; 23 compatible = "marvell,armadaxp", "marvell,armada-370-xp"; 40 compatible = "marvell,armada-xp-sdram-controller"; 78 compatible = "marvell,armada-370-xp-system-controller"; 83 compatible = "marvell,armada-xp-gating-clock"; 90 compatible = "marvell,armada-xp-core-clock"; 104 compatible = "marvell,armada-xp-cpu-clock"; [all …]
|
| H A D | armada-xp-98dx3236.dtsi | 8 * common to all Armada XP SoCs. 11 #include "armada-370-xp.dtsi" 18 compatible = "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; 58 compatible = "marvell,armada-xp-pcie"; 94 compatible = "marvell,armada-xp-sdram-controller"; 137 compatible = "marvell,armada-370-xp-system-controller"; 160 compatible = "marvell,armada-xp-cpu-config"; 165 compatible = "marvell,armada-xp-neta"; 169 compatible = "marvell,armada-xp-neta"; 278 compatible = "marvell,armada-xp-timer"; [all …]
|
| /OK3568_Linux_fs/kernel/lib/mpi/ |
| H A D | mpi-pow.c | 150 mpi_ptr_t xp; in mpi_powm() local 155 xp = xp_marker = mpi_alloc_limb_space(2 * (msize + 1)); in mpi_powm() 156 if (!xp) in mpi_powm() 169 * Make the result be pointed to alternately by XP and RP. This in mpi_powm() 174 * pointed to by XP. in mpi_powm() 182 /*if (mpihelp_mul_n(xp, rp, rp, rsize) < 0) goto enomem */ in mpi_powm() 184 mpih_sqr_n_basecase(xp, rp, rsize); in mpi_powm() 200 mpih_sqr_n(xp, rp, rsize, tspace); in mpi_powm() 205 mpihelp_divrem(xp + msize, 0, xp, xsize, in mpi_powm() 211 rp = xp; in mpi_powm() [all …]
|
| /OK3568_Linux_fs/kernel/net/key/ |
| H A D | af_key.c | 1913 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) in check_reqid() argument 1918 for (i=0; i<xp->xfrm_nr; i++) { in check_reqid() 1919 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid() 1947 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq) in parse_ipsecrequest() argument 1949 struct net *net = xp_net(xp); in parse_ipsecrequest() 1950 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest() 1953 if (xp->xfrm_nr >= XFRM_MAX_DEPTH) in parse_ipsecrequest() 1986 t->encap_family = xp->family; in parse_ipsecrequest() 1990 xp->xfrm_nr++; in parse_ipsecrequest() 1995 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) in parse_ipsecrequests() argument [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | armada-xp.dtsi | 2 * Device Tree Include file for Marvell Armada XP family SoC 49 * Contains definitions specific to the Armada XP SoC that are not 53 #include "armada-370-xp.dtsi" 56 model = "Marvell Armada XP family SoC"; 57 compatible = "marvell,armadaxp", "marvell,armada-370-xp"; 75 compatible = "marvell,armada-xp-sdram-controller"; 89 compatible = "marvell,armada-xp-spi", 96 compatible = "marvell,armada-xp-spi", 136 compatible = "marvell,armada-370-xp-system-controller"; 141 compatible = "marvell,armada-xp-gating-clock"; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H A D | sys-hypervisor.c | 420 struct xen_pmu_params xp; in pmu_mode_store() local 425 xp.val = pmu_modes[i].mode; in pmu_mode_store() 433 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store() 434 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store() 435 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store() 445 struct xen_pmu_params xp; in pmu_mode_show() local 449 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show() 450 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show() 451 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show() 455 mode = (uint32_t)xp.val; in pmu_mode_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/bus/ |
| H A D | qcom-ebi2.c | 249 const struct ebi2_xmem_prop *xp = &xmem_props[i]; in qcom_ebi2_setup_chipselect() local 252 ret = of_property_read_u32(np, xp->prop, &val); in qcom_ebi2_setup_chipselect() 255 xp->prop, csindex); in qcom_ebi2_setup_chipselect() 260 if (xp->max == 1 && val) { in qcom_ebi2_setup_chipselect() 261 if (xp->slowreg) in qcom_ebi2_setup_chipselect() 262 slowcfg |= BIT(xp->shift); in qcom_ebi2_setup_chipselect() 264 fastcfg |= BIT(xp->shift); in qcom_ebi2_setup_chipselect() 265 dev_dbg(dev, "set %s flag\n", xp->prop); in qcom_ebi2_setup_chipselect() 270 if (val > xp->max) { in qcom_ebi2_setup_chipselect() 273 xp->prop, val, xp->max); in qcom_ebi2_setup_chipselect() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/perf/ |
| H A D | arm-cmn.c | 57 /* DTMs live in the PMU space of XP registers */ 200 /* XP */ 421 /* Good thing there are only 3 fundamental XP events... */ 504 /* We treat watchpoints as a special made-up class of XP events */ 688 struct arm_cmn_node *xp = arm_cmn_node_to_xp(dn); in arm_cmn_read_dtm() local 690 u64 reg = readq_relaxed(xp->pmu_base + offset); in arm_cmn_read_dtm() 848 int wp_idx, xp = arm_cmn_node_to_xp(dn)->logid; in arm_cmn_val_add_event() local 850 val->dtm_count[xp]++; in arm_cmn_val_add_event() 851 val->occupid[xp] = occupid; in arm_cmn_val_add_event() 857 val->wp[xp][wp_idx] = CMN_EVENT_WP_COMBINE(event) + 1; in arm_cmn_val_add_event() [all …]
|
| H A D | arm-ccn.c | 138 } xp; member 181 struct arm_ccn_component *xp; member 233 static CCN_FORMAT_ATTR(xp, "config:0-7"); 280 * their ports in XP they are connected to. For the sake of usability they are 348 ",xp=?,vc=?"); in arm_ccn_pmu_event_show() 669 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc() 676 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, in arm_ccn_pmu_event_alloc() 682 dev_dbg(ccn->dev, "No more event sources/watchpoints on node/XP %d!\n", in arm_ccn_pmu_event_alloc() 708 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release() 761 /* Validate node/xp vs topology */ in arm_ccn_pmu_event_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/sgi-xp/ |
| H A D | xp_uv.c | 11 * Cross Partition (XP) uv-based functions. 25 #include "xp.h" 59 dev_err(xp, "gru_read_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_mmr_read() 78 dev_err(xp, "gru_copy_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_memcpy_uv() 98 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_expand_memprotect_uv() 109 dev_err(xp, "sn_change_memprotect(,, " in xp_expand_memprotect_uv() 128 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_restrict_memprotect_uv() 139 dev_err(xp, "sn_change_memprotect(,, " in xp_restrict_memprotect_uv()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/ |
| H A D | tile_cover_impl.cpp | 127 void update_span(TileSpan& xp, double x) { in update_span() argument 128 xp.xmin = std::min(xp.xmin, static_cast<int32_t>(std::floor(x))); in update_span() 129 xp.xmax = std::max(xp.xmax, static_cast<int32_t>(std::ceil(x))); in update_span() 142 TileSpan xp = { INT_MAX, 0, b.winding }; in scan_row() local 147 update_span(xp, x); in scan_row() 154 update_span(xp, x); in scan_row() 159 update_span(xp, x); in scan_row() 163 tile_range.push_back(xp); in scan_row() 317 auto xp = xps[i]; in nextRow() local 319 if (xp.xmin > x_max && xp.xmax >= x_max) { in nextRow() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/marvell/ |
| H A D | armada-370-xp-pmsu.txt | 3 Available on Marvell SOCs: Armada 370, Armada 38x and Armada XP 8 - "marvell,armada-370-pmsu" for Armada 370 or Armada XP 10 - "marvell,armada-370-xp-pmsu" was used for Armada 370/XP but is now 17 armada-370-xp-pmsu@22000 {
|
| H A D | armada-370-xp.txt | 1 Marvell Armada 370 and Armada XP Platforms Device Tree Bindings 4 Boards with a SoC of the Marvell Armada 370 and Armada XP families 9 compatible: must contain "marvell,armada-370-xp" 18 In addition, boards using the Marvell Armada XP SoC shall have the
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/timer/ |
| H A D | marvell,armada-370-xp-timer.txt | 1 Marvell Armada 370 and Armada XP Timers 8 "marvell,armada-xp-timer". 18 Clocks required for compatibles = "marvell,armada-xp-timer", 36 - Armada XP: 39 compatible = "marvell,armada-xp-timer";
|
| /OK3568_Linux_fs/kernel/arch/sh/lib/ |
| H A D | div64-generic.c | 11 uint32_t __div64_32(u64 *xp, u32 y) in __div64_32() argument 14 uint64_t q = __xdiv64_32(*xp, y); in __div64_32() 16 rem = *xp - q * y; in __div64_32() 17 *xp = q; in __div64_32()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | mvebu-sdram-controller.txt | 8 Armada XP SDRAM controller. 12 - compatible: for Armada XP, "marvell,armada-xp-sdram-controller" 19 compatible = "marvell,armada-xp-sdram-controller";
|