Home
last modified time | relevance | path

Searched full:xp (Results 1 – 25 of 258) sorted by relevance

1234567891011

/linux-6.12.1/net/ipv6/ila/
Dila_xlat.c18 struct ila_xlat_params xp; member
57 return (ila->xp.ifindex && ila->xp.ifindex != ifindex); in ila_cmp_wildcards()
61 struct ila_xlat_params *xp) in ila_cmp_params() argument
63 return (ila->xp.ifindex != xp->ifindex); in ila_cmp_params()
71 return (ila->xp.ip.locator_match.v64 != *(__be64 *)arg->key); in ila_cmpfn()
78 if (ila->xp.ifindex) in ila_order()
87 .key_offset = offsetof(struct ila_map, xp.ip.locator_match),
96 struct ila_xlat_params *xp) in parse_nl_config() argument
98 memset(xp, 0, sizeof(*xp)); in parse_nl_config()
101 xp->ip.locator.v64 = (__force __be64)nla_get_u64( in parse_nl_config()
[all …]
/linux-6.12.1/arch/x86/include/asm/
Dpgtable-2level.h44 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 …]
Dpgtable_64.h91 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 …]
/linux-6.12.1/arch/arm/boot/dts/marvell/
DMakefile60 armada-xp-axpwifiap.dtb \
61 armada-xp-crs305-1g-4s.dtb \
62 armada-xp-crs305-1g-4s-bit.dtb \
63 armada-xp-crs326-24g-2s.dtb \
64 armada-xp-crs326-24g-2s-bit.dtb \
65 armada-xp-crs328-4c-20s-4s.dtb \
66 armada-xp-crs328-4c-20s-4s-bit.dtb \
67 armada-xp-db.dtb \
68 armada-xp-db-dxbc2.dtb \
69 armada-xp-db-xc3-24g4xg.dtb \
[all …]
Darmada-xp.dtsi3 * 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 …]
Darmada-xp-98dx3236.dtsi8 * 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";
104 compatible = "marvell,armada-xp-sdram-controller";
147 compatible = "marvell,armada-370-xp-system-controller";
170 compatible = "marvell,armada-xp-cpu-config";
175 compatible = "marvell,armada-xp-neta";
179 compatible = "marvell,armada-xp-neta";
290 compatible = "marvell,armada-xp-timer";
[all …]
Darmada-xp-matrix.dts3 * Device Tree file for Marvell Armada XP Matrix board
11 #include "armada-xp-mv78460.dtsi"
14 model = "Marvell Armada XP Matrix Board";
15 …le = "marvell,axp-matrix", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
/linux-6.12.1/lib/crypto/mpi/
Dmpi-pow.c150 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()
181 /*if (mpihelp_mul_n(xp, rp, rp, rsize) < 0) goto enomem */ in mpi_powm()
183 mpih_sqr_n_basecase(xp, rp, rsize); in mpi_powm()
199 mpih_sqr_n(xp, rp, rsize, tspace); in mpi_powm()
204 mpihelp_divrem(xp + msize, 0, xp, xsize, in mpi_powm()
209 swap(rp, xp); in mpi_powm()
[all …]
/linux-6.12.1/net/key/
Daf_key.c1908 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) in check_reqid() argument
1913 for (i=0; i<xp->xfrm_nr; i++) { in check_reqid()
1914 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid()
1942 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_policy *pol, in parse_ipsecrequest() argument
1945 struct net *net = xp_net(xp); in parse_ipsecrequest()
1946 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest()
1949 if (xp->xfrm_nr >= XFRM_MAX_DEPTH) in parse_ipsecrequest()
1985 t->encap_family = xp->family; in parse_ipsecrequest()
1989 xp->xfrm_nr++; in parse_ipsecrequest()
1994 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) in parse_ipsecrequests() argument
[all …]
/linux-6.12.1/net/xfrm/
Dxfrm_user.c1880 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates() argument
1885 xp->xfrm_nr = nr; in copy_templates()
1887 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates()
2014 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) in copy_from_user_policy() argument
2016 xp->priority = p->priority; in copy_from_user_policy()
2017 xp->index = p->index; in copy_from_user_policy()
2018 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy()
2019 memcpy(&xp->lft, &p->lft, sizeof(xp->lft)); in copy_from_user_policy()
2020 xp->action = p->action; in copy_from_user_policy()
2021 xp->flags = p->flags; in copy_from_user_policy()
[all …]
/linux-6.12.1/fs/jfs/
Djfs_extent.c57 * xp - pointer to an xad. on entry, xad describes an
70 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument
91 if ((hint = addressXAD(xp))) { in extAlloc()
93 nxlen = lengthXAD(xp); in extAlloc()
103 if (offsetXAD(xp) + nxlen == xoff && in extAlloc()
104 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc()
158 XADaddress(xp, nxaddr); in extAlloc()
159 XADlength(xp, nxlen); in extAlloc()
160 XADoffset(xp, xoff); in extAlloc()
161 xp->flag = xflag; in extAlloc()
[all …]
/linux-6.12.1/drivers/xen/
Dsys-hypervisor.c476 struct xen_pmu_params xp; in pmu_mode_store() local
481 xp.val = pmu_modes[i].mode; in pmu_mode_store()
489 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store()
490 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store()
491 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store()
501 struct xen_pmu_params xp; in pmu_mode_show() local
505 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show()
506 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show()
507 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show()
511 mode = (uint32_t)xp.val; in pmu_mode_show()
[all …]
/linux-6.12.1/drivers/bus/
Dqcom-ebi2.c249 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 …]
/linux-6.12.1/Documentation/devicetree/bindings/arm/marvell/
Darmada-370-xp-pmsu.txt3 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 {
Darmada-370-xp.txt1 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
Dmvebu-cpu-config.txt4 MVEBU (Marvell SOCs: Armada 370/XP)
10 - "marvell,armada-xp-cpu-config"
18 compatible = "marvell,armada-xp-cpu-config";
Dmvebu-system-controller.txt3 MVEBU (Marvell SOCs: Armada 370/375/XP, Dove, mv78xx0, Kirkwood, Orion5x)
9 - "marvell,armada-370-xp-system-controller"
16 compatible = "marvell,armada-370-xp-system-controller";
/linux-6.12.1/Documentation/devicetree/bindings/timer/
Dmarvell,armada-370-xp-timer.txt1 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";
/linux-6.12.1/arch/sh/lib/
Ddiv64-generic.c11 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()
/linux-6.12.1/drivers/misc/sgi-xp/
Dxp_uv.c11 * Cross Partition (XP) uv-based functions.
23 #include "xp.h"
57 dev_err(xp, "gru_read_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_mmr_read()
76 dev_err(xp, "gru_copy_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_memcpy_uv()
96 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_expand_memprotect_uv()
115 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_restrict_memprotect_uv()
Dxp_main.c11 * Cross Partition (XP) base.
13 * XP provides a base from which its users can interact
20 #include "xp.h"
22 /* define the XP debug device structures to be used with dev_dbg() et al */
25 .name = "xp"
33 struct device *xp = &xp_dbg_subname; variable
260 MODULE_DESCRIPTION("Cross Partition (XP) base");
DMakefile3 # Makefile for SGI's XP devices.
6 obj-$(CONFIG_SGI_XP) += xp.o
7 xp-y := xp_main.o xp_uv.o
/linux-6.12.1/drivers/perf/
Darm-ccn.c138 } xp; member
181 struct arm_ccn_component *xp; member
224 static CCN_FORMAT_ATTR(xp, "config:0-7");
271 * their ports in XP they are connected to. For the sake of usability they are
335 res += sysfs_emit_at(buf, res, ",xp=?,vc=?"); in arm_ccn_pmu_event_show()
655 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
662 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, in arm_ccn_pmu_event_alloc()
668 dev_dbg(ccn->dev, "No more event sources/watchpoints on node/XP %d!\n", in arm_ccn_pmu_event_alloc()
694 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release()
747 /* Validate node/xp vs topology */ in arm_ccn_pmu_event_init()
[all …]
/linux-6.12.1/arch/x86/xen/
Dpmu.c526 struct xen_pmu_params xp; in xen_pmu_init() local
542 xp.val = pfn_to_mfn(pfn); in xen_pmu_init()
543 xp.vcpu = cpu; in xen_pmu_init()
544 xp.version.maj = XENPMU_VER_MAJ; in xen_pmu_init()
545 xp.version.min = XENPMU_VER_MIN; in xen_pmu_init()
546 err = HYPERVISOR_xenpmu_op(XENPMU_init, &xp); in xen_pmu_init()
572 struct xen_pmu_params xp; in xen_pmu_finish() local
577 xp.vcpu = cpu; in xen_pmu_finish()
578 xp.version.maj = XENPMU_VER_MAJ; in xen_pmu_finish()
579 xp.version.min = XENPMU_VER_MIN; in xen_pmu_finish()
[all …]
/linux-6.12.1/drivers/spi/
Dspi-bcm-qspi.c291 const struct bcm_qspi_parms *xp) in bcm_qspi_calc_spbr() argument
296 if (xp->speed_hz) in bcm_qspi_calc_spbr()
297 spbr = clk_speed_hz / (xp->speed_hz * 2); in bcm_qspi_calc_spbr()
612 const struct bcm_qspi_parms *xp) in bcm_qspi_hw_set_parms() argument
616 if (!bcmspi_parms_did_change(xp, &qspi->last_parms)) in bcm_qspi_hw_set_parms()
632 if (xp->bits_per_word != 16 && xp->bits_per_word != 64) in bcm_qspi_hw_set_parms()
633 spcr |= xp->bits_per_word << MSPI_SPCR0_MSB_BITS_SHIFT; in bcm_qspi_hw_set_parms()
635 spcr |= xp->mode & (MSPI_SPCR0_MSB_CPHA | MSPI_SPCR0_MSB_CPOL); in bcm_qspi_hw_set_parms()
644 if (xp->mode & SPI_3WIRE) in bcm_qspi_hw_set_parms()
649 spbr = bcm_qspi_calc_spbr(MSPI_BASE_FREQ * 4, xp); in bcm_qspi_hw_set_parms()
[all …]

1234567891011