Home
last modified time | relevance | path

Searched refs:xp (Results 1 – 25 of 125) sorted by relevance

12345

/linux-6.1.9/net/ipv6/ila/
Dila_xlat.c19 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 …]
/linux-6.1.9/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 …]
Dpgtable-3level.h162 #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp) argument
186 #define native_pmdp_get_and_clear(xp) native_local_pmdp_get_and_clear(xp) argument
248 #define native_pudp_get_and_clear(xp) native_local_pudp_get_and_clear(xp) argument
/linux-6.1.9/fs/jfs/
Djfs_extent.c70 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()
192 int extHint(struct inode *ip, s64 offset, xad_t * xp) in extHint() argument
[all …]
/linux-6.1.9/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.1.9/lib/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()
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()
212 xp = tp; in mpi_powm()
220 (xp, rp, rsize, bp, bsize, in mpi_powm()
225 (xp, rp, rsize, bp, bsize, in mpi_powm()
[all …]
/linux-6.1.9/drivers/xen/
Dsys-hypervisor.c419 struct xen_pmu_params xp; in pmu_mode_store() local
424 xp.val = pmu_modes[i].mode; in pmu_mode_store()
432 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store()
433 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store()
434 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store()
444 struct xen_pmu_params xp; in pmu_mode_show() local
448 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show()
449 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show()
450 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show()
454 mode = (uint32_t)xp.val; in pmu_mode_show()
[all …]
/linux-6.1.9/net/key/
Daf_key.c1909 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) in check_reqid() argument
1914 for (i=0; i<xp->xfrm_nr; i++) { in check_reqid()
1915 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid()
1943 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq) 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()
1982 t->encap_family = xp->family; in parse_ipsecrequest()
1986 xp->xfrm_nr++; in parse_ipsecrequest()
1991 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) in parse_ipsecrequests() argument
[all …]
/linux-6.1.9/net/xfrm/
Dxfrm_user.c1683 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates() argument
1688 xp->xfrm_nr = nr; in copy_templates()
1690 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates()
1813 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) in copy_from_user_policy() argument
1815 xp->priority = p->priority; in copy_from_user_policy()
1816 xp->index = p->index; in copy_from_user_policy()
1817 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy()
1818 memcpy(&xp->lft, &p->lft, sizeof(xp->lft)); in copy_from_user_policy()
1819 xp->action = p->action; in copy_from_user_policy()
1820 xp->flags = p->flags; in copy_from_user_policy()
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Darmada-xp.dtsi16 #include "armada-370-xp.dtsi"
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";
110 compatible = "marvell,armada-xp-cpu-config";
115 compatible = "marvell,armada-xp-neta";
151 compatible = "marvell,armada-xp-neta";
[all …]
Darmada-xp-98dx3236.dtsi11 #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";
296 compatible = "marvell,armada-xp-wdt";
[all …]
/linux-6.1.9/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.1.9/drivers/misc/sgi-xp/
Dxp_uv.c59 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()
DMakefile6 obj-$(CONFIG_SGI_XP) += xp.o
7 xp-y := xp_main.o xp_uv.o
/linux-6.1.9/arch/arc/include/asm/
Dpgtable-levels.h110 #define p4d_clear(xp) do { p4d_val(*(xp)) = 0; } while (0) argument
132 #define pud_clear(xp) do { pud_val(*(xp)) = 0; } while (0) argument
159 #define pmd_clear(xp) do { pmd_val(*(xp)) = 0; } while (0) argument
/linux-6.1.9/arch/x86/xen/
Dpmu.c527 struct xen_pmu_params xp; in xen_pmu_init() local
543 xp.val = pfn_to_mfn(pfn); in xen_pmu_init()
544 xp.vcpu = cpu; in xen_pmu_init()
545 xp.version.maj = XENPMU_VER_MAJ; in xen_pmu_init()
546 xp.version.min = XENPMU_VER_MIN; in xen_pmu_init()
547 err = HYPERVISOR_xenpmu_op(XENPMU_init, &xp); in xen_pmu_init()
573 struct xen_pmu_params xp; in xen_pmu_finish() local
578 xp.vcpu = cpu; in xen_pmu_finish()
579 xp.version.maj = XENPMU_VER_MAJ; in xen_pmu_finish()
580 xp.version.min = XENPMU_VER_MIN; in xen_pmu_finish()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/input/touchscreen/
Ds3c2410_ts.c100 unsigned long xp; member
137 ts.xp >>= ts.shift; in touch_timer_fire()
141 __func__, ts.xp, ts.yp, ts.count); in touch_timer_fire()
143 input_report_abs(ts.input, ABS_X, ts.xp); in touch_timer_fire()
149 ts.xp = 0; in touch_timer_fire()
156 ts.xp = 0; in touch_timer_fire()
219 ts.xp += data0; in s3c24xx_ts_conversion()
/linux-6.1.9/drivers/iio/chemical/
Dsgp40.c103 u32 x, y, xp; in sgp40_exp() local
117 xp = 1; in sgp40_exp()
123 xp *= x; in sgp40_exp()
125 y += (xp >> divider) / factorial; in sgp40_exp()
128 if (xp >= xmax) { in sgp40_exp()
129 xp >>= power; in sgp40_exp()
/linux-6.1.9/Documentation/devicetree/bindings/timer/
Dmarvell,armada-370-xp-timer.txt8 "marvell,armada-xp-timer".
18 Clocks required for compatibles = "marvell,armada-xp-timer",
39 compatible = "marvell,armada-xp-timer";
/linux-6.1.9/drivers/perf/
Darm-ccn.c138 } xp; member
181 struct arm_ccn_component *xp; member
233 static CCN_FORMAT_ATTR(xp, "config:0-7");
664 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
671 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, in arm_ccn_pmu_event_alloc()
703 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release()
888 struct arm_ccn_component *xp; in arm_ccn_pmu_xp_dt_config() local
896 xp = &ccn->xp[CCN_CONFIG_XP(event->attr.config)]; in arm_ccn_pmu_xp_dt_config()
898 xp = &ccn->xp[arm_ccn_node_to_xp( in arm_ccn_pmu_xp_dt_config()
908 val = readl(xp->base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_xp_dt_config()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/arm/marvell/
Dmvebu-cpu-config.txt10 - "marvell,armada-xp-cpu-config"
18 compatible = "marvell,armada-xp-cpu-config";
Dmvebu-system-controller.txt9 - "marvell,armada-370-xp-system-controller"
16 compatible = "marvell,armada-370-xp-system-controller";
/linux-6.1.9/Documentation/admin-guide/perf/
Darm-ccn.rst26 Crosspoint PMU events require "xp" (index), "bus" (bus number)
30 require "xp" and "vc" as above plus "port" (device port index),
54 ccn/xp_valid_flit,xp=?,port=?,vc=?,dir=?/ [Kernel PMU event]
57 / # perf stat -a -e ccn/cycles/,ccn/xp_valid_flit,xp=1,port=0,vc=1,dir=1/ \

12345