| /linux/net/ipv6/ila/ |
| H A D | ila_xlat.c | 18 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/arch/arm/boot/dts/marvell/ |
| H A D | Makefile | 60 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 …]
|
| 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"; 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 …]
|
| H A D | armada-xp-matrix.dts | 3 * 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";
|
| H A D | armada-xp-mv78230.dtsi | 3 * Device Tree Include file for Marvell Armada XP family SoC 9 * Contains definitions specific to the Armada XP MV78230 SoC that are not 10 * common to all Armada XP SoCs. 13 #include "armada-xp.dtsi" 16 model = "Marvell Armada XP MV78230 SoC"; 17 compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp"; 27 enable-method = "marvell,armada-xp-smp"; 53 compatible = "marvell,armada-xp-pcie";
|
| /linux/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 …]
|
| /linux/net/xfrm/ |
| H A D | xfrm_user.c | 2018 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates() argument 2023 xp->xfrm_nr = nr; in copy_templates() 2025 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates() 2154 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) in copy_from_user_policy() argument 2156 xp->priority = p->priority; in copy_from_user_policy() 2157 xp->index = p->index; in copy_from_user_policy() 2158 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy() 2159 memcpy(&xp->lft, &p->lft, sizeof(xp->lft)); in copy_from_user_policy() 2160 xp->action = p->action; in copy_from_user_policy() 2161 xp->flags = p->flags; in copy_from_user_policy() [all …]
|
| /linux/net/key/ |
| H A D | af_key.c | 1909 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_policy *pol, in parse_ipsecrequest() argument 1946 struct net *net = xp_net(xp); in parse_ipsecrequest() 1947 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest() 1950 if (xp->xfrm_nr >= XFRM_MAX_DEPTH) in parse_ipsecrequest() 1986 t->encap_family = xp->family; in parse_ipsecrequest() 1990 xp in parse_ipsecrequest() 1995 parse_ipsecrequests(struct xfrm_policy * xp,struct sadb_x_policy * pol) parse_ipsecrequests() argument 2017 pfkey_xfrm_policy2sec_ctx_size(const struct xfrm_policy * xp) pfkey_xfrm_policy2sec_ctx_size() argument 2029 pfkey_xfrm_policy2msg_size(const struct xfrm_policy * xp) pfkey_xfrm_policy2msg_size() argument 2051 pfkey_xfrm_policy2msg_prep(const struct xfrm_policy * xp) pfkey_xfrm_policy2msg_prep() argument 2065 pfkey_xfrm_policy2msg(struct sk_buff * skb,const struct xfrm_policy * xp,int dir) pfkey_xfrm_policy2msg() argument 2215 key_notify_policy(struct xfrm_policy * xp,int dir,const struct km_event * c) key_notify_policy() argument 2253 struct xfrm_policy *xp; pfkey_spdadd() local 2367 struct xfrm_policy *xp; pfkey_spddelete() local 2436 key_pol_get_resp(struct sock * sk,struct xfrm_policy * xp,const struct sadb_msg * hdr,int dir) key_pol_get_resp() argument 2653 struct xfrm_policy *xp; pfkey_spdget() local 2688 dump_sp(struct xfrm_policy * xp,int dir,int count,void * ptr) dump_sp() argument 3038 key_notify_policy_expire(struct xfrm_policy * xp,const struct km_event * c) key_notify_policy_expire() argument 3101 pfkey_send_policy_notify(struct xfrm_policy * xp,int dir,const struct km_event * c) pfkey_send_policy_notify() argument 3154 pfkey_send_acquire(struct xfrm_state * x,struct xfrm_tmpl * t,struct xfrm_policy * xp) pfkey_send_acquire() argument 3270 struct xfrm_policy *xp; pfkey_compile_policy() local [all...] |
| /linux/lib/crypto/mpi/ |
| H A D | mpi-pow.c | 152 mpi_ptr_t xp; in mpi_powm() local 157 xp = xp_marker = mpi_alloc_limb_space(2 * (msize + 1)); in mpi_powm() 158 if (!xp) in mpi_powm() 171 * Make the result be pointed to alternately by XP and RP. This in mpi_powm() 176 * pointed to by XP. in mpi_powm() 183 /*if (mpihelp_mul_n(xp, rp, rp, rsize) < 0) goto enomem */ in mpi_powm() 185 mpih_sqr_n_basecase(xp, rp, rsize); in mpi_powm() 201 mpih_sqr_n(xp, rp, rsize, tspace); in mpi_powm() 206 mpihelp_divrem(xp + msize, 0, xp, xsize, in mpi_powm() 211 swap(rp, xp); in mpi_powm() [all …]
|
| /linux/fs/jfs/ |
| H A D | jfs_extent.c | 57 * 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 96 if ((hint = addressXAD(xp))) { in extAlloc() 98 nxlen = lengthXAD(xp); in extAlloc() 108 if (offsetXAD(xp) + nxlen == xoff && in extAlloc() 109 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc() 163 XADaddress(xp, nxaddr); in extAlloc() 164 XADlength(xp, nxlen); in extAlloc() 165 XADoffset(xp, xoff); in extAlloc() 166 xp->flag = xflag; in extAlloc() [all …]
|
| /linux/drivers/xen/ |
| H A D | sys-hypervisor.c | 476 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/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 …]
|
| /linux/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 | mvebu-cpu-config.txt | 4 MVEBU (Marvell SOCs: Armada 370/XP) 10 - "marvell,armada-xp-cpu-config" 18 compatible = "marvell,armada-xp-cpu-config";
|
| H A D | mvebu-system-controller.txt | 3 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/drivers/misc/sgi-xp/ |
| H A D | xp_uv.c | 11 * 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()
|
| H A D | xp_main.c | 11 * 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");
|
| H A D | Makefile | 3 # Makefile for SGI's XP devices. 6 obj-$(CONFIG_SGI_XP) += xp.o 7 xp-y := xp_main.o xp_uv.o
|
| /linux/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()
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | marvell,armada-370-timer.yaml | 7 title: Marvell Armada 370, 375, 380 and XP Timers 18 - const: marvell,armada-xp-timer 24 - marvell,armada-xp-timer 64 - marvell,armada-xp-timer 83 compatible = "marvell,armada-xp-timer";
|
| /linux/drivers/perf/ |
| H A D | arm-ccn.c | 138 } 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 …]
|
| H A D | arm-cmn.c | 84 /* DTMs live in the PMU space of XP registers */ 290 /* XP properties really, but replicated to children for convenience */ 439 const struct arm_cmn_node *xp, int port) in arm_cmn_device_connect_info() argument 441 int offset = CMN_MXP__CONNECT_INFO(port) - arm_cmn_pmu_offset(cmn, xp); in arm_cmn_device_connect_info() 454 return readl_relaxed(xp->pmu_base + offset); in arm_cmn_device_connect_info() 500 static void arm_cmn_show_logid(struct seq_file *s, const struct arm_cmn_node *xp, int p, int d) in arm_cmn_show_logid() argument 504 u16 id = xp->id | d | (p << xp->deviceid_bits); in arm_cmn_show_logid() 536 struct arm_cmn_node *xp = cmn->xps + xp_base; in arm_cmn_map_show() local 545 port[p][x] = arm_cmn_device_connect_info(cmn, xp + x, p); in arm_cmn_map_show() 546 seq_printf(s, " XP #%-3d|", xp_base + x); in arm_cmn_map_show() [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-bcm-qspi.c | 291 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/Documentation/admin-guide/perf/ |
| H A D | arm-ccn.rst | 26 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/ \
|